Home
last modified time | relevance | path

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

12

/freebsd/usr.sbin/rpc.umntall/
H A Dmounttab.c78 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/unbound/compat/
H A Dgmtime_r.c45 timesub(const time_t * const timep, const long offset, struct tm * const tmp) in timesub() argument
53 days = *timep / SECSPERDAY; in timesub()
54 rem = *timep % SECSPERDAY; in timesub()
100 struct tm * gmtime_r(const time_t* timep, struct tm *tm) in gmtime_r() argument
102 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/contrib/ntp/libntp/
H A Duglydate.c19 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/contrib/tzcode/
H A Dasctime.c144 ctime_r(const time_t *timep, char *buf) in ctime_r() argument
147 struct tm *tmp = localtime_r(timep, &mytm); in ctime_r()
152 ctime(const time_t *timep) in ctime() argument
156 struct tm *tmp = localtime(timep); in ctime()
H A Dlocaltime.c2086 localsub(struct state const *sp, time_t const *timep, int_fast32_t setname, in localsub() argument
2092 const time_t t = *timep; in localsub()
2096 return gmtsub(gmtptr, timep, 0, tmp); in localsub()
2214 localtime_rz(struct state *restrict sp, time_t const *restrict timep, in localtime_rz() argument
2217 return localsub(sp, timep, 0, tmp); in localtime_rz()
2222 localtime_tzset(time_t const *timep, struct tm *tmp, bool setname) in localtime_tzset() argument
2232 tmp = localsub(lclptr, timep, setname, tmp); in localtime_tzset()
2238 localtime(const time_t *timep) in localtime() argument
2243 return localtime_tzset(timep, tm_multi(&tm, LOCALTIME_TM_MULTI), true); in localtime()
2247 localtime_r(const time_t *restrict timep, struct tm *restrict tmp) in localtime_r() argument
[all …]
H A Dzic.c287 const char * dayp, const char * timep);
2429 const char *timep) in rulesub() argument
2444 dp = xstrdup(timep); in rulesub()
/freebsd/lib/libc/rpc/
H A Drtime.c66 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 Drpcb_clnt.c1182 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 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/sbin/dhclient/
H A Dparse.c219 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 Dconfig.h745 struct tm *gmtime_r(const time_t *timep, struct tm *result);
751 struct tm *localtime_r(const time_t *timep, struct tm *result);
H A Dconfig.h.in744 struct tm *gmtime_r(const time_t *timep, struct tm *result);
750 struct tm *localtime_r(const time_t *timep, struct tm *result);
/freebsd/crypto/krb5/src/kprop/
H A Dkproplog.c67 print_time(uint32_t *timep) in print_time() argument
69 if (*timep == 0L) in print_time()
72 printf("\t\t\t%s", ctime_uint32(timep)); in print_time()
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-misc.c498 localtime_r(const time_t *timep, struct tm *result) in localtime_r() argument
500 struct tm *tm = localtime(timep); in localtime_r()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp997 char *__dfsw_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, in __dfsw_ctime_r() argument
999 char *ret = ctime_r(timep, buf); in __dfsw_ctime_r()
1001 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), buf, in __dfsw_ctime_r()
1011 char *__dfso_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, in __dfso_ctime_r() argument
1015 char *ret = ctime_r(timep, buf); in __dfso_ctime_r()
1018 dfsan_read_label(timep, sizeof(time_t)), in __dfso_ctime_r()
1019 dfsan_read_origin_of_first_taint(timep, sizeof(time_t)), buf, in __dfso_ctime_r()
1380 struct tm *__dfsw_localtime_r(const time_t *timep, struct tm *result, in __dfsw_localtime_r() argument
1383 struct tm *ret = localtime_r(timep, result); in __dfsw_localtime_r()
1385 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), result, in __dfsw_localtime_r()
[all …]
/freebsd/lib/libunbound/
H A Dconfig.h1476 struct tm *gmtime_r(const time_t *timep, struct tm *result);
1529 char *ctime_r(const time_t *timep, char *buf);
/freebsd/contrib/libxo/doc/
H A Dfield-formatting.rst147 struct tm *timep) {
157 wcsftime(when, sizeof(when), L"%d%b%y", timep);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc1364 INTERCEPTOR(__sanitizer_tm *, localtime, unsigned long *timep) {
1366 COMMON_INTERCEPTOR_ENTER(ctx, localtime, timep);
1367 __sanitizer_tm *res = REAL(localtime)(timep);
1369 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep));
1374 INTERCEPTOR(__sanitizer_tm *, localtime_r, unsigned long *timep, void *result) {
1376 COMMON_INTERCEPTOR_ENTER(ctx, localtime_r, timep, result);
1377 __sanitizer_tm *res = REAL(localtime_r)(timep, result);
1379 COMMON_INTERCEPTOR_READ_RANGE(ctx, timep, sizeof(*timep));
1384 INTERCEPTOR(__sanitizer_tm *, gmtime, unsigned long *timep) {
1386 COMMON_INTERCEPTOR_ENTER(ctx, gmtime, timep);
[all …]
/freebsd/contrib/ldns/
H A Dconfigure.ac1189 struct tm *gmtime_r(const time_t *timep, struct tm *result);
1195 struct tm *localtime_r(const time_t *timep, struct tm *result);
H A Dacx_nlnetlabs.m41324 struct tm *gmtime_r(const time_t *timep, struct tm *result);
/freebsd/contrib/unbound/
H A Dconfig.h.in1475 struct tm *gmtime_r(const time_t *timep, struct tm *result);
1528 char *ctime_r(const time_t *timep, char *buf);
H A Dacx_nlnetlabs.m41377 struct tm *gmtime_r(const time_t *timep, struct tm *result);

12