Home
last modified time | relevance | path

Searched refs:time_t (Results 1 – 25 of 1181) sorted by relevance

12345678910>>...48

/freebsd-13-stable/include/
HDtime.h67 typedef __time_t time_t; typedef
121 char *ctime(const time_t *);
123 double difftime(time_t, time_t);
126 struct tm *gmtime(const time_t *);
127 struct tm *localtime(const time_t *);
128 time_t mktime(struct tm *);
131 time_t time(time_t *);
159 char *ctime_r(const time_t *, char *);
162 struct tm *gmtime_r(const time_t *, struct tm *);
163 struct tm *localtime_r(const time_t *, struct tm *);
[all …]
HDtimeconv.h49 typedef __time_t time_t; typedef
53 time_t _time32_to_time(__int32_t t32);
54 __int32_t _time_to_time32(time_t t);
55 time_t _time64_to_time(__int64_t t64);
56 __int64_t _time_to_time64(time_t t);
57 long _time_to_long(time_t t);
58 time_t _long_to_time(long tlong);
59 int _time_to_int(time_t t);
60 time_t _int_to_time(int tint);
/freebsd-13-stable/lib/libc/stdtime/
HDtime32.c22 time_t
25 return((time_t)t32); in _time32_to_time()
34 _time_to_time32(time_t t) in _time_to_time32()
44 time_t
47 return((time_t)t64); in _time64_to_time()
55 _time_to_time64(time_t t) in _time_to_time64()
65 _time_to_long(time_t t) in _time_to_long()
72 time_t
77 return((time_t)tlong); in _long_to_time()
85 _time_to_int(time_t t) in _time_to_int()
[all …]
/freebsd-13-stable/usr.sbin/fifolog/lib/
HDgetdate.y33 #define HOUR(x) ((time_t)(x) * 60)
43 time_t value;
70 static time_t yyDayOrdinal;
71 static time_t yyDayNumber;
77 static time_t yyTimezone;
78 static time_t yyDay;
79 static time_t yyHour;
80 static time_t yyMinutes;
81 static time_t yyMonth;
82 static time_t yySeconds;
[all …]
HDfifolog_write.h54 time_t last;
63 time_t starttime;
64 time_t lastwrite;
65 time_t lastsync;
70 int fifolog_write_record(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, ssize_…
71 int fifolog_write_poll(struct fifolog_writer *f, time_t now);
72 int fifolog_write_record_poll(struct fifolog_writer *f, uint32_t id, time_t now, const void *ptr, s…
/freebsd-13-stable/usr.bin/find/
HDgetdate.y56 time_t get_date(char *);
59 #define HOUR(x) ((time_t)(x) * 60)
69 time_t value;
96 static time_t yyDayOrdinal;
97 static time_t yyDayNumber;
103 static time_t yyTimezone;
104 static time_t yyDay;
105 static time_t yyHour;
106 static time_t yyMinutes;
107 static time_t yyMonth;
[all …]
/freebsd-13-stable/contrib/tzcode/
HDprivate.h600 # define time_tz time_t
617 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
660 # undef time_t
661 # define time_t tz_time_t macro
705 DEPRECATED_IN_C23 char *ctime(time_t const *);
708 char *ctime_r(time_t const *, char *);
710 double difftime(time_t, time_t);
717 struct tm *gmtime(time_t const *);
718 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
719 struct tm *localtime(time_t const *);
[all …]
HDzdump.c76 enum { atime_shift = CHAR_BIT * sizeof(time_t) - 2 };
77 static time_t const absolute_min_time =
78 ((time_t) -1 < 0
79 ? (- ((time_t) ~ (time_t) 0 < 0)
80 - (((time_t) 1 << atime_shift) - 1 + ((time_t) 1 << atime_shift)))
82 static time_t const absolute_max_time =
83 ((time_t) -1 < 0
84 ? (((time_t) 1 << atime_shift) - 1 + ((time_t) 1 << atime_shift))
94 static time_t hunt(timezone_t, time_t, time_t, bool);
95 static void show(timezone_t, char *, time_t, bool);
[all …]
HDlocaltime.c115 time_t ls_trans; /* transition time */
146 time_t ats[TZ_MAX_TIMES];
168 static struct tm *gmtsub(struct state const *, time_t const *, int_fast32_t,
171 static bool increment_overflow_time(time_t *, int_fast32_t);
172 static int_fast32_t leapcorr(struct state const *, time_t);
174 static struct tm *timesub(time_t const *, int_fast32_t, struct state const *,
588 time_t attime in tzloadbody()
589 = ((TYPE_SIGNED(time_t) ? at < TIME_T_MIN : at < 0) in tzloadbody()
750 time_t t = ts->ats[i]; in tzloadbody()
1104 time_t atlo = TIME_T_MIN, leaplo = TIME_T_MIN; in tzparse()
[all …]
/freebsd-13-stable/contrib/ntp/sntp/libopts/
HDparse-duration.c57 #define MAX_DURATION TYPE_MAXIMUM(time_t)
76 static time_t
77 scale_n_add (time_t base, time_t val, int scale) in scale_n_add()
103 static time_t
104 parse_hr_min_sec (time_t start, cch_t * pz) in parse_hr_min_sec()
140 static time_t
141 parse_scaled_value (time_t base, cch_t ** ppz, cch_t * endp, int scale) in parse_scaled_value()
144 time_t val; in parse_scaled_value()
167 static time_t
170 time_t res = 0; in parse_year_month_day()
[all …]
/freebsd-13-stable/contrib/ldns/ldns/
HDduration.h53 time_t years;
54 time_t months;
55 time_t weeks;
56 time_t days;
57 time_t hours;
58 time_t minutes;
59 time_t seconds;
100 time_t ldns_duration2time(const ldns_duration_type* duration);
/freebsd-13-stable/contrib/unbound/services/cache/
HDinfra.h77 time_t ttl;
80 time_t probedelay;
190 time_t timestamp[RATE_WINDOW];
270 time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to);
289 uint8_t* name, size_t namelen, time_t timenow, int dnsseclame,
309 int roundtrip, int orig_rtt, time_t timenow);
337 uint8_t* name, size_t namelen, int edns_version, time_t timenow);
360 int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow);
380 size_t namelen, struct rtt_info* rtt, int* delay, time_t timenow,
397 size_t namelen, time_t timenow, int backoff, struct query_info* qinfo,
[all …]
HDdns.h96 struct reply_info* rep, int is_referral, time_t leeway, int pside,
97 struct regional* region, uint32_t flags, time_t qstarttime);
122 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside,
124 time_t qstarttime);
147 struct regional* region, struct dns_msg** msg, time_t timenow,
164 struct reply_info* r, struct regional* region, time_t now,
235 struct ub_packed_rrset_key* rrset, time_t now);
247 struct ub_packed_rrset_key* rrset, time_t now);
260 time_t adjust, uint16_t flags);
266 uint16_t flags, time_t now, int wr);
HDrrset.h134 struct alloc_cache* alloc, time_t timenow);
152 struct alloc_cache* alloc, time_t timenow);
170 uint32_t flags, time_t timenow, int wr);
184 int rrset_array_lock(struct rrset_ref* ref, size_t count, time_t timenow);
220 struct ub_packed_rrset_key* rrset, time_t now);
232 struct ub_packed_rrset_key* rrset, time_t now);
246 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now,
262 size_t* qnamelen, uint16_t searchtype, uint16_t qclass, time_t now,
/freebsd-13-stable/contrib/libarchive/libarchive/
HDarchive_getdate.c54 struct token { int token; time_t value; };
72 time_t Timezone; /* Seconds offset from GMT */
73 time_t Day;
74 time_t Hour;
75 time_t Minutes;
76 time_t Month;
77 time_t Seconds;
78 time_t Year;
82 time_t DayOrdinal; /* "3" in "3rd Tuesday" */
83 time_t DayNumber; /* "Tuesday" in "3rd Tuesday" */
[all …]
/freebsd-13-stable/contrib/llvm-project/libcxx/include/
HDctime29 time_t
34 double difftime(time_t time1, time_t time0);
35 time_t mktime(tm* timeptr);
36 time_t time(time_t* timer);
38 char* ctime(const time_t* timer);
39 tm* gmtime(const time_t* timer);
40 tm* localtime(const time_t* timer);
66 using ::time_t _LIBCPP_USING_IF_EXISTS;
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/time/
HDt_mktime.c47 time_t x; in ATF_TC_BODY()
68 time_t t; in ATF_TC_BODY()
76 ATF_REQUIRE(t != (time_t)-1); in ATF_TC_BODY()
88 time_t t; in ATF_TC_BODY()
96 ATF_REQUIRE(t == (time_t)0); in ATF_TC_BODY()
105 ATF_REQUIRE(t == (time_t)1); in ATF_TC_BODY()
120 ATF_REQUIRE(t == (time_t)-1); in ATF_TC_BODY()
133 ATF_REQUIRE(t == (time_t)-1); in ATF_TC_BODY()
144 ATF_REQUIRE(t == (time_t)-2); in ATF_TC_BODY()
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/stdlib/
HDt_getenv_thread.c55 time_t endtime; in thread_getenv_r()
57 endtime = *(time_t *)arg; in thread_getenv_r()
77 time_t endtime; in thread_putenv()
86 endtime = *(time_t *)arg; in thread_putenv()
104 time_t endtime; in thread_setenv()
106 endtime = *(time_t *)arg; in thread_setenv()
124 time_t endtime; in thread_unsetenv()
126 endtime = *(time_t *)arg; in thread_unsetenv()
151 time_t endtime; in ATF_TC_BODY()
176 time_t endtime; in ATF_TC_BODY()
[all …]
/freebsd-13-stable/stand/i386/libi386/
HDtime.c33 time_t getsecs(void);
68 time_t
69 time(time_t *t) in time()
71 static time_t lasttime; in time()
72 time_t now, check; in time()
93 time_t
96 time_t n = 0; in getsecs()
/freebsd-13-stable/contrib/unbound/validator/
HDautotrust.h75 time_t last_change;
104 time_t last_queried;
106 time_t last_success;
108 time_t next_probe_time;
111 time_t query_interval;
113 time_t retry_time;
158 time_t autr_probe_timer(struct module_env* env);
/freebsd-13-stable/contrib/ntp/libntp/
HDmktime.c68 #error libntp supplied mktime()/timegm() do not support 64-bit time_t
181 static time_t
192 time_t t; in time2()
231 t = (t < 0) ? 0 : ((time_t) 1 << bits); in time2()
244 t -= (time_t) 1 << bits; in time2()
245 else t += (time_t) 1 << bits; in time2()
266 static time_t
271 register time_t t; in time1()
283 time_t
294 time_t
[all …]
/freebsd-13-stable/crypto/heimdal/lib/asn1/
HDder-protos.h52 const time_t */*from*/,
53 time_t */*to*/);
107 const time_t */*from*/,
108 time_t */*to*/);
130 der_free_generalized_time (time_t */*t*/);
163 der_free_utctime (time_t */*t*/);
209 time_t */*data*/,
321 time_t */*data*/,
389 der_length_generalized_time (const time_t */*t*/);
428 der_length_utctime (const time_t */*t*/);
[all …]
/freebsd-13-stable/sys/sys/
HDmsg.h58 typedef __time_t time_t; typedef
73 time_t msg_stime; /* time of last msgsnd() */
75 time_t msg_rtime; /* time of last msgrcv() */
77 time_t msg_ctime; /* time of last msgctl() */
98 time_t msg_stime; /* time of last msgsnd() */
99 time_t msg_rtime; /* time of last msgrcv() */
100 time_t msg_ctime; /* time of last msgctl() */
HDshm.h76 typedef __time_t time_t; typedef
93 time_t shm_atime; /* time of last shmat() */
94 time_t shm_dtime; /* time of last shmdt() */
95 time_t shm_ctime; /* time of last change by shmctl() */
108 time_t shm_atime; /* time of last shmat() */
109 time_t shm_dtime; /* time of last shmdt() */
110 time_t shm_ctime; /* time of last change by shmctl() */
/freebsd-13-stable/contrib/ntp/include/
HDntp_calendar.h43 typedef time_t (*systime_func_ptr)(time_t *);
123 extern vint64 time_to_vint64(const time_t *);
124 extern time_t vint64_to_time(const vint64 *);
141 ntpcal_ntp_to_time(uint32_t /* ntp */, const time_t * /* pivot */);
150 ntpcal_ntp_to_ntp(uint32_t /* ntp */, const time_t * /* pivot */);
345 const time_t * /* pivot */);
353 extern time_t
374 const time_t * /* pivot */);
421 extern time_t
424 extern time_t

12345678910>>...48