Home
last modified time | relevance | path

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

12345678910>>...54

/third_party/skia/third_party/externals/icu/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 …]
/third_party/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.c213 static time_t const absolute_min_time =
214 ((time_t) -1 < 0
215 ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)
217 static time_t const absolute_max_time =
218 ((time_t) -1 < 0
219 ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1))
229 static time_t hunt(char * name, time_t lot, time_t hit);
230 static void show(char * zone, time_t t, int v);
232 static time_t yeartot(intmax_t y) ATTRIBUTE_PURE;
239 static time_t huntICU(char * name, time_t lot, time_t hit, FILE *fp);
[all …]
Dlocaltime.c90 time_t ls_trans; /* transition time */
110 time_t ats[TZ_MAX_TIMES];
137 static int differ_by_repeat(time_t t1, time_t t0);
147 static struct tm * gmtsub(const time_t * timep, int_fast32_t offset,
149 static struct tm * localsub(const time_t * timep, int_fast32_t offset,
154 static int increment_overflow_time(time_t *t, int_fast32_t delta);
160 static time_t time1(struct tm * tmp,
161 struct tm * (*funcp)(const time_t *,
164 static time_t time2(struct tm *tmp,
165 struct tm * (*funcp)(const time_t *,
[all …]
/third_party/musl/porting/linux/user/src/time/
Dtime.c26 static time_t time_init(time_t *t) in time_init()
30 time_t (*f)(time_t *) = in time_init()
31 (time_t (*)(time_t *))p; in time_init()
40 time_t time(time_t *t) in time()
43 time_t (*f)(time_t *) = in time()
44 (time_t (*)(time_t *))vdso_time; in time()
/third_party/tzdata/
Dprivate.h579 # define time_tz time_t
596 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
641 # undef time_t
642 # define time_t tz_time_t macro
681 DEPRECATED_IN_C23 char *ctime(time_t const *);
682 char *ctime_r(time_t const *, char *);
683 ATTRIBUTE_UNSEQUENCED double difftime(time_t, time_t);
690 struct tm *gmtime(time_t const *);
691 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
692 struct tm *localtime(time_t const *);
[all …]
Dzdump.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 …]
Dtime2posix.3.txt9 time_t time2posix(time_t t);
11 time_t posix2time(time_t t);
16 IEEE Standard 1003.1 (POSIX) requires the time_t value 536457599 to
18 time_t values cannot include leap seconds and, therefore, that the
22 however, no such adjustment is needed and time_t values continue to
27 Typically this is not a problem as the type time_t is intended to be
28 (mostly) opaque - time_t values should only be obtained-from and
31 directly computing a time_t value from a given date/time, and the same
33 programs creating/dissecting time_t values using such a relationship
37 time_t mismatch by converting between local time_t values and their
[all …]
Dlocaltime.c95 time_t ls_trans; /* transition time */
121 time_t ats[TZ_MAX_TIMES];
148 static struct tm *gmtsub(struct state const *, time_t const *, int_fast32_t,
151 static bool increment_overflow_time(time_t *, int_fast32_t);
152 static int_fast32_t leapcorr(struct state const *, time_t);
154 static struct tm *timesub(time_t const *, int_fast32_t, struct state const *,
518 time_t attime in tzloadbody()
519 = ((TYPE_SIGNED(time_t) ? at < TIME_T_MIN : at < 0) in tzloadbody()
680 time_t t = ts->ats[i]; in tzloadbody()
699 time_t repeatat = sp->ats[0] + SECSPERREPEAT; in tzloadbody()
[all …]
/third_party/musl/libc-test/src/api/
Dtime.c9 T(time_t) in f()
18 F(time_t,tv_sec) in f()
48 {char*(*p)(const time_t*) = ctime;} in f()
49 {double(*p)(time_t,time_t) = difftime;} in f()
50 {struct tm*(*p)(const time_t*) = gmtime;} in f()
51 {struct tm*(*p)(const time_t*) = localtime;} in f()
52 {time_t(*p)(struct tm*) = mktime;} in f()
54 {time_t(*p)(time_t*) = time;} in f()
62 {char*(*p)(const time_t*,char*) = ctime_r;} in f()
63 {struct tm*(*p)(const time_t*restrict,struct tm*restrict) = gmtime_r;} in f()
[all …]
/third_party/musl/porting/liteos_m/kernel/include/
Dtime.h54 time_t time (time_t *);
55 double difftime (time_t, time_t);
56 time_t mktime (struct tm *);
58 struct tm *gmtime (const time_t *);
59 struct tm *localtime (const time_t *);
61 char *ctime (const time_t *);
74 struct tm *gmtime_r (const time_t *__restrict, struct tm *__restrict);
75 struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict);
77 char *ctime_r (const time_t *, char *);
130 int stime(const time_t *);
[all …]
/third_party/musl/porting/liteos_m/user/include/
Dtime.h53 time_t time (time_t *);
54 double difftime (time_t, time_t);
55 time_t mktime (struct tm *);
57 struct tm *gmtime (const time_t *);
58 struct tm *localtime (const time_t *);
60 char *ctime (const time_t *);
73 struct tm *gmtime_r (const time_t *__restrict, struct tm *__restrict);
74 struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict);
76 char *ctime_r (const time_t *, char *);
129 int stime(const time_t *);
[all …]
/third_party/musl/porting/uniproton/kernel/include/
Dtime.h54 time_t time (time_t *);
55 double difftime (time_t, time_t);
56 time_t mktime (struct tm *);
58 struct tm *gmtime (const time_t *);
59 struct tm *localtime (const time_t *);
61 char *ctime (const time_t *);
74 struct tm *gmtime_r (const time_t *__restrict, struct tm *__restrict);
75 struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict);
77 char *ctime_r (const time_t *, char *);
130 int stime(const time_t *);
[all …]
/third_party/musl/include/
Dtime.h55 time_t time (time_t *);
56 double difftime (time_t, time_t);
57 time_t mktime (struct tm *);
59 struct tm *gmtime (const time_t *);
60 struct tm *localtime (const time_t *);
62 char *ctime (const time_t *);
75 struct tm *gmtime_r (const time_t *__restrict, struct tm *__restrict);
76 struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict);
78 char *ctime_r (const time_t *, char *);
131 int stime(const time_t *);
[all …]
/third_party/musl/porting/liteos_a/kernel/include/
Dtime.h58 time_t time (time_t *);
59 double difftime (time_t, time_t);
60 time_t mktime (struct tm *);
62 struct tm *gmtime (const time_t *);
63 struct tm *localtime (const time_t *);
65 char *ctime (const time_t *);
78 struct tm *gmtime_r (const time_t *__restrict, struct tm *__restrict);
79 struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict);
81 char *ctime_r (const time_t *, char *);
145 int stime(const time_t *);
[all …]
/third_party/musl/ndk_musl_include/
Dtime.h53 time_t time (time_t *);
54 double difftime (time_t, time_t);
55 time_t mktime (struct tm *);
57 struct tm *gmtime (const time_t *);
58 struct tm *localtime (const time_t *);
60 char *ctime (const time_t *);
73 struct tm *gmtime_r (const time_t *__restrict, struct tm *__restrict);
74 struct tm *localtime_r (const time_t *__restrict, struct tm *__restrict);
76 char *ctime_r (const time_t *, char *);
128 time_t timegm(struct tm *);
/third_party/openssl/test/
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 …]
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
Dmod.rs12 pub type time_t = i64; typedef
28 pub st_atime: ::time_t,
30 pub st_mtime: ::time_t,
32 pub st_ctime: ::time_t,
51 pub st_atime: ::time_t,
53 pub st_mtime: ::time_t,
55 pub st_ctime: ::time_t,
108 pub shm_atime: ::time_t,
109 pub shm_dtime: ::time_t,
110 pub shm_ctime: ::time_t,
[all …]
/third_party/NuttX/fs/tmpfs/
Dfs_tmpfs.h99 time_t to_ctime; /* last changed status time */
100 time_t to_mtime; /* last modified time */
101 time_t to_atime; /* last access time */
119 time_t tdo_ctime; /* last changed status time */
120 time_t tdo_mtime; /* last modified time */
121 time_t tdo_atime; /* last access time */
154 time_t tfo_ctime; /* last changed status time */
155 time_t tfo_mtime; /* last modified time */
156 time_t tfo_atime; /* last access time */
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
Dtime_test.cpp38 time_t time1;
39 time_t p1 = time(&time1);
45 time_t time2;
46 time_t p2 = time(&time2);
75 EXPECT_EQ(mktime(&time), static_cast<time_t>(1700064000));
84 EXPECT_EQ(mktime(&time), static_cast<time_t>(1700092800));
101 EXPECT_LE(64U, sizeof(time_t) * 8);
106 EXPECT_EQ(mktime(&time), static_cast<time_t>(4855737600U));
112 EXPECT_EQ(mktime(&time), static_cast<time_t>(4855766400U));
150 time_t currentTime = time(nullptr);
[all …]
/third_party/pulseaudio/src/pulse/
Dtimeval.c61 tv->tv_sec = (time_t) (t / PA_USEC_PER_SEC); in pa_gettimeofday()
126 time_t secs; in pa_timeval_add()
129 secs = (time_t) (v/PA_USEC_PER_SEC); in pa_timeval_add()
131 if (PA_UNLIKELY(tv->tv_sec > PA_INT_TYPE_MAX(time_t) - secs)) in pa_timeval_add()
141 if (PA_UNLIKELY(tv->tv_sec >= PA_INT_TYPE_MAX(time_t))) in pa_timeval_add()
151 tv->tv_sec = PA_INT_TYPE_MAX(time_t); in pa_timeval_add()
157 time_t secs; in pa_timeval_sub()
160 secs = (time_t) (v/PA_USEC_PER_SEC); in pa_timeval_sub()
191 tv->tv_sec = PA_INT_TYPE_MAX(time_t); in pa_timeval_store()
197 tv->tv_sec = (time_t) (v / PA_USEC_PER_SEC); in pa_timeval_store()
/third_party/musl/libc-test/src/functionalext/time/
Ddifftime.c21 extern double __difftime64 (time_t, time_t);
30 time_t timeStart = 20000; in difftime_0100()
31 time_t timeEnd = 20010; in difftime_0100()
56 time_t timeStart = 20000; in difftime64_0100()
57 time_t timeEnd = 20010; in difftime64_0100()
/third_party/python/Include/cpython/
Dpytime.h45 time_t sec);
48 PyAPI_FUNC(time_t) _PyLong_AsTime_t(
54 time_t *sec,
62 time_t *sec,
71 time_t *sec,
143 time_t *secs,
216 PyAPI_FUNC(int) _PyTime_localtime(time_t t, struct tm *tm);
220 PyAPI_FUNC(int) _PyTime_gmtime(time_t t, struct tm *tm);

12345678910>>...54