/freebsd/contrib/unbound/util/ |
H A D | log.c | 235 char tmbuf[32]; in log_vmsg() local 238 char tmbuf[128], dtbuf[128]; in log_vmsg() local 289 strftime(tmbuf, sizeof(tmbuf), "%Y-%m-%dT%H:%M:%S", tm_p); in log_vmsg() 298 tmbuf, (int)tv.tv_usec/1000, tzbuf, in log_vmsg() 310 if(log_time_asc && strftime(tmbuf, sizeof(tmbuf), "%b %d %H:%M:%S", in log_vmsg() 311 localtime_r(&now, &tm))%(sizeof(tmbuf)) != 0) { in log_vmsg() 313 fprintf(logfile, "%s %s[%d:%x] %s: %s\n", tmbuf, in log_vmsg() 318 tmbuf, sizeof(tmbuf)) && GetDateFormat(LOCALE_USER_DEFAULT, 0, in log_vmsg() 320 fprintf(logfile, "%s %s %s[%d:%x] %s: %s\n", dtbuf, tmbuf, in log_vmsg()
|
/freebsd/contrib/ntp/libntp/ |
H A D | mktime.c | 139 static struct tm tmbuf; in mkdst() local 141 tmbuf = *tmp; in mkdst() 142 tmbuf.tm_isdst = 1; in mkdst() 143 tmbuf.tm_min += DSTMINUTES; in mkdst() 144 normalize(&tmbuf.tm_hour, &tmbuf.tm_min, MINSPERHOUR); in mkdst() 145 return &tmbuf; in mkdst()
|
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_t.c | 22 struct tm tmbuf; in DEFINE_TEST() local 77 tmptr = localtime_s(&tmbuf, &mtime) ? NULL : &tmbuf; in DEFINE_TEST() 79 tmptr = localtime_r(&mtime, &tmbuf); in DEFINE_TEST()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_getdate.c | 698 struct tm tmbuf; in Convert() 727 ltime = localtime_s(&tmbuf, &Julian) ? NULL : &tmbuf; in Convert() 729 ltime = localtime_r(&Julian, &tmbuf); in Convert() 746 struct tm tmbuf; in DSTcorrect() 749 ltime = localtime_s(&tmbuf, &Start) ? NULL : &tmbuf; in DSTcorrect() 751 ltime = localtime_r(&Start, &tmbuf); in DSTcorrect() 757 ltime = localtime_s(&tmbuf, &Future) ? NULL : &tmbuf; in DSTcorrect() 702 struct tm tmbuf; Convert() local 750 struct tm tmbuf; DSTcorrect() local 779 struct tm tmbuf; RelativeDate() local 806 struct tm tmbuf; RelativeMonth() local [all...] |
H A D | archive_write_set_format_zip.c | 1423 struct tm tmbuf; in dos_time() local 1427 t = localtime_s(&tmbuf, &unix_time) ? NULL : &tmbuf; in dos_time() 1429 t = localtime_r(&unix_time, &tmbuf); in dos_time()
|
H A D | archive_read_support_format_rar.c | 1863 struct tm tmbuf; in read_exttime() local 1897 tm = localtime_s(&tmbuf, &t) ? NULL : &tmbuf; in read_exttime() 1899 tm = localtime_r(&t, &tmbuf); in read_exttime()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_zip_file.c | 77 struct tm tmbuf; in DEFINE_TEST() 97 tm = localtime_s(&tmbuf, &t) ? NULL : &tmbuf; in DEFINE_TEST() 99 tm = localtime_r(&t, &tmbuf); in DEFINE_TEST() 78 struct tm tmbuf; DEFINE_TEST() local
|
H A D | test_write_format_zip_file_zip64.c | 79 struct tm tmbuf; in DEFINE_TEST() 98 tm = localtime_s(&tmbuf, &t) ? NULL : &tmbuf; in DEFINE_TEST() 100 tm = localtime_r(&t, &tmbuf); in DEFINE_TEST() 80 struct tm tmbuf; DEFINE_TEST() local
|
H A D | test_write_format_zip_compression_store.c | 132 struct tm tmbuf; in verify_uncompressed_contents() 139 tm = localtime_s(&tmbuf, &now) ? NULL : &tmbuf; in verify_uncompressed_contents() 141 tm = localtime_r(&now, &tmbuf); in verify_uncompressed_contents() 133 struct tm tmbuf; verify_uncompressed_contents() local
|
/freebsd/contrib/libarchive/tar/ |
H A D | util.c | 671 struct tm tmbuf; local 745 ltime = localtime_s(&tmbuf, &tim) ? NULL : &tmbuf; 747 ltime = localtime_r(&tim, &tmbuf);
|
/freebsd/contrib/libarchive/cpio/ |
H A D | cpio.c | 1148 struct tm tmbuf; in list_item_verbose() local 1198 ltime = localtime_s(&tmbuf, &mtime) ? NULL : &tmbuf; in list_item_verbose() 1200 ltime = localtime_r(&mtime, &tmbuf); in list_item_verbose()
|
/freebsd/contrib/one-true-awk/ |
H A D | run.c | 2069 struct tm *tm, tmbuf; in bltin() local 2224 memset(&tmbuf, 0, sizeof(tmbuf)); in bltin() 2225 tm = &tmbuf; in bltin()
|
/freebsd/contrib/libarchive/test_utils/ |
H A D | test_main.c | 3901 struct tm tmbuf; in main() local 4141 tmptr = localtime_s(&tmbuf, &now) ? NULL : &tmbuf; in main() 4143 tmptr = localtime_r(&now, &tmbuf); in main()
|