Home
last modified time | relevance | path

Searched refs:tv (Results 1 - 8 of 8) sorted by relevance

/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dtimendk1.cpp50 static struct timeval tv[2]; in Futimes_One() local
51 tv[0].tv_sec = s.st_atime; in Futimes_One()
52 tv[0].tv_usec = PARAM_0; in Futimes_One()
53 tv[1].tv_sec = s.st_mtime; in Futimes_One()
54 tv[1].tv_usec = PARAM_0; in Futimes_One()
58 ret = futimes(fd, tv); in Futimes_One()
69 static struct timeval tv[2]; in Futimes_Two() local
73 int ret = futimes(fd, tv); in Futimes_Two()
88 struct timeval tv[2]; in Futimesat_One() local
93 tv[ in Futimesat_One()
138 struct timeval tv[2] = {{1, 0}, {1, 0}}; Utimes_One() local
153 struct timeval tv[2]; Utimes_Two() local
[all...]
H A Dselectndk.cpp45 struct timeval tv; in Select() local
52 tv.tv_sec = PARAM_0; in Select()
53 tv.tv_usec = PARAM_0; in Select()
56 tv.tv_sec = PARAM_5; in Select()
57 tv.tv_usec = PARAM_0; in Select()
58 int retval = select(ONEVAL, &rfds, nullptr, nullptr, &tv); in Select()
H A Dtimendk.cpp659 static struct timeval tv[TEST_SIZE] = {{0L, 0L}, {0L, 0L}}; in Lutimes() local
660 tv[0].tv_sec = s.st_atime; in Lutimes()
661 tv[0].tv_usec = PARAM_0; in Lutimes()
662 tv[1].tv_sec = s.st_mtime; in Lutimes()
663 tv[1].tv_usec = PARAM_0; in Lutimes()
666 ret = lutimes("/data/storage/el2/base/files/Fzl.txt", tv); in Lutimes()
/test/xts/acts/multimedia_lite/utils_posix/common/src/
H A DActsTestMediaUtils.cpp65 struct timeval tv; in SampleSaveCapture() local
66 gettimeofday(&tv, NULL); in SampleSaveCapture()
67 struct tm *ltm = localtime(&tv.tv_sec); in SampleSaveCapture()
88 struct timeval tv = {}; in SampleGetRecordFd() local
89 gettimeofday(&tv, nullptr); in SampleGetRecordFd()
90 struct tm *ltm = localtime(&tv.tv_sec); in SampleGetRecordFd()
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dfnmatchndk32.cpp321 static struct timeval tv[2]; in FuTimes_time64() local
322 tv[0].tv_sec = s.st_atime; in FuTimes_time64()
323 tv[0].tv_usec = PARAM_0; in FuTimes_time64()
324 tv[1].tv_sec = s.st_mtime; in FuTimes_time64()
325 tv[1].tv_usec = PARAM_0; in FuTimes_time64()
329 ret = __futimes_time64(fileDescribe, tv); in FuTimes_time64()
344 struct timeval tv[2]; in FuTimesAt_time64() local
348 tv[0].tv_sec = st.st_atime + PARAM_1; in FuTimesAt_time64()
349 tv[0].tv_usec = PARAM_0; in FuTimesAt_time64()
350 tv[ in FuTimesAt_time64()
428 static struct timeval tv[TEST_SIZE] = {{0L, 0L}, {0L, 0L}}; LuTimes_time64() local
790 struct timeval tv[2]; UTimes_time64() local
[all...]
/test/xts/acts/ai/mindspore/mindsporectest/src/
H A Dohos_common.cpp452 struct timeval tv; in getTimeInUs() local
453 gettimeofday(&tv, nullptr); in getTimeInUs()
454 time = static_cast<uint64_t>(tv.tv_sec) * MICROSECONDS_PER_SECOND + tv.tv_usec; in getTimeInUs()
/test/xts/dcts/communication/softbus_standard/common/
H A Dnet_trans_common.c173 struct timeval tv; in GetCurrentTimeOfMs() local
174 gettimeofday(&tv, NULL); in GetCurrentTimeOfMs()
175 return (tv.tv_sec * unit + tv.tv_usec / unit); in GetCurrentTimeOfMs()
/test/xts/acts/multimedia_lite/camera_lite_posix/camera_native/src/
H A DActsMediaCameraTest.cpp223 struct timeval tv = {0}; in SampleSaveCapture() local
225 gettimeofday(&tv, NULL); in SampleSaveCapture()
226 struct tm *ltm = localtime(&tv.tv_sec); in SampleSaveCapture()

Completed in 10 milliseconds