Home
last modified time | relevance | path

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

12345678910>>...51

/external/icu/icu4c/source/tools/tzcode/
Dprivate.h256 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
276 # undef time_t
277 # define time_t tz_time_t macro
279 typedef time_tz time_t; typedef
281 char *ctime(time_t const *);
282 char *ctime_r(time_t const *, char *);
283 double difftime(time_t, time_t);
284 struct tm *gmtime(time_t const *);
285 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
286 struct tm *localtime(time_t const *);
[all …]
Dzdump.c219 static time_t const absolute_min_time =
220 ((time_t) -1 < 0
221 ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)
223 static time_t const absolute_max_time =
224 ((time_t) -1 < 0
225 ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1))
235 static time_t hunt(char * name, time_t lot, time_t hit);
236 static void show(char * zone, time_t t, int v);
238 static time_t yeartot(intmax_t y) ATTRIBUTE_PURE;
245 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp);
[all …]
Dlocaltime.c88 time_t ls_trans; /* transition time */
108 time_t ats[TZ_MAX_TIMES];
135 static int differ_by_repeat(time_t t1, time_t t0);
145 static struct tm * gmtsub(const time_t * timep, int_fast32_t offset,
147 static struct tm * localsub(const time_t * timep, int_fast32_t offset,
152 static int increment_overflow_time(time_t *t, int_fast32_t delta);
158 static time_t time1(struct tm * tmp,
159 struct tm * (*funcp)(const time_t *,
162 static time_t time2(struct tm *tmp,
163 struct tm * (*funcp)(const time_t *,
[all …]
/external/libcxx/include/
Dctime30 time_t
35 double difftime(time_t time1, time_t time0);
36 time_t mktime(tm* timeptr);
37 time_t time(time_t* timer);
39 char* ctime(const time_t* timer);
40 tm* gmtime(const time_t* timer);
41 tm* localtime(const time_t* timer);
60 using ::time_t;
/external/dnsmasq/src/
Ddnsmasq.h257 time_t ttd; /* time to die */
363 time_t mtime;
389 time_t time;
410 time_t expires; /* lease expiry */
447 time_t decline_time;
566 time_t time;
577 time_t last_resolv;
629 time_t forwardtime;
653 struct crec* cache_find_by_addr(struct crec* crecp, struct all_addr* addr, time_t now,
655 struct crec* cache_find_by_name(struct crec* crecp, char* name, time_t now, unsigned short prot);
[all …]
/external/ipsec-tools/src/racoon/
Dschedule.h43 time_t xtime; /* event time which is as time(3). */
53 time_t created; /* for debug */
54 time_t tick; /* for debug */
72 time_t xtime;
74 time_t created;
75 time_t tick;
79 struct sched *sched_new __P((time_t, void (*func) __P((void *)), void *));
/external/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
Dmod.rs13 pub type time_t = i64; typedef
29 pub st_atime: ::time_t,
31 pub st_mtime: ::time_t,
33 pub st_ctime: ::time_t,
52 pub st_atime: ::time_t,
54 pub st_mtime: ::time_t,
56 pub st_ctime: ::time_t,
109 pub shm_atime: ::time_t,
110 pub shm_dtime: ::time_t,
111 pub shm_ctime: ::time_t,
[all …]
/external/llvm-project/libc/src/time/
Dmktime.cpp35 constexpr bool isLeapYear(const time_t year) { in isLeapYear()
40 static inline time_t outOfRange() { in outOfRange()
42 return static_cast<time_t>(-1); in outOfRange()
45 time_t LLVM_LIBC_ENTRYPOINT(mktime)(struct tm *t1) { in LLVM_LIBC_ENTRYPOINT()
61 time_t tmYearFromBase = t1->tm_year + TimeYearBase; in LLVM_LIBC_ENTRYPOINT()
67 if (sizeof(time_t) == 4 && tmYearFromBase >= EndOf32BitEpochYear) { in LLVM_LIBC_ENTRYPOINT()
91 time_t daysInMonth = NonLeapYearDaysInMonth[t1->tm_mon]; in LLVM_LIBC_ENTRYPOINT()
98 time_t totalDays = t1->tm_mday - 1; in LLVM_LIBC_ENTRYPOINT()
108 for (time_t year = EpochYear + 2; year < tmYearFromBase;) { in LLVM_LIBC_ENTRYPOINT()
/external/pdfium/core/fxcrt/
Dfx_extension.cpp17 time_t DefaultTimeFunction() { in DefaultTimeFunction()
21 struct tm* DefaultLocaltimeFunction(const time_t* tp) { in DefaultLocaltimeFunction()
25 time_t (*g_time_func)() = DefaultTimeFunction;
26 struct tm* (*g_localtime_func)(const time_t*) = DefaultLocaltimeFunction;
169 void FXSYS_SetTimeFunction(time_t (*func)()) { in FXSYS_SetTimeFunction()
173 void FXSYS_SetLocaltimeFunction(struct tm* (*func)(const time_t*)) { in FXSYS_SetLocaltimeFunction() argument
177 time_t FXSYS_time(time_t* tloc) { in FXSYS_time()
178 time_t ret_val = g_time_func(); in FXSYS_time()
184 struct tm* FXSYS_localtime(const time_t* tp) { in FXSYS_localtime()
/external/llvm-project/libcxx/include/
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);
73 using ::time_t;
/external/llvm-project/libc/test/src/time/
Dmktime_test.cpp18 static constexpr time_t OutOfRangeReturnValue = -1;
32 static inline time_t call_mktime(struct tm *tm_data, int year, int month, in call_mktime()
68 if (sizeof(time_t) != 4) in TEST()
118 EXPECT_EQ(call_mktime(&tm_data, 1970, 0, 1, 0, 0, 0), static_cast<time_t>(0)); in TEST()
127 static_cast<time_t>(46250)); in TEST()
137 static_cast<time_t>(0x7FFFFFFF)); in TEST()
143 if (sizeof(time_t) == 4) in TEST()
148 static_cast<time_t>(6311479850)); in TEST()
154 static_cast<time_t>(67767976202043050)); in TEST()
/external/curl/lib/
Dparsedate.c96 static int parsedate(const char *date, time_t *output);
282 static time_t time2epoch(int sec, int min, int hour, in time2epoch()
290 return ((((time_t) (year - 1970) * 365 in time2epoch()
306 static int parsedate(const char *date, time_t *output) in parsedate()
308 time_t t = 0; in parsedate()
531 static int parsedate(const char *date, time_t *output) in parsedate()
539 time_t curl_getdate(const char *p, const time_t *now) in curl_getdate()
541 time_t parsed = -1; in curl_getdate()
559 time_t Curl_getdate_capped(const char *p) in Curl_getdate_capped()
561 time_t parsed = -1; in Curl_getdate_capped()
[all …]
/external/python/cpython3/Include/
Dpytime.h48 time_t sec);
51 PyAPI_FUNC(time_t) _PyLong_AsTime_t(
57 time_t *sec,
65 time_t *sec,
74 time_t *sec,
146 time_t *secs,
218 PyAPI_FUNC(int) _PyTime_localtime(time_t t, struct tm *tm);
222 PyAPI_FUNC(int) _PyTime_gmtime(time_t t, struct tm *tm);
/external/ltp/testcases/kernel/io/disktest/
Dsfunc.h114 time_t days;
115 time_t hours;
116 time_t minutes;
117 time_t seconds;
133 fmt_time_t format_time(time_t);
/external/rust/crates/libc/src/fuchsia/
Daarch64.rs21 pub st_atime: ::time_t,
23 pub st_mtime: ::time_t,
25 pub st_ctime: ::time_t,
43 pub st_atime: ::time_t,
45 pub st_mtime: ::time_t,
47 pub st_ctime: ::time_t,
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc106 inline std::tm* gm_time(const std::time_t* timep, std::tm* result) { in gm_time()
114 inline std::tm* local_time(const std::time_t* timep, std::tm* result) { in local_time()
125 bool make_time(const civil_second& cs, int is_dst, std::time_t* t, int* off) { in make_time()
135 if (*t == std::time_t{-1}) { in make_time()
152 std::time_t find_trans(std::time_t lo, std::time_t hi, int offset) { in find_trans()
155 const std::time_t mid = lo + (hi - lo) / 2; in find_trans()
191 if (s < std::numeric_limits<std::time_t>::min()) { in BreakTime()
195 if (s > std::numeric_limits<std::time_t>::max()) { in BreakTime()
200 const std::time_t t = static_cast<std::time_t>(s); in BreakTime()
251 std::time_t t0, t1; in MakeTime()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc106 inline std::tm* gm_time(const std::time_t* timep, std::tm* result) { in gm_time()
114 inline std::tm* local_time(const std::time_t* timep, std::tm* result) { in local_time()
125 bool make_time(const civil_second& cs, int is_dst, std::time_t* t, int* off) { in make_time()
135 if (*t == std::time_t{-1}) { in make_time()
152 std::time_t find_trans(std::time_t lo, std::time_t hi, int offset) { in find_trans()
155 const std::time_t mid = lo + (hi - lo) / 2; in find_trans()
191 if (s < std::numeric_limits<std::time_t>::min()) { in BreakTime()
195 if (s > std::numeric_limits<std::time_t>::max()) { in BreakTime()
200 const std::time_t t = static_cast<std::time_t>(s); in BreakTime()
251 std::time_t t0, t1; in MakeTime()
[all …]
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc106 inline std::tm* gm_time(const std::time_t* timep, std::tm* result) { in gm_time()
114 inline std::tm* local_time(const std::time_t* timep, std::tm* result) { in local_time()
125 bool make_time(const civil_second& cs, int is_dst, std::time_t* t, int* off) { in make_time()
135 if (*t == std::time_t{-1}) { in make_time()
152 std::time_t find_trans(std::time_t lo, std::time_t hi, int offset) { in find_trans()
155 const std::time_t mid = lo + (hi - lo) / 2; in find_trans()
193 if (s < std::numeric_limits<std::time_t>::min()) { in BreakTime()
197 if (s > std::numeric_limits<std::time_t>::max()) { in BreakTime()
202 const std::time_t t = static_cast<std::time_t>(s); in BreakTime()
252 std::time_t t0, t1; in MakeTime()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc106 inline std::tm* gm_time(const std::time_t* timep, std::tm* result) { in gm_time()
114 inline std::tm* local_time(const std::time_t* timep, std::tm* result) { in local_time()
125 bool make_time(const civil_second& cs, int is_dst, std::time_t* t, int* off) { in make_time()
135 if (*t == std::time_t{-1}) { in make_time()
152 std::time_t find_trans(std::time_t lo, std::time_t hi, int offset) { in find_trans()
155 const std::time_t mid = lo + (hi - lo) / 2; in find_trans()
193 if (s < std::numeric_limits<std::time_t>::min()) { in BreakTime()
197 if (s > std::numeric_limits<std::time_t>::max()) { in BreakTime()
202 const std::time_t t = static_cast<std::time_t>(s); in BreakTime()
252 std::time_t t0, t1; in MakeTime()
[all …]
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_libc.cc112 inline std::tm* gm_time(const std::time_t* timep, std::tm* result) { in gm_time()
120 inline std::tm* local_time(const std::time_t* timep, std::tm* result) { in local_time()
131 bool make_time(const civil_second& cs, int is_dst, std::time_t* t, int* off) { in make_time()
141 if (*t == std::time_t{-1}) { in make_time()
158 std::time_t find_trans(std::time_t lo, std::time_t hi, int offset) { in find_trans()
161 const std::time_t mid = lo + (hi - lo) / 2; in find_trans()
199 if (s < std::numeric_limits<std::time_t>::min()) { in BreakTime()
203 if (s > std::numeric_limits<std::time_t>::max()) { in BreakTime()
208 const std::time_t t = static_cast<std::time_t>(s); in BreakTime()
258 std::time_t t0, t1; in MakeTime()
[all …]
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc112 inline std::tm* gm_time(const std::time_t* timep, std::tm* result) { in gm_time()
120 inline std::tm* local_time(const std::time_t* timep, std::tm* result) { in local_time()
131 bool make_time(const civil_second& cs, int is_dst, std::time_t* t, int* off) { in make_time()
141 if (*t == std::time_t{-1}) { in make_time()
158 std::time_t find_trans(std::time_t lo, std::time_t hi, int offset) { in find_trans()
161 const std::time_t mid = lo + (hi - lo) / 2; in find_trans()
199 if (s < std::numeric_limits<std::time_t>::min()) { in BreakTime()
203 if (s > std::numeric_limits<std::time_t>::max()) { in BreakTime()
208 const std::time_t t = static_cast<std::time_t>(s); in BreakTime()
258 std::time_t t0, t1; in MakeTime()
[all …]
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dx86.rs5 pub type time_t = i32; typedef
18 pub st_atime: ::time_t,
20 pub st_mtime: ::time_t,
22 pub st_ctime: ::time_t,
30 pub st_birthtime: ::time_t,
Dpowerpc64.rs5 pub type time_t = i64; typedef
18 pub st_atime: ::time_t,
20 pub st_mtime: ::time_t,
22 pub st_ctime: ::time_t,
30 pub st_birthtime: ::time_t,
/external/llvm-project/compiler-rt/test/asan/TestCases/
Dtime_interceptor.cpp13 time_t *tm = (time_t*)malloc(sizeof(time_t)); in main()
15 time_t t = time(tm); in main()
/external/compiler-rt/test/asan/TestCases/
Dtime_interceptor.cc13 time_t *tm = (time_t*)malloc(sizeof(time_t)); in main()
15 time_t t = time(tm); in main()

12345678910>>...51