Home
last modified time | relevance | path

Searched refs:module_name (Results 1 – 25 of 82) sorted by relevance

1234

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_libcdep.cc65 const char *module_name; in SymbolizePC() local
68 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset)) in SymbolizePC()
71 res->info.FillModuleInfo(module_name, module_offset); in SymbolizePC()
84 const char *module_name; in SymbolizeData() local
86 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset)) in SymbolizeData()
89 info->module = internal_strdup(module_name); in SymbolizeData()
101 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument
109 if (module_name) in GetModuleNameAndOffsetForPC()
110 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
140 const char **module_name, in FindModuleNameAndOffsetForAddress() argument
[all …]
Dsanitizer_symbolizer_posix_libcdep.cc184 const char *SendCommand(bool is_data, const char *module_name, in SendCommand() argument
186 CHECK(module_name); in SendCommand()
188 is_data ? "DATA " : "", module_name, module_offset); in SendCommand()
199 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
200 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
202 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
245 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
249 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
256 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
259 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
Dsanitizer_symbolizer.h90 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
93 const char *module_name = nullptr; in GetModuleNameForPc() local
95 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
96 return module_name; in GetModuleNameForPc()
140 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
Dsanitizer_procmaps_mac.cc163 InternalScopedString module_name(kMaxPathLength); in DumpListOfModules() local
166 Next(&cur_beg, &cur_end, 0, module_name.data(), in DumpListOfModules()
167 module_name.size(), &prot); in DumpListOfModules()
169 const char *cur_name = module_name.data(); in DumpListOfModules()
Dsanitizer_procmaps_common.cc122 InternalScopedString module_name(kMaxPathLength); in DumpListOfModules() local
125 Next(&cur_beg, &cur_end, &cur_offset, module_name.data(), in DumpListOfModules()
126 module_name.size(), &prot); in DumpListOfModules()
128 const char *cur_name = module_name.data(); in DumpListOfModules()
Dsanitizer_linux_libcdep.cc427 InternalScopedString module_name(kMaxPathLength); in dl_iterate_phdr_cb() local
431 ReadBinaryName(module_name.data(), module_name.size()); in dl_iterate_phdr_cb()
433 module_name.append("%s", info->dlpi_name); in dl_iterate_phdr_cb()
435 if (module_name[0] == '\0') in dl_iterate_phdr_cb()
437 if (data->filter && !data->filter(module_name.data())) in dl_iterate_phdr_cb()
440 cur_module->set(module_name.data(), info->dlpi_addr); in dl_iterate_phdr_cb()
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/tvcm/
Dmodule.py31 module_name = None
35 module_name = s.name
37 module_name = s.name + '.css'
38 if not module_name:
42 module_name = module.name
46 module_name = module.name
48 if module_name:
50 if context[-1] != module_name:
51 context.append(module_name)
53 context.append(module_name)
[all …]
Dhtml_module.py145 loader, module_name, module_dir_name, href, tag_for_err_msg): argument
157 'it is not in the search path' % (module_name, tag_for_err_msg))
162 module_name, tag_for_err_msg))
166 def Parse(loader, module_name, module_dir_name, is_component, parser_results): argument
172 raise Exception('%s must have <!DOCTYPE html>' % module_name)
176 resource = _HRefToResource(loader, module_name, module_dir_name,
187 'file with an html suffix' % (module_name, href))
190 loader, module_name, module_dir_name, href,
201 'a \'use strict\' directive.' % module_name)
206 loader, module_name, module_dir_name, href,
Dresource_loader.py110 def LoadModule(self, module_name=None, module_filename=None): argument
111 assert bool(module_name) ^ bool(module_filename), (
118 module_name = resource.name
122 if module_name in self.loaded_modules:
123 assert self.loaded_modules[module_name].contents
124 return self.loaded_modules[module_name]
127 resource = self.FindModuleResource(module_name)
129 raise module.DepsException('No resource for module "%s"' % module_name)
131 m = html_module.HTMLModule(self, module_name, resource)
132 self.loaded_modules[module_name] = m
Djs_utils.py10 def ValidateUsesStrictMode(module_name, stripped_text): argument
28 raise module.DepsException('%s must use strict mode' % module_name)
Dmodule_unittest.py69 my_module = loader.LoadModule(module_name='src.my_module')
88 loader.LoadModule(module_name='src.my_module')
118 my_module = loader.LoadModule(module_name='z.foo')
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
Dimport_string.py27 module_name, expr = s.split(':', 1)
28 module = import_module(module_name)
73 def try_import_module(module_name): argument
81 return import_module(module_name)
91 parts = module_name.split('.')
/external/pdfium/core/src/fpdfapi/
Dfpdf_basic_module.cpp53 void CPDF_ModuleMgr::SetDownloadCallback(FX_BOOL (*callback)(FX_LPCSTR module_name)) in SetDownloadCallback() argument
57 FX_BOOL CPDF_ModuleMgr::DownloadModule(FX_LPCSTR module_name) in DownloadModule() argument
62 return m_pDownloadCallback(module_name); in DownloadModule()
64 void CPDF_ModuleMgr::NotifyModuleAvailable(FX_LPCSTR module_name) in NotifyModuleAvailable() argument
66 if (FXSYS_strcmp(module_name, ADDIN_NAME_CJK) == 0) { in NotifyModuleAvailable()
68 } else if (FXSYS_strcmp(module_name, ADDIN_NAME_DECODER) == 0) { in NotifyModuleAvailable()
/external/lldb/test/
Dlldbutil.py301 … line_number, extra_options = None, num_expected_locations = 1, loc_exact=False, module_name=None): argument
315 if module_name:
316 command += " --shlib '%s'" % (module_name)
324 …=num_expected_locations, file_name = file_name, line_number = line_number, module_name=module_name)
330 …t, symbol, extra_options = None, num_expected_locations = -1, sym_exact = False, module_name=None): argument
336 if module_name:
337 command += " --shlib '%s'" % (module_name)
345 …eak_results, num_locations = num_expected_locations, symbol_name = symbol, module_name=module_name)
351 …_by_selector (test, selector, extra_options = None, num_expected_locations = -1, module_name=None): argument
356 if module_name:
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Durlparser.py359 module_name = os.path.splitext(os.path.basename(filename))[0]
361 module_name = base_python_name + '.' + module_name
362 return load_module_from_name(environ, filename, module_name,
365 def load_module_from_name(environ, filename, module_name, errors): argument
366 if module_name in sys.modules:
367 return sys.modules[module_name]
380 if module_name in sys.modules:
381 return sys.modules[module_name]
382 if '.' in module_name:
383 parent_name = '.'.join(module_name.split('.')[:-1])
[all …]
/external/pdfium/third_party/freetype/include/
Dftmodapi.h217 const FT_String* module_name; member
278 const char* module_name );
368 const FT_String* module_name,
432 const FT_String* module_name,
/external/freetype/include/
Dftmodapi.h217 const FT_String* module_name; member
278 const char* module_name );
368 const FT_String* module_name,
432 const FT_String* module_name,
/external/selinux/libsemanage/src/
Dmodules.c57 size_t data_len, char **module_name, char **version) in parse_module_headers() argument
71 sepol_module_package_info(pf, &file_type, module_name, version) == -1) { in parse_module_headers()
127 const char *module_name) { in semanage_module_install_file() argument
142 return sh->funcs->install_file(sh, module_name); in semanage_module_install_file()
159 const char *module_name) in semanage_module_upgrade_file() argument
161 return semanage_module_install_file(sh, module_name); in semanage_module_upgrade_file()
177 const char *module_name) in semanage_module_install_base_file() argument
179 return semanage_module_install_file(sh, module_name); in semanage_module_install_base_file()
182 int semanage_module_remove(semanage_handle_t * sh, char *module_name) in semanage_module_remove() argument
196 return sh->funcs->remove(sh, module_name); in semanage_module_remove()
[all …]
/external/lldb/test/functionalities/dead-strip/
DTestDeadStrip.py36 lldbutil.run_break_set_by_symbol (self, "f1", num_expected_locations=1, module_name="a.out")
39 lldbutil.run_break_set_by_symbol (self, "f2", num_expected_locations=0, module_name="a.out")
42 lldbutil.run_break_set_by_symbol (self, "f3", num_expected_locations=1, module_name="a.out")
/external/elfutils/src/libdwfl/
Dlinux-proc-maps.c343 const char *module_name, Dwarf_Addr base, in dwfl_linux_proc_find_elf() argument
347 if (module_name[0] == '/') in dwfl_linux_proc_find_elf()
355 if (stat (module_name, &sb) == -1 || (sb.st_mode & S_IFMT) != S_IFREG) in dwfl_linux_proc_find_elf()
357 if (strcmp (strrchr (module_name, ' ') ?: "", " (deleted)") == 0) in dwfl_linux_proc_find_elf()
365 int fd = open64 (module_name, O_RDONLY); in dwfl_linux_proc_find_elf()
368 *file_name = strdup (module_name); in dwfl_linux_proc_find_elf()
379 if (pid != -1 || sscanf (module_name, "[vdso: %d]", &pid) == 1) in dwfl_linux_proc_find_elf()
Doffline.c194 char *module_name = NULL; in process_archive_member() local
197 else if (unlikely (asprintf (&module_name, "%s:%s", name, h->ar_name) < 0)) in process_archive_member()
203 name = module_name; in process_archive_member()
212 free (module_name); in process_archive_member()
227 free (module_name); in process_archive_member()
/external/pdfium/core/include/fpdfapi/
Dfpdf_module.h69 void SetDownloadCallback(FX_BOOL (*callback)(FX_LPCSTR module_name));
71 FX_BOOL DownloadModule(FX_LPCSTR module_name);
73 void NotifyModuleAvailable(FX_LPCSTR module_name);
132 FX_BOOL (*m_pDownloadCallback)(FX_LPCSTR module_name);
/external/lldb/examples/python/
Dlldb_module_utils.py28 for module_name in command_args:
29 result.PutCString('Searching for module "%s"' % (module_name,))
30 module_fspec = lldb.SBFileSpec (module_name, False)
/external/compiler-rt/lib/asan/
Dasan_globals.cc86 g.module_name, g.has_dynamic_init); in ReportGlobal()
254 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
260 CHECK(module_name); in __asan_before_dynamic_init()
264 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
270 if (g->module_name != module_name) in __asan_before_dynamic_init()
/external/chromium-trace/
Dsystrace.py152 (module_name, ext) = os.path.splitext(filename)
153 if ext != '.py' or module_name == '__init__':
155 (f, pathname, data) = imp.find_module(module_name, [agent_dir])
157 module = imp.load_module(module_name, f, pathname, data)

1234