/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/speculative/ |
H A D | 6-3.c | 27 timer_t tid; in main() local 32 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 37 if (timer_getoverrun(tid + 1) == -1) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/speculative/ |
H A D | 6-2.c | 25 timer_t tid; in main() local 31 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 36 if (timer_gettime(tid + 1, &its) == -1) { in main()
|
H A D | 6-1.c | 22 timer_t tid; in main() local 25 tid = (timer_t) & tval; in main() 26 if (timer_gettime(tid, &its) == -1) { in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | syscall.c | 28 pid_t tid; in syscall_0100() local 29 tid = syscall(SYS_gettid); in syscall_0100() 30 if (tid == 0) { in syscall_0100()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgstress/ |
H A D | msgstress03.c | 53 static int tid; variable 122 tid = -1; in main() 220 tid = id = TEST_RETURN; in dotest() 226 TEST(msgctl(tid, IPC_RMID, 0)); in dotest() 291 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 292 if ((status = msgctl(tid, IPC_STAT, NULL)) != -1) { in cleanup() 293 (void)msgctl(tid, IPC_RMID, NULL); in cleanup() 294 tst_resm(TFAIL, "msgctl(tid, IPC_RMID) failed"); in cleanup()
|
/foundation/ability/ability_runtime/frameworks/native/runtime/ |
H A D | connect_server_manager.h | 39 bool AddInstance(int32_t tid, int32_t instanceId, const std::string& instanceName = "PandaDebugger"); 48 int32_t tid, int32_t instanceId, const std::string& instanceName = "PandaDebugger"); 49 void StoreDebuggerInfo(int32_t tid, void* vm, const panda::JSNApi::DebugOption& debugOption, 52 bool SendInstanceMessage(int32_t tid, int32_t instanceId, const std::string& instanceName); 55 DebuggerPostTask GetDebuggerPostTask(int32_t tid);
|
/foundation/resourceschedule/ffrt/test/ut/ |
H A D | qos_interface_test.cpp | 162 int tid = GET_TID(); in HWTEST_F() local 164 EXPECT_EQ(0, FFRTQosApplyForOther(level, tid)); in HWTEST_F() 185 int tid = GET_TID(); in HWTEST_F() local 186 FFRTQosApplyForOther(level, tid); in HWTEST_F() 188 EXPECT_EQ(0, FFRTQosLeaveForOther(tid)); in HWTEST_F()
|
/foundation/window/window_manager/window_scene/common/src/ |
H A D | task_scheduler.cpp | 25 pid_t tid = 0; in TaskScheduler() local 26 auto task = [&tid]() mutable { in TaskScheduler() 27 tid = gettid(); in TaskScheduler() 28 TLOGI(WmsLogTag::WMS_MAIN, "get WMSTid %{public}d", static_cast<int>(tid)); in TaskScheduler() 31 ssmTid_ = tid; in TaskScheduler()
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_runtime_test/ |
H A D | mock_runtime.h | 47 bool SuspendVM(uint32_t tid) override 51 void ResumeVM(uint32_t tid) override {} 120 void DumpHeapSnapshot(uint32_t tid, bool isFullGC) override {} 121 void ForceFullGC(uint32_t tid) override {}
|
/third_party/libwebsockets/lib/system/async-dns/ |
H A D | private-lib-async-dns.h | 73 uint16_t tid[3]; /* last 3 sent tid */ member 96 q->tid[(int)(_q->tids - 1) % (int)LWS_ARRAY_SIZE(q->tid)] 129 lws_dll2_owner_t *owner, uint16_t tid, const char *name);
|
/third_party/musl/src/thread/ |
H A D | synccall.c | 22 if (__pthread_self()->tid != target_tid) return; in handler() 66 if (!libc.threads_minus_1 || __syscall(SYS_gettid) != self->tid) in __synccall() 80 target_tid = td->tid; in __synccall() 81 while ((r = -__syscall(SYS_tkill, td->tid, SIGSYNCCALL)) == EAGAIN); in __synccall()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/ |
H A D | 4-3.c | 62 timer_t tid; in main() local 90 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 100 if (timer_settime(tid, flags, &its, NULL) != 0) { in main() 115 overruns = timer_getoverrun(tid); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/ |
H A D | 1-4.c | 41 timer_t tid; in main() local 54 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 59 if (timer_settime(tid, 0, &itsset, NULL) != 0) { in main() 69 if (timer_gettime(tid, &itsget) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
H A D | 9-1.c | 40 timer_t tid; in main() local 75 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 94 if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 121 if (timer_delete(tid) != 0) { in main()
|
H A D | 6-1.c | 35 timer_t tid; in main() local 72 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 93 if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 147 if (timer_delete(tid) != 0) { in main()
|
H A D | 1-2.c | 40 timer_t tid; in main() local 76 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 81 if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 96 if (timer_delete(tid) == -1) { in main()
|
H A D | 2-1.c | 39 timer_t tid; in main() local 76 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 98 if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 131 if (timer_delete(tid) != 0) { in main()
|
H A D | 3-3.c | 37 timer_t tid; in main() local 59 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 73 if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 104 if (timer_settime(tid, 0, &its, NULL) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_getoverrun/ |
H A D | 2-3.c | 52 timer_t tid; in main() local 80 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 116 if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 138 //if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 148 overruns = timer_getoverrun(tid); in main()
|
H A D | 1-1.c | 43 timer_t tid; in main() local 70 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 79 if (timer_settime(tid, 0, &its, NULL) != 0) { in main() 110 overruns = timer_getoverrun(tid); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_atfork.c | 88 pthread_t tid; in pthread_atfork_0100() local 89 int ret = pthread_create(&tid, NULL, thread_fun, NULL); in pthread_atfork_0100() 112 pthread_cancel(tid); in pthread_atfork_0100() 114 pthread_join(tid, NULL); in pthread_atfork_0100()
|
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/ |
H A D | rand_vxworks.c | 82 CRYPTO_THREAD_ID tid; in ossl_rand_pool_add_additional_data() member 93 data.tid = CRYPTO_THREAD_get_current_id(); in ossl_rand_pool_add_additional_data() 103 CRYPTO_THREAD_ID tid; in ossl_pool_add_nonce_data() member 115 data.tid = CRYPTO_THREAD_get_current_id(); in ossl_pool_add_nonce_data()
|
/third_party/openssl/providers/implementations/rands/seeding/ |
H A D | rand_vxworks.c | 82 CRYPTO_THREAD_ID tid; in ossl_rand_pool_add_additional_data() member 93 data.tid = CRYPTO_THREAD_get_current_id(); in ossl_rand_pool_add_additional_data() 103 CRYPTO_THREAD_ID tid; in ossl_pool_add_nonce_data() member 115 data.tid = CRYPTO_THREAD_get_current_id(); in ossl_pool_add_nonce_data()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_pthread.cpp | 519 pthread_t tid = pthread_self(); in GetThreadId() local 520 if (tid == 0) { in GetThreadId() 591 pthread_t tid; in Bm_function_pthread_spin_lock_and_spin_unlock() local 595 pthread_create(&tid, nullptr, Func, &state); in Bm_function_pthread_spin_lock_and_spin_unlock() 596 pthread_join(tid, nullptr); in Bm_function_pthread_spin_lock_and_spin_unlock() 622 pthread_t tid; in Bm_function_pthread_detach() local 623 pthread_create(&tid, nullptr, ThreadFunc, nullptr); in Bm_function_pthread_detach() 625 pthread_detach(tid); in Bm_function_pthread_detach() 641 pthread_t tid; in Bm_function_pthread_setname_np() local 643 if (pthread_create(&tid, nullpt in Bm_function_pthread_setname_np() 745 pthread_t tid; Bm_function_pthread_clean_push_and_pop() local [all...] |
/foundation/arkui/napi/sample/native_module_systemtest/ |
H A D | test_quickjs.cpp | 53 uv_thread_t tid; in main() local 54 uv_thread_create(&tid, LoopNewThread, nullptr); in main() 58 uv_thread_join(&tid); in main()
|