Home
last modified time | relevance | path

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

123456

/netbsd-src/sys/stand/efiboot/
H A Dmodule.c41 char *module_name; member
91 fn(bm->module_name); in module_foreach()
96 module_add(const char *module_name) in module_add() argument
101 while (*module_name == ' ' || *module_name == '\t') in module_add()
102 ++module_name; in module_add()
106 if (strcmp(bm->module_name, module_name) == 0) in module_add()
112 const int slen = strlen(module_name) + 1; in module_add()
113 bm->module_name = alloc(slen); in module_add()
114 memcpy(bm->module_name, module_name, slen); in module_add()
119 module_remove(const char *module_name) in module_remove() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/utils/
H A Dmodule-deps-to-rsp.py21 def __init__(self, module_name): argument
22 self.module_name = module_name
29 def findModule(module_name, full_deps): argument
31 if m['name'] == module_name:
33 raise ModuleNotFoundError(module_name)
61 if args.module_name:
62 cmd = findModule(args.module_name, full_deps)['command-line']
/netbsd-src/crypto/external/bsd/openssl/dist/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: $!";
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cpp87 const char *module_name = nullptr; in SymbolizePC() local
91 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizePC()
95 res->info.FillModuleInfo(module_name, module_offset, arch); in SymbolizePC()
107 const char *module_name = nullptr; in SymbolizeData() local
110 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData()
114 info->module = internal_strdup(module_name); in SymbolizeData()
128 const char *module_name = nullptr; in SymbolizeFrame() local
130 addr, &module_name, &info->module_offset, &info->module_arch)) in SymbolizeFrame()
132 info->module = internal_strdup(module_name); in SymbolizeFrame()
142 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument
[all …]
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
286 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
290 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
297 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
300 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
H A Dsanitizer_coverage_libcdep_new.cpp47 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
49 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
61 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
83 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
90 __sanitizer_get_module_and_offset_for_pc(pc, module_name, kMaxPathLength, in SanitizerDumpCoverage()
96 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
101 InternalFree(module_name); in SanitizerDumpCoverage()
H A Dsanitizer_symbolizer.h123 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
126 const char *module_name = nullptr; in GetModuleNameForPc() local
128 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
129 return module_name; in GetModuleNameForPc()
178 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
H A Dsanitizer_stacktrace_libcdep.cpp169 static int GetModuleAndOffsetForPc(uptr pc, char *module_name, 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(uptr pc, char *module_name, in __sanitizer_get_module_and_offset_for_pc() argument
222 return __sanitizer::GetModuleAndOffsetForPc(pc, module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cc77 const char *module_name; in SymbolizePC() local
81 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizePC()
85 res->info.FillModuleInfo(module_name, module_offset, arch); in SymbolizePC()
97 const char *module_name; in SymbolizeData() local
100 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData()
104 info->module = internal_strdup(module_name); in SymbolizeData()
116 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument
125 if (module_name) in GetModuleNameAndOffsetForPC()
126 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
149 const char **module_name, in FindModuleNameAndOffsetForAddress() argument
[all …]
H A Dsanitizer_coverage_libcdep_new.cc48 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
50 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
62 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
84 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
91 __sanitizer_get_module_and_offset_for_pc(pc, module_name, kMaxPathLength, 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.cc86 static int GetModuleAndOffsetForPc(uptr pc, char *module_name, in GetModuleAndOffsetForPc() argument
94 if (module_name && module_name_len) { in GetModuleAndOffsetForPc()
95 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc()
96 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc()
153 uptr pc, char *module_name, uptr module_name_len, uptr *pc_offset) { in __sanitizer_get_module_and_offset_for_pc() argument
154 return __sanitizer::GetModuleAndOffsetForPc(pc, module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
H A Dsanitizer_symbolizer.h96 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
99 const char *module_name = nullptr; in GetModuleNameForPc() local
101 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
102 return module_name; in GetModuleNameForPc()
151 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
H A Dsanitizer_symbolizer_posix_libcdep.cc256 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
257 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
259 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
336 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
340 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
347 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
350 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_symbolizer_libcdep.cc75 const char *module_name; in SymbolizePC() local
79 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizePC()
83 res->info.FillModuleInfo(module_name, module_offset, arch); in SymbolizePC()
95 const char *module_name; in SymbolizeData() local
98 if (!FindModuleNameAndOffsetForAddress(addr, &module_name, &module_offset, in SymbolizeData()
102 info->module = internal_strdup(module_name); in SymbolizeData()
114 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC() argument
123 if (module_name) in GetModuleNameAndOffsetForPC()
124 *module_name = module_names_.GetOwnedCopy(internal_module_name); in GetModuleNameAndOffsetForPC()
147 const char **module_name, in FindModuleNameAndOffsetForAddress() argument
[all …]
H A Dsanitizer_coverage_libcdep_new.cc46 static void WriteModuleCoverage(char* file_path, const char* module_name, in WriteModuleCoverage() argument
48 GetCoverageFilename(file_path, StripModuleName(module_name), "sancov"); in WriteModuleCoverage()
60 char* module_name = static_cast<char*>(InternalAlloc(kMaxPathLength)); in SanitizerDumpCoverage() local
82 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
89 __sanitizer_get_module_and_offset_for_pc(pc, module_name, kMaxPathLength, in SanitizerDumpCoverage()
95 WriteModuleCoverage(file_path, module_name, &pcs[module_start_idx], in SanitizerDumpCoverage()
100 InternalFree(module_name); in SanitizerDumpCoverage()
H A Dsanitizer_stacktrace_libcdep.cc84 static int GetModuleAndOffsetForPc(uptr pc, char *module_name, in GetModuleAndOffsetForPc() argument
92 if (module_name && module_name_len) { in GetModuleAndOffsetForPc()
93 internal_strncpy(module_name, found_module_name, module_name_len); in GetModuleAndOffsetForPc()
94 module_name[module_name_len - 1] = '\x00'; in GetModuleAndOffsetForPc()
151 uptr pc, char *module_name, uptr module_name_len, uptr *pc_offset) { in __sanitizer_get_module_and_offset_for_pc() argument
152 return __sanitizer::GetModuleAndOffsetForPc(pc, module_name, module_name_len, in __sanitizer_get_module_and_offset_for_pc()
H A Dsanitizer_symbolizer.h94 bool GetModuleNameAndOffsetForPC(uptr pc, const char **module_name,
97 const char *module_name = nullptr; in GetModuleNameForPc() local
99 if (GetModuleNameAndOffsetForPC(pc, &module_name, &unused)) in GetModuleNameForPc()
100 return module_name; in GetModuleNameForPc()
149 bool FindModuleNameAndOffsetForAddress(uptr address, const char **module_name,
H A Dsanitizer_symbolizer_posix_libcdep.cc254 Addr2LineProcess(const char *path, const char *module_name) in Addr2LineProcess() argument
255 : SymbolizerProcess(path), module_name_(internal_strdup(module_name)) {} in Addr2LineProcess()
257 const char *module_name() const { return module_name_; } in module_name() function in __sanitizer::Addr2LineProcess
334 const char *SendCommand(const char *module_name, uptr module_offset) { in SendCommand() argument
338 internal_strcmp(module_name, addr2line_pool_[i]->module_name())) { in SendCommand()
345 new(*allocator_) Addr2LineProcess(addr2line_path_, module_name); in SendCommand()
348 CHECK_EQ(0, internal_strcmp(module_name, addr2line->module_name())); in SendCommand()
/netbsd-src/crypto/external/bsd/openssl/dist/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()
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dmkdeps.cc84 : module_name (NULL), cmi_name (NULL), is_header_unit (false), quote_lwm (0) in mkdeps()
99 XDELETEVEC (module_name); in ~mkdeps()
110 const char *module_name; member in mkdeps
330 gcc_assert (!d->module_name); in deps_add_module_target()
332 d->module_name = xstrdup (m); in deps_add_module_target()
426 if (d->module_name) in make_write()
431 column = make_write_name (d->module_name, fp, 0, colmax, in make_write()
439 column = make_write_name (d->module_name, fp, column, colmax, in make_write()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/
H A Dasan_globals.cpp89 g.module_name, g.has_dynamic_init, (void *)g.odr_indicator); in ReportGlobal()
281 const char *res = g.module_name; in GlobalFilename()
367 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
401 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
407 CHECK(module_name); in __asan_before_dynamic_init()
411 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
417 if (g->module_name != module_name) in __asan_before_dynamic_init()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/
H A Dasan_globals.cc90 g.module_name, g.has_dynamic_init, (void *)g.odr_indicator); in ReportGlobal()
301 const char *res = g.module_name; in GlobalFilename()
387 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
421 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
427 CHECK(module_name); in __asan_before_dynamic_init()
431 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
437 if (g->module_name != module_name) in __asan_before_dynamic_init()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_globals.cc86 g.module_name, g.has_dynamic_init); in ReportGlobal()
281 const char *res = g.module_name; in GlobalFilename()
367 globals[i].name == nullptr && globals[i].module_name == nullptr && in __asan_register_globals()
401 void __asan_before_dynamic_init(const char *module_name) { in __asan_before_dynamic_init() argument
407 CHECK(module_name); in __asan_before_dynamic_init()
411 Printf("DynInitPoison module: %s\n", module_name); in __asan_before_dynamic_init()
417 if (g->module_name != module_name) in __asan_before_dynamic_init()
/netbsd-src/sys/arch/arm/fdt/
H A Darm_fdt.c202 const char *module_name; in arm_fdt_module_init() local
217 module_name = fdtbus_get_string_index(chosen, in arm_fdt_module_init()
219 if (module_name == NULL) in arm_fdt_module_init()
230 module_name); in arm_fdt_module_init()
241 module_prime(module_name, (void *)(uintptr_t)startva, size); in arm_fdt_module_init()
/netbsd-src/crypto/external/bsd/heimdal/dist/cf/
H A Dw32-def-from-dll.pl36 my $module_name = "";
99 print " = ".$module_name;
186 $module_name = $1.".";

123456