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

123

/external/compiler-rt/test/asan/TestCases/
H A Ddebug_stacks.cc27 int thread_id; local
28 num_frames = __asan_get_alloc_stack(mem, trace, num_frames, &thread_id);
33 fprintf(stderr, "thread id = %d\n", thread_id);
41 num_frames = __asan_get_free_stack(mem, trace, num_frames, &thread_id);
46 fprintf(stderr, "thread id = %d\n", thread_id);
/external/compiler-rt/test/lsan/TestCases/
H A Dleak_check_before_thread_started.cc17 pthread_t thread_id; local
25 int res = pthread_create(&thread_id, &attr, func, arg);
H A Duse_registers.cc42 pthread_t thread_id; local
43 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.cc37 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.cc32 pthread_t thread_id; local
33 res = pthread_create(&thread_id, 0, thread_func, 0);
35 res = pthread_join(thread_id, 0);
/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/mesa3d/src/gallium/tests/unit/
H A Dpipe_barrier_test.c52 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 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/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
H A Dgki_int.h34 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon8335
/external/libnfc-nci/src/gki/ulinux/
H A Dgki_int.h34 pthread_t thread_id[GKI_MAX_TASKS]; member in struct:__anon8364
/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/v8/test/cctest/
H A Dtest-threads.cc137 i::ThreadId thread_id = i::ThreadId::Current(); local
139 CHECK(!(*refs_)[i].Equals(thread_id));
141 CHECK(thread_id.IsValid());
142 (*refs_)[thread_no_] = thread_id;
/external/ceres-solver/internal/ceres/
H A Dcoordinate_descent_minimizer.cc156 int thread_id = omp_get_thread_num(); local
158 int thread_id = 0;
182 linear_solvers[thread_id],
H A Dprogram_evaluator.h182 int thread_id = omp_get_thread_num(); local
184 int thread_id = 0; local
186 EvaluatePreparer* preparer = &evaluate_preparers_[thread_id];
187 EvaluateScratch* scratch = &evaluate_scratch_[thread_id];
/external/google-breakpad/src/client/windows/crash_generation/
H A Dclient_info.cc41 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 Dclient_info.h52 DWORD* thread_id,
64 DWORD* thread_id() const { return thread_id_; } function in class:google_breakpad::ClientInfo
92 bool GetClientThreadId(DWORD* thread_id) const;
/external/lldb/source/Breakpoint/
H A DBreakpointOptions.cpp205 BreakpointOptions::SetThreadID (lldb::tid_t thread_id) argument
207 GetThreadSpec()->SetTID(thread_id);
H A DWatchpointOptions.cpp161 WatchpointOptions::SetThreadID (lldb::tid_t thread_id) argument
163 GetThreadSpec()->SetTID(thread_id);
/external/lldb/source/Target/
H A DThreadPlanStepUntil.cpp61 lldb::user_id_t thread_id = m_thread.GetID(); local
74 return_bp->SetThreadID(thread_id);
88 until_bp->SetThreadID(thread_id);
/external/valgrind/coregrind/m_gdbserver/
H A Dinferiors.c98 void add_thread (unsigned long thread_id, void *target_data, unsigned int gdb_id) argument
105 new_thread->entry.id = thread_id;
117 unsigned int thread_id_to_gdb_id (unsigned long thread_id) argument
123 if (inf->id == thread_id)

Completed in 752 milliseconds

123