Home
last modified time | relevance | path

Searched refs:create_callback (Results 1 – 15 of 15) sorted by relevance

/external/lldb/source/Core/
DPluginManager.cpp232 create_callback(NULL) in ABIInstance()
238 ABICreateInstance create_callback; member
262 ABICreateInstance create_callback in RegisterPlugin() argument
265 if (create_callback) in RegisterPlugin()
272 instance.create_callback = create_callback; in RegisterPlugin()
281 PluginManager::UnregisterPlugin (ABICreateInstance create_callback) in UnregisterPlugin() argument
283 if (create_callback) in UnregisterPlugin()
291 if (pos->create_callback == create_callback) in UnregisterPlugin()
307 return instances[idx].create_callback; in GetABICreateCallbackAtIndex()
323 return pos->create_callback; in GetABICreateCallbackForPluginName()
[all …]
DDynamicLoader.cpp21 DynamicLoaderCreateInstance create_callback = NULL; in FindPlugin() local
25create_callback = PluginManager::GetDynamicLoaderCreateCallbackForPluginName (const_plugin_name); in FindPlugin()
26 if (create_callback) in FindPlugin()
28 std::unique_ptr<DynamicLoader> instance_ap(create_callback(process, true)); in FindPlugin()
35 …for (uint32_t idx = 0; (create_callback = PluginManager::GetDynamicLoaderCreateCallbackAtIndex(idx… in FindPlugin()
37 std::unique_ptr<DynamicLoader> instance_ap(create_callback(process, false)); in FindPlugin()
DEmulateInstruction.cpp32 EmulateInstructionCreateInstance create_callback = NULL; in FindPlugin() local
36create_callback = PluginManager::GetEmulateInstructionCreateCallbackForPluginName (const_plugin_n… in FindPlugin()
37 if (create_callback) in FindPlugin()
39 EmulateInstruction *emulate_insn_ptr = create_callback(arch, supported_inst_type); in FindPlugin()
46 …for (uint32_t idx = 0; (create_callback = PluginManager::GetEmulateInstructionCreateCallbackAtInde… in FindPlugin()
48 EmulateInstruction *emulate_insn_ptr = create_callback(arch, supported_inst_type); in FindPlugin()
DLog.cpp499 …LogChannelCreateInstance create_callback = PluginManager::GetLogChannelCreateCallbackForPluginNam… in FindPlugin() local
500 if (create_callback) in FindPlugin()
502 log_channel_sp.reset(create_callback()); in FindPlugin()
DDisassembler.cpp55 DisassemblerCreateInstance create_callback = NULL; in FindPlugin() local
60create_callback = PluginManager::GetDisassemblerCreateCallbackForPluginName (const_plugin_name); in FindPlugin()
61 if (create_callback) in FindPlugin()
63 DisassemblerSP disassembler_sp(create_callback(arch, flavor)); in FindPlugin()
71 …for (uint32_t idx = 0; (create_callback = PluginManager::GetDisassemblerCreateCallbackAtIndex(idx)… in FindPlugin()
73 DisassemblerSP disassembler_sp(create_callback(arch, flavor)); in FindPlugin()
/external/lldb/include/lldb/Core/
DPluginManager.h34 ABICreateInstance create_callback);
37 UnregisterPlugin (ABICreateInstance create_callback);
52 DisassemblerCreateInstance create_callback);
55 UnregisterPlugin (DisassemblerCreateInstance create_callback);
70 DynamicLoaderCreateInstance create_callback,
74 UnregisterPlugin (DynamicLoaderCreateInstance create_callback);
88 EmulateInstructionCreateInstance create_callback);
91 UnregisterPlugin (EmulateInstructionCreateInstance create_callback);
105 OperatingSystemCreateInstance create_callback);
108 UnregisterPlugin (OperatingSystemCreateInstance create_callback);
[all …]
/external/lldb/source/Target/
DOperatingSystem.cpp25 OperatingSystemCreateInstance create_callback = NULL; in FindPlugin() local
29create_callback = PluginManager::GetOperatingSystemCreateCallbackForPluginName (const_plugin_name… in FindPlugin()
30 if (create_callback) in FindPlugin()
32 std::unique_ptr<OperatingSystem> instance_ap(create_callback(process, true)); in FindPlugin()
39 …for (uint32_t idx = 0; (create_callback = PluginManager::GetOperatingSystemCreateCallbackAtIndex(i… in FindPlugin()
41 std::unique_ptr<OperatingSystem> instance_ap(create_callback(process, false)); in FindPlugin()
DPlatform.cpp101 PlatformCreateInstance create_callback = NULL; in FindPlugin() local
104 create_callback = PluginManager::GetPlatformCreateCallbackForPluginName (plugin_name); in FindPlugin()
105 if (create_callback) in FindPlugin()
112 std::unique_ptr<Platform> instance_ap(create_callback(process, &arch)); in FindPlugin()
119 …for (uint32_t idx = 0; (create_callback = PluginManager::GetPlatformCreateCallbackAtIndex(idx)) !=… in FindPlugin()
121 std::unique_ptr<Platform> instance_ap(create_callback(process, nullptr)); in FindPlugin()
155 PlatformCreateInstance create_callback = NULL; in Create() local
160create_callback = PluginManager::GetPlatformCreateCallbackForPluginName (const_platform_name); in Create()
161 if (create_callback) in Create()
162 platform_sp.reset(create_callback(true, NULL)); in Create()
[all …]
DUnwindAssembly.cpp21 UnwindAssemblyCreateInstance create_callback; in FindPlugin() local
24 (create_callback = PluginManager::GetUnwindAssemblyCreateCallbackAtIndex(idx)) != NULL; in FindPlugin()
27 std::unique_ptr<UnwindAssembly> assembly_profiler_ap (create_callback (arch)); in FindPlugin()
DABI.cpp25 ABICreateInstance create_callback; in FindPlugin() local
28 (create_callback = PluginManager::GetABICreateCallbackAtIndex(idx)) != NULL; in FindPlugin()
31 abi_sp = create_callback(arch); in FindPlugin()
DLanguageRuntime.cpp232 LanguageRuntimeCreateInstance create_callback; in FindPlugin() local
235 (create_callback = PluginManager::GetLanguageRuntimeCreateCallbackAtIndex(idx)) != NULL; in FindPlugin()
238 language_runtime_ap.reset (create_callback(process, language)); in FindPlugin()
DProcess.cpp946 ProcessCreateInstance create_callback = NULL; in FindPlugin() local
950 create_callback = PluginManager::GetProcessCreateCallbackForPluginName (const_plugin_name); in FindPlugin()
951 if (create_callback) in FindPlugin()
953 process_sp = create_callback(target, listener, crash_file_path); in FindPlugin()
967 …for (uint32_t idx = 0; (create_callback = PluginManager::GetProcessCreateCallbackAtIndex(idx)) != … in FindPlugin()
969 process_sp = create_callback(target, listener, crash_file_path); in FindPlugin()
/external/lldb/source/Symbol/
DSymbolFile.cpp48 SymbolFileCreateInstance create_callback; in FindPlugin() local
49 …for (uint32_t idx = 0; (create_callback = PluginManager::GetSymbolFileCreateCallbackAtIndex(idx)) … in FindPlugin()
51 std::unique_ptr<SymbolFile> curr_symfile_ap(create_callback(obj_file)); in FindPlugin()
DSymbolVendor.cpp38 SymbolVendorCreateInstance create_callback; in FindPlugin() local
40 …for (size_t idx = 0; (create_callback = PluginManager::GetSymbolVendorCreateCallbackAtIndex(idx)) … in FindPlugin()
42 instance_ap.reset(create_callback(module_sp, feedback_strm)); in FindPlugin()
DObjectFile.cpp171 ObjectFileCreateMemoryInstance create_callback; in FindPlugin() local
172 …for (idx = 0; (create_callback = PluginManager::GetObjectFileCreateMemoryCallbackAtIndex(idx)) != … in FindPlugin()
174 object_file_sp.reset (create_callback(module_sp, data_sp, process_sp, header_addr)); in FindPlugin()