/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/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...] |
/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...] |
/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...] |
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | net_http_cache_entity.h | 37 [[nodiscard]] time_t GetIfModifiedSince() const; 39 [[nodiscard]] time_t GetRequestTime() const; 41 [[nodiscard]] time_t GetMaxAgeSeconds() const; 43 [[nodiscard]] time_t GetMaxStaleSeconds() const; 45 [[nodiscard]] time_t GetMinFreshSeconds() const; 84 [[nodiscard]] time_t GetDate() const; 86 [[nodiscard]] time_t GetExpires() const; 88 [[nodiscard]] time_t GetLastModified() const; 98 [[nodiscard]] time_t GetAgeSeconds() const; 100 [[nodiscard]] time_t GetResponseTim [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 */
|
/foundation/ai/ai_engine/test/performance/delay/async_process/ |
H A D | async_process_delay_test.cpp | 64 std::time_t g_processStartTime; 80 std::time_t processEndTime = GetCurTimeMillSec(); 239 std::time_t initStartTime = GetCurTimeMillSec(); in HWTEST_F() 245 std::time_t initEndTime = GetCurTimeMillSec(); in HWTEST_F() 257 std::time_t prepareStartTime = GetCurTimeMillSec(); in HWTEST_F() 260 std::time_t prepareEndTime = GetCurTimeMillSec(); in HWTEST_F() 269 std::time_t setOptionStartTime = GetCurTimeMillSec(); in HWTEST_F() 272 std::time_t setOptionEndTime = GetCurTimeMillSec(); in HWTEST_F() 279 std::time_t getOptionStartTime = GetCurTimeMillSec(); in HWTEST_F() 282 std::time_t getOptionEndTim in HWTEST_F() [all...] |
/foundation/communication/dhcp/services/dhcp_client/include/ |
H A D | dhcp_client_state_machine.h | 59 void SendReboot(uint32_t targetIp, time_t timestamp); 61 void DhcpResponseHandle(time_t timestamp); 62 void DhcpAckOrNakPacketHandle(uint8_t type, struct DhcpPacket *packet, time_t timestamp); 63 void ParseDhcpAckPacket(const struct DhcpPacket *packet, time_t timestamp); 64 void ParseDhcpNakPacket(const struct DhcpPacket *packet, time_t timestamp); 74 void DhcpOfferPacketHandle(uint8_t type, const struct DhcpPacket *packet, time_t timestamp); 75 void DhcpRequestHandle(time_t timestamp); 76 void Rebinding(time_t timestamp); 77 void Requesting(time_t timestamp); 78 void Renewing(time_t timestam [all...] |
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/include/ |
H A D | http_cache_response.h | 35 [[nodiscard]] time_t GetDate() const; 37 [[nodiscard]] time_t GetExpires() const; 39 [[nodiscard]] time_t GetLastModified() const; 49 [[nodiscard]] time_t GetAgeSeconds() const; 51 [[nodiscard]] time_t GetResponseTime() const; 67 [[nodiscard]] time_t GetMaxAgeSeconds() const; 69 [[nodiscard]] time_t GetSMaxAgeSeconds() const; 79 [[nodiscard]] time_t GetRequestTime() const;
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_cache_entity.cpp | 75 time_t HttpCacheRequest::GetIfModifiedSince() const in GetIfModifiedSince() 83 time_t HttpCacheRequest::GetRequestTime() const in GetRequestTime() 91 time_t HttpCacheRequest::GetMaxAgeSeconds() const in GetMaxAgeSeconds() 100 time_t HttpCacheRequest::GetMaxStaleSeconds() const in GetMaxStaleSeconds() 109 time_t HttpCacheRequest::GetMinFreshSeconds() const in GetMinFreshSeconds() 204 time_t HttpCacheResponse::GetDate() const in GetDate() 213 time_t HttpCacheResponse::GetExpires() const in GetExpires() 222 time_t HttpCacheResponse::GetLastModified() const in GetLastModified() 251 time_t HttpCacheResponse::GetAgeSeconds() const in GetAgeSeconds() 259 time_t HttpCacheRespons [all...] |
/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...] |
/kernel/linux/linux-5.10/tools/laptop/dslm/ |
H A D | dslm.c | 58 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 D | dslm.c | 58 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()
|