/external/compiler-rt/test/asan/TestCases/ |
H A D | 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/ |
H A D | use_registers.cc | 47 pthread_t thread_id; local 48 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
|
H A D | use_stacks_threaded.cc | 27 pthread_t thread_id; local 28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
|
H A D | 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);
|
H A D | 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);
|
H A D | leak_check_before_thread_started.cc | 24 pthread_t thread_id; local 34 int res = pthread_create(&thread_id, &attr, func, arg);
|
/external/valgrind/helgrind/tests/ |
H A D | 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);
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
H A D | sanitizer_stoptheworld_testlib.cc | 48 pthread_t thread_id; local 49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
|
H A D | sanitizer_stoptheworld_test.cc | 74 pthread_t thread_id; local 77 pthread_create_result = pthread_create(&thread_id, NULL, IncrementerThread, 86 ASSERT_EQ(0, pthread_join(thread_id, NULL));
|
/external/ltp/lib/ |
H A D | safe_pthread.c | 25 pthread_t *thread_id, const pthread_attr_t *attr, 30 rval = pthread_create(thread_id, attr, thread_fn, arg); 34 "pthread_create(%p,%p,%p,%p) failed: %s", thread_id, 42 pthread_t thread_id, void **retval) 46 rval = pthread_join(thread_id, retval); 24 safe_pthread_create(const char *file, const int lineno, pthread_t *thread_id, const pthread_attr_t *attr, void *(*thread_fn)(void *), void *arg) argument 41 safe_pthread_join(const char *file, const int lineno, pthread_t thread_id, void **retval) argument
|
/external/mesa3d/src/gallium/tests/unit/ |
H A D | 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);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld.h | 37 bool Contains(SuspendedThreadID thread_id) const { 39 if (thread_ids_[i] == thread_id) 44 void Append(SuspendedThreadID thread_id) { argument 45 thread_ids_.push_back(thread_id);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
H A D | 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
H A D | 2-3.c | 59 pthread_t thread_id; local 83 rc = pthread_create(&thread_id, &attr, thread, NULL); 89 rc = pthread_join(thread_id, NULL);
|
H A D | 2-4.c | 59 pthread_t thread_id; local 84 rc = pthread_create(&thread_id, &attr, thread, NULL); 90 rc = pthread_join(thread_id, NULL);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/ |
H A D | 1-3.c | 56 pthread_t thread_id; local 86 rc = pthread_create(&thread_id, &attr, thread, NULL); 92 rc = pthread_join(thread_id, NULL);
|
H A D | 1-4.c | 59 pthread_t thread_id; local 89 rc = pthread_create(&thread_id, &attr, thread, NULL); 96 rc = pthread_join(thread_id, NULL);
|
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_ethread.h | 29 int thread_id; member in struct:EncWorkerData
|
/external/mesa3d/src/glx/apple/ |
H A D | apple_glx_context.h | 56 pthread_t thread_id; member in struct:apple_glx_context
|
/external/compiler-rt/lib/asan/ |
H A D | asan_debugging.cc | 84 static uptr AsanGetStack(uptr addr, uptr *trace, u32 size, u32 *thread_id, argument 93 if (thread_id) *thread_id = chunk.AllocTid(); 97 if (thread_id) *thread_id = chunk.FreeTid(); 126 uptr __asan_get_alloc_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { argument 127 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ true); 131 uptr __asan_get_free_stack(uptr addr, uptr *trace, uptr size, u32 *thread_id) { argument 132 return AsanGetStack(addr, trace, size, thread_id, /* alloc_stack */ false);
|
/external/curl/docs/examples/ |
H A D | threaded-ssl.c | 62 static unsigned long thread_id(void) function 80 CRYPTO_set_id_callback((unsigned long (*)())thread_id);
|
/external/libchrome/sandbox/linux/services/ |
H A D | thread_helpers.cc | 124 // Should start the thread before calling thread_id(). 129 const base::PlatformThreadId thread_id = thread->GetThreadId(); local 131 "self/task/" + base::IntToString(thread_id) + "/";
|
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/ |
H A D | SimpleThreadPool.h | 79 return pt->thread_id; 86 void WorkerLoop(int thread_id) { argument 90 pt->thread_id = thread_id; 131 constexpr PerThread() : pool(NULL), thread_id(-1) { } 133 int thread_id; // Worker thread index in pool. member in struct:Eigen::SimpleThreadPoolTempl::PerThread
|
/external/google-breakpad/src/client/windows/crash_generation/ |
H A D | client_info.cc | 41 DWORD* thread_id, 51 thread_id_(thread_id), 149 bool ClientInfo::GetClientThreadId(DWORD* thread_id) const { 153 thread_id, 154 sizeof(*thread_id), 159 return bytes_count == sizeof(*thread_id); 38 ClientInfo(CrashGenerationServer* crash_server, DWORD pid, MINIDUMP_TYPE dump_type, DWORD* thread_id, EXCEPTION_POINTERS** ex_info, MDRawAssertionInfo* assert_info, const CustomClientInfo& custom_client_info) argument
|
H A D | client_info.h | 52 DWORD* thread_id, 64 DWORD* thread_id() const { return thread_id_; } function in class:google_breakpad::ClientInfo 92 bool GetClientThreadId(DWORD* thread_id) const;
|