| /freebsd/crypto/openssl/util/ |
| H A D | mk-fipsmodule-cnf.pl | 32 my $module_name; 36 "module=s" => \$module_name, 43 my $module_size = [ stat($module_name) ]->[7]; 45 open my $fh, "<:raw", $module_name or die "Trying to open $module_name: $!"; 46 read $fh, my $data, $module_size or die "Trying to read $module_name: $!";
|
| /freebsd/tests/atf_python/ |
| H A D | ktest.py | 48 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 83 result = libc.kldload(self.module_name) 94 msg.add_nla(NlAttrStr(KtestAttrType.KTEST_ATTR_MOD_NAME, self.module_name)) 112 result = libc.kldload(self.module_name) 162 module_name = self.KTEST_MODULE_NAME 169 msg.add_nla(NlAttrStr(KtestAttrType.KTEST_ATTR_MOD_NAME, module_name))
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_libcdep.cpp | 106 const char *module_name = nullptr; in SymbolizeData() local 109 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData() 113 info->module = internal_strdup(module_name); in SymbolizeData() 127 const char *module_name = nullptr; in SymbolizeFrame() local 129 addr, &module_name, &info->module_offset, &info->module_arch)) in SymbolizeFrame() 131 info->module = internal_strdup(module_name); in SymbolizeFrame() 141 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument 150 if (module_name) in GetModuleNameAndOffsetForPC() 151 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC() 177 const char **module_name, in FindModuleNameAndOffsetForAddress() argument [all …]
|
| H A D | sanitizer_coverage_libcdep_new.cpp | 49 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 86 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 93 GetModuleAndOffsetForPc(pc, module_name, kMaxPathLength, &pcs[i]); in SanitizerDumpCoverage() 98 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage() 103 InternalFree(module_name); in SanitizerDumpCoverage()
|
| H A D | sanitizer_stacktrace_libcdep.cpp | 170 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 D | sanitizer_symbolizer_posix_libcdep.cpp | 210 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument 211 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess() 213 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess 294 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument 298 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand() 305 new (*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand() 308 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
|
| H A D | sanitizer_symbolizer.h | 147 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 D | sanitizer_procmaps_haiku.cpp | 65 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local 66 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
|
| H A D | sanitizer_procmaps_common.cpp | 123 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local 124 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
|
| H A D | sanitizer_common.cpp | 158 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 D | sanitizer_linux_libcdep.cpp | 717 static int AddModuleSegments(const char *module_name, dl_phdr_info *info, in AddModuleSegments() argument 719 if (module_name[0] == '\0') in AddModuleSegments() 722 cur_module.set(module_name, info->dlpi_addr); in AddModuleSegments() 773 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb() local 776 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb() 777 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
|
| /freebsd/crypto/openssl/test/testutil/ |
| H A D | provider.c | 18 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/asan/ |
| H A D | asan_globals.cpp | 153 g.module_name, (symbolized ? info.module : "?"), g.has_dynamic_init, in ReportGlobal() 302 DynInitGlobals()[g->module_name].push_back( in RegisterGlobal() 373 : g.module_name); in PrintGlobalLocation() 379 str->AppendF("%s", g.module_name); in PrintGlobalLocation() 457 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals() 491 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument 495 CHECK(module_name); in __asan_before_dynamic_init() 498 if (current_dynamic_init_module_name == module_name) in __asan_before_dynamic_init() 501 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init() 506 if (kv.first != module_name) { in __asan_before_dynamic_init() [all …]
|
| H A D | asan_suppressions.cpp | 116 if (const char *module_name = symbolizer->GetModuleNameForPc(addr)) in IsStackTraceSuppressed() local 117 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) in IsStackTraceSuppressed()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | StackFrameRecognizer.cpp | 91 std::string module_name; in ForEach() local 95 module_name = entry.module_regexp->GetText().str(); in ForEach() 100 module_name, llvm::ArrayRef(ConstString(symbol_name)), in ForEach() 148 ConstString module_name = module_sp->GetFileSpec().GetFilename(); in GetRecognizerForFrame() local 160 if (entry.module != module_name) in GetRecognizerForFrame() 164 if (!entry.module_regexp->Execute(module_name.GetStringRef())) in GetRecognizerForFrame()
|
| H A D | SectionLoadList.cpp | 154 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 D | TraceDumper.cpp | 136 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/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/bindings/ |
| H A D | __init__.py | 51 for module_name in MODULES: 52 module = importlib.import_module("." + module_name, __name__)
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 64 void SetCurrentModuleProgress(std::string module_name); 189 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark() local 190 SetCurrentModuleProgress(module_name); in HandleModuleRemark() 191 m_module_build_stack.push_back(module_name); in HandleModuleRemark() 194 LLDB_LOG(log, "Building Clang module {0} as {1}", module_name, module_path); in HandleModuleRemark() 210 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark() local 211 LLDB_LOG(log, "Finished building Clang module {0}", module_name); in HandleModuleRemark() 220 std::string module_name) { in SetCurrentModuleProgress() argument 225 m_current_progress_up->Increment(1, std::move(module_name)); in SetCurrentModuleProgress()
|
| /freebsd/contrib/llvm-project/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverAddress.cpp | 35 llvm::StringRef module_name; in CreateFromStructuredData() local 52 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData() 58 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
| H A D | ScriptInterpreterPython.cpp | 2376 std::string module_name(pathname); in LoadScriptingModule() local 2414 module_name = module_file.GetFilename().GetCString(); in LoadScriptingModule() 2423 llvm::StringRef extension = llvm::sys::path::extension(module_name); in LoadScriptingModule() 2426 module_name.resize(module_name.length() - 3); in LoadScriptingModule() 2428 module_name.resize(module_name.length() - 4); in LoadScriptingModule() 2431 if (!possible_package && module_name.find('.') != llvm::StringRef::npos) { in LoadScriptingModule() 2433 "Python does not allow dots in module names: %s", module_name.c_str()); in LoadScriptingModule() 2437 if (module_name.find('-') != llvm::StringRef::npos) { in LoadScriptingModule() 2439 "Python discourages dashes in module names: %s", module_name.c_str()); in LoadScriptingModule() 2446 command_stream.Printf("sys.modules.__contains__('%s')", module_name.c_str()); in LoadScriptingModule() [all …]
|
| /freebsd/stand/lua/ |
| H A D | config.lua | 383 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/libcbor/examples/bazel/ |
| H A D | MODULE.bazel | 11 module_name = "libcbor",
|
| /freebsd/contrib/llvm-project/lldb/source/API/ |
| H A D | SBTarget.cpp | 758 const char *module_name) { in BreakpointCreateByName() argument 759 LLDB_INSTRUMENT_VA(this, symbol_name, module_name); in BreakpointCreateByName() 769 if (module_name && module_name[0]) { in BreakpointCreateByName() 771 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByName() 877 const char *module_name) { in BreakpointCreateByRegex() argument 878 LLDB_INSTRUMENT_VA(this, symbol_name_regex, module_name); in BreakpointCreateByRegex() 882 if (module_name && module_name[0]) { in BreakpointCreateByRegex() 883 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByRegex() 955 const char *module_name) { in BreakpointCreateBySourceRegex() argument 956 LLDB_INSTRUMENT_VA(this, source_regex, source_file, module_name); in BreakpointCreateBySourceRegex() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | IntelJITEventListener.cpp | 209 ModuleObject->module_name = ModuleIttnotify->getModuleName(); in notifyObjectLoaded() 212 ModuleObject->module_name, in notifyObjectLoaded() 345 KeyToIttnotify[Key]->getModuleObject()->module_name, in notifyFreeingObject()
|