/freebsd/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/usr.sbin/rpc.umntall/ |
H A D | mounttab.c | 78 char *timep, *endp; in read_mtab() local 98 timep = strsep(&cp, " \t\n"); in read_mtab() 99 if (timep == NULL || *timep == '\0') { in read_mtab() 100 badline("time", timep); in read_mtab() 113 ultmp = strtoul(timep, &endp, 10); in read_mtab() 115 badline("time", timep); in read_mtab()
|
/freebsd/contrib/tzcode/ |
H A D | asctime.c | 135 ctime_r(const time_t *timep, char *buf) 138 struct tm *tmp = localtime_r(timep, &mytm); 143 ctime(const time_t *timep) 145 return ctime_r(timep, buf_ctime); 122 ctime_r(const time_t * timep,char * buf) ctime_r() argument 130 ctime(const time_t * timep) ctime() argument
|
H A D | localtime.c | 1551 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, in gmtcheck() 1557 const time_t t = *timep; 1561 return gmtsub(gmtptr, timep, 0, tmp); in tzalloc() 1647 localtime_rz(struct state *restrict sp, time_t const *restrict timep, in localsub() 1650 return localsub(sp, timep, 0, tmp); in localsub() 1656 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname) in localsub() 1667 tmp = localsub(lclptr, timep, setname, tmp); in localsub() 1680 localtime(const time_t *timep) in localsub() 1703 return localtime_tzset(timep, p_tm, true); 1707 localtime_r(const time_t *restrict timep, struc in localtime_rz() 1610 localsub(struct state const * sp,time_t const * timep,int_fast32_t setname,struct tm * const tmp) localsub() argument 1706 localtime_rz(struct state * restrict sp,time_t const * restrict timep,struct tm * restrict tmp) localtime_rz() argument 1715 localtime_tzset(time_t const * timep,struct tm * tmp,bool setname) localtime_tzset() argument 1739 localtime(const time_t * timep) localtime() argument 1766 localtime_r(const time_t * restrict timep,struct tm * restrict tmp) localtime_r() argument 1776 gmtsub(ATTRIBUTE_MAYBE_UNUSED struct state const * sp,time_t const * timep,int_fast32_t offset,struct tm * tmp) gmtsub() argument 1799 gmtime_r(time_t const * restrict timep,struct tm * restrict tmp) gmtime_r() argument 1813 gmtime(const time_t * timep) gmtime() argument 1845 offtime_r(time_t const * restrict timep,long offset,struct tm * restrict tmp) offtime_r() argument 1859 offtime(const time_t * timep,long offset) offtime() argument 1907 timesub(const time_t * timep,int_fast32_t offset,const struct state * sp,struct tm * tmp) timesub() argument [all...] |
H A D | zic.c | 202 const char * dayp, const char * timep); 2185 const char *timep) in rulesub() argument 2200 dp = estrdup(timep); in rulesub()
|
/freebsd/contrib/ntp/libntp/ |
H A D | uglydate.c | 19 char *timep; in uglydate() 25 timep = ulfptoa(ts, 6); /* returns max 17 characters */ in uglydate() 45 "%17s %02d:%03d:%02d:%02d:%02d.%03ld", timep, year, in uglydate() 20 char *timep; uglydate() local
|
/freebsd/lib/libc/rpc/ |
H A D | rtime.c | 66 rtime(struct sockaddr_in *addrp, struct timeval *timep, in rtime() argument 139 timep->tv_sec = thetime - TOFFSET; in rtime() 140 timep->tv_usec = 0; in rtime()
|
H A D | rpcb_clnt.c | 1182 rpcb_gettime(const char *host, time_t *timep) in rpcb_gettime() argument 1192 time(timep); in rpcb_gettime() 1218 (xdrproc_t) xdr_int, (char *)(void *)timep, tottimeout); in rpcb_gettime() 1228 (xdrproc_t) xdr_int, (char *)(void *)timep, in rpcb_gettime()
|
/freebsd/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/sbin/dhclient/ |
H A D | parse.c | 219 parse_lease_time(FILE *cfile, time_t *timep) in parse_lease_time() argument 230 convert_num((unsigned char *)timep, val, 10, 32); in parse_lease_time() 232 *timep = ntohl(*timep); /* XXX */ in parse_lease_time()
|
/freebsd/contrib/ldns/ldns/ |
H A D | config.h | 719 struct tm *gmtime_r(const time_t *timep, struct tm *result); 722 struct tm *localtime_r(const time_t *timep, struct tm *result);
|
H A D | config.h.in | 718 struct tm *gmtime_r(const time_t *timep, struct tm *result); 721 struct tm *localtime_r(const time_t *timep, struct tm *result);
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A 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/contrib/llvm-project/compiler-rt/lib/dfsan/ |
H A D | dfsan_custom.cpp | 994 char *__dfsw_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, in __dfsw_ctime_r() argument 996 char *ret = ctime_r(timep, buf); in __dfsw_ctime_r() 998 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), buf, in __dfsw_ctime_r() 1008 char *__dfso_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, in __dfso_ctime_r() argument 1012 char *ret = ctime_r(timep, buf); in __dfso_ctime_r() 1015 dfsan_read_label(timep, sizeof(time_t)), in __dfso_ctime_r() 1016 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/lib/libunbound/ |
H A D | config.h | 1358 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1411 char *ctime_r(const time_t *timep, char *buf);
|
/freebsd/contrib/libxo/doc/ |
H A D | field-formatting.rst | 147 struct tm *timep) { 157 wcsftime(when, sizeof(when), L"%d%b%y", timep);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 1311 INTERCEPTOR(__sanitizer_tm *, localtime, unsigned long *timep) { 1313 COMMON_INTERCEPTOR_ENTER(ctx, localtime, timep); 1314 __sanitizer_tm *res = REAL(localtime)(timep); 1316 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1321 INTERCEPTOR(__sanitizer_tm *, localtime_r, unsigned long *timep, void *result) { 1323 COMMON_INTERCEPTOR_ENTER(ctx, localtime_r, timep, result); 1324 __sanitizer_tm *res = REAL(localtime_r)(timep, result); 1326 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep)); 1331 INTERCEPTOR(__sanitizer_tm *, gmtime, unsigned long *timep) { 1333 COMMON_INTERCEPTOR_ENTER(ctx, gmtime, timep); [all …]
|
/freebsd/contrib/ldns/ |
H A D | configure.ac | 1115 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1118 struct tm *localtime_r(const time_t *timep, struct tm *result);
|
H A D | acx_nlnetlabs.m4 | 1239 struct tm *gmtime_r(const time_t *timep, struct tm *result);
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_7zip.c | 2846 fileTimeToUtc(uint64_t fileTime, time_t *timep, long *ns) in fileTimeToUtc() argument 2852 *timep = (time_t)(fileTime / 10000000); in fileTimeToUtc() 2856 *timep = 0; in fileTimeToUtc()
|
/freebsd/contrib/unbound/ |
H A D | config.h.in | 1424 struct tm *gmtime_r(const time_t *timep, struct tm *result); 1477 char *ctime_r(const time_t *timep, char *buf);
|
H A D | acx_nlnetlabs.m4 | 1324 struct tm *gmtime_r(const time_t *timep, struct tm *result);
|