Home
last modified time | relevance | path

Searched refs:time (Results 676 - 700 of 4970) sorted by relevance

1...<<21222324252627282930>>...199

/drivers/hdf_core/framework/tools/hdi-gen/test/hash_test/
H A Dhash_test.py12 import time namespace
16 return int(round(time.time() * 1000))
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/
H A Dcapture_request.cpp17 #include <sys/time.h>
186 uint64_t time = static_cast<uint64_t>(tv.tv_sec) * 1000 * 1000 + tv.tv_usec; // 1000:microsecond in GenerateTimeStamp() local
187 return time; in GenerateTimeStamp()
/drivers/peripheral/vibrator/test/fuzztest/vibratorplayhapticpattern_fuzzer/
H A Dvibratorplayhapticpattern_fuzzer.cpp62 pkg.time = params.g_pkgTime; in VibratorPlayHapticPatternTest()
68 hapticEvent.time = params.g_eventTime; in VibratorPlayHapticPatternTest()
75 curvePoint.time = params.g_pointTime; in VibratorPlayHapticPatternTest()
/foundation/ability/idl_tool/test/sa_test/
H A Dutil.py21 import time namespace
25 return int(round(time.time() * 1000))
/foundation/ai/intelligent_voice_framework/utils/
H A Dtime_util.cpp20 #include <sys/time.h>
66 log += "time elapse: " + ss.str() + "ms"; in PrintTimeElapse()
109 time(&rawTime); in GetCurrTime()
132 INTELL_VOICE_LOG_ERROR("get time of day error"); in GetCurrTimeUs()
152 INTELL_VOICE_LOG_ERROR("get file create time error"); in GetFormatTimeToSec()
164 currentTime = time(nullptr); in IsFormatTimeExpired()
167 INTELL_VOICE_LOG_ERROR("get sys time error"); in IsFormatTimeExpired()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/folder_stack/
H A Dfolder_stack_pattern.h113 void SetLastTime(std::time_t time) in SetLastTime() argument
115 lastTime_ = time; in SetLastTime()
151 std::time_t lastTime_ = std::time(0);
/foundation/arkui/ace_engine/frameworks/core/event/
H A Dmouse_event.cpp27 hoverInfo.SetTimeStamp(event.time); in HandleHoverEvent()
43 hoverInfo.SetTimeStamp(event.time); in HandlePenHoverEvent()
64 hoverInfo.SetTimeStamp(event.time); in HandleAccessibilityHoverEvent()
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dform_render_dispatcher_stub_test.cpp145 int64_t time = 0; in HWTEST_F() local
148 data.WriteInt64(time); in HWTEST_F()
151 EXPECT_TRUE(data.ReadInt64(time)); in HWTEST_F()
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/data_producer_base/
H A Ddata_producer_base.cpp92 auto time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); in DumpInput()
97 std::to_string(time) + ".yuv"; in DumpInput()
99 inputFileName = "VideoDecoderIn_"s + std::to_string(time) + ".bin"; in DumpInput()
/foundation/multimedia/av_session/frameworks/js/napi/session/include/
H A Dnapi_avsession_callback.h61 void OnFastForward(int64_t time) override;
62 void OnRewind(int64_t time) override;
63 void OnSeek(int64_t time) override;
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/
H A Dpkg_delay_suspend_info.cpp162 int32_t time = static_cast<int32_t>(TimeProvider::GetCurrentTime()) - baseTime_ - exempted_quota; in GetModifiedTime() local
163 return (time < 0) ? 0 : time; in GetModifiedTime()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/
H A Dtime_helper.cpp94 LOGE("[TimeHelper] save local time offset failed,err=%d", errCode); in Initialize()
149 Timestamp time = INVALID_TIMESTAMP; in GetMonotonicTime() local
150 int errCode = OS::GetMonotonicRelativeTimeInMicrosecond(time); in GetMonotonicTime()
154 return time; in GetMonotonicTime()
/foundation/distributeddatamgr/pasteboard/services/dfx/src/
H A Dcalculate_time_consuming.cpp16 #include <sys/time.h>
81 int CalculateTimeConsuming::CalculateTime(uint64_t time) in CalculateTime() argument
84 uint64_t timeCosuming = time % FIVE_HUNDRED_MS; in CalculateTime()
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/
H A Dfile_sync_napi.cpp32 int64_t time = 0; member
53 int32_t ret = CloudSyncManager::GetInstance().GetSyncTime(arg->time, bundleName); in GetLastSyncTime()
65 return NVal::CreateInt64(env, cbArg->time); in GetLastSyncTime()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Dcommon_util.cpp23 #include <sys/time.h>
24 #include <time.h>
39 (void)time(&curr); in DHCP_LOGTime()
/third_party/glslang/
H A Dbuild_info.py24 import time namespace
139 # clock time with environment variable SOURCE_DATE_EPOCH
141 timestamp = int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
/third_party/backends/sanei/
H A Dsanei_auth.c52 #include <time.h>
71 srand(time(NULL)); \
229 resource, getpid (), (long int) time (NULL), randombits ()); in sanei_authorize()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/util/
H A DTimer.java94 abstract public void time(int repeat); in time() method in Timer.Loop
99 // The current strategy is to warm up once, then time it until we reach the timingPeriod (eg 5 seconds), increasing the iterations each time in timeIterations()
106 loop.time(1); in timeIterations()
113 loop.time(iterations); in timeIterations()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
H A DTimer.java91 abstract public void time(int repeat); in time() method in Timer.Loop
96 // The current strategy is to warm up once, then time it until we reach the timingPeriod (eg 5 seconds), increasing the iterations each time in timeIterations()
103 loop.time(1); in timeIterations()
110 loop.time(iterations); in timeIterations()
/third_party/mbedtls/library/
H A Dplatform_util.c73 * any time and will not optimize out the call that could potentially perform
150 #include <time.h>
221 #include <time.h>
241 return time(NULL) * 1000; in mbedtls_ms_time()
/third_party/node/test/async-hooks/
H A Dtest-callback-error.js39 console.time('end case 1');
50 console.time('end case 2');
61 console.time('end case 3');
/third_party/nghttp2/tests/
H A Dend_to_end.py16 import time namespace
36 time.sleep(1)
41 time.sleep(1)
/third_party/ltp/testcases/kernel/mem/mmapstress/
H A Dmmapstress05.c83 extern time_t time(time_t *);
119 (void)time(&t); in main()
199 (void)time(&t); in main()
H A Dmmapstress02.c38 extern time_t time(time_t *);
97 (void)time(&t); in main()
170 (void)time(&t); in main()
/third_party/ltp/testcases/kernel/syscalls/times/
H A Dtimes03.c12 * Start a process, and spend some CPU time by performing a spin in
14 * cpu time/sleep time, and other statistics.
24 #include <time.h>
63 * At least some CPU time must be used in system space. This is in generate_stime()
68 start_time = time(NULL); in generate_stime()
72 end_time = time(NULL); in generate_stime()

Completed in 10 milliseconds

1...<<21222324252627282930>>...199