t 270 lib/charsets.c guint t; t 272 lib/charsets.c for (t = 0; t < codepages->len; t++) t 276 lib/charsets.c id = ((codepage_desc *) g_ptr_array_index (codepages, t))->id; t 235 lib/strutil/strutil.c int t; t 237 lib/strutil/strutil.c for (t = 0; table[t] != NULL; t++) t 238 lib/strutil/strutil.c if (g_ascii_strncasecmp (encoding, table[t], strlen (table[t])) == 0) t 142 lib/strutil/strutilutf8.c const char *result, *t; t 145 lib/strutil/strutilutf8.c t = result; t 146 lib/strutil/strutilutf8.c str_utf8_cnext_char_safe (&t); t 147 lib/strutil/strutilutf8.c if (t == *text) t 384 lib/strutil/strutilutf8.c const char *t = text; t 386 lib/strutil/strutilutf8.c while (t[0] != '\0') t 388 lib/strutil/strutilutf8.c str_utf8_cnext_noncomb_char (&t); t 1274 lib/strutil/strutilutf8.c char *t, *p; t 1279 lib/strutil/strutilutf8.c t = str_utf8_normalize (text); t 1281 lib/strutil/strutilutf8.c nt = t; t 1283 lib/strutil/strutilutf8.c nnt = t; t 1300 lib/strutil/strutilutf8.c g_free (t); t 1311 lib/strutil/strutilutf8.c char *t, *p; t 1316 lib/strutil/strutilutf8.c t = str_utf8_casefold_normalize (text); t 1318 lib/strutil/strutilutf8.c nt = t; t 1320 lib/strutil/strutilutf8.c nnt = t; t 1337 lib/strutil/strutilutf8.c g_free (t); t 636 lib/util.c char *t = tmp_line; t 638 lib/util.c while (*s != '\0' && *s != '\n' && (size_t) (t - tmp_line) < sizeof (tmp_line) - 1 && s < top) t 639 lib/util.c *t++ = *s++; t 640 lib/util.c *t = '\0'; t 1468 lib/vfs/direntry.c int t; t 1479 lib/vfs/direntry.c t = write (handle, buffer, n); t 1480 lib/vfs/direntry.c if (t != n) t 1482 lib/vfs/direntry.c if (t == -1) t 518 lib/vfs/parse_ls_vga.c vfs_parse_filedate (int idx, time_t * t) t 629 lib/vfs/parse_ls_vga.c *t = mktime (&tim); t 630 lib/vfs/parse_ls_vga.c if (l10n || (*t < 0)) t 631 lib/vfs/parse_ls_vga.c *t = 0; t 686 lib/vfs/parse_ls_vga.c char *t = NULL; t 835 lib/vfs/parse_ls_vga.c t = g_strdup (p + column_ptr[idx2 + 1]); t 836 lib/vfs/parse_ls_vga.c *linkname = t; t 847 lib/vfs/parse_ls_vga.c t = g_strdup (p + column_ptr[idx]); t 848 lib/vfs/parse_ls_vga.c *filename = t; t 855 lib/vfs/parse_ls_vga.c if (t != NULL) t 859 lib/vfs/parse_ls_vga.c p2 = strlen (t); t 860 lib/vfs/parse_ls_vga.c if (--p2 > 0 && (t[p2] == '\r' || t[p2] == '\n')) t 861 lib/vfs/parse_ls_vga.c t[p2] = '\0'; t 862 lib/vfs/parse_ls_vga.c if (--p2 > 0 && (t[p2] == '\r' || t[p2] == '\n')) t 863 lib/vfs/parse_ls_vga.c t[p2] = '\0'; t 61 lib/vfs/utilvfs.h int vfs_parse_filedate (int idx, time_t * t); t 649 lib/widget/dialog.c char *t; t 655 lib/widget/dialog.c t = h->get_title (h, len); t 657 lib/widget/dialog.c t = g_strdup (""); t 659 lib/widget/dialog.c return t; t 151 lib/widget/frame.c char *t; t 153 lib/widget/frame.c t = g_strstrip (g_strdup (title)); t 154 lib/widget/frame.c if (*t != '\0') t 155 lib/widget/frame.c f->title = g_strdup_printf (" %s ", t); t 156 lib/widget/frame.c g_free (t); t 122 lib/widget/groupbox.c char *t; t 124 lib/widget/groupbox.c t = g_strstrip (g_strdup (title)); t 125 lib/widget/groupbox.c g->title = g_strconcat (" ", t, " ", (char *) NULL); t 126 lib/widget/groupbox.c g_free (t); t 220 lib/widget/input.c char *t; t 224 lib/widget/input.c t = g_strstrip (g_strndup (in->buffer->str, in->buffer->len)); t 225 lib/widget/input.c empty = *t == '\0'; t 228 lib/widget/input.c g_free (t); t 230 lib/widget/input.c t = g_strndup (in->buffer->str, in->buffer->len); t 241 lib/widget/input.c url_with_stripped_password = input_history_strip_password (t); t 242 lib/widget/input.c g_free (t); t 243 lib/widget/input.c t = url_with_stripped_password; t 248 lib/widget/input.c || strcmp (in->history.list->data, t) != 0 || in->history.changed) t 250 lib/widget/input.c in->history.list = list_append_unique (in->history.list, t); t 255 lib/widget/input.c g_free (t); t 422 lib/widget/input_complete.c char *includefile, *t; t 428 lib/widget/input_complete.c t = includefile; t 431 lib/widget/input_complete.c while (t[0] != '\0' && !str_isspace (t)) t 432 lib/widget/input_complete.c str_next_char (&t); t 433 lib/widget/input_complete.c *t = '\0'; t 10 lib/widget/listbox-window.h #define LISTBOX_APPEND_TEXT(l,h,t,d,f) \ t 11 lib/widget/listbox-window.h listbox_add_item (l->list, LISTBOX_APPEND_AT_END, h, t, d, f) t 112 lib/widget/quick.h #define QUICK_START_GROUPBOX(t) \ t 120 lib/widget/quick.h .title = t \ t 1036 src/diffviewer/ydiff.c lcsubstr (const char *s, int m, const char *t, int n, GArray * ret, int min) t 1074 src/diffviewer/ydiff.c if (s[i] == t[j]) t 1133 src/diffviewer/ydiff.c hdiff_multi (const char *s, const char *t, const BRACKET bracket, int min, GArray * hdiff, t 1149 src/diffviewer/ydiff.c t + bracket[DIFF_RIGHT].off, bracket[DIFF_RIGHT].len, ret, min); t 1160 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) t 1171 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) t 1179 src/diffviewer/ydiff.c if (!hdiff_multi (s, t, b, min, hdiff, depth)) t 1213 src/diffviewer/ydiff.c hdiff_scan (const char *s, int m, const char *t, int n, int min, GArray * hdiff, unsigned int depth) t 1219 src/diffviewer/ydiff.c for (i = 0; i < m && i < n && s[i] == t[i]; i++) t 1221 src/diffviewer/ydiff.c for (; m > i && n > i && s[m - 1] == t[n - 1]; m--, n--) t 1230 src/diffviewer/ydiff.c return hdiff_multi (s, t, b, min, hdiff, depth); t 76 src/editor/edit-impl.h #define edit_query_dialog2(h,t,a,b) query_dialog (h, t, D_NORMAL, 2, a, b) t 77 src/editor/edit-impl.h #define edit_query_dialog3(h,t,a,b,c) query_dialog (h, t, D_NORMAL, 3, a, b, c) t 2340 src/editor/edit.c long *t; t 2349 src/editor/edit.c t = g_realloc (edit->undo_stack, (edit->undo_stack_size * 2 + 10) * sizeof (long)); t 2350 src/editor/edit.c if (t) t 2352 src/editor/edit.c edit->undo_stack = t; t 2429 src/editor/edit.c long *t; t 2437 src/editor/edit.c t = g_realloc (edit->redo_stack, (edit->redo_stack_size * 2 + 10) * sizeof (long)); t 2438 src/editor/edit.c if (t) t 2440 src/editor/edit.c edit->redo_stack = t; t 174 src/editor/format.c GString *t; t 176 src/editor/format.c t = g_string_sized_new (128); t 184 src/editor/format.c g_string_append_c (t, edit_buffer_get_byte (buf, p)); t 187 src/editor/format.c g_string_append_c (t, '\n'); t 189 src/editor/format.c return t; t 195 src/editor/format.c strip_newlines (unsigned char *t, off_t size) t 199 src/editor/format.c for (p = t; size-- != 0; p++) t 219 src/editor/format.c line_pixel_length (unsigned char *t, off_t b, off_t l, gboolean utf8) t 232 src/editor/format.c tb = (char *) t + b; t 274 src/editor/format.c next_word_start (unsigned char *t, off_t q, off_t size) t 281 src/editor/format.c switch (t[i]) t 302 src/editor/format.c word_start (unsigned char *t, off_t q, off_t size) t 306 src/editor/format.c if (whitespace (t[q])) t 307 src/editor/format.c return next_word_start (t, q, size); t 315 src/editor/format.c c = t[i - 1]; t 327 src/editor/format.c format_this (unsigned char *t, off_t size, long indent, gboolean utf8) t 331 src/editor/format.c strip_newlines (t, size); t 340 src/editor/format.c q = line_pixel_length (t, q, ww, utf8); t 343 src/editor/format.c if (t[q] == '\n') t 345 src/editor/format.c p = word_start (t, q, size); t 347 src/editor/format.c q = next_word_start (t, q, size); /* Return the end of the word if the beginning t 355 src/editor/format.c t[q - 1] = '\n'; t 404 src/editor/format.c put_paragraph (WEdit * edit, unsigned char *t, off_t p, long indent, off_t size) t 418 src/editor/format.c if (t[i - 1] == '\n' && c == '\n') t 423 src/editor/format.c else if (t[i - 1] == '\n') t 448 src/editor/format.c if (c != t[i]) t 449 src/editor/format.c replace_at (edit, p, t[i]); t 482 src/editor/format.c GString *t; t 496 src/editor/format.c t = get_paragraph (&edit->buffer, p, q, indent != 0); t 497 src/editor/format.c size = t->len - 1; t 505 src/editor/format.c && strchr (option_stop_format_chars, t->str[0]) != NULL) t 507 src/editor/format.c g_string_free (t, TRUE); t 517 src/editor/format.c if (t->str[i] == '\n' && strchr (stop_format_chars, t->str[i + 1]) != NULL) t 520 src/editor/format.c g_string_free (t, TRUE); t 527 src/editor/format.c t2 = (unsigned char *) g_string_free (t, FALSE); t 214 src/editor/syntax.c char **t; t 216 src/editor/syntax.c t = g_tree_lookup (defines, *argv); t 217 src/editor/syntax.c if (t != NULL) t 226 src/editor/syntax.c count = g_strv_length (t); t 238 src/editor/syntax.c for (p = argv; *t != NULL; *p++ = *t++) t 120 src/filemanager/cd.c const char *t = NULL; t 136 src/filemanager/cd.c t = getenv (p); t 138 src/filemanager/cd.c if (t == NULL) t 146 src/filemanager/cd.c g_string_append (q, t); t 998 src/filemanager/ext.c char *t; t 1001 src/filemanager/ext.c t = strchr (include_target, '\n'); t 1003 src/filemanager/ext.c if (t != NULL) t 1004 src/filemanager/ext.c include_target_len = (size_t) (t - include_target); t 2585 src/filemanager/file.c char *t = buf; t 2592 src/filemanager/file.c while ((n_written = mc_write (dest_desc, t, (size_t) n_read)) < n_read) t 2599 src/filemanager/file.c t += n_written; t 396 src/filemanager/mountlist.c fstype_to_string (short int t) t 398 src/filemanager/mountlist.c switch (t) t 528 src/filemanager/mountlist.c fstype_to_string (int t) t 532 src/filemanager/mountlist.c e = getvfsbytype (t); t 85 src/filemanager/tree.c #define tlines(t) (t->is_panel ? WIDGET (t)->rect.lines - 2 - \ t 86 src/filemanager/tree.c (panels_options.show_mini_info ? 2 : 0) : WIDGET (t)->rect.lines) t 1035 src/vfs/fish/fish.c ssize_t n, t; t 1049 src/vfs/fish/fish.c t = write (fish_super->sockw, buffer, n); t 1050 src/vfs/fish/fish.c if (t != n) t 1052 src/vfs/fish/fish.c if (t == -1) t 203 src/vfs/ftpfs/ftpfs_parse_ls.c mktime_from_utc (const struct tm *t) t 208 src/vfs/ftpfs/ftpfs_parse_ls.c memcpy (&tc, t, sizeof (struct tm)); t 279 src/vfs/ftpfs/ftpfs_parse_ls.c char *t; t 288 src/vfs/ftpfs/ftpfs_parse_ls.c t = FIRST_TOKEN_R; t 289 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 292 src/vfs/ftpfs/ftpfs_parse_ls.c if (!vfs_parse_filetype (t, NULL, &type)) t 295 src/vfs/ftpfs/ftpfs_parse_ls.c if (vfs_parse_fileperms (t + 1, NULL, &mode)) t 301 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN_R; t 302 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 304 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_nlink = atol (t); t 307 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN_R; t 308 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 311 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_uid = ftpfs_get_uid (t); t 317 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN_R; t 318 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 320 src/vfs/ftpfs/ftpfs_parse_ls.c if (isdigit ((unsigned char) *t)) t 326 src/vfs/ftpfs/ftpfs_parse_ls.c s->st_gid = ftpfs_get_gid (t); t 328 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%lld%n", &size, &n) == 1 && t[n] == '\0') t 330 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN_R; t 331 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 353 src/vfs/ftpfs/ftpfs_parse_ls.c if (!vfs_parse_month (t, &date)) t 362 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN_R; t 363 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 369 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%2d:%2d", &date.tm_hour, &date.tm_min) == 2) t 373 src/vfs/ftpfs/ftpfs_parse_ls.c if (day_of_month + strlen (day_of_month) + 1 == t) t 375 src/vfs/ftpfs/ftpfs_parse_ls.c date.tm_year = atoi (t) - 1900; t 453 src/vfs/ftpfs/ftpfs_parse_ls.c char *t; t 459 src/vfs/ftpfs/ftpfs_parse_ls.c t = FIRST_TOKEN; t 460 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 462 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%2d-%2d-%2d", &month, &day, &year) != 3) t 469 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 470 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 473 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%2d:%2d%c", &hour, &minute, &am) < 2) t 476 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 477 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 500 src/vfs/ftpfs/ftpfs_parse_ls.c if (strcmp (t, "<DIR>") == 0) t 505 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%lld", &size) != 1) t 510 src/vfs/ftpfs/ftpfs_parse_ls.c t = strtok (NULL, ""); t 511 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 513 src/vfs/ftpfs/ftpfs_parse_ls.c while (*t == ' ') t 514 src/vfs/ftpfs/ftpfs_parse_ls.c t++; t 515 src/vfs/ftpfs/ftpfs_parse_ls.c if (*t == '\0') t 518 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); t 822 src/vfs/ftpfs/ftpfs_parse_ls.c char *t; t 831 src/vfs/ftpfs/ftpfs_parse_ls.c t = FIRST_TOKEN; t 832 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 834 src/vfs/ftpfs/ftpfs_parse_ls.c user = t; t 836 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 837 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 839 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%lld", &size) != 1) t 842 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 843 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 845 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%2d/%2d/%2d", &month, &day, &year) != 3) t 852 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 853 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 855 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%2d:%2d:%2d", &hour, &minute, &second) != 3) t 858 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 859 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 871 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 872 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 874 src/vfs/ftpfs/ftpfs_parse_ls.c if (strcmp (t, "*DIR") == 0) t 879 src/vfs/ftpfs/ftpfs_parse_ls.c t = strtok (NULL, ""); t 880 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 882 src/vfs/ftpfs/ftpfs_parse_ls.c while (*t == ' ') t 883 src/vfs/ftpfs/ftpfs_parse_ls.c t++; t 884 src/vfs/ftpfs/ftpfs_parse_ls.c if (*t == '\0') t 889 src/vfs/ftpfs/ftpfs_parse_ls.c slash = strchr (t, '/'); t 892 src/vfs/ftpfs/ftpfs_parse_ls.c if (slash == t) t 899 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); t 905 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); t 926 src/vfs/ftpfs/ftpfs_parse_ls.c char *t; t 931 src/vfs/ftpfs/ftpfs_parse_ls.c t = FIRST_TOKEN; t 932 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 935 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%lld", &size) != 1) t 939 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 940 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 943 src/vfs/ftpfs/ftpfs_parse_ls.c if (strcmp (t, "DIR") == 0) t 946 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 948 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 952 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%2d-%2d-%2d", &month, &day, &year) != 3) t 959 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 960 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 962 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%2d:%2d", &hour, &minute) != 3) t 976 src/vfs/ftpfs/ftpfs_parse_ls.c t = strtok (NULL, ""); t 977 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 979 src/vfs/ftpfs/ftpfs_parse_ls.c while (*t == ' ') t 980 src/vfs/ftpfs/ftpfs_parse_ls.c t++; t 981 src/vfs/ftpfs/ftpfs_parse_ls.c if (*t == '\0') t 983 src/vfs/ftpfs/ftpfs_parse_ls.c *filename = g_strdup (t); t 995 src/vfs/ftpfs/ftpfs_parse_ls.c char *t; t 1001 src/vfs/ftpfs/ftpfs_parse_ls.c t = FIRST_TOKEN; t 1002 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 1005 src/vfs/ftpfs/ftpfs_parse_ls.c if (!vfs_parse_filetype (t, NULL, &type)) t 1010 src/vfs/ftpfs/ftpfs_parse_ls.c if (!vfs_parse_fileperms (t + 1, NULL, &mode)) t 1015 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 1016 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 1019 src/vfs/ftpfs/ftpfs_parse_ls.c if (strcmp (t, "folder") != 0) t 1024 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 1025 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 1028 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 1029 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 1031 src/vfs/ftpfs/ftpfs_parse_ls.c if (!isdigit ((unsigned char) *t)) t 1034 src/vfs/ftpfs/ftpfs_parse_ls.c if (sscanf (t, "%lld", &size) == 1) t 1040 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 1041 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 1046 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 1047 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 1052 src/vfs/ftpfs/ftpfs_parse_ls.c if (!vfs_parse_month (t, &date)) t 1062 src/vfs/ftpfs/ftpfs_parse_ls.c t = NEXT_TOKEN; t 1063 src/vfs/ftpfs/ftpfs_parse_ls.c if (t == NULL) t 1065 src/vfs/ftpfs/ftpfs_parse_ls.c if (!parse_year_or_time (t, &date.tm_year, &date.tm_hour, &date.tm_min)) t 77 src/vfs/sfs/sfs.c if ((size_t) (t - pad) > sizeof (pad)) \ t 83 src/vfs/sfs/sfs.c *t++ = *s_iter; t 86 src/vfs/sfs/sfs.c if ((t - pad) + strlen (a) > sizeof (pad)) \ t 93 src/vfs/sfs/sfs.c strcpy (t, a); \ t 94 src/vfs/sfs/sfs.c t += strlen (a); \ t 138 src/vfs/sfs/sfs.c char *s_iter, *t = pad; t 195 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c string_date (time_t t) t 205 tests/src/vfs/extfs/helpers-list/mc_parse_ls_l.c FMT_LOCALTIME (buf, sizeof buf, "%Y-%m-%d %H:%M:%S", t);