Home
last modified time | relevance | path

Searched refs:time_t (Results 1 - 25 of 1568) sorted by relevance

12345678910>>...63

/third_party/icu/icu4c/source/tools/tzcode/
H A Dprivate.h78 #include "sys/types.h" /* for time_t */
250 ** time_t type equivalent to T rather than the system-supplied time_t.
252 ** (e.g., time_t wider than 'long', or unsigned time_t) even on
256 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
276 # undef time_t macro
277 # define time_t tz_time_t macro
279 typedef time_tz time_t; typedef
[all...]
H A Dzdump.c14 ** time_t consistently with the rest of the package.
25 #include "sys/types.h" /* for time_t */
213 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)
[all...]
H A 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 time
[all...]
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
H A Dprivate.h78 #include "sys/types.h" /* for time_t */
250 ** time_t type equivalent to T rather than the system-supplied time_t.
252 ** (e.g., time_t wider than 'long', or unsigned time_t) even on
256 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
276 # undef time_t macro
277 # define time_t tz_time_t macro
279 typedef time_tz time_t; typedef
[all...]
H A Dzdump.c14 ** time_t consistently with the rest of the package.
23 #include "sys/types.h" /* for time_t */
219 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)
[all...]
/third_party/musl/porting/linux/user/src/time/
H A 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()
[all...]
/third_party/musl/src/time/
H A Dtime.c12 static time_t time_init(time_t *t) in time_init()
16 time_t (*f)(time_t *) = in time_init()
17 (time_t (*)(time_t *))p; in time_init()
27 time_t time(time_t *t) in time()
30 time_t (*f)(time_t *) in time()
[all...]
/third_party/tzdata/
H A Dprivate.h160 /* On GNUish systems where time_t might be 32 or 64 bits, use 64.
579 as if compiling with '-Dtime_tz=time_t'. */
581 # define time_tz time_t
586 ** time_t type equivalent to T rather than the system-supplied time_t.
588 ** (e.g., time_t wider than 'long', or unsigned time_t) even on
598 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
643 # undef time_t macro
644 # define time_t global() macro
[all...]
H A 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)
[all...]
H A Dlocaltime.c1 /* Convert timestamp from time_t to struct tm. */
96 time_t ls_trans; /* transition time */
127 time_t ats[TZ_MAX_TIMES];
154 static struct tm *gmtsub(struct state const *, time_t const *, int_fast32_t,
157 static bool increment_overflow_time(time_t *, int_fast32_t);
158 static int_fast32_t leapcorr(struct state const *, time_t);
160 static struct tm *timesub(time_t const *, int_fast32_t, struct state const *,
520 /* Read transitions, discarding those out of time_t range. in tzloadbody()
529 time_t attime in tzloadbody()
530 = ((TYPE_SIGNED(time_t) in tzloadbody()
[all...]
/third_party/musl/porting/uniproton/kernel/include/
H A 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 *__restric
[all...]
/third_party/musl/porting/liteos_m/user/include/
H A 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 *__restric
[all...]
/third_party/musl/porting/liteos_m/kernel/include/
H A 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 *__restric
[all...]
/third_party/musl/libc-test/src/api/
H A 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*) in f()
[all...]
/third_party/musl/include/
H A 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 *__restric
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dtime.h100 * #time_t On success, this function shall return the value of time in seconds since the Epoch.
102 * no value is stored.On failure, this function shall return (time_t)-1.
110 time_t time (time_t *);
131 double difftime (time_t, time_t);
148 * #time_t On success, shall return the specified time since the Epoch encoded as a value of type time_t.
149 * On failure, If the time since the Epoch cannot be represented, the function shall return the value (time_t)-1.
162 time_t mktim
[all...]
/third_party/musl/porting/liteos_a/kernel/include/
H A 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 *__restric
[all...]
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/mips/mips64/
H A Dmod.rs12 pub type time_t = i64; types
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/
H A 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/
H A Dtime_test.cpp38 time_t time1; in HWTEST_F()
39 time_t p1 = time(&time1); in HWTEST_F()
45 time_t time2; in HWTEST_F()
46 time_t p2 = time(&time2); in HWTEST_F()
60 * @tc.desc: Verify the correctness of the mktime function by checking the conversion of a struct tm to a time_t value
61 * in two different timezones. It validates that the function produces the expected time_t values for specific
75 EXPECT_EQ(mktime(&time), static_cast<time_t>(1700064000)); in HWTEST_F()
84 EXPECT_EQ(mktime(&time), static_cast<time_t>(1700092800)); in HWTEST_F()
90 * time_t value. It checks the correctness of the conversion in different timezones ("Asia/Shanghai" and
101 EXPECT_LE(64U, sizeof(time_t) * in HWTEST_F()
[all...]
/third_party/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)8 in test_time_t()
[all...]
/kernel/linux/linux-5.10/tools/laptop/dslm/
H A Ddslm.c58 static char *myctime(time_t time) in myctime()
68 time_t start_time; in measure()
70 time_t last_time; in measure()
72 time_t curr_time = 0; in measure()
73 time_t time_diff; in measure()
74 time_t active_time = 0; in measure()
75 time_t sleep_time = 0; in measure()
76 time_t unknown_time = 0; in measure()
77 time_t total_time = 0; in measure()
/kernel/linux/linux-6.6/tools/laptop/dslm/
H A Ddslm.c58 static char *myctime(time_t time) in myctime()
68 time_t start_time; in measure()
70 time_t last_time; in measure()
72 time_t curr_time = 0; in measure()
73 time_t time_diff; in measure()
74 time_t active_time = 0; in measure()
75 time_t sleep_time = 0; in measure()
76 time_t unknown_time = 0; in measure()
77 time_t total_time = 0; in measure()
/third_party/gn/src/base/files/
H A Dfile_posix.cc91 time_t last_modified_sec = stat_info.st_mtimespec.tv_sec;
93 time_t last_accessed_sec = stat_info.st_atimespec.tv_sec;
95 time_t creation_time_sec = stat_info.st_ctimespec.tv_sec;
98 time_t last_modified_sec = stat_info.st_mtime;
100 time_t last_accessed_sec = stat_info.st_atime;
102 time_t creation_time_sec = stat_info.st_ctime;
105 time_t last_modified_sec = stat_info.st_mtim.tv_sec;
107 time_t last_accessed_sec = stat_info.st_atim.tv_sec;
109 time_t creation_time_sec = stat_info.st_ctim.tv_sec;
/third_party/pulseaudio/src/pulse/
H A 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) ( in pa_timeval_store()
[all...]

Completed in 15 milliseconds

12345678910>>...63