Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/clang/utils/
H A Dmodule-deps-to-rsp.py18 def __init__(self, module_name): argument
19 self.module_name = module_name
26 def findModule(module_name, full_deps): argument
28 if m['name'] == module_name:
30 raise ModuleNotFoundError(module_name)
61 if args.module_name:
62 cmd = findModule(args.module_name, full_deps)['command-line']
H A Dmodfuzz.py155 def add_import(model, options, module_name): argument
157 if module_name in model.modules:
158 model.source += '#include "%s.h"\n' % module_name
159 model.decls.update(model.modules[module_name][1])
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A D04-xs-rpath-darwin.t52 module_name => "My::Module",
97 my @module_name = split /::/, $self->{module_name};
98 my $xs_name = pop @module_name;
129 my @dirs = split /::/, $self->{module_name};
169 my $mod_name1 = $self->{module_name};
170 my $mod_name2 = $self->{module_name};
/openbsd-src/gnu/llvm/lldb/utils/lui/
H A Dlldbutil.py328 module_name=None): argument
342 if module_name:
343 command += " --shlib '%s'" % (module_name)
357 module_name=module_name)
373 module_name=None): argument
379 if module_name:
380 command += " --shlib '%s'" % (module_name)
393 module_name=module_name)
408 module_name=None): argument
413 if module_name:
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cpp104 const char *module_name = nullptr; in SymbolizeData() local
107 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData()
111 info->module = internal_strdup(module_name); in SymbolizeData()
125 const char *module_name = nullptr; in SymbolizeFrame() local
127 addr, &module_name, &info->module_offset, &info->module_arch)) in SymbolizeFrame()
129 info->module = internal_strdup(module_name); in SymbolizeFrame()
139 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument
148 if (module_name) in GetModuleNameAndOffsetForPC()
149 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
172 const char **module_name, in FindModuleNameAndOffsetForAddress() argument
[all …]
H A Dsanitizer_symbolizer.h127 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
130 const char *module_name = nullptr; in GetModuleNameForPc() local
132 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
133 return module_name; in GetModuleNameForPc()
182 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
H A Dsanitizer_coverage_libcdep_new.cpp49 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
51 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
63 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
85 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
92 GetModuleAndOffsetForPc(pc, module_name, kMaxPathLength, &pcs[i]); in SanitizerDumpCoverage()
97 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
102 InternalFree(module_name); in SanitizerDumpCoverage()
H A Dsanitizer_stacktrace_libcdep.cpp169 int GetModuleAndOffsetForPc(uptr pc, char *module_name, uptr module_name_len, in GetModuleAndOffsetForPc() argument
177 if (module_name && module_name_len) { in GetModuleAndOffsetForPc()
178 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc()
179 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc()
219 int __sanitizer_get_module_and_offset_for_pc(void *pc, char *module_name, in __sanitizer_get_module_and_offset_for_pc() argument
223 reinterpret_cast<uptr>(pc), module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
H A Dsanitizer_symbolizer_posix_libcdep.cpp205 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
206 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
208 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
290 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
294 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
301 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
304 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
H A Dsanitizer_procmaps_common.cpp123 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local
124 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
H A Dsanitizer_linux_libcdep.cpp642 static int AddModuleSegments(const char *module_name, dl_phdr_info *info, in AddModuleSegments() argument
644 if (module_name[0] == '\0') in AddModuleSegments()
647 cur_module.set(module_name, info->dlpi_addr); in AddModuleSegments()
694 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb() local
697 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb()
698 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
702 InternalScopedString module_name; in dl_iterate_phdr_cb() local
703 module_name.append("%s", info->dlpi_name); in dl_iterate_phdr_cb()
704 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
/openbsd-src/gnu/llvm/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp36 llvm::StringRef module_name; in CreateFromStructuredData() local
52 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData()
57 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData()
69 ConstString module_name; in SerializeToStructuredData() local
71 module_name.SetCString(module_name.GetCString()); in SerializeToStructuredData()
74 module_name.GetCString()); in SerializeToStructuredData()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DStackFrameRecognizer.cpp71 std::string module_name; in ForEach() local
75 module_name = entry.module_regexp->GetText().str(); in ForEach()
79 callback(entry.recognizer_id, entry.recognizer->GetName(), module_name, in ForEach()
115 ConstString module_name = module_sp->GetFileSpec().GetFilename(); in GetRecognizerForFrame() local
124 if (entry.module != module_name) in GetRecognizerForFrame()
128 if (!entry.module_regexp->Execute(module_name.GetStringRef())) in GetRecognizerForFrame()
H A DSectionLoadList.cpp154 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
158 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
161 static_cast<void *>(section_sp.get()), module_name.c_str(), in SetSectionUnloaded()
189 std::string module_name("<Unknown>"); in SetSectionUnloaded() local
192 module_name = module_file_spec.GetPath(); in SetSectionUnloaded()
199 module_name.c_str(), section_sp->GetName().AsCString(), load_addr); in SetSectionUnloaded()
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_globals.cpp88 g.module_name, g.has_dynamic_init, (void *)g.odr_indicator); in ReportGlobal()
306 str->append("%s", g.module_name); in PrintGlobalLocation()
382 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
416 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
422 CHECK(module_name); in __asan_before_dynamic_init()
426 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
432 if (g->module_name != module_name) in __asan_before_dynamic_init()
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/
H A Dlldbutil.py320 module_name=None): argument
335 if module_name:
336 command += " --shlib '%s'" % (module_name)
350 module_name=module_name)
366 module_name=None): argument
372 if module_name:
373 command += " --shlib '%s'" % (module_name)
386 module_name=module_name)
401 module_name=None): argument
406 if module_name:
[all …]
/openbsd-src/gnu/llvm/lldb/docs/_lldb/
H A D__init__.py8 module_name = '_lldb' variable
9 sys.modules[module_name] = Mock()
/openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/
H A DBase.pm223 @lib_files = $self->link(objects => $obj_file, module_name => 'compilet');
244 if (defined $args{module_name} and length $args{module_name}) {
248 my $lib = DynaLoader::mod2fname([split /::/, $args{module_name}]);
322 $self->prelink(%args, dl_name => $args{module_name})
328 %args, dl_name => $args{module_name}, prelink_res => \@temp_files
/openbsd-src/gnu/llvm/lldb/examples/python/
H A Dsources.py20 for module_name in module_names:
21 dump_module_sources(target.module[module_name], result)
/openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/t/
H A D03-cplusplus.t46 $lib_file = $b->lib_file($object_file, module_name => 'cplust');
50 module_name => 'cplust');
H A D01-basic.t47 $lib_file = $b->lib_file($object_file, module_name => 'basict');
51 module_name => 'basict');
/openbsd-src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/
H A Dtest_loader.py558 module_name = 'unittest2.test.dummy'
559 sys.modules.pop(module_name, None)
563 suite = loader.loadTestsFromName(module_name)
569 self.assertIn(module_name, sys.modules)
571 if module_name in sys.modules:
572 del sys.modules[module_name]
964 module_name = 'unittest2.test.dummy'
965 sys.modules.pop(module_name, None)
969 suite = loader.loadTestsFromNames([module_name])
975 self.assertIn(module_name, sys.modules)
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp71 void SetCurrentModuleProgress(llvm::StringRef module_name);
197 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark() local
198 SetCurrentModuleProgress(module_name); in HandleModuleRemark()
199 m_module_build_stack.push_back(module_name); in HandleModuleRemark()
202 LLDB_LOG(log, "Building Clang module {0} as {1}", module_name, module_path); in HandleModuleRemark()
217 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark() local
218 LLDB_LOG(log, "Finished building Clang module {0}", module_name); in HandleModuleRemark()
227 llvm::StringRef module_name) { in SetCurrentModuleProgress() argument
233 llvm::formatv("Currently building module {0}", module_name)); in SetCurrentModuleProgress()
/openbsd-src/gnu/usr.bin/perl/dist/ExtUtils-CBuilder/lib/ExtUtils/CBuilder/Platform/
H A Dos2.pm30 and (defined $args{module_name} and length $args{module_name})) {
/openbsd-src/gnu/usr.bin/perl/dist/Locale-Maketext/lib/Locale/
H A DMaketext.pm407 foreach my $module_name ( map { $base_class . '::' . $_ } @languages ) {
408 next unless length $module_name; # sanity
409 next if $seen{$module_name}++ # Already been here, and it was no-go
410 || !&_try_use($module_name); # Try to use() it, but can't it.
411 return($module_name->new); # Make it!

1234