Home
last modified time | relevance | path

Searched refs:stm (Results 1 - 2 of 2) sorted by relevance

/test/xts/acts/kernel_lite/time_posix/src/
H A DTimeUtilsTest.cpp165 LOG("stm = %s;mktime:%ld\n", asctime(stm2), (long)timep); in HWTEST_F()
177 struct tm *stm = gmtime(&time1); in HWTEST_F() local
178 ASSERT_NE(nullptr, stm); in HWTEST_F()
179 EXPECT_EQ(stm->tm_hour, 05) << "gmtime return error!"; in HWTEST_F()
180 EXPECT_STREQ(asctime(stm), "Thu Jan 1 05:14:40 1970\n") << "gmtime return error!"; in HWTEST_F()
183 stm = gmtime(&time1); in HWTEST_F()
184 ASSERT_NE(nullptr, stm); in HWTEST_F()
185 EXPECT_STREQ(asctime(stm), "Tue Jan 19 03:14:07 2038\n") << "gmtime return error!"; in HWTEST_F()
188 stm = gmtime(&time1); in HWTEST_F()
189 ASSERT_NE(nullptr, stm); in HWTEST_F()
206 struct tm *stm = gmtime_r(&g_time, &res); HWTEST_F() local
[all...]
/test/ostest/wukong/common/include/
H A Dcommon.h26 std::ostringstream stm; in runProcess() local
29 stm << line; in runProcess()
32 return stm.str(); in runProcess()

Completed in 1 milliseconds