Home
last modified time | relevance | path

Searched refs:mktime (Results 1 - 25 of 88) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/time/
H A Dclock_settime.c38 ts.tv_sec = mktime(&tim); in clock_settime_0100()
61 ts.tv_sec = mktime(&tim); in clock_settime64_0100()
H A Dmktime_sup.c494 time_t mk = mktime(timeptr); in mktime_0100()
/third_party/toybox/toys/posix/
H A Dcal.c97 mktime(tm); in cal_main()
115 mktime(tm); in cal_main()
/third_party/python/Lib/test/
H A Dtest_time.py154 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 Dprivate.h272 # 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 Dprivate.h272 # 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 Dos_win32.c82 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 Dos_win32.c82 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 Dtime.h56 time_t mktime (struct tm *);
137 __REDIR(mktime, __mktime64);
/third_party/musl/porting/liteos_m/user/include/
H A Dtime.h55 time_t mktime (struct tm *);
136 __REDIR(mktime, __mktime64);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dtime.h56 time_t mktime (struct tm *);
137 __REDIR(mktime, __mktime64);
/third_party/musl/libc-test/src/functional/
H A Dtime.c59 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 Dtest_utils.py167 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 Dtime.h60 time_t mktime (struct tm *);
152 __REDIR(mktime, __mktime64);
/third_party/musl/include/
H A Dtime.h57 time_t mktime (struct tm *);
139 __REDIR(mktime, __mktime64);
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/time_h/
H A D24-1-buildonly.c9 time_t mktime(struct tm *);
20 dummyvar = mktime; in dummyfcn()
/third_party/musl/libc-test/src/functionalext/supplement/time/time_gtest/
H A Dtime_test.cpp60 * @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 Dmktime32.c9 time_t t = mktime(&tmp); in __mktime32()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/mktime/
H A D1-1.c32 tps = mktime(&tm_ptr); in main()
/third_party/musl/src/time/
H A Dmktime.c4 time_t mktime(struct tm *tm) in mktime() function
/third_party/musl/porting/liteos_a/kernel/src/time/
H A Dmktime.c4 time_t mktime(struct tm *tm) in mktime() function
/third_party/curl/docs/examples/
H A Dsynctime.c319 tt_local = mktime(lt); in main()
321 tt_gmt = mktime(gmt); in main()
/third_party/musl/libc-test/src/functionalext/time/
H A Dmktime.c46 time_t mk = mktime(timeptr); in mktime_0100()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A Dtzdst.c345 seconds = mktime(&time); in DstGetDayOfMonth()
459 dstSeconds = mktime(&time); in DstConfigDecode()
533 seconds = mktime(&time); in CheckWithinDstPeriod()
/third_party/openssl/test/
H A Dcmp_hdr_test.c170 * 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()

Completed in 11 milliseconds

1234