Home
last modified time | relevance | path

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

12

/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.cc120 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
121 ASSERT_TRUE(thread_list); in TEST_F()
122 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F()
124 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F()
211 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
212 ASSERT_TRUE(thread_list); in TEST_F()
213 ASSERT_EQ((unsigned int)1, thread_list->thread_count()); in TEST_F()
215 MinidumpThread* main_thread = thread_list->GetThreadAtIndex(0); in TEST_F()
301 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST_F() local
302 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/lldb/test/lang/objc/blocks/
DTestObjCIvarsInBlocks.py58 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
59 self.assertTrue (len(thread_list) == 1)
60 thread = thread_list[0]
104 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint_two)
105 self.assertTrue (len(thread_list) == 1)
106 thread = thread_list[0]
/external/lldb/test/functionalities/return-value/
DTestReturnValue.py41 thread_list = lldbutil.get_threads_stopped_at_breakpoint (self.process, bkpt)
43 self.assertTrue (len(thread_list) == 1)
44 thread = thread_list[0]
133 thread_list = lldbutil.get_threads_stopped_at_breakpoint (self.process, inner_sint_bkpt)
134 self.assertTrue(len(thread_list) == 1)
135 thread = thread_list[0]
164 thread_list = lldbutil.get_threads_stopped_at_breakpoint (self.process, inner_float_bkpt)
165 self.assertTrue (len(thread_list) == 1)
166 thread = thread_list[0]
/external/lldb/test/lang/objc/objc-builtin-types/
DTestObjCBuiltinTypes.py53 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, bpt)
56 self.assertTrue (len(thread_list) != 0, "No thread stopped at our breakpoint.")
57 self.assertTrue (len(thread_list) == 1, "More than one thread stopped at our breakpoint.")
60 frame = thread_list[0].GetFrameAtIndex(0)
/external/lldb/test/lang/objc/objc-struct-return/
DTestObjCStructReturn.py52 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, bpt)
55 self.assertTrue (len(thread_list) != 0, "No thread stopped at our breakpoint.")
56 self.assertTrue (len(thread_list) == 1, "More than one thread stopped at our breakpoint.")
58 frame = thread_list[0].GetFrameAtIndex(0)
/external/lldb/test/lang/objc/objc-static-method-stripped/
DTestObjCStaticMethodStripped.py48 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, bpt)
51 self.assertTrue (len(thread_list) != 0, "No thread stopped at our breakpoint.")
52 self.assertTrue (len(thread_list) == 1, "More than one thread stopped at our breakpoint.")
55 frame = thread_list[0].GetFrameAtIndex(0)
/external/lldb/test/lang/objc/objc-class-method/
DTestObjCClassMethod.py56 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, bpt)
59 self.assertTrue (len(thread_list) != 0, "No thread stopped at our breakpoint.")
60 self.assertTrue (len(thread_list) == 1, "More than one thread stopped at our breakpoint.")
63 frame = thread_list[0].GetFrameAtIndex(0)
/external/lldb/test/lang/objc/objc-super/
DTestObjCSuper.py54 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, bpt)
57 self.assertTrue (len(thread_list) != 0, "No thread stopped at our breakpoint.")
58 self.assertTrue (len(thread_list) == 1, "More than one thread stopped at our breakpoint.")
61 frame = thread_list[0].GetFrameAtIndex(0)
/external/google-breakpad/src/processor/
Dminidump_unittest.cc258 MinidumpThreadList *thread_list = minidump.GetThreadList(); in TEST() local
259 ASSERT_TRUE(thread_list != NULL); in TEST()
260 ASSERT_EQ(1U, thread_list->thread_count()); in TEST()
262 MinidumpThread *md_thread = thread_list->GetThreadAtIndex(0); in TEST()
328 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST() local
329 ASSERT_TRUE(thread_list != NULL); in TEST()
330 ASSERT_EQ(1U, thread_list->thread_count()); in TEST()
332 MinidumpThread* md_thread = thread_list->GetThreadAtIndex(0); in TEST()
371 MinidumpThreadList* thread_list = minidump.GetThreadList(); in TEST() local
372 ASSERT_TRUE(thread_list != NULL); in TEST()
[all …]
Dminidump_processor_unittest.cc499 MockMinidumpThreadList thread_list; in TEST_F() local
501 WillOnce(Return(&thread_list)); in TEST_F()
531 EXPECT_CALL(thread_list, thread_count()). in TEST_F()
533 EXPECT_CALL(thread_list, GetThreadAtIndex(0)). in TEST_F()
568 MockMinidumpThreadList thread_list; in TEST_F() local
569 EXPECT_CALL(dump, GetThreadList()).WillOnce(Return(&thread_list)); in TEST_F()
570 EXPECT_CALL(thread_list, thread_count()).WillRepeatedly(Return(0)); in TEST_F()
599 MockMinidumpThreadList thread_list; in TEST_F() local
601 WillOnce(Return(&thread_list)); in TEST_F()
624 EXPECT_CALL(thread_list, thread_count()). in TEST_F()
[all …]
Dminidump_dump.cc104 MinidumpThreadList *thread_list = minidump.GetThreadList(); in PrintMinidumpDump() local
105 if (!thread_list) { in PrintMinidumpDump()
109 thread_list->Print(); in PrintMinidumpDump()
/external/lldb/test/lang/objc/objc-static-method/
DTestObjCStaticMethod.py55 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, bpt)
58 self.assertTrue (len(thread_list) != 0, "No thread stopped at our breakpoint.")
59 self.assertTrue (len(thread_list) == 1, "More than one thread stopped at our breakpoint.")
62 frame = thread_list[0].GetFrameAtIndex(0)
/external/lldb/tools/darwin-threads/
Dexamine-threads.c384 thread_array_t thread_list; in main() local
387 kr = task_threads (task, &thread_list, &thread_count); in main()
399 thread_basic_info_t basic_info = get_thread_basic_info (thread_list[i]); in main()
401 … thread_identifier_info_data_t identifier_info = get_thread_identifier_info (thread_list[i]); in main()
404 uint64_t pc = get_current_pc (thread_list[i], &wordsize); in main()
424 …printf (" (examine-threads port namespace) mach port # 0x%4.4x\n", (int) thread_list[i]); in main()
426 … if (inferior_namespace_mach_port_num (task, thread_list[i], &mach_port_inferior_namespace)) in main()
468 vm_deallocate (mytask, (vm_address_t) thread_list, in main()
/external/lldb/test/lang/objc/objc-ivar-stripped/
DTestObjCIvarStripped.py42 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
43 self.assertTrue (len(thread_list) == 1)
44 thread = thread_list[0]
/external/lldb/test/expression_command/issue_11588/
DTest11588.py41 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
42 self.assertTrue (len(thread_list) == 1)
43 thread = thread_list[0]
/external/lldb/test/lang/objc/objc-ivar-offsets/
DTestObjCIvarOffsets.py50 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
51 self.assertTrue (len(thread_list) == 1)
52 thread = thread_list[0]
/external/lldb/test/lang/objc/foundation/
DTestObjectDescriptionAPI.py59 thread_list = lldbutil.get_threads_stopped_at_breakpoint (process, breakpoint)
60 self.assertTrue (len(thread_list) == 1)
62 thread = thread_list[0]
/external/lldb/tools/debugserver/source/MacOSX/
DMachThreadList.cpp276 thread_array_t thread_list = NULL; in UpdateThreadList() local
279 DNBError err(::task_threads (task, &thread_list, &thread_list_count), DNBError::MachKernel); in UpdateThreadList()
282 …( task = 0x%4.4x, thread_list => %p, thread_list_count => %u )", task, thread_list, thread_list_co… in UpdateThreadList()
293 const thread_t mach_port_num = thread_list[idx]; in UpdateThreadList()
326 (vm_address_t)thread_list, in UpdateThreadList()
/external/v8/tools/oom_dump/
Doom_dump.cc123 MinidumpThreadList* thread_list = minidump.GetThreadList(); in DumpHeapStats() local
124 CHECK(thread_list); in DumpHeapStats()
127 thread_list->GetThreadByID(exception_thread_id); in DumpHeapStats()
/external/lldb/source/Plugins/OperatingSystem/Python/
DOperatingSystemPython.cpp404 ThreadList &thread_list = m_process->GetThreadList(); in CreateThread() local
406 … thread_sp (CreateThreadFromThreadInfo (thread_info_dict, core_threads, thread_list, &did_create)); in CreateThread()
408 thread_list.AddThread(thread_sp); in CreateThread()
/external/v8/src/third_party/vtune/
Dittnotify_config.h379 __itt_thread_info* thread_list; member
398 (gptr)->thread_list = h; \
415 (gptr)->thread_list = h; \
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h350 __itt_thread_info* thread_list; member
369 (gptr)->thread_list = h; \
386 (gptr)->thread_list = h; \
/external/protobuf/gtest/src/
Dgtest-port.cc85 thread_act_array_t thread_list; in GetThreadCount() local
86 const kern_return_t status = task_threads(task, &thread_list, &thread_count); in GetThreadCount()
91 reinterpret_cast<vm_address_t>(thread_list), in GetThreadCount()

12