| /freebsd-12.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-12.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-12.1/contrib/tzcode/stdtime/ |
| H A D | localtime.c | 1347 const time_t t = *timep; in localsub() 1495 gmtsub(timep, offset, tmp) in gmtsub() argument 1496 const time_t * const timep; in gmtsub() 1555 gmtsub(timep, 0L, p_tm); in gmtime() 1559 gmtsub(timep, 0L, &tm); in gmtime() 1571 return gmtsub(timep, 0L, tmp); in gmtime_r() 1598 timesub(timep, offset, sp, tmp) in timesub() argument 1599 const time_t * const timep; in timesub() 1643 tdays = *timep / SECSPERDAY; 2186 leapcorr(time_t *timep) in leapcorr() argument [all …]
|
| /freebsd-12.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-12.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-12.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-12.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-12.1/contrib/gcclibs/libmudflap/ |
| H A D | mf-hooks2.c | 493 WRAPPER2(char *, ctime, const time_t *timep) in WRAPPER2() argument 498 MF_VALIDATE_EXTENT(timep, sizeof (time_t), __MF_CHECK_READ, "ctime time"); in WRAPPER2() 499 result = ctime (timep); in WRAPPER2() 510 WRAPPER2(struct tm*, localtime, const time_t *timep) in WRAPPER2() argument 516 result = localtime (timep); in WRAPPER2() 526 WRAPPER2(struct tm*, gmtime, const time_t *timep) in WRAPPER2() argument 532 result = gmtime (timep); in WRAPPER2() 567 WRAPPER2(time_t, time, time_t *timep) in WRAPPER2() argument 570 if (NULL != timep) in WRAPPER2() 571 MF_VALIDATE_EXTENT (timep, sizeof (*timep), __MF_CHECK_WRITE, in WRAPPER2() [all …]
|
| /freebsd-12.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-12.1/contrib/compiler-rt/lib/dfsan/ |
| H A D | dfsan_custom.cc | 422 char *__dfsw_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, in __dfsw_ctime_r() argument 424 char *ret = ctime_r(timep, buf); in __dfsw_ctime_r() 426 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), buf, in __dfsw_ctime_r() 644 struct tm *__dfsw_localtime_r(const time_t *timep, struct tm *result, in __dfsw_localtime_r() argument 647 struct tm *ret = localtime_r(timep, result); in __dfsw_localtime_r() 649 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), result, in __dfsw_localtime_r()
|
| /freebsd-12.1/usr.sbin/unbound/ |
| H A D | config.h | 1155 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1208 char *ctime_r(const time_t *timep, char *buf);
|
| /freebsd-12.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-12.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-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 1299 __sanitizer_tm *res = REAL(localtime)(timep); 1301 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1311 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1319 __sanitizer_tm *res = REAL(gmtime)(timep); 1321 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1331 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1338 COMMON_INTERCEPTOR_ENTER(ctx, ctime, timep); 1342 char *res = REAL(ctime)(timep); 1344 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1355 char *res = REAL(ctime_r)(timep, result); [all …]
|
| /freebsd-12.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-12.1/sys/i386/ibcs2/ |
| H A D | ibcs2_proto.h | 107 char timep_l_[PADL_(long *)]; long * timep; char timep_r_[PADR_(long *)]; member
|
| H A D | ibcs2_misc.c | 873 error = copyin(uap->timep, &secs, sizeof(long)); in ibcs2_stime()
|
| /freebsd-12.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);
|
| /freebsd-12.1/contrib/libarchive/libarchive/ |
| H A D | archive_read_support_format_7zip.c | 2652 fileTimeToUtc(uint64_t fileTime, time_t *timep, long *ns) in fileTimeToUtc() argument 2658 *timep = (time_t)(fileTime / 10000000); in fileTimeToUtc() 2662 *timep = 0; in fileTimeToUtc()
|
| /freebsd-12.1/contrib/unbound/ |
| H A D | config.h.in | 1160 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1213 char *ctime_r(const time_t *timep, char *buf);
|