Home
last modified time | relevance | path

Searched refs:thread_list (Results 1 – 25 of 52) sorted by relevance

123

/external/google-breakpad/src/client/windows/unittests/
Ddump_analysis.cc80 MINIDUMP_THREAD_LIST* thread_list = NULL; in HasTebs() local
81 size_t thread_list_size = GetStream(ThreadListStream, &thread_list); in HasTebs()
83 if (thread_list_size > 0 && thread_list != NULL) { in HasTebs()
84 for (ULONG i = 0; i < thread_list->NumberOfThreads; ++i) { in HasTebs()
85 if (!HasMemory(thread_list->Threads[i].Teb)) in HasTebs()
97 MINIDUMP_THREAD_LIST* thread_list = NULL; in HasPeb() local
98 size_t thread_list_size = GetStream(ThreadListStream, &thread_list); in HasPeb()
100 if (thread_list_size > 0 && thread_list != NULL && in HasPeb()
101 thread_list->NumberOfThreads > 0) { in HasPeb()
103 if (!HasMemory(thread_list->Threads[0].Teb, &teb)) in HasPeb()
/external/google-breakpad/src/client/mac/tests/
Dminidump_generator_test.cc121 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
122 ASSERT_TRUE(thread_list); in TEST_F()
123 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F()
125 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F()
212 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
213 ASSERT_TRUE(thread_list); in TEST_F()
214 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F()
216 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F()
302 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
303 ASSERT_TRUE(thread_list); in TEST_F()
[all …]
Dcrash_generation_server_test.cc260 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
261 ASSERT_TRUE(thread_list); in TEST_F()
262 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F()
264 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F()
339 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
340 ASSERT_TRUE(thread_list); in TEST_F()
341 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F()
343 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F()
/external/llvm-project/lldb/test/API/lang/objc/blocks/
DTestObjCIvarsInBlocks.py49 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
51 self.assertTrue(len(thread_list) == 1)
52 thread = thread_list[0]
114 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
116 self.assertTrue(len(thread_list) == 1)
117 thread = thread_list[0]
/external/llvm-project/lldb/test/API/lang/objcxx/objc-builtin-types/
DTestObjCBuiltinTypes.py41 thread_list = lldbutil.get_threads_stopped_at_breakpoint(process, bpt)
45 len(thread_list) != 0,
47 self.assertEquals(len(thread_list), 1,
52 frame = thread_list[0].GetFrameAtIndex(0)
/external/llvm-project/lldb/test/API/lang/objc/objc-struct-return/
DTestObjCStructReturn.py43 thread_list = lldbutil.get_threads_stopped_at_breakpoint(process, bpt)
47 len(thread_list) != 0,
49 self.assertEquals(len(thread_list), 1,
52 frame = thread_list[0].GetFrameAtIndex(0)
/external/llvm-project/lldb/test/API/lang/objc/objc-struct-argument/
DTestObjCStructArgument.py44 thread_list = lldbutil.get_threads_stopped_at_breakpoint(process, bpt)
48 len(thread_list) != 0,
50 self.assertEquals(len(thread_list), 1,
53 frame = thread_list[0].GetFrameAtIndex(0)
/external/llvm-project/lldb/test/API/lang/objc/objc-class-method/
DTestObjCClassMethod.py44 thread_list = lldbutil.get_threads_stopped_at_breakpoint(process, bpt)
48 len(thread_list) != 0,
50 self.assertTrue(len(thread_list) == 1,
55 frame = thread_list[0].GetFrameAtIndex(0)
/external/llvm-project/lldb/test/API/lang/objc/objc-super/
DTestObjCSuper.py43 thread_list = lldbutil.get_threads_stopped_at_breakpoint(process, bpt)
47 len(thread_list) != 0,
49 self.assertEquals(len(thread_list), 1,
54 frame = thread_list[0].GetFrameAtIndex(0)
/external/llvm-project/lldb/test/API/lang/objc/objc-static-method/
DTestObjCStaticMethod.py44 thread_list = lldbutil.get_threads_stopped_at_breakpoint(process, bpt)
48 len(thread_list) != 0,
50 self.assertEquals(len(thread_list), 1,
55 frame = thread_list[0].GetFrameAtIndex(0)
/external/llvm-project/lldb/test/API/functionalities/return-value/
DTestReturnValue.py72 thread_list = lldbutil.continue_to_breakpoint(self.process, inner_sint_bkpt)
73 self.assertEquals(len(thread_list), 1)
74 thread = thread_list[0]
104 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
106 self.assertEquals(len(thread_list), 1)
107 thread = thread_list[0]
237 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
240 self.assertEquals(len(thread_list), 1)
241 thread = thread_list[0]
/external/llvm-project/lldb/test/API/lang/objc/objc-static-method-stripped/
DTestObjCStaticMethodStripped.py49 thread_list = lldbutil.get_threads_stopped_at_breakpoint(process, bpt)
53 len(thread_list) != 0,
55 self.assertEquals(len(thread_list), 1,
60 frame = thread_list[0].GetFrameAtIndex(0)
/external/llvm-project/lldb/test/API/functionalities/breakpoint/cpp_exception/
DTestCPPExceptionBreakpoint.py56 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
58 self.assertEquals(len(thread_list), 1,
83 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
85 self.assertEquals(len(thread_list), 1,
/external/llvm-project/libc/test/src/threads/
Dthrd_test.cpp37 thrd_t thread_list[thread_count]; in TEST() local
42 ASSERT_EQ(__llvm_libc::thrd_create(thread_list + i, return_arg, args + i), in TEST()
48 ASSERT_EQ(__llvm_libc::thrd_join(&thread_list[i], &retval), in TEST()
/external/google-breakpad/src/processor/
Dminidump_processor_unittest.cc374 MockMinidumpThreadList thread_list; in TEST_F() local
376 WillOnce(Return(&thread_list)); in TEST_F()
378 EXPECT_CALL(thread_list, thread_count()). in TEST_F()
382 EXPECT_CALL(thread_list, GetThreadAtIndex(0)). in TEST_F()
604 MockMinidumpThreadList thread_list; in TEST_F() local
606 WillOnce(Return(&thread_list)); in TEST_F()
636 EXPECT_CALL(thread_list, thread_count()). in TEST_F()
638 EXPECT_CALL(thread_list, GetThreadAtIndex(0)). in TEST_F()
673 MockMinidumpThreadList thread_list; in TEST_F() local
674 EXPECT_CALL(dump, GetThreadList()).WillOnce(Return(&thread_list)); in TEST_F()
[all …]
Dminidump_unittest.cc270 MinidumpThreadList *thread_list = minidump.GetThreadList(); in TEST() local
271 ASSERT_TRUE(thread_list != NULL); in TEST()
272 ASSERT_EQ(1U, thread_list->thread_count()); in TEST()
274 MinidumpThread *md_thread = thread_list->GetThreadAtIndex(0); in TEST()
340 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST() local
341 ASSERT_TRUE(thread_list != NULL); in TEST()
342 ASSERT_EQ(1U, thread_list->thread_count()); in TEST()
344 MinidumpThread* md_thread = thread_list->GetThreadAtIndex(0); in TEST()
383 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST() local
384 ASSERT_TRUE(thread_list != NULL); in TEST()
[all …]
Dminidump_dump.cc116 MinidumpThreadList *thread_list = minidump.GetThreadList(); in PrintMinidumpDump() local
117 if (!thread_list) { in PrintMinidumpDump()
121 thread_list->Print(); in PrintMinidumpDump()
/external/llvm-project/lldb/tools/darwin-threads/
Dexamine-threads.c385 thread_array_t thread_list; in main() local
388 kr = task_threads(task, &thread_list, &thread_count); in main()
398 thread_basic_info_t basic_info = get_thread_basic_info(thread_list[i]); in main()
401 get_thread_identifier_info(thread_list[i]); in main()
404 uint64_t pc = get_current_pc(thread_list[i], &wordsize); in main()
451 (int)thread_list[i]); in main()
453 if (inferior_namespace_mach_port_num(task, thread_list[i], in main()
491 vm_deallocate(mytask, (vm_address_t)thread_list, in main()
/external/llvm-project/lldb/test/API/lang/objc/objc-ivar-stripped/
DTestObjCIvarStripped.py50 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
52 self.assertEquals(len(thread_list), 1)
53 thread = thread_list[0]
/external/llvm-project/lldb/test/API/lang/objc/foundation/
DTestObjectDescriptionAPI.py47 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
49 self.assertTrue(len(thread_list) == 1)
51 thread = thread_list[0]
/external/llvm-project/lldb/test/API/lang/objc/objc-ivar-offsets/
DTestObjCIvarOffsets.py43 thread_list = lldbutil.get_threads_stopped_at_breakpoint(
45 self.assertEquals(len(thread_list), 1)
46 thread = thread_list[0]
/external/llvm-project/lldb/unittests/Process/minidump/
DMinidumpParserTest.cpp108 llvm::ArrayRef<minidump::Thread> thread_list; in TEST_F() local
110 thread_list = parser->GetThreads(); in TEST_F()
111 ASSERT_EQ(1UL, thread_list.size()); in TEST_F()
113 const minidump::Thread &thread = thread_list[0]; in TEST_F()
581 llvm::ArrayRef<minidump::Thread> thread_list = parser->GetThreads(); in TEST_F() local
582 const minidump::Thread &thread = thread_list[0]; in TEST_F()
624 llvm::ArrayRef<minidump::Thread> thread_list = parser->GetThreads(); in TEST_F() local
625 const minidump::Thread &thread = thread_list[0]; in TEST_F()
659 llvm::ArrayRef<minidump::Thread> thread_list = parser->GetThreads(); in TEST_F() local
660 const minidump::Thread &thread = thread_list[0]; in TEST_F()
/external/llvm-project/lldb/tools/debugserver/source/MacOSX/
DGenealogy.cpp65 const MachThreadList &thread_list, in GetGenealogyInfoForThread() argument
75 GetActivities(pid, thread_list, task); in GetGenealogyInfoForThread()
91 void Genealogy::GetActivities(pid_t pid, const MachThreadList &thread_list, in GetActivities() argument
178 const nub_size_t num_threads = thread_list.NumThreads(); in GetActivities()
180 nub_thread_t thread_id = thread_list.ThreadIDAtIndex(i); in GetActivities()
DGenealogy.h71 const MachThreadList &thread_list,
86 void GetActivities(pid_t pid, const MachThreadList &thread_list, task_t task);
/external/llvm-project/lldb/include/lldb/Target/
DThreadList.h49 ExpressionExecutionThreadPusher(ThreadList &thread_list, lldb::tid_t tid) in ExpressionExecutionThreadPusher() argument
50 : m_thread_list(&thread_list), m_tid(tid) { in ExpressionExecutionThreadPusher()

123