/third_party/musl/libc-test/src/functionalext/supplement/time/ |
H A D | clock_settime.c | 38 ts.tv_sec = mktime(&tim); in clock_settime_0100() 61 ts.tv_sec = mktime(&tim); in clock_settime64_0100()
|
H A D | mktime_sup.c | 494 time_t mk = mktime(timeptr); in mktime_0100()
|
/third_party/toybox/toys/posix/ |
H A D | cal.c | 97 mktime(tm); in cal_main() 115 mktime(tm); in cal_main()
|
/third_party/python/Lib/test/ |
H A D | test_time.py | 154 self.assertEqual(int(time.mktime(time.localtime(self.t))), 320 t = time.mktime((1973, 9, 16, 1, 3, 52, 0, 0, -1)) 322 t = time.mktime((2000, 1, 1, 0, 0, 0, 0, 0, -1)) 326 testval = time.mktime((year, 1, 10) + (0,)*6) 328 # If mktime fails, ctime will fail too. This may happen 428 t0 = time.mktime(gt0) 429 t1 = time.mktime(gt1) 435 t0 = time.mktime(lt0) 436 t1 = time.mktime(lt1) 447 self.assertEqual(time.mktime(t [all...] |
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | private.h | 272 # undef mktime macro 273 # define mktime tz_mktime macro 288 time_t mktime(struct tm *);
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
H A D | private.h | 272 # undef mktime macro 273 # define mktime tz_mktime macro 288 time_t mktime(struct tm *);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_win32.c | 82 t_local = mktime(&tm); in os_mktime() 87 t1 = mktime(tm1); in os_mktime() 90 t2 = mktime(tm1); in os_mktime()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os_win32.c | 82 t_local = mktime(&tm); in os_mktime() 87 t1 = mktime(tm1); in os_mktime() 90 t2 = mktime(tm1); in os_mktime()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | time.h | 56 time_t mktime (struct tm *); 137 __REDIR(mktime, __mktime64);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | time.h | 55 time_t mktime (struct tm *); 136 __REDIR(mktime, __mktime64);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | time.h | 56 time_t mktime (struct tm *); 137 __REDIR(mktime, __mktime64);
|
/third_party/musl/libc-test/src/functional/ |
H A D | time.c | 59 r = mktime(tm); in sec2tm() 61 t_error("%s: mktime(%s) should not set errno, got %s\n", in sec2tm() 64 t_error("%s: mktime(gmtime(%lld)) roundtrip failed: got %lld (gmtime is %s)\n", in sec2tm() 75 t = mktime(tm); in tm2sec() 77 t_error("%s: mktime(%s) expected -1, got (time_t)%ld\n", in tm2sec() 80 t_error("%s: mktime(%s) expected EOVERFLOW (%s), got (%s)\n", in tm2sec() 83 t_error("%s: mktime(%s) expected success, got (time_t)-1\n", in tm2sec() 86 t_error("%s: mktime(%s) expected no error, got (%s)\n", in tm2sec() 90 t_error("%s: gmtime(mktime(%s)) roundtrip failed: got %s\n", in tm2sec()
|
/third_party/python/Lib/test/test_email/ |
H A D | test_utils.py | 167 timeval = time.mktime((2011, 12, 1, 18, 0, 0, 4, 335, 0)) 175 timeval = time.mktime((2011, 1, 1, 18, 0, 0, 6, 1, 0)) 179 timeval = time.mktime((2011, 12, 1, 18, 0, 0, 4, 335, 0))
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | time.h | 60 time_t mktime (struct tm *); 152 __REDIR(mktime, __mktime64);
|
/third_party/musl/include/ |
H A D | time.h | 57 time_t mktime (struct tm *); 139 __REDIR(mktime, __mktime64);
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/ |
H A D | 24-1-buildonly.c | 9 time_t mktime(struct tm *); 20 dummyvar = mktime; in dummyfcn()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/ |
H A D | time_test.cpp | 60 * @tc.desc: Verify the correctness of the mktime function by checking the conversion of a struct tm to a time_t value 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() 89 * @tc.desc: Verify the behavior of the mktime function when converting a struct tm representing a future date to a 106 EXPECT_EQ(mktime(&time), static_cast<time_t>(4855737600U)); in HWTEST_F() 112 EXPECT_EQ(mktime(&time), static_cast<time_t>(4855766400U)); in HWTEST_F()
|
/third_party/musl/compat/time32/ |
H A D | mktime32.c | 9 time_t t = mktime(&tmp); in __mktime32()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mktime/ |
H A D | 1-1.c | 32 tps = mktime(&tm_ptr); in main()
|
/third_party/musl/src/time/ |
H A D | mktime.c | 4 time_t mktime(struct tm *tm) in mktime() function
|
/third_party/musl/porting/liteos_a/kernel/src/time/ |
H A D | mktime.c | 4 time_t mktime(struct tm *tm) in mktime() function
|
/third_party/curl/docs/examples/ |
H A D | synctime.c | 319 tt_local = mktime(lt); in main() 321 tt_gmt = mktime(gmt); in main()
|
/third_party/musl/libc-test/src/functionalext/time/ |
H A D | mktime.c | 46 time_t mk = mktime(timeptr); in mktime_0100()
|
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
H A D | tzdst.c | 345 seconds = mktime(&time); in DstGetDayOfMonth() 459 dstSeconds = mktime(&time); in DstConfigDecode() 533 seconds = mktime(&time); in CheckWithinDstPeriod()
|
/third_party/openssl/test/ |
H A D | cmp_hdr_test.c | 170 * directly to mktime in a mingw 32 bit build gives unexpected results. To in execute_HDR_update_messageTime_test() 174 before = mktime(&tmptm); in execute_HDR_update_messageTime_test() 181 hdrtime = mktime(&hdrtm); in execute_HDR_update_messageTime_test() 187 after = mktime(&tmptm); in execute_HDR_update_messageTime_test()
|