Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 6 of 6) sorted by relevance

/test/xts/device_attest/services/core/utils/
Dattest_utils_timer.c31 static void Ms2TimeSpec(struct timespec *tp, uint32_t ms) in Ms2TimeSpec() argument
33 tp->tv_sec = ms / LOSCFG_BASE_CORE_MS_PRE_SECOND; in Ms2TimeSpec()
34 ms -= tp->tv_sec * LOSCFG_BASE_CORE_MS_PRE_SECOND; in Ms2TimeSpec()
35tp->tv_nsec = (long)(((unsigned long long)ms * OS_SYS_NS_PER_SECOND) / LOSCFG_BASE_CORE_MS_PRE_SEC… in Ms2TimeSpec()
/test/xts/acts/commonlibrary/toolchain/libc-test/src/
Dtoolchaintest.cpp84 struct timespec tp; in RunTests() local
86 tp.tv_sec = timeoutsec; in RunTests()
87 tp.tv_nsec = 0; in RunTests()
88 if (sigtimedwait(&set, nullptr, &tp) == -1) { in RunTests()
/test/xts/device_attest_lite/services/core/utils/
Dattest_utils_timer.c32 static void AttestMs2TimeSpec(struct timespec *tp, uint32_t ms) in AttestMs2TimeSpec() argument
34 if (tp == NULL) { in AttestMs2TimeSpec()
38 tp->tv_sec = (time_t)(ms / LOSCFG_BASE_CORE_MS_PER_SECOND); in AttestMs2TimeSpec()
39 ms -= (uint32_t)(tp->tv_sec * LOSCFG_BASE_CORE_MS_PER_SECOND); in AttestMs2TimeSpec()
40tp->tv_nsec = (long)(((unsigned long long)ms * OS_SYS_NS_PER_SECOND) / LOSCFG_BASE_CORE_MS_PER_SEC… in AttestMs2TimeSpec()
/test/testfwk/developer_test/
DREADME_zh.md804 -tp [TESTPART]: 指定部件,可独立使用。
805 -tm [TESTMODULE]: 指定模块,不可独立使用,需结合-tp指定上级部件使用。
846 -tp [TESTPART]: 指定部件,可独立使用。
847 -tm [TESTMODULE]: 指定模块,不可独立使用,需结合-tp指定上级部件使用。
/test/xts/hats/hdf/camera/hdi/common/
Dcommon.cpp22 std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds> tp = in GetCurrentLocalTimeStamp() local
24 auto tmp = std::chrono::duration_cast<std::chrono::milliseconds>(tp.time_since_epoch()); in GetCurrentLocalTimeStamp()
/test/xts/hats/hdf/camera/v4l2/src/
Dtest_display.cpp36 std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds> tp = in GetCurrentLocalTimeStamp() local
38 auto tmp = std::chrono::duration_cast<std::chrono::milliseconds>(tp.time_since_epoch()); in GetCurrentLocalTimeStamp()