/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
H A D | Rockchip_OSAL_Thread.c | 60 ROCKCHIP_THREAD_HANDLE_TYPE *thread; in Rockchip_OSAL_ThreadCreate() local 63 thread = Rockchip_OSAL_Malloc(sizeof(ROCKCHIP_THREAD_HANDLE_TYPE)); in Rockchip_OSAL_ThreadCreate() 64 Rockchip_OSAL_Memset(thread, 0, sizeof(ROCKCHIP_THREAD_HANDLE_TYPE)); in Rockchip_OSAL_ThreadCreate() 66 pthread_attr_init(&thread->attr); in Rockchip_OSAL_ThreadCreate() 67 if (thread->stack_size != 0) { in Rockchip_OSAL_ThreadCreate() 68 pthread_attr_setstacksize(&thread->attr, thread->stack_size); in Rockchip_OSAL_ThreadCreate() 72 if (thread->schedparam.sched_priority != 0) { in Rockchip_OSAL_ThreadCreate() 73 pthread_attr_setschedparam(&thread->attr, &thread in Rockchip_OSAL_ThreadCreate() 115 ROCKCHIP_THREAD_HANDLE_TYPE *thread = (ROCKCHIP_THREAD_HANDLE_TYPE *)threadHandle; Rockchip_OSAL_ThreadTerminate() local 137 ROCKCHIP_THREAD_HANDLE_TYPE *thread = (ROCKCHIP_THREAD_HANDLE_TYPE *)threadHandle; Rockchip_OSAL_ThreadCancel() local [all...] |
/device/soc/hisilicon/hi3861v100/hi3861_adapter/kal/posix/src/ |
H A D | pthread.c | 120 int pthread_create(pthread_t *thread, const pthread_attr_t *attr, in pthread_create() argument 127 if ((thread == NULL) || (startRoutine == NULL)) { in pthread_create() 169 *thread = T2P(taskID); in pthread_create() 173 int pthread_setschedparam(pthread_t thread, int policy, const struct sched_param *param) in pthread_setschedparam() argument 175 UINT32 taskID = P2T(thread); in pthread_setschedparam() 202 int pthread_getschedparam(pthread_t thread, int *policy, struct sched_param *param) in pthread_getschedparam() argument 205 UINT32 taskID = P2T(thread); in pthread_getschedparam() 231 int pthread_cancel(pthread_t thread) in pthread_cancel() argument 233 UINT32 taskID = P2T(thread); in pthread_cancel() 240 if (thread in pthread_cancel() 298 pthread_join(pthread_t thread, void **retval) pthread_join() argument 340 pthread_detach(pthread_t thread) pthread_detach() argument 393 pthread_setname_np(pthread_t thread, const char *name) pthread_setname_np() argument 416 pthread_getname_np(pthread_t thread, char *buf, size_t buflen) pthread_getname_np() argument [all...] |
/test/xts/hats/kernel/syscalls/net/data_handle/ |
H A D | DataHandleApiTest.cpp | 188 pthread_t thread; in HWTEST_F() local 194 pthread_create(&thread, nullptr, UdpClient, static_cast<void *>(&type)); in HWTEST_F() 205 pthread_join(thread, nullptr); in HWTEST_F() 315 pthread_t thread; in HWTEST_F() local 330 pthread_create(&thread, nullptr, UdpClient, static_cast<void *>(&type)); in HWTEST_F() 340 pthread_join(thread, nullptr); in HWTEST_F() 398 pthread_t thread; in HWTEST_F() local 412 pthread_create(&thread, nullptr, UdpClient, static_cast<void *>(&type)); in HWTEST_F() 420 pthread_join(thread, nullptr); in HWTEST_F() 434 pthread_t thread; in HWTEST_F() local 488 pthread_t thread; HWTEST_F() local 521 pthread_t thread; HWTEST_F() local [all...] |
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingCanvasDrawRecordCmdTest.cpp | 41 #include <thread> 103 std::thread thread([&picture]() { picture = threadFunctionTest6(); }); in HWTEST_F() 104 thread.join(); in HWTEST_F() 122 std::thread thread([&picture]() { picture = threadFunctionTest6(); }); in HWTEST_F() 123 thread.join(); in HWTEST_F() 126 std::thread thread1([&picture]() { picture = threadFunctionTest6(); }); in HWTEST_F()
|
H A D | DrawingRecordCmdDestroyTest.cpp | 41 #include <thread> 104 std::thread thread([&picture, this]() { picture = threadFunctionTest1(); }); in HWTEST_F() 105 thread.join(); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/net/shutdown/ |
H A D | ShutdownApiTest.cpp | 118 pthread_t thread; in HWTEST_F() local 127 pthread_create(&thread, nullptr, ClientConnect, nullptr); in HWTEST_F() 135 pthread_join(thread, nullptr); in HWTEST_F() 149 pthread_t thread; in HWTEST_F() local 158 pthread_create(&thread, nullptr, ClientConnect, nullptr); in HWTEST_F() 166 pthread_join(thread, nullptr); in HWTEST_F() 180 pthread_t thread; in HWTEST_F() local 189 pthread_create(&thread, nullptr, ClientConnect, nullptr); in HWTEST_F() 198 pthread_join(thread, nullptr); in HWTEST_F()
|
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | binder.h | 49 struct binder_thread *thread, struct binder_transaction_data *tr), 50 TP_ARGS(target_proc, proc, thread, tr)); 53 struct binder_thread *thread, struct binder_transaction_data *tr), 54 TP_ARGS(target_proc, proc, thread, tr)); 57 struct binder_thread *thread, struct binder_transaction_data *tr), 58 TP_ARGS(target_proc, proc, thread, tr), 1);
|
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/include/ |
H A D | ADecEncNdkSample.h | 24 #include <thread> 122 std::unique_ptr<std::thread> inputLoopDec_; 123 std::unique_ptr<std::thread> outputLoopDec_; 131 std::unique_ptr<std::thread> inputLoopEnc_; 132 std::unique_ptr<std::thread> outputLoopEnc_;
|
/test/testfwk/xdevice/plugins/devicetest/report/ |
H A D | generation.py | 38 self.thread = None 41 if record.thread != self.thread: 55 buffer_hdl.thread = threading.currentThread().ident
|
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/include/ |
H A D | VDecEncNdkSample.h | 24 #include <thread> 124 std::unique_ptr<std::thread> inputLoopDec_; 125 std::unique_ptr<std::thread> outputLoopDec_; 134 std::unique_ptr<std::thread> outputLoopEnc_;
|
/device/soc/rockchip/common/sdk_linux/arch/arm64/kernel/ |
H A D | process.c | 308 current->thread.uw.tp_value = 0; in tls_thread_flush() 364 dst->thread.sve_state = NULL; in arch_dup_task_struct() 380 memset(&p->thread.cpu_context, 0, sizeof(struct cpu_context)); in copy_thread() 413 * thread. in copy_thread() 416 p->thread.uw.tp_value = tls; in copy_thread() 432 p->thread.cpu_context.x19 = stack_start; in copy_thread() 433 p->thread.cpu_context.x20 = stk_sz; in copy_thread() 435 p->thread.cpu_context.pc = (unsigned long)ret_from_fork; in copy_thread() 436 p->thread.cpu_context.sp = (unsigned long)childregs; in copy_thread() 453 write_sysreg(next->thread in tls_thread_switch() [all...] |
/test/xts/hats/hdf/camera/cameraHdi/buffer_manager/ |
H A D | buffer_manager_utest.cpp | 64 std::thread consumerThread([&consumer, &running] { in HWTEST_F() 82 std::thread consumerThread([&consumer, &running] { in HWTEST_F() 107 std::thread enqueueThread([&stream, &running] { in HWTEST_F() 133 std::thread user1([&manager, &bufferPool1, &bufferPoolId] { bufferPool1 = manager->GetBufferPool(bufferPoolId); }); in HWTEST_F() 136 std::thread user2([&manager, &bufferPool2, &bufferPoolId] { bufferPool2 = manager->GetBufferPool(bufferPoolId); }); in HWTEST_F() 252 std::thread task([&bufferPool, &bufferVector] { in HWTEST_F() 291 std::thread dispatchBufferTask([&running, &idleList, &busyList, &bufferPool, &lock, &realFrameCount] { in HWTEST_F() 306 std::thread acquireBufferTask([&running, &bufferPool, &lock, &inuseBufferList] { in HWTEST_F() 315 std::thread returnBufferTask([&running, &lock, &inuseBufferList, &bufferPool, &busyList, &idleList] { in HWTEST_F() 360 std::thread enqueueThrea in HWTEST_F() [all...] |
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/ |
H A D | hdi_netlink_monitor.h | 18 #include <thread>
33 std::unique_ptr<std::thread> mThread;
|
/device/soc/rockchip/common/hardware/display/src/display_device/ |
H A D | hdi_netlink_monitor.h | 19 #include <thread> 34 std::unique_ptr<std::thread> mThread;
|
H A D | drm_vsync_worker.h | 20 #include <thread> 43 std::unique_ptr<std::thread> mThread;
|
/device/soc/rockchip/rk3399/hardware/display/src/display_device/ |
H A D | hdi_netlink_monitor.h | 19 #include <thread> 34 std::unique_ptr<std::thread> mThread;
|
/device/soc/rockchip/rk3566/hardware/display/src/display_device/ |
H A D | hdi_netlink_monitor.h | 19 #include <thread> 34 std::unique_ptr<std::thread> mThread;
|
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | hdi_netlink_monitor.h | 19 #include <thread> 34 std::unique_ptr<std::thread> mThread;
|
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
H A D | hdi_netlink_monitor.h | 19 #include <thread>
34 std::unique_ptr<std::thread> mThread;
|
/test/xts/acts/hiviewdfx/hicollietest/hicolliendktest/entry/src/main/cpp/ |
H A D | napi_init.cpp | 18 #include <thread> 61 std::thread threadObj(TestJankDetection); in TestHiCollieJankC() 108 std::thread threadObj(TestStuckDetection); in TestHiCollieStuckC() 149 std::thread threadObj(Test001); in TestJankCerr401()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/based/ext_inc/ |
H A D | valg_plat.h | 112 __inline static hi_s32 valg_thread_init(osal_task_t **thread, hi_void *task_function, hi_void *data, char *task_name) in valg_thread_init() argument 114 *thread = osal_kthread_create(task_function, data, task_name); in valg_thread_init() 115 if (*thread == NULL) { in valg_thread_init() 116 osal_printk("create thread fail!!!\n"); in valg_thread_init()
|
/test/xts/dcts/distributedhardware/distributedscreentest/ |
H A D | decoder_demo.h | 23 #include <thread> 85 std::unique_ptr<std::thread> inputLoop_; 86 std::unique_ptr<std::thread> outputLoop_;
|
/test/xts/hats/kernel/syscalls/net/accept/ |
H A D | AcceptApiTest.cpp | 115 pthread_t thread; in HWTEST_F() local 124 pthread_create(&thread, nullptr, ClientConnect, nullptr); in HWTEST_F() 130 pthread_join(thread, nullptr); in HWTEST_F()
|
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/ |
H A D | drm_vsync_worker.h | 20 #include <thread>
43 std::unique_ptr<std::thread> mThread;
|
/device/soc/hisilicon/common/hal/display/source/display_device/src/vsync/ |
H A D | sorft_vsync.h | 19 #include <thread>
39 std::unique_ptr<std::thread> thread_;
|