/freebsd/crypto/openssl/util/ |
H A D | mk-fipsmodule-cnf.pl | 15 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 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 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/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_libcdep.cpp | 104 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() 175 const char **module_name, in FindModuleNameAndOffsetForAddress() 172 FindModuleNameAndOffsetForAddress(uptr address,const char ** module_name,uptr * module_offset,ModuleArch * module_arch) FindModuleNameAndOffsetForAddress() argument 443 FormatAndSendCommand(const char * command_prefix,const char * module_name,uptr module_offset,ModuleArch arch) FormatAndSendCommand() argument [all...] |
H A D | sanitizer_symbolizer.h | 147 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, 150 const char *module_name = nullptr; 152 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) 153 return module_name; 204 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name, 130 const char *module_name = nullptr; GetModuleNameForPc() local
|
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 | 206 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() 207 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} 209 const char *module_name() const { return module_name_; } 291 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() 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() 205 Addr2LineProcess(const char * path,const char * module_name) Addr2LineProcess() argument 208 const char *module_name() const { return module_name_; } module_name() function in __sanitizer::Addr2LineProcess 290 SendCommand(const char * module_name,uptr module_offset) SendCommand() argument
|
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 | 662 static int AddModuleSegments(const char *module_name, dl_phdr_info *info, in AddModuleSegments() argument 664 if (module_name[0] == '\0') in AddModuleSegments() 667 cur_module.set(module_name, info->dlpi_addr); in AddModuleSegments() 713 InternalMmapVector<char> module_name(kMaxPathLength); in dl_iterate_phdr_cb() local 716 ReadBinaryNameCached(module_name.data(), module_name.size()); in dl_iterate_phdr_cb() 717 return AddModuleSegments(module_name.data(), info, data->modules); in dl_iterate_phdr_cb()
|
H A D | sanitizer_procmaps_mac.cpp | 431 InternalMmapVector<char> module_name(kMaxPathLength); in DumpListOfModules() local 432 MemoryMappedSegment segment(module_name.data(), module_name.size()); in DumpListOfModules()
|
/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/lldb/source/Breakpoint/ |
H A D | BreakpointResolverAddress.cpp | 35 llvm::StringRef module_name; in CreateFromStructuredData() 51 GetKey(OptionNames::ModuleName), module_name); in CreateFromStructuredData() 56 module_filespec.SetFile(module_name, FileSpec::Style::native); in CreateFromStructuredData() 36 llvm::StringRef module_name; CreateFromStructuredData() local 69 ConstString module_name; SerializeToStructuredData() local
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | StackFrameRecognizer.cpp | 71 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 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/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_globals.cpp | 90 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 D | asan_suppressions.cpp | 77 if (const char *module_name = symbolizer->GetModuleNameForPc(addr)) in IsStackTraceSuppressed() local 78 if (suppression_ctx->Match(module_name, kInterceptorViaLibrary, &s)) in IsStackTraceSuppressed()
|
/freebsd/contrib/llvm-project/lldb/docs/_lldb/ |
H A D | __init__.py | 8 module_name = "_lldb" variable 9 sys.modules[module_name] = Mock()
|
/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 | 63 void SetCurrentModuleProgress(std::string module_name); 186 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark() local 187 SetCurrentModuleProgress(module_name); in HandleModuleRemark() 188 m_module_build_stack.push_back(module_name); in HandleModuleRemark() 191 LLDB_LOG(log, "Building Clang module {0} as {1}", module_name, module_path); in HandleModuleRemark() 207 const auto &module_name = info.getArgStdStr(0); in HandleModuleRemark() local 208 LLDB_LOG(log, "Finished building Clang module {0}", module_name); in HandleModuleRemark() 217 std::string module_name) { in SetCurrentModuleProgress() argument 222 m_current_progress_up->Increment(1, std::move(module_name)); in SetCurrentModuleProgress()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/ |
H A D | ScriptInterpreterPython.cpp | 2406 std::string module_name(pathname); in LoadScriptingModule() local 2442 module_name = module_file.GetFilename().GetCString(); in LoadScriptingModule() 2450 llvm::StringRef extension = llvm::sys::path::extension(module_name); in LoadScriptingModule() 2453 module_name.resize(module_name.length() - 3); in LoadScriptingModule() 2455 module_name.resize(module_name.length() - 4); in LoadScriptingModule() 2458 if (!possible_package && module_name.find('.') != llvm::StringRef::npos) { in LoadScriptingModule() 2460 "Python does not allow dots in module names: %s", module_name.c_str()); in LoadScriptingModule() 2464 if (module_name.find('-') != llvm::StringRef::npos) { in LoadScriptingModule() 2466 "Python discourages dashes in module names: %s", module_name.c_str()); in LoadScriptingModule() 2473 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/llvm-project/lldb/source/API/ |
H A D | SBTarget.cpp | 770 const char *module_name) { in BreakpointCreateByName() argument 771 LLDB_INSTRUMENT_VA(this, symbol_name, module_name); in BreakpointCreateByName() 782 if (module_name && module_name[0]) { in BreakpointCreateByName() 784 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByName() 891 const char *module_name) { in BreakpointCreateByRegex() argument 892 LLDB_INSTRUMENT_VA(this, symbol_name_regex, module_name); in BreakpointCreateByRegex() 896 if (module_name && module_name[0]) { in BreakpointCreateByRegex() 897 module_spec_list.Append(FileSpec(module_name)); in BreakpointCreateByRegex() 971 const char *module_name) { in BreakpointCreateBySourceRegex() argument 972 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()
|