Home
last modified time | relevance | path

Searched refs:tm (Results 1 - 19 of 19) sorted by relevance

/test/xts/acts/kernel_lite/io_posix/src/
H A DIoTestOther.cpp215 struct tm tm; in HWTEST_F() local
217 memRet = memset_s(&tm, sizeof(struct tm), 0, sizeof(struct tm)); in HWTEST_F()
219 char *ret = strptime("2020-10-29 21:24:00abc", "%Y-%m-%d %H:%M:%S", &tm); in HWTEST_F()
221 EXPECT_EQ(tm.tm_year, 120); in HWTEST_F()
222 EXPECT_EQ(tm.tm_mon, 9); in HWTEST_F()
223 EXPECT_EQ(tm.tm_mday, 29); in HWTEST_F()
224 EXPECT_EQ(tm in HWTEST_F()
[all...]
/test/xts/acts/kernel_lite/time_posix/src/
H A DTimeUtilsTest.cpp37 struct tm timeptr = {0}; in HWTEST_F()
62 struct tm timeptr = {0}; in HWTEST_F()
145 struct tm timeptr = {0}; in HWTEST_F()
163 struct tm *stm2 = gmtime(&g_time); in HWTEST_F()
177 struct tm *stm = gmtime(&time1); in HWTEST_F()
205 struct tm res = {0}; in HWTEST_F()
206 struct tm *stm = gmtime_r(&g_time, &res); in HWTEST_F()
228 struct tm *localTime; in HWTEST_F()
229 struct tm timeptr = {0}; in HWTEST_F()
255 struct tm *localTim in HWTEST_F()
[all...]
H A DClockTimeTest.cpp325 struct tm *tmStart = localtime(&tStart); in HWTEST_F()
329 struct tm *tmEnd = localtime(&tEnd); in HWTEST_F()
344 struct tm tmrStart = {0}; in HWTEST_F()
345 struct tm tmrEnd = {0}; in HWTEST_F()
352 struct tm *tmrStartPtr = localtime_r(&tStart, &tmrStart); in HWTEST_F()
354 struct tm *tmrEndPtr = localtime_r(&tEnd, &tmrEnd); in HWTEST_F()
390 struct tm *retTm = nullptr; in HWTEST_F()
413 struct tm *retTm = nullptr; in HWTEST_F()
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dlocalendk32.cpp36 extern "C" struct tm *__localtime64(const time_t *);
40 struct tm *tm; in Localtime64() local
43 tm = __localtime64(&time); in Localtime64()
44 if (tm == nullptr || errno == EOVERFLOW) { in Localtime64()
H A Dfnmatchndk32.cpp274 struct tm newyear; in DiffTime64()
361 extern "C" struct tm *__gmtime64(const time_t *);
365 struct tm *checkParam{}; in GmTime64()
376 extern "C" struct tm *__gmtime64_r(const time_t *__restrict, struct tm *__restrict);
380 struct tm *checkParam{}; in GmTime64_r()
382 struct tm secondParam {}; in GmTime64_r()
392 extern "C" struct tm *__localtime64(const time_t *);
396 struct tm *checkParam{}; in Localtime64()
407 extern "C" struct tm *__localtime64_
[all...]
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dtimendk.cpp152 struct tm *timeptr = localtime(&gTime); in Strftime()
167 struct tm *timeptr = localtime(&gTime); in Strftime_l()
181 struct tm *timeptr = localtime(&gTime); in Timegm()
335 struct tm tmTime = {0}; in Strptime()
408 struct tm newyear; in DiffTime()
471 struct tm *timeinfo; in AsctimeR()
571 struct tm *ptm = nullptr; in Localtime()
587 struct tm *ptm = (struct tm *)malloc(sizeof(struct tm)); in LocaltimeR()
[all...]
H A Dwcharndk1.cpp606 struct tm *timeinfo; in Wcsftime_One()
620 struct tm *timeinfo; in Wcsftimel_One()
H A Dwcharndk.cpp771 struct tm *timeinfo; in Wcsftime()
786 struct tm *timeinfo; in WcsftimeL()
/test/xts/acts/multimedia_lite/utils_posix/common/src/
H A DActsTestMediaUtils.cpp67 struct tm *ltm = localtime(&tv.tv_sec); in SampleSaveCapture()
90 struct tm *ltm = localtime(&tv.tv_sec); in SampleGetRecordFd()
/test/xts/dcts/common/
H A Dshm_utils.h43 struct tm tmRst; \
/test/xts/dcts/communication/softbus_standard/common/
H A Dsocket_common.h220 struct tm tmRst; \
H A Dnet_trans_common.h177 struct tm tmRst; \
/test/xts/device_attest_lite/services/core/network/
H A Dattest_channel.c79 struct tm *theNowTm = gmtime(&nowTime); in VerifyCrtTime()
/test/xts/device_attest/services/core/utils/
H A Dattest_utils.c165 struct tm* timePacket = gmtime(&timet); in PrintCurrentTime()
/test/xts/device_attest_lite/services/core/utils/
H A Dattest_utils.c168 struct tm* timePacket = gmtime(&timet); in PrintCurrentTime()
/test/xts/device_attest/services/core/attest/
H A Dattest_service.c87 struct tm* timePacket = gmtime(&timet); in IsFullLoad()
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp141 tm *timePtr = localtime(&currentTime); in WuKongUtil()
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
H A DHiAppEventCPPTest.cpp1121 struct tm* p; in HWTEST_F()
1171 struct tm* p; in HWTEST_F()
/test/xts/acts/multimedia_lite/camera_lite_posix/camera_native/src/
H A DActsMediaCameraTest.cpp226 struct tm *ltm = localtime(&tv.tv_sec); in SampleSaveCapture()

Completed in 22 milliseconds