Home
last modified time | relevance | path

Searched refs:thread_index (Results 1 – 22 of 22) sorted by relevance

/external/lldb/test/python_api/module_section/
Dmain.cpp56 uint32_t thread_index = *((uint32_t *)arg); in thread_func() local
57 uint32_t thread_mask = (1u << (thread_index)); in thread_func()
58 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
64 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
66 …printf ("%s (thread = %u) after usleep ...\n", __FUNCTION__, thread_index); // Set break point at … in thread_func()
68 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/lldb/test/python_api/lldbutil/iter/
Dmain.cpp56 uint32_t thread_index = *((uint32_t *)arg); in thread_func() local
57 uint32_t thread_mask = (1u << (thread_index)); in thread_func()
58 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
64 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
66 …printf ("%s (thread = %u) after usleep ...\n", __FUNCTION__, thread_index); // Set break point at … in thread_func()
68 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/lldb/test/python_api/lldbutil/process/
Dmain.cpp56 uint32_t thread_index = *((uint32_t *)arg); in thread_func() local
57 uint32_t thread_mask = (1u << (thread_index)); in thread_func()
58 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
64 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
66 …printf ("%s (thread = %u) after usleep ...\n", __FUNCTION__, thread_index); // Set break point at … in thread_func()
68 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/lldb/test/functionalities/stop-hook/multiple_threads/
Dmain.cpp44 …uint32_t thread_index = *((uint32_t *)arg); // Break here to test that the stop-hook mechanism wor… in thread_func() local
45 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
53 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
61 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
63 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/lldb/test/functionalities/watchpoint/multiple_threads/
Dmain.cpp46 uint32_t thread_index = *((uint32_t *)arg); // Break here in order to allow the thread in thread_func() local
48 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
56 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
64 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
66 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/lldb/test/functionalities/watchpoint/hello_watchlocation/
Dmain.cpp52 uint32_t thread_index = *((uint32_t *)arg); in thread_func() local
53 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
61 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
69 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
71 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/lldb/test/python_api/watchpoint/watchlocation/
Dmain.cpp50 uint32_t thread_index = *((uint32_t *)arg); in thread_func() local
51 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
59 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
67 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
69 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cc98 volatile uptr thread_index; member
105 : thread_index(0), in AdvancedCallbackArgument()
115 &callback_argument->thread_index, 1); in AdvancedIncrementerThread()
126 __sync_fetch_and_add(&callback_argument->thread_index, in AdvancedIncrementerThread()
127 kThreadCount - callback_argument->thread_index); in AdvancedIncrementerThread()
175 while (__sync_fetch_and_add(&argument.thread_index, 0) < kStopWorldAfter) in TEST()
182 while (__sync_fetch_and_add(&argument.thread_index, 0) < kThreadCount) in TEST()
/external/lldb/test/functionalities/watchpoint/watchpoint_set_command/
Dmain.cpp60 uint32_t thread_index = *((uint32_t *)arg); in thread_func() local
61 printf ("%s (thread index = %u) startng...\n", __FUNCTION__, thread_index); in thread_func()
69 printf ("%s (thread = %u) doing a usleep (%d)...\n", __FUNCTION__, thread_index, usec); in thread_func()
77 … %u) after usleep access_pool returns %d (count=%d)...\n", __FUNCTION__, thread_index, val, count); in thread_func()
79 printf ("%s (thread index = %u) exiting...\n", __FUNCTION__, thread_index); in thread_func()
/external/google-benchmark/test/
Dbenchmark_test.cc125 if (state.thread_index == 0) { in BM_SetupTeardown()
138 if (state.thread_index == 0) { in BM_SetupTeardown()
156 int from = thread_size * state.thread_index; in BM_ParallelMemset()
159 if (state.thread_index == 0) { in BM_ParallelMemset()
171 if (state.thread_index == 0) { in BM_ParallelMemset()
/external/lldb/tools/lldb-perf/lib/
DTestCase.cpp177 … for (auto thread_index = 0; thread_index < m_process.GetNumThreads(); thread_index++) in Loop() local
179 SBThread thread(m_process.GetThreadAtIndex(thread_index)); in Loop()
/external/google-breakpad/src/processor/
Dstackwalk_common.cc847 for (int thread_index = 0; thread_index < thread_count; ++thread_index) { in PrintProcessState() local
848 if (thread_index != requesting_thread) { in PrintProcessState()
851 printf("Thread %d\n", thread_index); in PrintProcessState()
852 PrintStack(process_state.threads()->at(thread_index), cpu, in PrintProcessState()
854 process_state.thread_memory_regions()->at(thread_index), in PrintProcessState()
920 for (int thread_index = 0; thread_index < thread_count; ++thread_index) { in PrintProcessStateMachineReadable() local
921 if (thread_index != requesting_thread) { in PrintProcessStateMachineReadable()
923 PrintStackMachineReadable(thread_index, in PrintProcessStateMachineReadable()
924 process_state.threads()->at(thread_index)); in PrintProcessStateMachineReadable()
Dminidump_processor.cc159 for (unsigned int thread_index = 0; in Process() local
160 thread_index < thread_count; in Process()
161 ++thread_index) { in Process()
164 thread_index, thread_count); in Process()
167 MinidumpThread *thread = threads->GetThreadAtIndex(thread_index); in Process()
Dminidump.cc1611 for (unsigned int thread_index = 0; in Read() local
1612 thread_index < thread_count; in Read()
1613 ++thread_index) { in Read()
1614 MinidumpThread* thread = &(*threads)[thread_index]; in Read()
1619 thread_index << "/" << thread_count; in Read()
1626 thread_index << "/" << thread_count; in Read()
1634 thread_index << "/" << thread_count; in Read()
1684 for (unsigned int thread_index = 0; in Print() local
1685 thread_index < thread_count_; in Print()
1686 ++thread_index) { in Print()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast.c505 task->query->count[task->thread_index] += task->vis_counter; in lp_rast_end_query()
809 debug_printf("thread %d waiting for work\n", task->thread_index); in PIPE_THREAD_ROUTINE()
815 if (task->thread_index == 0) { in PIPE_THREAD_ROUTINE()
831 debug_printf("thread %d doing work\n", task->thread_index); in PIPE_THREAD_ROUTINE()
841 if (task->thread_index == 0) { in PIPE_THREAD_ROUTINE()
847 debug_printf("thread %d done working\n", task->thread_index); in PIPE_THREAD_ROUTINE()
899 task->thread_index = i; in lp_rast_create()
Dlp_rast_priv.h95 unsigned thread_index; member
198 task->color_tiles[buf] = lp_swizzled_cbuf[task->thread_index][buf]; in lp_rast_get_color_tile_pointer()
/external/google-breakpad/src/tools/mac/crash_report/
Dcrash_report.mm286 for (int thread_index = 0; thread_index < thread_count; ++thread_index) {
287 if (thread_index != requesting_thread) {
290 printf("Thread %d\n", thread_index);
291 PrintStack(process_state.threads()->at(thread_index), cpu);
293 thread_memory_regions->at(thread_index);
/external/autotest/client/tests/aiostress/
Daio-stress.c1467 int thread_index; local
1469 thread_index = open_fds % num_threads;
1482 oper_list_add(oper, &t[thread_index].active_opers);
1483 t[thread_index].num_files++;
/external/google-benchmark/
DREADME.md156 if (state.thread_index == 0) {
162 if (state.thread_index == 0) {
/external/google-benchmark/include/benchmark/
Dbenchmark_api.h362 const int thread_index;
/external/google-benchmark/src/
Dbenchmark.cc744 thread_index(thread_i), in State()
749 CHECK_LT(thread_index, threads) << "thread_index must be less than threads"; in State()
/external/lldb/source/Target/
DProcess.cpp5308 uint32_t thread_index; in RunThreadPlan() local
5312 for (thread_index = 0; in RunThreadPlan()
5313 thread_index < num_threads; in RunThreadPlan()
5314 ++thread_index) in RunThreadPlan()
5316 Thread *thread = thread_list.GetThreadAtIndex(thread_index).get(); in RunThreadPlan()