/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_stoptheworld_testlib.cc | 48 pthread_t thread_id; local 49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
|
/external/compiler-rt/test/asan/TestCases/ |
debug_stacks.cc | 30 int thread_id; local 31 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id); 36 fprintf(stderr, "thread id = %d\n", thread_id); 44 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id); 49 fprintf(stderr, "thread id = %d\n", thread_id);
|
/external/compiler-rt/test/lsan/TestCases/ |
cleanup_in_tsd_destructor.c | 37 pthread_t thread_id; local 38 res = pthread_create(&thread_id, 0, thread_func, 0); 40 res = pthread_join(thread_id, 0);
|
disabler_in_tsd_destructor.c | 33 pthread_t thread_id; local 34 res = pthread_create(&thread_id, 0, thread_func, 0); 36 res = pthread_join(thread_id, 0);
|
leak_check_before_thread_started.cc | 17 pthread_t thread_id; local 25 int res = pthread_create(&thread_id, &attr, func, arg);
|
use_registers.cc | 42 pthread_t thread_id; local 43 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
|
use_stacks_threaded.cc | 27 pthread_t thread_id; local 28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
|
/external/valgrind/helgrind/tests/ |
tc03_re_excl.c | 25 pthread_t thread_id; local 30 pthread_create(&thread_id, 0, worker_thread, (void*)x); 36 pthread_join(thread_id, 0);
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
cthread_unix.c | 26 pthread_t thread_id[MaxThread]; local 31 pthread_create(&thread_id[i], 0, addThread, &max); 33 pthread_join(thread_id[i], 0);
|
cthread_windows.c | 27 uintptr_t thread_id[MaxThread]; local 32 thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0); 34 WaitForSingleObject((HANDLE)thread_id[i], INFINITE); 35 CloseHandle((HANDLE)thread_id[i]);
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
cthread_unix.c | 26 pthread_t thread_id[MaxThread]; local 31 pthread_create(&thread_id[i], 0, addThread, &max); 33 pthread_join(thread_id[i], 0);
|
cthread_windows.c | 27 uintptr_t thread_id[MaxThread]; local 32 thread_id[i] = _beginthreadex(0, 0, addThread, &max, 0, 0); 34 WaitForSingleObject((HANDLE)thread_id[i], INFINITE); 35 CloseHandle((HANDLE)thread_id[i]);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
linux_dumper_unittest_helper.cc | 60 volatile pid_t thread_id = syscall(__NR_gettid); local 67 register volatile pid_t *thread_id_ptr asm(TID_PTR_REGISTER) = &thread_id;
|
/external/mesa3d/src/gallium/tests/unit/ |
pipe_barrier_test.c | 52 int thread_id = *((int *) thread_data); local 54 printf("thread %d starting\n", thread_id); 55 os_time_sleep(thread_id * 1000 * 1000); 56 printf("thread %d before barrier\n", thread_id); 58 printf("thread %d exiting\n", thread_id);
|
/system/extras/memory_replay/tests/ |
ThreadTest.cpp | 54 pthread_t thread_id; local 55 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForReady, &thread_data) == 0); 62 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0); 82 pthread_t thread_id; local 83 ASSERT_TRUE(pthread_create(&thread_id, nullptr, ThreadWaitForPending, &thread_data) == 0); 90 ASSERT_TRUE(pthread_join(thread_id, nullptr) == 0);
|
/external/curl/docs/examples/ |
threaded-ssl.c | 57 static unsigned long thread_id(void) function 75 CRYPTO_set_id_callback((unsigned long (*)())thread_id);
|
/external/v8/test/cctest/ |
test-threads.cc | 47 i::ThreadId thread_id = i::ThreadId::Current(); local 49 CHECK(!(*refs_)[i].Equals(thread_id)); 51 CHECK(thread_id.IsValid()); 52 (*refs_)[thread_no_] = thread_id;
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.h | 43 pthread_t thread_id; member in struct:loc_eng_dmn_conn_thelper
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.h | 43 pthread_t thread_id; member in struct:loc_eng_dmn_conn_thelper
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.h | 43 pthread_t thread_id; member in struct:loc_eng_dmn_conn_thelper
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.h | 43 pthread_t thread_id; member in struct:loc_eng_dmn_conn_thelper
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.h | 43 pthread_t thread_id; member in struct:loc_eng_dmn_conn_thelper
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
loc_eng_dmn_conn_thread_helper.h | 43 pthread_t thread_id; member in struct:loc_eng_dmn_conn_thelper
|
/external/avahi/avahi-common/ |
thread-watch.c | 42 pthread_t thread_id; member in struct:AvahiThreadedPoll 111 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); 134 if (pthread_create(&p->thread_id, NULL, thread, p) < 0) 149 assert(!pthread_equal(pthread_self(), p->thread_id)); 155 pthread_join(p->thread_id, NULL); 165 assert(pthread_equal(pthread_self(), p->thread_id)); 174 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id)); 183 assert(!p->thread_running || !pthread_equal(pthread_self(), p->thread_id));
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
gki_int.h | 34 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon16039
|