Home
last modified time | relevance | path

Searched refs:handle1 (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/test/unittest/platform/common/
H A Dtimer_test.c198 DevHandle handle1, DevHandle handle2) in TimerTestCreateThread() argument
218 DevHandle handle1, DevHandle handle2) in MultiThreadSourceRecycle() argument
220 if (handle1 != NULL) { in MultiThreadSourceRecycle()
221 HwTimerClose(handle1); in MultiThreadSourceRecycle()
222 handle1 = NULL; in MultiThreadSourceRecycle()
247 DevHandle handle1 = NULL; in TimerTestMultiThread() local
257 handle1 = HwTimerOpen(TIMER_TEST_TIME_ID_THREAD1); in TimerTestMultiThread()
258 if (handle1 == NULL) { in TimerTestMultiThread()
260 MultiThreadSourceRecycle(&thread1, &thread2, handle1, handle2); in TimerTestMultiThread()
271 ret = TimerTestCreateThread(&thread1, &thread2, handle1, handle2); in TimerTestMultiThread()
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
H A Djoin_handle.rs186 let handle1 = crate::spawn(async { 1 }); in ut_test_join_handle_is_finished() localVariable
193 while !handle1.is_finished() { in ut_test_join_handle_is_finished()
196 assert!(handle1.is_finished()); in ut_test_join_handle_is_finished()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/bin/
H A Dylong_runtime_async_benchmark.rs61 let handle1 = runtime.spawn(async move { in main() localVariable
101 let _ = runtime.block_on(handle1); in main()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_access_control_rsa_sign_verify_test_common.cpp294 struct HksBlob handle1 = { sizeof(uint64_t), handleS1 }; in HksAcRsaThreeStageSignCustomCase() local
297 int32_t ret = HksInitForDe(keyAlias1, paramSet1, &handle1, &challengeBlob1); in HksAcRsaThreeStageSignCustomCase()
315 ret = HksTestUpdate(&handle1, newParamSet1, &inData); in HksAcRsaThreeStageSignCustomCase()
327 ret = HksFinishForDe(&handle1, paramSet1, &finishInData1, &outData1); in HksAcRsaThreeStageSignCustomCase()
353 struct HksBlob handle1 = { sizeof(uint64_t), handleS1 }; in HksAcRsaThreeStageVerifyCustomCase() local
356 int32_t ret = HksInitForDe(keyAlias1, paramSet1, &handle1, &challengeBlob1); in HksAcRsaThreeStageVerifyCustomCase()
375 ret = HksTestUpdate(&handle1, newParamSet1, &inData); in HksAcRsaThreeStageVerifyCustomCase()
386 ret = HksFinishForDe(&handle1, paramSet1, &outData1, &finishOutData1); in HksAcRsaThreeStageVerifyCustomCase()
/ohos5.0/drivers/peripheral/audio/test/systemtest/supportlibs/common/capture/src/
H A Daudio_libcapture_test.cpp450 struct DevHandle *handle1 = nullptr; variable
454 int32_t ret = BindServiceAndHwCapture(hwCapture, BIND_CONTROL.c_str(), ADAPTER_NAME, handle1);
458 CloseServiceCaptureSo(handle1);
464 …ret = InterfaceLibCtlCapture(handle1, AUDIODRV_CTL_IOCTL_MUTE_WRITE_CAPTURE, &hwCapture->capturePa…
466 …ret = InterfaceLibCtlCapture(handle1, AUDIODRV_CTL_IOCTL_MUTE_READ_CAPTURE, &hwCapture->capturePar…
478 CloseServiceCaptureSo(handle1);
495 CloseServiceCaptureSo(handle1);
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dasync_fs.rs40 let handle1 = ylong_runtime::spawn(async move { in sdv_async_fs_write() localVariable
47 ylong_runtime::block_on(handle1).unwrap(); in sdv_async_fs_write()
170 let handle1 = ylong_runtime::spawn(async move { in sdv_async_fs_read_to_end() localVariable
176 ylong_runtime::block_on(handle1).unwrap(); in sdv_async_fs_read_to_end()
H A Dasync_buf_write.rs125 let handle1 = ylong_runtime::spawn(async move { in sdv_buf_writer_seek() localVariable
151 ylong_runtime::block_on(handle1).unwrap(); in sdv_buf_writer_seek()
H A Dasync_buf_read.rs216 let handle1 = ylong_runtime::spawn(async move { in sdv_buf_reader_seek() localVariable
245 ylong_runtime::block_on(handle1).unwrap(); in sdv_buf_reader_seek()
/ohos5.0/drivers/peripheral/camera/test/hdi/sequenceable_test/src/
H A Dcamera_hdi_sequenceable_test.cpp129 BufferHandle* handle1 = bufferHandleSeq0->GetBufferHandle(); variable
130 EXPECT_NE(handle1, nullptr);
/ohos5.0/base/startup/init/test/moduletest/
H A Dsyspara_moduleTest.cpp279 uint32_t handle1 = FindParameter(key1.c_str()); variable
280 cout<<"handle1 is: "<<handle1<<std::endl;
281 if (handle1 == static_cast<uint32_t>(-1)) {
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/
H A Drwlock.rs475 let handle1 = spawn(async move { in ut_rwlock_write_test_02() localVariable
480 block_on(handle1).unwrap(); in ut_rwlock_write_test_02()
H A Dwatch.rs616 let handle1 = spawn(async move { in send_notified_await() localVariable
621 let _ = block_on(handle1); in send_notified_await()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
H A Dcurrent_thread.rs403 let handle1 = spawner.spawn(&TaskBuilder::default(), async move { 1 }); in ut_current_thread_block_on() localVariable
407 assert_eq!(spawner.block_on(handle1).unwrap(), 1); in ut_current_thread_block_on()