Home
last modified time | relevance | path

Searched refs:timep (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-12.1/contrib/unbound/compat/
H A Dgmtime_r.c45 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 Dctime_r.c23 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 Dmounttab.c80 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 Dlocaltime.c1347 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 Duglydate.c20 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 Drtime.c72 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 Drpcb_clnt.c1181 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 Dgmtime_r.c9 struct tm *gmtime_r(const time_t *timep, struct tm *result) in gmtime_r() argument
12 *result = *gmtime(timep); in gmtime_r()
H A Dlocaltime_r.c9 struct tm *localtime_r(const time_t *timep, struct tm *result) in localtime_r() argument
12 *result = *localtime(timep); in localtime_r()
H A Dctime_r.c9 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 Dparse.c221 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 Dmf-hooks2.c493 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 Dconfig.h614 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 Dconfig.h.in613 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 Ddfsan_custom.cc422 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 Dconfig.h1155 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 Drpcb_clnt.c1226 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 Dfield-formatting.rst146 struct tm *timep) {
156 wcsftime(when, sizeof(when), L"%d%b%y", timep);
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1299 __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 Dzic.c147 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 Dibcs2_proto.h107 char timep_l_[PADL_(long *)]; long * timep; char timep_r_[PADR_(long *)]; member
H A Dibcs2_misc.c873 error = copyin(uap->timep, &secs, sizeof(long)); in ibcs2_stime()
/freebsd-12.1/contrib/ldns/
H A Dconfigure.ac985 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 Darchive_read_support_format_7zip.c2652 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 Dconfig.h.in1160 struct tm *gmtime_r(const time_t *timep, struct tm *result);
1213 char *ctime_r(const time_t *timep, char *buf);

12