/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/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/linux-kselftest/tools/testing/selftests/sync/ |
H A D | sync_stress_parallelism.c | 42 int thread_id = (long)d; local 49 i * 2 + thread_id); 61 ASSERT(test_data_two_threads.counter == i * 2 + 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/mesa3d/src/gallium/tests/unit/ |
H A D | pipe_barrier_test.c | 71 int thread_id = *((int *) thread_data); local 73 LOG("thread %d starting\n", thread_id); 74 os_time_sleep(thread_id * 100 * 1000); 75 LOG("thread %d before barrier\n", thread_id); 86 LOG("thread %d exiting\n", thread_id);
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
H A D | parallel_loop_emitter.cc | 77 llvm::Value* thread_id = llvm_ir::EmitCallToIntrinsic( local 80 static_cast<llvm::Instruction*>(thread_id)); 81 thread_id = ir_builder_->CreateZExt(thread_id, ir_builder_->getInt64Ty(), 82 "thread_id"); 89 thread_id, "linear_index", /*HasNUW=*/true, /*HasNSW=*/true);
|
/external/tensorflow/tensorflow/core/kernels/ |
H A D | check_numerics_op_gpu.cu.cc | 39 const int32 thread_id = blockIdx.x * blockDim.x + threadIdx.x; local 42 int32 offset = thread_id;
|
/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/ltp/testcases/kernel/mem/mtest07/ |
H A D | mallocstress.c | 86 static pthread_t *thread_id; /* Spawned thread */ variable 211 SAFE_PTHREAD_CREATE(&thread_id[thread_index], NULL, alloc_mem, 222 SAFE_PTHREAD_JOIN(thread_id[thread_index], &status); 234 thread_id = SAFE_MALLOC(sizeof(pthread_t) * NUM_THREADS); 239 if (thread_id) { 240 free(thread_id); 241 thread_id = NULL;
|