Searched defs:thread_id (Results 1 - 25 of 108) sorted by relevance

12345

/external/compiler-rt/test/asan/TestCases/
H A Ddebug_stacks.cc30 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 Duse_registers.cc47 pthread_t thread_id; local
48 int res = pthread_create(&thread_id, 0, registers_thread_func, &sync);
H A Duse_stacks_threaded.cc27 pthread_t thread_id; local
28 int res = pthread_create(&thread_id, 0, stacks_thread_func, &sync);
H A Dcleanup_in_tsd_destructor.c37 pthread_t thread_id; local
38 res = pthread_create(&thread_id, 0, thread_func, 0);
40 res = pthread_join(thread_id, 0);
H A Ddisabler_in_tsd_destructor.c33 pthread_t thread_id; local
34 res = pthread_create(&thread_id, 0, thread_func, 0);
36 res = pthread_join(thread_id, 0);
H A Dleak_check_before_thread_started.cc24 pthread_t thread_id; local
34 int res = pthread_create(&thread_id, &attr, func, arg);
/external/valgrind/helgrind/tests/
H A Dtc03_re_excl.c25 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 Dsanitizer_stoptheworld_testlib.cc48 pthread_t thread_id; local
49 pthread_create(&thread_id, NULL, SuspenderThread, NULL);
H A Dsanitizer_stoptheworld_test.cc74 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 Dsafe_pthread.c25 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 Dsanitizer_stoptheworld.h37 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 Dlinux_dumper_unittest_helper.cc60 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 Dsync_stress_parallelism.c42 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 D2-3.c59 pthread_t thread_id; local
83 rc = pthread_create(&thread_id, &attr, thread, NULL);
89 rc = pthread_join(thread_id, NULL);
H A D2-4.c59 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 D1-3.c56 pthread_t thread_id; local
86 rc = pthread_create(&thread_id, &attr, thread, NULL);
92 rc = pthread_join(thread_id, NULL);
H A D1-4.c59 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 Dpipe_barrier_test.c71 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 Dparallel_loop_emitter.cc77 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 Dcheck_numerics_op_gpu.cu.cc39 const int32 thread_id = blockIdx.x * blockDim.x + threadIdx.x; local
42 int32 offset = thread_id;
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_ethread.h29 int thread_id; member in struct:EncWorkerData
/external/mesa3d/src/glx/apple/
H A Dapple_glx_context.h56 pthread_t thread_id; member in struct:apple_glx_context
/external/compiler-rt/lib/asan/
H A Dasan_debugging.cc84 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 Dthreaded-ssl.c62 static unsigned long thread_id(void) function
80 CRYPTO_set_id_callback((unsigned long (*)())thread_id);
/external/ltp/testcases/kernel/mem/mtest07/
H A Dmallocstress.c86 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;

Completed in 543 milliseconds

12345