/test/xts/acts/kernel_lite/io_posix/src/ |
H A D | IoTestOther.cpp | 215 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 D | TimeUtilsTest.cpp | 37 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 D | ClockTimeTest.cpp | 325 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 D | localendk32.cpp | 36 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 D | fnmatchndk32.cpp | 274 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 D | timendk.cpp | 152 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 D | wcharndk1.cpp | 606 struct tm *timeinfo;
in Wcsftime_One() 620 struct tm *timeinfo;
in Wcsftimel_One()
|
H A D | wcharndk.cpp | 771 struct tm *timeinfo;
in Wcsftime() 786 struct tm *timeinfo;
in WcsftimeL()
|
/test/xts/acts/multimedia_lite/utils_posix/common/src/ |
H A D | ActsTestMediaUtils.cpp | 67 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 D | shm_utils.h | 43 struct tm tmRst; \
|
/test/xts/dcts/communication/softbus_standard/common/ |
H A D | socket_common.h | 220 struct tm tmRst; \
|
H A D | net_trans_common.h | 177 struct tm tmRst; \
|
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_channel.c | 79 struct tm *theNowTm = gmtime(&nowTime); in VerifyCrtTime()
|
/test/xts/device_attest/services/core/utils/ |
H A D | attest_utils.c | 165 struct tm* timePacket = gmtime(&timet); in PrintCurrentTime()
|
/test/xts/device_attest_lite/services/core/utils/ |
H A D | attest_utils.c | 168 struct tm* timePacket = gmtime(&timet); in PrintCurrentTime()
|
/test/xts/device_attest/services/core/attest/ |
H A D | attest_service.c | 87 struct tm* timePacket = gmtime(&timet); in IsFullLoad()
|
/test/ostest/wukong/common/src/ |
H A D | wukong_util.cpp | 141 tm *timePtr = localtime(¤tTime); in WuKongUtil()
|
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/ |
H A D | HiAppEventCPPTest.cpp | 1121 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 D | ActsMediaCameraTest.cpp | 226 struct tm *ltm = localtime(&tv.tv_sec);
in SampleSaveCapture()
|