Home
last modified time | relevance | path

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

12345678910>>...36

/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/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/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/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 *));
Dschedule.c65 static time_t launched; /* time when the program launched. */
66 static time_t deltaY2038;
72 static time_t current_time __P((void));
83 time_t now, delta; in schedular()
128 time_t tick; in sched_new()
179 static time_t
182 time_t n; in current_time()
184 time_t t; in current_time()
/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/kernel-headers/original/uapi/asm-mips/asm/
Dstat.h35 time_t st_atime;
37 time_t st_mtime;
39 time_t st_ctime;
73 time_t st_atime;
76 time_t st_mtime;
79 time_t st_ctime;
/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);
Dmain.h200 time_t wtime;
201 time_t rtime;
212 time_t run_time; /* run time in seconds */
220 time_t hbeat; /* Statistics will be reported every hbeats seconds */
234 time_t ioTimeout; /* the time (sec) before failure do to possible hung IO */
262 time_t start_time; /* overall start time of test */
263 time_t end_time; /* overall end time of test */
/external/strace/linux/
Dasm_stat.h12 # undef time_t
23 # define time_t __kernel_time_t macro
36 # undef time_t
47 # define time_t time_t macro
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DChrono.cpp22 EXPECT_EQ(time_t(0), toTimeT(toTimePoint(time_t(0)))); in TEST()
23 EXPECT_EQ(time_t(1), toTimeT(toTimePoint(time_t(1)))); in TEST()
24 EXPECT_EQ(time_t(47), toTimeT(toTimePoint(time_t(47)))); in TEST()
68 std::time_t TimeT = 47; in TEST()
/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()
/external/python/cpython2/Modules/
Dtimemodule.c102 time_t
105 time_t result; in _PyTime_DoubleToTimet()
108 result = (time_t)x; in _PyTime_DoubleToTimet()
122 result = (time_t)-1; in _PyTime_DoubleToTimet()
275 time_convert(double when, struct tm * (*function)(const time_t *)) in time_convert() argument
278 time_t whent = _PyTime_DoubleToTimet(when); in time_convert()
280 if (whent == (time_t)-1 && PyErr_Occurred()) in time_convert()
478 time_t tt = time(NULL); in time_strftime()
671 time_t tt = time(NULL); in time_asctime()
691 time_t tt; in time_ctime()
[all …]
/external/python/cpython3/Python/
Dpytime.c64 time_t
72 Py_BUILD_ASSERT(sizeof(time_t) <= sizeof(long)); in _PyLong_AsTime_t()
81 return (time_t)val; in _PyLong_AsTime_t()
85 _PyLong_FromTime_t(time_t t) in _PyLong_FromTime_t()
90 Py_BUILD_ASSERT(sizeof(time_t) <= sizeof(long)); in _PyLong_FromTime_t()
132 _PyTime_DoubleToDenominator(double d, time_t *sec, long *numerator, in _PyTime_DoubleToDenominator()
154 if (!_Py_InIntegralTypeRange(time_t, intpart)) { in _PyTime_DoubleToDenominator()
158 *sec = (time_t)intpart; in _PyTime_DoubleToDenominator()
165 _PyTime_ObjectToDenominator(PyObject *obj, time_t *sec, long *numerator, in _PyTime_ObjectToDenominator()
183 if (*sec == (time_t)-1 && PyErr_Occurred()) { in _PyTime_ObjectToDenominator()
[all …]
/external/curl/lib/
Dparsedate.c110 static int parsedate(const char *date, time_t *output);
290 static void my_timegm(struct my_tm *tm, time_t *t) in my_timegm()
311 *t = ((((time_t) (year - 1970) * 365 in my_timegm()
327 static int parsedate(const char *date, time_t *output) in parsedate()
329 time_t t = 0; in parsedate()
559 time_t curl_getdate(const char *p, const time_t *now) in curl_getdate()
561 time_t parsed = -1; in curl_getdate()
581 CURLcode Curl_gmtime(time_t intime, struct tm *store) in Curl_gmtime()
/external/strace/tests-mx32/
Dtime.c44 TAIL_ALLOC_OBJECT_CONST_PTR(time_t, p); in main()
46 time_t t = syscall(__NR_time, NULL); in main()
47 if ((time_t) -1 == t) in main()
58 print_time_t_nsec((time_t) *p, 0, 1), in main()
/external/strace/tests-m32/
Dtime.c44 TAIL_ALLOC_OBJECT_CONST_PTR(time_t, p); in main()
46 time_t t = syscall(__NR_time, NULL); in main()
47 if ((time_t) -1 == t) in main()
58 print_time_t_nsec((time_t) *p, 0, 1), in main()
/external/strace/tests/
Dtime.c44 TAIL_ALLOC_OBJECT_CONST_PTR(time_t, p); in main()
46 time_t t = syscall(__NR_time, NULL); in main()
47 if ((time_t) -1 == t) in main()
58 print_time_t_nsec((time_t) *p, 0, 1), in main()
/external/libchrome/base/files/
Dfile_posix.cc120 time_t last_modified_sec = stat_info.st_mtim.tv_sec; in FromStat()
122 time_t last_accessed_sec = stat_info.st_atim.tv_sec; in FromStat()
124 time_t creation_time_sec = stat_info.st_ctim.tv_sec; in FromStat()
127 time_t last_modified_sec = stat_info.st_mtime; in FromStat()
129 time_t last_accessed_sec = stat_info.st_atime; in FromStat()
131 time_t creation_time_sec = stat_info.st_ctime; in FromStat()
134 time_t last_modified_sec = stat_info.st_mtimespec.tv_sec; in FromStat()
136 time_t last_accessed_sec = stat_info.st_atimespec.tv_sec; in FromStat()
138 time_t creation_time_sec = stat_info.st_ctimespec.tv_sec; in FromStat()
141 time_t last_modified_sec = stat_info.st_mtime; in FromStat()
[all …]
/external/lua/src/
Dloslib.c69 static time_t l_checktime (lua_State *L, int arg) { in l_checktime()
71 luaL_argcheck(L, (time_t)t == t, arg, "time out-of-bounds"); in l_checktime()
72 return (time_t)t; in l_checktime()
286 time_t t = luaL_opt(L, l_checktime, 2, time(NULL)); in os_date()
326 time_t t; in os_time()
343 if (t != (time_t)(l_timet)t || t == (time_t)(-1)) in os_time()
352 time_t t1 = l_checktime(L, 1); in os_difftime()
353 time_t t2 = l_checktime(L, 2); in os_difftime()
/external/ltp/testcases/kernel/mem/mmapstress/
Dmmapstress06.c54 extern time_t time(time_t *);
55 extern char *ctime(const time_t *);
66 time_t t; in main()
Dmmapstress08.c55 extern time_t time(time_t *);
56 extern char *ctime(const time_t *);
67 time_t t; in main()
/external/zlib/src/contrib/untgz/
Duntgz.c100 time_t time;
109 char *strtime OF((time_t *));
110 int setfiletime OF((char *, time_t));
111 void push_attr OF((struct attr_item **, char *, int, time_t));
191 char *strtime (time_t *t) in strtime()
206 int setfiletime (char *fname,time_t ftime) in setfiletime()
253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) in push_attr()
396 time_t tartime; in tar()
431 tartime = (time_t)getoct(buffer.header.mtime,12); in tar()
432 if (tarmode == -1 || tartime == (time_t)-1) in tar()

12345678910>>...36