Searched refs:timep (Results 1 - 20 of 20) sorted by relevance

/freebsd-11-stable/contrib/ldns/compat/
H A Dctime_r.c9 char *ctime_r(const time_t *timep, char *buf) argument
12 char* result = ctime(timep);
H A Dgmtime_r.c9 struct tm *gmtime_r(const time_t *timep, struct tm *result) argument
12 *result = *gmtime(timep);
H A Dlocaltime_r.c9 struct tm *localtime_r(const time_t *timep, struct tm *result) argument
12 *result = *localtime(timep);
/freebsd-11-stable/contrib/unbound/compat/
H A Dctime_r.c23 char *ctime_r(const time_t *timep, char *buf) argument
34 result = ctime(timep);
H A Dgmtime_r.c45 timesub(timep, offset, tmp)
46 const time_t * const timep;
56 days = *timep / SECSPERDAY;
57 rem = *timep % SECSPERDAY;
103 struct tm * gmtime_r(const time_t* timep, struct tm *tm) argument
105 timesub(timep, 0L, tm);
/freebsd-11-stable/contrib/ntp/libntp/
H A Duglydate.c20 char *timep; local
26 timep = ulfptoa(ts, 6); /* returns max 17 characters */
46 "%17s %02d:%03d:%02d:%02d:%02d.%03ld", timep, year,
/freebsd-11-stable/usr.sbin/rpc.umntall/
H A Dmounttab.c80 char *timep, *endp; local
100 timep = strsep(&cp, " \t\n");
101 if (timep == NULL || *timep == '\0') {
102 badline("time", timep);
115 ultmp = strtoul(timep, &endp, 10);
117 badline("time", timep);
/freebsd-11-stable/lib/libc/rpc/
H A Drtime.c70 rtime(struct sockaddr_in *addrp, struct timeval *timep, argument
143 timep->tv_sec = thetime - TOFFSET;
144 timep->tv_usec = 0;
H A Drpcb_clnt.c1179 rpcb_gettime(const char *host, time_t *timep) argument
1189 time(timep);
1215 (xdrproc_t) xdr_int, (char *)(void *)timep, tottimeout);
1225 (xdrproc_t) xdr_int, (char *)(void *)timep,
/freebsd-11-stable/contrib/tzcode/stdtime/
H A Dlocaltime.c185 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) argument
1347 const time_t t = *timep;
1352 return gmtsub(timep, offset, tmp);
1437 localtime(const time_t *const timep) argument
1456 p_tm = localsub(timep, 0L, p_tm);
1460 p_tm = localsub(timep, 0L, &tm);
1470 localtime_r(const time_t *const timep, struc argument
1534 gmtime(const time_t *const timep) argument
1569 gmtime_r(const time_t *const timep, struct tm *tmp) argument
1577 offtime(const time_t *const timep, const long offset) argument
1732 ctime(const time_t *const timep) argument
1744 ctime_r(const time_t *const timep, char *buf) argument
2186 leapcorr(time_t *timep) argument
[all...]
/freebsd-11-stable/contrib/ldns/ldns/
H A Dconfig.h550 struct tm *gmtime_r(const time_t *timep, struct tm *result);
553 struct tm *localtime_r(const time_t *timep, struct tm *result);
/freebsd-11-stable/sbin/dhclient/
H A Dparse.c217 parse_lease_time(FILE *cfile, time_t *timep) argument
228 convert_num((unsigned char *)timep, val, 10, 32);
230 *timep = ntohl(*timep); /* XXX */
/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-hooks2.c493 WRAPPER2(char *, ctime, const time_t *timep) argument
498 MF_VALIDATE_EXTENT(timep, sizeof (time_t), __MF_CHECK_READ, "ctime time");
499 result = ctime (timep);
510 WRAPPER2(struct tm*, localtime, const time_t *timep) argument
515 MF_VALIDATE_EXTENT(timep, sizeof (time_t), __MF_CHECK_READ, "localtime time");
516 result = localtime (timep);
526 WRAPPER2(struct tm*, gmtime, const time_t *timep) argument
531 MF_VALIDATE_EXTENT(timep, sizeof (time_t), __MF_CHECK_READ, "gmtime time");
532 result = gmtime (timep);
567 WRAPPER2(time_t, time, time_t *timep) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp421 char *__dfsw_ctime_r(const time_t *timep, char *buf, dfsan_label timep_label, argument
423 char *ret = ctime_r(timep, buf);
425 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), buf,
643 struct tm *__dfsw_localtime_r(const time_t *timep, struct tm *result, argument
646 struct tm *ret = localtime_r(timep, result);
648 dfsan_set_label(dfsan_read_label(timep, sizeof(time_t)), result,
/freebsd-11-stable/usr.sbin/unbound/
H A Dconfig.h1214 struct tm *gmtime_r(const time_t *timep, struct tm *result);
1267 char *ctime_r(const time_t *timep, char *buf);
/freebsd-11-stable/sys/rpc/
H A Drpcb_clnt.c1224 rpcb_gettime(host, timep)
1226 time_t *timep;
1236 time(timep);
1262 (xdrproc_t) xdr_int, (char *)(void *)timep, tottimeout);
1272 (xdrproc_t) xdr_int, (char *)(void *)timep,
/freebsd-11-stable/contrib/tzcode/zic/
H A Dzic.c147 const char * dayp, const char * timep);
1234 rulesub(rp, loyearp, hiyearp, typep, monthp, dayp, timep)
1241 const char * const timep;
1255 dp = ecpyalloc(timep);
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_proto.h106 char timep_l_[PADL_(long *)]; long * timep; char timep_r_[PADR_(long *)]; member in struct:ibcs2_stime_args
H A Dibcs2_misc.c867 error = copyin(uap->timep, &secs, sizeof(long));
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_format_7zip.c2663 fileTimeToUtc(uint64_t fileTime, time_t *timep, long *ns) argument
2669 *timep = (time_t)(fileTime / 10000000);
2673 *timep = 0;

Completed in 281 milliseconds