| /freebsd-12-stable/contrib/unbound/compat/ |
| 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()
|
| 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-stable/usr.sbin/rpc.umntall/ |
| 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-stable/contrib/tzcode/stdtime/ |
| D | localtime.c | 185 static struct tm * gmtsub(const time_t * timep, long offset, 187 static struct tm * localsub(const time_t * timep, long offset, 209 static struct tm * timesub(const time_t * timep, long offset, 1341 localsub(const time_t *const timep, const long offset, struct tm *const tmp) in localsub() argument 1347 const time_t t = *timep; in localsub() 1352 return gmtsub(timep, offset, tmp); in localsub() 1437 localtime(const time_t *const timep) in localtime() argument 1456 p_tm = localsub(timep, 0L, p_tm); in localtime() 1460 p_tm = localsub(timep, 0L, &tm); in localtime() 1470 localtime_r(const time_t *const timep, struct tm *tmp) in localtime_r() argument [all …]
|
| /freebsd-12-stable/contrib/ntp/libntp/ |
| 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-stable/lib/libc/rpc/ |
| 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()
|
| 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-stable/contrib/ldns/compat/ |
| 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()
|
| 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()
|
| 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-stable/sbin/dhclient/ |
| 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-stable/contrib/gcclibs/libmudflap/ |
| 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 515 MF_VALIDATE_EXTENT(timep, sizeof (time_t), __MF_CHECK_READ, "localtime time"); in WRAPPER2() 516 result = localtime (timep); in WRAPPER2() 526 WRAPPER2(struct tm*, gmtime, const time_t *timep) in WRAPPER2() argument 531 MF_VALIDATE_EXTENT(timep, sizeof (time_t), __MF_CHECK_READ, "gmtime time"); in WRAPPER2() 532 result = gmtime (timep); in WRAPPER2() 567 WRAPPER2(time_t, time, time_t *timep) in WRAPPER2() argument [all …]
|
| /freebsd-12-stable/contrib/ldns/ldns/ |
| 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);
|
| 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-stable/crypto/openssh/openbsd-compat/ |
| D | bsd-misc.c | 442 localtime_r(const time_t *timep, struct tm *result) in localtime_r() argument 444 struct tm *tm = localtime(timep); in localtime_r()
|
| /freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/dfsan/ |
| D | dfsan_custom.cpp | 931 char *__dfsw_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, in __dfsw_ctime_r() argument 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() 945 char *__dfso_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, in __dfso_ctime_r() argument 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() [all …]
|
| /freebsd-12-stable/sys/rpc/ |
| 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-stable/usr.sbin/unbound/ |
| D | config.h | 1356 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1409 char *ctime_r(const time_t *timep, char *buf);
|
| /freebsd-12-stable/contrib/libxo/doc/ |
| D | field-formatting.rst | 146 struct tm *timep) { 156 wcsftime(when, sizeof(when), L"%d%b%y", timep);
|
| /freebsd-12-stable/contrib/tzcode/zic/ |
| 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-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| D | sanitizer_common_interceptors.inc | 1341 INTERCEPTOR(__sanitizer_tm *, localtime, unsigned long *timep) { 1343 COMMON_INTERCEPTOR_ENTER(ctx, localtime, timep); 1344 __sanitizer_tm *res = REAL(localtime)(timep); 1346 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1351 INTERCEPTOR(__sanitizer_tm *, localtime_r, unsigned long *timep, void *result) { 1353 COMMON_INTERCEPTOR_ENTER(ctx, localtime_r, timep, result); 1354 __sanitizer_tm *res = REAL(localtime_r)(timep, result); 1356 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1361 INTERCEPTOR(__sanitizer_tm *, gmtime, unsigned long *timep) { 1363 COMMON_INTERCEPTOR_ENTER(ctx, gmtime, timep); [all …]
|
| /freebsd-12-stable/sys/i386/ibcs2/ |
| D | ibcs2_proto.h | 107 char timep_l_[PADL_(long *)]; long * timep; char timep_r_[PADR_(long *)]; member
|
| D | ibcs2_misc.c | 873 error = copyin(uap->timep, &secs, sizeof(long)); in ibcs2_stime()
|
| /freebsd-12-stable/contrib/ldns/ |
| 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-stable/contrib/libarchive/libarchive/ |
| 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()
|