| /freebsd-13.1/contrib/unbound/compat/ |
| H A D | gmtime_r.c | 45 timesub(timep, offset, tmp) in timesub() argument 46 const time_t * const timep; in timesub() 56 days = *timep / SECSPERDAY; 57 rem = *timep % SECSPERDAY; 103 struct tm * gmtime_r(const time_t* timep, struct tm *tm) in gmtime_r() argument 105 timesub(timep, 0L, tm); in gmtime_r()
|
| H A D | ctime_r.c | 23 char *ctime_r(const time_t *timep, char *buf) in ctime_r() argument 34 result = ctime(timep); in ctime_r()
|
| /freebsd-13.1/usr.sbin/rpc.umntall/ |
| H A D | mounttab.c | 80 char *timep, *endp; in read_mtab() local 100 timep = strsep(&cp, " \t\n"); in read_mtab() 101 if (timep == NULL || *timep == '\0') { in read_mtab() 102 badline("time", timep); in read_mtab() 115 ultmp = strtoul(timep, &endp, 10); in read_mtab() 117 badline("time", timep); in read_mtab()
|
| /freebsd-13.1/contrib/ntp/libntp/ |
| H A D | uglydate.c | 20 char *timep; in uglydate() local 26 timep = ulfptoa(ts, 6); /* returns max 17 characters */ in uglydate() 46 "%17s %02d:%03d:%02d:%02d:%02d.%03ld", timep, year, in uglydate()
|
| /freebsd-13.1/contrib/tzcode/stdtime/ |
| H A D | localtime.c | 1335 const time_t t = *timep; in localsub() 1483 gmtsub(timep, offset, tmp) in gmtsub() argument 1484 const time_t * const timep; in gmtsub() 1543 gmtsub(timep, 0L, p_tm); in gmtime() 1547 gmtsub(timep, 0L, &tm); in gmtime() 1559 return gmtsub(timep, 0L, tmp); in gmtime_r() 1586 timesub(timep, offset, sp, tmp) in timesub() argument 1587 const time_t * const timep; in timesub() 1631 tdays = *timep / SECSPERDAY; 2174 leapcorr(time_t *timep) in leapcorr() argument [all …]
|
| /freebsd-13.1/lib/libc/rpc/ |
| H A D | rtime.c | 72 rtime(struct sockaddr_in *addrp, struct timeval *timep, in rtime() argument 145 timep->tv_sec = thetime - TOFFSET; in rtime() 146 timep->tv_usec = 0; in rtime()
|
| H A D | rpcb_clnt.c | 1181 rpcb_gettime(const char *host, time_t *timep) in rpcb_gettime() argument 1191 time(timep); in rpcb_gettime() 1217 (xdrproc_t) xdr_int, (char *)(void *)timep, tottimeout); in rpcb_gettime() 1227 (xdrproc_t) xdr_int, (char *)(void *)timep, in rpcb_gettime()
|
| /freebsd-13.1/contrib/ldns/compat/ |
| H A D | gmtime_r.c | 9 struct tm *gmtime_r(const time_t *timep, struct tm *result) in gmtime_r() argument 12 *result = *gmtime(timep); in gmtime_r()
|
| H A D | localtime_r.c | 9 struct tm *localtime_r(const time_t *timep, struct tm *result) in localtime_r() argument 12 *result = *localtime(timep); in localtime_r()
|
| H A D | ctime_r.c | 9 char *ctime_r(const time_t *timep, char *buf) in ctime_r() argument 12 char* result = ctime(timep); in ctime_r()
|
| /freebsd-13.1/sbin/dhclient/ |
| H A D | parse.c | 221 parse_lease_time(FILE *cfile, time_t *timep) in parse_lease_time() argument 232 convert_num((unsigned char *)timep, val, 10, 32); in parse_lease_time() 234 *timep = ntohl(*timep); /* XXX */ in parse_lease_time()
|
| /freebsd-13.1/contrib/ldns/ldns/ |
| H A D | config.h | 614 struct tm *gmtime_r(const time_t *timep, struct tm *result); 617 struct tm *localtime_r(const time_t *timep, struct tm *result);
|
| H A D | config.h.in | 613 struct tm *gmtime_r(const time_t *timep, struct tm *result); 616 struct tm *localtime_r(const time_t *timep, struct tm *result);
|
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | bsd-misc.c | 434 localtime_r(const time_t *timep, struct tm *result) in localtime_r() argument 436 struct tm *tm = localtime(timep); in localtime_r()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| H A D | dfsan_custom.cpp | 933 char *ret = ctime_r(timep, buf); in __dfsw_ctime_r() 935 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), buf, in __dfsw_ctime_r() 949 char *ret = ctime_r(timep, buf); in __dfso_ctime_r() 952 dfsan_read_label(timep, sizeof(time_t)), in __dfso_ctime_r() 953 dfsan_read_origin_of_first_taint(timep, sizeof(time_t)), buf, in __dfso_ctime_r() 1377 struct tm *__dfsw_localtime_r(const time_t *timep, struct tm *result, in __dfsw_localtime_r() argument 1380 struct tm *ret = localtime_r(timep, result); in __dfsw_localtime_r() 1382 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), result, in __dfsw_localtime_r() 1392 struct tm *__dfso_localtime_r(const time_t *timep, struct tm *result, in __dfso_localtime_r() argument 1397 struct tm *ret = localtime_r(timep, result); in __dfso_localtime_r() [all …]
|
| /freebsd-13.1/usr.sbin/unbound/ |
| H A D | config.h | 1214 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1267 char *ctime_r(const time_t *timep, char *buf);
|
| /freebsd-13.1/sys/rpc/ |
| H A D | rpcb_clnt.c | 1226 rpcb_gettime(host, timep) 1228 time_t *timep; 1238 time(timep); 1264 (xdrproc_t) xdr_int, (char *)(void *)timep, tottimeout); 1274 (xdrproc_t) xdr_int, (char *)(void *)timep,
|
| /freebsd-13.1/contrib/libxo/doc/ |
| H A D | field-formatting.rst | 146 struct tm *timep) { 156 wcsftime(when, sizeof(when), L"%d%b%y", timep);
|
| /freebsd-13.1/contrib/tzcode/zic/ |
| H A D | zic.c | 147 const char * dayp, const char * timep); 1234 rulesub(rp, loyearp, hiyearp, typep, monthp, dayp, timep) in rulesub() argument 1241 const char * const timep; 1255 dp = ecpyalloc(timep);
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 1344 __sanitizer_tm *res = REAL(localtime)(timep); 1346 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1356 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1364 __sanitizer_tm *res = REAL(gmtime)(timep); 1366 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1376 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1383 COMMON_INTERCEPTOR_ENTER(ctx, ctime, timep); 1387 char *res = REAL(ctime)(timep); 1389 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1400 char *res = REAL(ctime_r)(timep, result); [all …]
|
| /freebsd-13.1/contrib/ldns/ |
| H A D | configure.ac | 985 struct tm *gmtime_r(const time_t *timep, struct tm *result); 988 struct tm *localtime_r(const time_t *timep, struct tm *result);
|
| H A D | acx_nlnetlabs.m4 | 1231 struct tm *gmtime_r(const time_t *timep, struct tm *result);
|
| /freebsd-13.1/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_7zip.c | 2680 fileTimeToUtc(uint64_t fileTime, time_t *timep, long *ns) in fileTimeToUtc() argument 2686 *timep = (time_t)(fileTime / 10000000); in fileTimeToUtc() 2690 *timep = 0; in fileTimeToUtc()
|
| /freebsd-13.1/contrib/unbound/ |
| H A D | config.h.in | 1240 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1293 char *ctime_r(const time_t *timep, char *buf);
|
| H A D | acx_nlnetlabs.m4 | 1263 struct tm *gmtime_r(const time_t *timep, struct tm *result);
|