Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 10 of 10) sorted by relevance

/developtools/profiler/device/base/test/unittest/
Dschedule_task_manager_test.cpp67 struct timeval tv; in __anon168b8ffb0302() local
68 gettimeofday(&tv, nullptr); in __anon168b8ffb0302()
76 struct timeval tv = { 0, 0 }; variable
77 gettimeofday(&tv, nullptr);
101 struct timeval tv; in __anon168b8ffb0402() local
102 gettimeofday(&tv, nullptr); in __anon168b8ffb0402()
111 struct timeval tv = { 0, 0 }; variable
112 gettimeofday(&tv, nullptr);
/developtools/hdc/hdc_rust/src/cffi/
Duart.cpp460 struct timeval tv; local
461 tv.tv_sec = 0;
464 tv.tv_usec = WAIT_RESPONSE_TIME_OUT_MS * msTous;
465 tv.tv_sec = tv.tv_usec / sTous;
466 tv.tv_usec = tv.tv_usec % sTous;
472 ret = select(handle + 1, &readFds, nullptr, nullptr, &tv);
478 tv.tv_usec = READ_GIVE_UP_TIME_OUT_TIME_MS * msTous;
479 tv.tv_sec = tv.tv_usec / sTous;
480 tv.tv_usec = tv.tv_usec % sTous;
481 ret = select(handle + 1, &readFds, nullptr, nullptr, &tv);
/developtools/hdc/src/common/
Duart.cpp286 struct timeval tv; in ReadUartDev() local
287 tv.tv_sec = 0; in ReadUartDev()
290 tv.tv_usec = WAIT_RESPONSE_TIME_OUT_MS * msTous; in ReadUartDev()
291 tv.tv_sec = tv.tv_usec / sTous; in ReadUartDev()
292 tv.tv_usec = tv.tv_usec % sTous; in ReadUartDev()
293 WRITE_LOG(LOG_DEBUG, "time = %d %d", tv.tv_sec, tv.tv_sec); in ReadUartDev()
299 ret = select(uart.devUartHandle + 1, &readFds, nullptr, nullptr, &tv); in ReadUartDev()
305 tv.tv_usec = READ_GIVE_UP_TIME_OUT_TIME_MS * msTous; in ReadUartDev()
306 tv.tv_sec = tv.tv_usec / sTous; in ReadUartDev()
307 tv.tv_usec = tv.tv_usec % sTous; in ReadUartDev()
[all …]
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/mediaQuery/
DmediaQuery.css4 @media (device-type: tv) {
/developtools/profiler/device/plugins/native_hook/test/unittest/
Dstack_writer_test.cpp102 time_t tv = time(nullptr); in RandData() local
103 if (tv == -1) { in RandData()
104 tv = 1; in RandData()
106 unsigned int seed = (unsigned int)tv; in RandData()
/developtools/profiler/host/smartperf/client/client_command/
Dsp_utils.cpp190 struct timeval tv; in GetCurTime() local
191 gettimeofday(&tv, nullptr); in GetCurTime()
192 long long timestamp = tv.tv_sec * 1000 + tv.tv_usec / 1000; in GetCurTime()
/developtools/profiler/device/plugins/native_hook/test/
Dmalloc_test.cpp217 time_t tv = time(nullptr); in ThreadFuncC() local
218 if (tv == -1) { in ThreadFuncC()
219 tv = 1; in ThreadFuncC()
222 unsigned int seed = static_cast<unsigned int>(tv); in ThreadFuncC()
Dhook_test.c205 time_t tv = time(NULL); in ThreadFuncC() local
206 if (tv == -1) { in ThreadFuncC()
207 tv = 1; in ThreadFuncC()
209 unsigned int seed = (unsigned int)tv; in ThreadFuncC()
/developtools/profiler/host/smartperf/client/client_command_fps/
Dmain.cpp197 struct timeval tv; in GetSurfaceFrame() local
198 gettimeofday(&tv, nullptr); in GetSurfaceFrame()
199 fpsInfo.currentFpsTime = tv.tv_sec * 1e3 + tv.tv_usec / 1e3; in GetSurfaceFrame()
/developtools/hdc/hdc_rust/src/daemon/
Dshell.rs239 let mut tv = nix::sys::time::TimeVal::new(0, 50000); in subprocess_task() localVariable
243 match nix::sys::select::select(None, Some(&mut set), None, None, Some(&mut tv)) { in subprocess_task()