Home
last modified time | relevance | path

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

12345678910>>...55

/freebsd/include/
H A Dtime.h65 typedef __time_t time_t; typedef
119 char *ctime(const time_t *);
121 double difftime(time_t, time_t);
124 struct tm *gmtime(const time_t *);
125 struct tm *localtime(const time_t *);
126 time_t mktime(struct tm *);
129 time_t time(time_t *);
170 time_t timelocal(struct tm * const);
171 time_t timegm(struct tm * const);
173 time_t time2posix(time_t t);
[all …]
H A Dtimeconv.h47 typedef __time_t time_t; typedef
51 time_t _time32_to_time(__int32_t t32);
52 __int32_t _time_to_time32(time_t t);
53 time_t _time64_to_time(__int64_t t64);
54 __int64_t _time_to_time64(time_t t);
55 long _time_to_long(time_t t);
56 time_t _long_to_time(long tlong);
57 int _time_to_int(time_t t);
58 time_t _int_to_time(int tint);
/freebsd/lib/libc/stdtime/
H A Dtime32.c21 time_t
24 return((time_t)t32); in _time32_to_time()
33 _time_to_time32(time_t t) in _time_to_time32()
43 time_t
46 return((time_t)t64); in _time64_to_time()
54 _time_to_time64(time_t t) in _time_to_time64()
64 _time_to_long(time_t t) in _time_to_long()
71 time_t
84 _time_to_int(time_t t) in _time_to_int()
91 time_t
[all …]
/freebsd/usr.sbin/fifolog/lib/
H A Dgetdate.y45 time_t value;
525 static time_t
526 ToSeconds(time_t Hours, time_t Minutes, time_t Seconds, MERIDIAN Meridian) in ToSeconds()
558 static time_t
559 Convert(time_t Month, time_t Day, time_t Year, in Convert()
560 time_t Hours, time_t Minutes, time_t Seconds, in Convert()
612 DSTcorrect(time_t Start, time_t Future) in DSTcorrect()
624 RelativeDate(time_t Start, time_t DayOrdinal, time_t DayNumber) in RelativeDate()
638 RelativeMonth(time_t Start, time_t RelMonth) in RelativeMonth()
652 (time_t)tm->tm_hour, (time_t)tm->tm_min, (time_t)tm->tm_sec, in RelativeMonth()
[all …]
H A Dfifolog_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/usr.bin/find/
H A Dgetdate.y531 static time_t
532 ToSeconds(time_t Hours, time_t Minutes, time_t Seconds, MERIDIAN Meridian) in ToSeconds()
564 static time_t
565 Convert(time_t Month, time_t Day, time_t Year, in Convert()
566 time_t Hours, time_t Minutes, time_t Seconds, in Convert()
608 static time_t
609 DSTcorrect(time_t Start, time_t Future) in DSTcorrect()
621 RelativeDate(time_t Start, time_t DayOrdinal, time_t DayNumber) in RelativeDate()
635 RelativeMonth(time_t Start, time_t RelMonth) in RelativeMonth()
649 (time_t)tm->tm_hour, (time_t)tm->tm_min, (time_t)tm->tm_sec, in RelativeMonth()
[all …]
/freebsd/contrib/tzcode/
H A Dprivate.h598 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
645 # undef time_t
687 ATTRIBUTE_UNSEQUENCED double difftime(time_t, time_t);
699 time_t time(time_t *);
767 time_t time2posix(time_t);
770 time_t posix2time(time_t);
806 ATTRIBUTE_REPRODUCIBLE time_t posix2time_z(timezone_t, time_t);
809 ATTRIBUTE_REPRODUCIBLE time_t time2posix_z(timezone_t, time_t);
837 #define TIME_T_MIN_NO_PADDING MINVAL(time_t, TYPE_BIT(time_t))
838 #define TIME_T_MAX_NO_PADDING MAXVAL(time_t, TYPE_BIT(time_t))
[all …]
H A Dzdump.c78 ((time_t) -1 < 0
79 ? (- ((time_t) ~ (time_t) 0 < 0)
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);
239 static time_t
490 time_t now; in main()
601 time_t t; in main()
685 static time_t
735 static time_t
[all …]
H A Dlocaltime.c1916 time_t y; in timesub()
2364 time_t t; in time2()
2461 time_t
2469 time_t
2487 time_t
2514 time_t
2570 time_t
2591 time_t x; in posix2time_z()
2592 time_t y; in posix2time_z()
2617 time_t
[all …]
/freebsd/contrib/ntp/sntp/libopts/
H A Dparse-duration.c76 static time_t
77 scale_n_add (time_t base, time_t val, int scale) in scale_n_add()
103 static time_t
140 static time_t
144 time_t val; in parse_scaled_value()
167 static time_t
189 static time_t
219 static time_t
264 static time_t
287 static time_t
[all …]
/freebsd/contrib/ldns/ldns/
H A Dduration.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/contrib/unbound/services/cache/
H A Dinfra.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);
411 size_t namelen, time_t timenow);
424 size_t namelen, time_t timenow, int backoff);
428 int infra_rate_max(void* data, time_t now, int backoff);
[all …]
H A Ddns.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,
234 struct ub_packed_rrset_key* rrset, time_t now);
246 struct ub_packed_rrset_key* rrset, time_t now);
259 time_t adjust, uint16_t flags);
265 uint16_t flags, time_t now, int wr);
H A Drrset.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/contrib/libarchive/libarchive/
H A Darchive_getdate.c73 time_t Day;
74 time_t Hour;
76 time_t Month;
78 time_t Year;
687 Convert(time_t Month, time_t Day, time_t Year, in Convert()
688 time_t Hours, time_t Minutes, time_t Seconds, in Convert()
740 DSTcorrect(time_t Start, time_t Future) in DSTcorrect()
770 time_t DayOrdinal, time_t DayNumber) in RelativeDate()
796 RelativeMonth(time_t Start, time_t Timezone, time_t RelMonth) in RelativeMonth()
819 (time_t)tm->tm_hour, (time_t)tm->tm_min, (time_t)tm->tm_sec, in RelativeMonth()
[all …]
/freebsd/crypto/openssl/test/
H A Dtest_test.c196 if (!TEST(1, TEST_time_t_eq((time_t)10, (time_t)10)) in test_time_t()
197 || !TEST(0, TEST_time_t_eq((time_t)10, (time_t)12)) in test_time_t()
198 || !TEST(1, TEST_time_t_ne((time_t)10, (time_t)12)) in test_time_t()
199 || !TEST(0, TEST_time_t_ne((time_t)24, (time_t)24)) in test_time_t()
200 || !TEST(1, TEST_time_t_lt((time_t)30, (time_t)88)) in test_time_t()
201 || !TEST(0, TEST_time_t_lt((time_t)88, (time_t)30)) in test_time_t()
202 || !TEST(1, TEST_time_t_le((time_t)30, (time_t)88)) in test_time_t()
203 || !TEST(1, TEST_time_t_le((time_t)33, (time_t)33)) in test_time_t()
204 || !TEST(0, TEST_time_t_le((time_t)88, (time_t)30)) in test_time_t()
205 || !TEST(1, TEST_time_t_gt((time_t)52, (time_t)33)) in test_time_t()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/time/
H A Dt_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/contrib/llvm-project/libcxx/include/
H A Dctime29 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);
67 using ::time_t _LIBCPP_USING_IF_EXISTS;
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_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()
151 time_t endtime; in ATF_TC_BODY()
176 time_t endtime; in ATF_TC_BODY()
201 time_t endtime; in ATF_TC_BODY()
[all …]
/freebsd/stand/i386/libi386/
H A Dtime.c32 time_t getsecs(void);
67 time_t
68 time(time_t *t) in time()
70 static time_t lasttime; in time()
71 time_t now, check; in time()
92 time_t
95 time_t n = 0; in getsecs()
/freebsd/contrib/unbound/validator/
H A Dautotrust.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/contrib/ntp/libntp/
H A Dmktime.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/contrib/unbound/util/data/
H A Dpacked_rrset.h246 time_t ttl_add;
249 time_t ttl;
261 time_t *rr_ttl;
315 time_t ub_packed_rrset_ttl(struct ub_packed_rrset_key* key);
377 void packed_rrset_ttl_add(struct packed_rrset_data* data, time_t add);
426 time_t now, char* dest, size_t dest_len);
447 time_t now);
458 time_t now);
/freebsd/sys/sys/
H A Dmsg.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() */
/freebsd/crypto/heimdal/lib/asn1/
H A Dder-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*/,
428 der_length_utctime (const time_t */*t*/);
523 const time_t */*data*/,
[all …]

12345678910>>...55