Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/util/
H A Dmk-fipsmodule-cnf.pl15 my $module_name;
19 "module=s" => \$module_name,
26 my $module_size = [ stat($module_name) ]->[7];
28 open my $fh, "<:raw", $module_name or die "Trying to open $module_name: $!";
29 read $fh, my $data, $module_size or die "Trying to read $module_name: $!";
/freebsd/tests/atf_python/
H A Dktest.py48 module_name = obj.KTEST_MODULE_NAME
49 loader = KtestLoader(module_name, autoload)
67 def __init__(self, module_name: str, autoload: bool):
68 self.module_name = module_name
79 libc.kldload(self.module_name)
88 msg.add_nla(NlAttrStr(KtestAttrType.KTEST_ATTR_MOD_NAME, self.module_name))
106 libc.kldload(self.module_name)
154 module_name = self.KTEST_MODULE_NAME
161 msg.add_nla(NlAttrStr(KtestAttrType.KTEST_ATTR_MOD_NAME, module_name))
/freebsd/crypto/openssl/test/testutil/
H A Dprovider.c18 OSSL_PROVIDER **provider, const char *module_name) in test_get_libctx() argument
41 if (provider != NULL && module_name != NULL in test_get_libctx()
42 && (*provider = OSSL_PROVIDER_load(new_libctx, module_name)) == NULL) { in test_get_libctx()
43 opt_printf_stderr("Failed to load provider %s\n", module_name); in test_get_libctx()
56 const char *module_name; in test_arg_libctx() local
58 if (!TEST_ptr(module_name = test_get_argument(argn))) { in test_arg_libctx()
62 if (strcmp(module_name, "none") == 0) in test_arg_libctx()
65 test_get_argument(argn + 1), provider, module_name); in test_arg_libctx()
/freebsd/contrib/llvm-project/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()
148 if (module_name) in GetModuleNameAndOffsetForPC()
149 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
181 *module_name = module->full_name(); in FindModuleNameAndOffsetForAddress()
453 const char *module_name, in FormatAndSendCommand() argument
[all …]
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.cpp170 int GetModuleAndOffsetForPc(uptr pc, char *module_name, uptr module_name_len, in GetModuleAndOffsetForPc() argument
178 if (module_name && module_name_len) { in GetModuleAndOffsetForPc()
179 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc()
180 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc()
221 int __sanitizer_get_module_and_offset_for_pc(void *pc, char *module_name, in __sanitizer_get_module_and_offset_for_pc() argument
225 reinterpret_cast<uptr>(pc), module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
H A Dsanitizer_symbolizer.h147 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
150 const char *module_name = nullptr; in GetModuleNameForPc() local
152 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
153 return module_name; in GetModuleNameForPc()
204 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
H A Dsanitizer_symbolizer_posix_libcdep.cpp206 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
207 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
209 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
291 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
295 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
302 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
305 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_common.cpp158 void LoadedModule::set(const char *module_name, uptr base_address) { in set() argument
160 full_name_ = internal_strdup(module_name); in set()
164 void LoadedModule::set(const char *module_name, uptr base_address, in set() argument
167 set(module_name, base_address); in set()
H A Dsanitizer_linux_libcdep.cpp637 static int AddModuleSegments(const char *module_name, dl_phdr_info *info, in AddModuleSegments() argument
639 if (module_name[0] == '\0') in AddModuleSegments()
642 cur_module.set(module_name, info->dlpi_addr); in AddModuleSegments()
688 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb() local
691 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb()
692 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
H A Dsanitizer_procmaps_mac.cpp431 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local
432 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
/freebsd/contrib/llvm-project/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()
H A DTraceDumper.cpp136 const char *module_name = GetModuleName(item); in TraceItem() local
137 if (!module_name) in TraceItem()
140 m_s.Format("{0}`(none)", module_name); in TraceItem()
241 const char *module_name = GetModuleName(sc); in DumpUntracedContext() local
242 if (!module_name) in DumpUntracedContext()
245 m_s << module_name << "`(none)"; in DumpUntracedContext()
247 m_s << module_name << "`" << sc.GetFunctionName().AsCString(); in DumpUntracedContext()
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_globals.cpp90 g.module_name, (symbolized ? info.module : "?"), g.has_dynamic_init, in ReportGlobal()
311 : g.module_name); in PrintGlobalLocation()
317 str->AppendF("%s", g.module_name); in PrintGlobalLocation()
395 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
429 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
435 CHECK(module_name); in __asan_before_dynamic_init()
439 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
445 if (g->module_name != module_name) in __asan_before_dynamic_init()
H A Dasan_suppressions.cpp78 if (const char *module_name = symbolizer->GetModuleNameForPc(addr)) in IsStackTraceSuppressed() local
79 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) in IsStackTraceSuppressed()
/freebsd/contrib/llvm-project/lldb/docs/_lldb/
H A D__init__.py8 module_name = "_lldb" variable
9 sys.modules[module_name] = Mock()
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/bindings/
H A D__init__.py50 for module_name in MODULES:
51 module = importlib.import_module("." + module_name, __name__)
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp71 void SetCurrentModuleProgress(std::string 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()
218 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark() local
219 LLDB_LOG(log, "Finished building Clang module {0}", module_name); in HandleModuleRemark()
228 std::string module_name) { in SetCurrentModuleProgress() argument
233 m_current_progress_up->Increment(1, std::move(module_name)); in SetCurrentModuleProgress()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverAddress.cpp35 llvm::StringRef module_name; in CreateFromStructuredData() local
51 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData()
56 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp2515 std::string module_name(pathname); in LoadScriptingModule() local
2551 module_name = module_file.GetFilename().GetCString(); in LoadScriptingModule()
2559 llvm::StringRef extension = llvm::sys::path::extension(module_name); in LoadScriptingModule()
2562 module_name.resize(module_name.length() - 3); in LoadScriptingModule()
2564 module_name.resize(module_name.length() - 4); in LoadScriptingModule()
2573 if (module_name.find('-') != llvm::StringRef::npos) { in LoadScriptingModule()
2593 .GetItemForKey(PythonString(module_name)) in LoadScriptingModule()
2602 module_name.c_str(), module_name.c_str()); in LoadScriptingModule()
2606 command_stream.Printf("import %s", module_name.c_str()); in LoadScriptingModule()
2615 module_name.c_str(), m_dictionary_name.c_str(), in LoadScriptingModule()
[all …]
/freebsd/stand/lua/
H A Dconfig.lua383 local module_name = v.name or k
384 if not v.force and blacklist[module_name] ~= nil then
386 print(MSG_MODBLACKLIST:format(module_name))
391 loader.printc(module_name .. "...")
397 str = str .. module_name
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBTarget.cpp763 const char *module_name) { in BreakpointCreateByName() argument
764 LLDB_INSTRUMENT_VA(this, symbol_name, module_name); in BreakpointCreateByName()
775 if (module_name && module_name[0]) { in BreakpointCreateByName()
777 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByName()
885 LLDB_INSTRUMENT_VA(this, symbol_name_regex, module_name); in BreakpointCreateByRegex()
889 if (module_name && module_name[0]) { in BreakpointCreateByRegex()
890 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByRegex()
964 const char *module_name) { in BreakpointCreateBySourceRegex() argument
965 LLDB_INSTRUMENT_VA(this, source_regex, source_file, module_name); in BreakpointCreateBySourceRegex()
969 if (module_name && module_name[0]) { in BreakpointCreateBySourceRegex()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp209 ModuleObject->module_name = ModuleIttnotify->getModuleName(); in notifyObjectLoaded()
212 ModuleObject->module_name, in notifyObjectLoaded()
345 KeyToIttnotify[Key]->getModuleObject()->module_name, in notifyFreeingObject()

123