/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | private.h | 78 #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 D | zdump.c | 14 ** 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 D | localtime.c | 90 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 D | private.h | 78 #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 D | zdump.c | 14 ** 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...] |
H A D | localtime.c | 88 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 time [all...] |
/third_party/tzdata/ |
H A D | private.h | 160 /* 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 D | zdump.c | 76 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 D | localtime.c | 1 /* 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/linux/user/src/time/ |
H A D | time.c | 26 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 D | time.c | 12 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/musl/porting/uniproton/kernel/include/ |
H A D | time.h | 54 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 D | time.h | 53 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 D | time.h | 54 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 D | time.c | 9 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 D | time.h | 55 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...] |
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | time.h | 58 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 D | mod.rs | 12 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 D | fs_tmpfs.h | 99 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 D | time_test.cpp | 38 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 D | test_test.c | 196 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...] |
/third_party/gn/src/base/files/ |
H A D | file_posix.cc | 91 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 D | timeval.c | 61 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...] |
/third_party/python/Include/cpython/ |
H A D | pytime.h | 89 /* Convert a time_t to a PyLong. */ 91 time_t sec); 93 /* Convert a PyLong to a time_t. */ 94 PyAPI_FUNC(time_t) _PyLong_AsTime_t( 97 /* Convert a number of seconds, int or float, to time_t. */ 100 time_t *sec, 108 time_t *sec, 117 time_t *sec, 195 except that secs is always a time_t type, whereas the timeval structure 201 time_t *sec [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsundelete.h | 56 time_t since; /* Since this time */ 71 time_t date_c; /* Time created */ 72 time_t date_a; /* altered */ 73 time_t date_m; /* mft record changed */ 74 time_t date_r; /* read */ 100 time_t date; /* Last modification date/time */
|