Home
last modified time | relevance | path

Searched refs:main_module (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/multiprocessing/
Dspawn.py182 main_module = sys.modules['__main__']
183 main_mod_name = getattr(main_module.__spec__, "name", None)
187 main_path = getattr(main_module, '__file__', None)
257 main_module = types.ModuleType("__mp_main__")
261 main_module.__dict__.update(main_content)
262 sys.modules['__main__'] = sys.modules['__mp_main__'] = main_module
286 main_module = types.ModuleType("__mp_main__")
289 main_module.__dict__.update(main_content)
290 sys.modules['__main__'] = sys.modules['__mp_main__'] = main_module
/external/google-breakpad/src/client/mac/tests/
Dminidump_generator_test.cc133 const MinidumpModule* main_module = module_list->GetMainModule(); in TEST_F() local
134 ASSERT_TRUE(main_module); in TEST_F()
135 EXPECT_EQ(GetExecutablePath(), main_module->code_file()); in TEST_F()
224 const MinidumpModule* main_module = module_list->GetMainModule(); in TEST_F() local
225 ASSERT_TRUE(main_module); in TEST_F()
226 EXPECT_EQ(GetExecutablePath(), main_module->code_file()); in TEST_F()
314 const MinidumpModule* main_module = module_list->GetMainModule(); in TEST_F() local
315 ASSERT_TRUE(main_module); in TEST_F()
316 EXPECT_EQ(helper_path, main_module->code_file()); in TEST_F()
Dcrash_generation_server_test.cc272 const MinidumpModule* main_module = module_list->GetMainModule(); in TEST_F() local
273 ASSERT_TRUE(main_module); in TEST_F()
274 EXPECT_EQ(GetExecutablePath(), main_module->code_file()); in TEST_F()
351 const MinidumpModule* main_module = module_list->GetMainModule(); in TEST_F() local
352 ASSERT_TRUE(main_module); in TEST_F()
353 EXPECT_EQ(helper_path, main_module->code_file()); in TEST_F()
/external/llvm-project/lldb/test/API/lang/cpp/thread_local/
DTestThreadLocal.py50 main_module = target.FindModule(filespec)
51 self.assertTrue(main_module, VALID_MODULE)
52 main_address = main_module.FindSymbol("main").GetStartAddress()
/external/google-breakpad/src/processor/
Dbasic_code_modules.cc61 const CodeModule *main_module = that->GetMainModule(); in BasicCodeModules() local
62 if (main_module) in BasicCodeModules()
63 main_address_ = main_module->base_address(); in BasicCodeModules()
Dstackwalk_common.cc734 const CodeModule *main_module = modules->GetMainModule(); in PrintModules() local
735 if (main_module) { in PrintModules()
736 main_address = main_module->base_address(); in PrintModules()
759 const CodeModule *main_module = modules->GetMainModule(); in PrintModulesMachineReadable() local
760 if (main_module) { in PrintModulesMachineReadable()
761 main_address = main_module->base_address(); in PrintModulesMachineReadable()
781 main_module != NULL && base_address == main_address ? 1 : 0); in PrintModulesMachineReadable()
/external/python/cpython2/Lib/multiprocessing/
Dforking.py489 main_module = sys.modules['__main__']
490 main_module.__file__ = main_path
509 main_module = imp.load_module(
516 sys.modules['__main__'] = main_module
517 main_module.__name__ = '__main__'
522 for obj in main_module.__dict__.values():
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/dbgeng/
Dsymbols.py490 main_module = reduce(reduce_func, all_modules, None)
491 if main_module is None:
493 return main_module
/external/google-breakpad/src/tools/mac/crash_report/
Dcrash_report.mm203 const CodeModule *main_module = modules->GetMainModule();
204 if (main_module) {
205 main_address = main_module->base_address();
219 main_module != NULL && base_address == main_address ?
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp826 PythonObject &main_module = GetMainModule(); in GetSessionDictionary() local
827 if (!main_module.IsValid()) in GetSessionDictionary()
831 PyModule_GetDict(main_module.get())); in GetSessionDictionary()
1058 PythonModule &main_module = GetMainModule(); in ExecuteOneLineWithReturn() local
1059 PythonDictionary globals = main_module.GetDictionary(); in ExecuteOneLineWithReturn()
1171 PythonModule &main_module = GetMainModule(); in ExecuteMultipleLines() local
1172 PythonDictionary globals = main_module.GetDictionary(); in ExecuteMultipleLines()