Home
last modified time | relevance | path

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

12345678910>>...60

/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 *);
157 char *ctime_r(const time_t *, char *);
160 struct tm *gmtime_r(const time_t *, struct tm *);
161 struct tm *localtime_r(const time_t *, struct tm *);
[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/crypto/krb5/src/kadmin/cli/
H A Dgetdate.y85 time_t time; /* Seconds since the epoch */
113 #define HOUR(x) ((time_t)(x) * 60)
123 time_t value;
150 static time_t yyDayOrdinal;
151 static time_t yyDayNumber;
157 static time_t yyTimezone;
158 static time_t yyDay;
159 static time_t yyHour;
160 static time_t yyMinutes;
161 static time_t yyMonth;
[all …]
/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
76 return((time_t)tlong); in _long_to_time()
84 _time_to_int(time_t t) in _time_to_int()
[all …]
/freebsd/usr.sbin/fifolog/lib/
H A Dgetdate.y35 #define HOUR(x) ((time_t)(x) * 60)
45 time_t value;
72 static time_t yyDayOrdinal;
73 static time_t yyDayNumber;
79 static time_t yyTimezone;
80 static time_t yyDay;
81 static time_t yyHour;
82 static time_t yyMinutes;
83 static time_t yyMonth;
84 static time_t yySeconds;
[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.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/contrib/tzcode/
H A Dprivate.h682 # define time_tz time_t
699 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
742 # undef time_t
743 # define time_t tz_time_t macro
787 DEPRECATED_IN_C23 char *ctime(time_t const *);
790 char *ctime_r(time_t const *, char *);
792 ATTRIBUTE_CONST double difftime(time_t, time_t);
799 struct tm *gmtime(time_t const *);
800 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
801 struct tm *localtime(time_t const *);
[all …]
H A Dzdump.c65 enum { atime_shift = CHAR_BIT * sizeof(time_t) - 2 };
66 static time_t const absolute_min_time =
67 ((time_t) -1 < 0
68 ? (- ((time_t) ~ (time_t) 0 < 0)
69 - (((time_t) 1 << atime_shift) - 1 + ((time_t) 1 << atime_shift)))
71 static time_t const absolute_max_time =
72 ((time_t) -1 < 0
73 ? (((time_t) 1 << atime_shift) - 1 + ((time_t) 1 << atime_shift))
83 static time_t hunt(timezone_t, time_t, time_t, bool);
84 static void show(timezone_t, char *, time_t, bool);
[all …]
/freebsd/contrib/ntp/sntp/libopts/
H A Dparse-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/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/libarchive/libarchive/
H A Darchive_parse_date.c53 struct token { int token; time_t value; };
71 time_t Timezone; /* Seconds offset from GMT */
72 time_t Day;
73 time_t Hour;
74 time_t Minutes;
75 time_t Month;
76 time_t Seconds;
77 time_t Year;
81 time_t DayOrdinal; /* "3" in "3rd Tuesday" */
82 time_t DayNumber; /* "Tuesday" in "3rd Tuesday" */
[all …]
/freebsd/contrib/unbound/services/cache/
H A Dinfra.h90 time_t ttl;
93 time_t probedelay;
203 time_t timestamp[RATE_WINDOW];
283 time_t timenow, int* edns_vs, uint8_t* edns_lame_known, int* to);
302 uint8_t* name, size_t namelen, time_t timenow, int dnsseclame,
322 int roundtrip, int orig_rtt, time_t timenow);
350 uint8_t* name, size_t namelen, int edns_version, time_t timenow);
373 int* lame, int* dnsseclame, int* reclame, int* rtt, time_t timenow);
393 size_t namelen, struct rtt_info* rtt, int* delay, time_t timenow,
410 size_t namelen, time_t timeno
[all...]
H A Ddns.h98 struct reply_info* rep, int is_referral, time_t leeway, int pside,
99 struct regional* region, uint32_t flags, time_t qstarttime,
125 hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside,
127 time_t qstarttime);
150 struct regional* region, struct dns_msg** msg, time_t timenow,
167 struct reply_info* r, struct regional* region, time_t now,
238 struct ub_packed_rrset_key* rrset, time_t now);
250 struct ub_packed_rrset_key* rrset, time_t now);
263 time_t adjust, uint16_t flags);
269 uint16_t flags, time_t no
[all...]
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/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/llvm-project/libcxx/include/__cxx03/
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);
66 using ::time_t _LIBCPP_USING_IF_EXISTS;
/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);
69 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()
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/contrib/llvm-project/libc/src/__support/time/
H A Dunits.h18 LIBC_INLINE constexpr time_t operator""_s_ns(unsigned long long s) {
19 return static_cast<time_t>(s * 1'000'000'000);
27 LIBC_INLINE constexpr time_t operator""_ms_ns(unsigned long long ms) {
28 return static_cast<time_t>(ms * 1'000'000);
30 LIBC_INLINE constexpr time_t operator""_ms_us(unsigned long long ms) {
31 return static_cast<time_t>(ms * 1'000);
/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/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*/,
389 der_length_generalized_time (const time_t */*t*/);
428 der_length_utctime (const time_t */*
[all...]
/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 …]

12345678910>>...60