Home
last modified time | relevance | path

Searched refs:num_matches (Results 1 – 25 of 50) sorted by relevance

12

/NextBSD/contrib/gdb/gdb/
HDinterps.c423 int num_matches; in interpreter_completer() local
433 num_matches = 0; in interpreter_completer()
439 matches[num_matches] = in interpreter_completer()
442 strcpy (matches[num_matches], interp->name); in interpreter_completer()
446 strcpy (matches[num_matches], interp->name + (word - text)); in interpreter_completer()
451 strncpy (matches[num_matches], word, text - word); in interpreter_completer()
452 matches[num_matches][text - word] = '\0'; in interpreter_completer()
453 strcat (matches[num_matches], interp->name); in interpreter_completer()
455 ++num_matches; in interpreter_completer()
459 if (num_matches == 0) in interpreter_completer()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Commands/
HDCommandObjectSource.cpp455 size_t num_matches = 0; in FindMatchingFunctions() local
472num_matches += matching_modules.FindFunctions (name, eFunctionNameTypeAuto, include_symbols, inclu… in FindMatchingFunctions()
478num_matches = target->GetImages().FindFunctions (name, eFunctionNameTypeAuto, include_symbols, inc… in FindMatchingFunctions()
480 return num_matches; in FindMatchingFunctions()
485 size_t num_matches = 0; in FindMatchingFunctionSymbols() local
498num_matches += matching_modules.FindFunctionSymbols (name, eFunctionNameTypeAuto, sc_list); in FindMatchingFunctionSymbols()
504num_matches = target->GetImages().FindFunctionSymbols (name, eFunctionNameTypeAuto, sc_list); in FindMatchingFunctionSymbols()
506 return num_matches; in FindMatchingFunctionSymbols()
529 size_t num_matches = FindMatchingFunctions (target, name, sc_list); in DoExecute() local
530 if (!num_matches) in DoExecute()
[all …]
HDCommandObjectTarget.cpp1493 uint32_t num_matches = 0; in DumpCompileUnitLineTable() local
1497 num_matches = module->ResolveSymbolContextsForFileSpec (file_spec, in DumpCompileUnitLineTable()
1503 for (uint32_t i=0; i<num_matches; ++i) in DumpCompileUnitLineTable()
1523 return num_matches; in DumpCompileUnitLineTable()
1722 uint32_t num_matches = 0; in LookupSymbolInModule() local
1726 num_matches = symtab->AppendSymbolIndexesMatchingRegExAndType (name_regexp, in LookupSymbolInModule()
1732 num_matches = symtab->AppendSymbolIndexesWithName (symbol_name, match_indexes); in LookupSymbolInModule()
1735 if (num_matches > 0) in LookupSymbolInModule()
1738 strm.Printf("%u symbols match %s'%s' in ", num_matches, in LookupSymbolInModule()
1743 for (i=0; i < num_matches; ++i) in LookupSymbolInModule()
[all …]
HDCommandCompletions.cpp443 …const size_t num_matches = g_property_names.AutoComplete (partial_setting_name, matches, exact_mat… in SettingsNames() local
445 return num_matches; in SettingsNames()
458 const uint32_t num_matches = PluginManager::AutoCompletePlatformName(partial_name, matches); in PlatformPluginNames() local
459 word_complete = num_matches == 1; in PlatformPluginNames()
460 return num_matches; in PlatformPluginNames()
472 const uint32_t num_matches = ArchSpec::AutoComplete (partial_name, matches); in ArchitectureNames() local
473 word_complete = num_matches == 1; in ArchitectureNames()
474 return num_matches; in ArchitectureNames()
HDCommandObjectHelp.cpp127 size_t num_matches = matches.GetSize(); in DoExecute() local
128 for (size_t match_idx = 0; match_idx < num_matches; match_idx++) in DoExecute()
HDCommandObjectFrame.cpp431 size_t num_matches = 0; in DoExecute() local
434num_matches); in DoExecute()
462 else if (num_matches == 0) in DoExecute()
/NextBSD/sys/dev/pci/
HDpci_user.c67 static int pci_conf_match(struct pci_match_conf *matches, int num_matches,
108 pci_conf_match(struct pci_match_conf *matches, int num_matches, in pci_conf_match() argument
113 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match()
116 for (i = 0; i < num_matches; i++) { in pci_conf_match()
262 uint32_t num_matches; /* number of matches returned */ member
278 int num_matches, struct pci_conf *match_buf);
281 pci_conf_match_old(struct pci_match_conf_old *matches, int num_matches, in pci_conf_match_old() argument
286 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_old()
289 for (i = 0; i < num_matches; i++) { in pci_conf_match_old()
345 pci_conf_match_old32(struct pci_match_conf_old32 *matches, int num_matches, in pci_conf_match_old32() argument
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
HDItaniumABILanguageRuntime.cpp124 uint32_t num_matches = 0; in GetDynamicTypeAndAddress() local
129 num_matches = sc.module_sp->FindTypes (sc, in GetDynamicTypeAndAddress()
139 if (num_matches == 0) in GetDynamicTypeAndAddress()
141 num_matches = target->GetImages().FindTypes (sc, in GetDynamicTypeAndAddress()
149 if (num_matches == 0) in GetDynamicTypeAndAddress()
155 if (num_matches == 1) in GetDynamicTypeAndAddress()
167 else if (num_matches > 1) in GetDynamicTypeAndAddress()
172 for (i = 0; i < num_matches; i++) in GetDynamicTypeAndAddress()
187 for (i = 0; i < num_matches; i++) in GetDynamicTypeAndAddress()
206 if (i == num_matches) in GetDynamicTypeAndAddress()
/NextBSD/usr.bin/systat/
HDdevs.c92 int num_matches = 0; variable
160 (last_type ==DS_MATCHTYPE_PATTERN) ? num_matches : 0, in dscmd()
216 if (num_matches > 0) { in dsmatchselect()
219 num_matches = 0; in dsmatchselect()
223 if (devstat_buildmatch(tstr[i], &matches, &num_matches) != 0) { in dsmatchselect()
234 s1->dinfo->devices, num_devices, matches, num_matches, in dsmatchselect()
/NextBSD/usr.sbin/mptutil/
HDmpt_cam.c77 ccb.cdm.num_matches = 0; in fetch_path_id()
111 if (ccb.cdm.num_matches != 1 || in fetch_path_id()
151 ccb.cdm.num_matches = 0; in mpt_query_disk()
189 if (ccb.cdm.num_matches == 0) { in mpt_query_disk()
193 if (ccb.cdm.num_matches != 1) { in mpt_query_disk()
195 ccb.cdm.num_matches); in mpt_query_disk()
419 ccb.cdm.num_matches = 0; in mpt_fetch_disks()
464 if (ccb.cdm.num_matches == 0) { in mpt_fetch_disks()
472 for (i = 0; i < ccb.cdm.num_matches; i++) { in mpt_fetch_disks()
488 disks = calloc(ccb.cdm.num_matches, sizeof(*disks)); in mpt_fetch_disks()
[all …]
/NextBSD/contrib/compiler-rt/lib/lsan/
HDlsan_common_linux.cc40 uptr num_matches = GetListOfModules( in InitializePlatformSpecificModules() local
42 if (num_matches == 1) { in InitializePlatformSpecificModules()
46 if (num_matches == 0) in InitializePlatformSpecificModules()
49 else if (num_matches > 1) in InitializePlatformSpecificModules()
/NextBSD/lib/libdevstat/
HDdevstat.c553 int numdevs, struct devstat_match *matches, int num_matches, in devstat_selectdevs() argument
730 for (i = 0; (i < num_matches) && (*num_selected < maxshowdevs); i++) { in devstat_selectdevs()
1029 int *num_matches) in devstat_buildmatch() argument
1061 if (*num_matches == 0) in devstat_buildmatch()
1065 sizeof(struct devstat_match) * (*num_matches + 1)); in devstat_buildmatch()
1074 bzero(&matches[0][*num_matches], sizeof(struct devstat_match)); in devstat_buildmatch()
1121 if (((*matches)[*num_matches].match_fields & in devstat_buildmatch()
1135 (*matches)[*num_matches].match_fields |= in devstat_buildmatch()
1137 (*matches)[*num_matches].device_type |= in devstat_buildmatch()
1139 (*matches)[*num_matches].num_match_categories++; in devstat_buildmatch()
[all …]
HDdevstat.h163 int num_matches, char **dev_selections,
167 int *num_matches);
/NextBSD/contrib/llvm/tools/lldb/source/Core/
HDSourceManager.cpp290 size_t num_matches = executable_ptr->FindFunctions (main_name, in GetDefaultFileAndLine() local
297 for (size_t idx = 0; idx < num_matches; idx++) in GetDefaultFileAndLine()
353 …size_t num_matches = target->GetImages().ResolveSymbolContextForFilePath (file_spec.GetFilename().… in File() local
359 if (num_matches != 0) in File()
361 if (num_matches > 1) in File()
366 for (unsigned i = 0; i < num_matches; i++) in File()
HDModule.cpp868 const size_t num_matches = symbol_indexes.size(); in FindFunctions() local
869 if (num_matches) in FindFunctions()
877 for (size_t i=0; i<num_matches; ++i) in FindFunctions()
901 for (size_t i=start_size; i<num_matches; ++i) in FindFunctions()
978 const size_t num_matches = FindTypes (sc, name, exact_match, 1, type_list); in FindFirstType() local
979 if (num_matches) in FindFirstType()
992 size_t num_matches = 0; in FindTypes() local
1014 num_matches = types.GetSize(); in FindTypes()
1026 num_matches = types.GetSize(); in FindTypes()
1030 num_matches = FindTypes_Impl(sc, name, NULL, append, max_matches, types); in FindTypes()
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Breakpoint/
HDBreakpointResolverFileRegex.cpp64 uint32_t num_matches = line_matches.size(); in SearchCallback() local
65 for (uint32_t i = 0; i < num_matches; i++) in SearchCallback()
/NextBSD/usr.sbin/iostat/
HDiostat.c181 int num_matches = 0; in main() local
238 &num_matches) != 0) in main()
364 if ((num_devices_specified == 0) && (num_matches == 0)) in main()
377 num_matches, specified_devices, in main()
535 num_matches, in main()
572 num_matches, in main()
/NextBSD/contrib/llvm/tools/lldb/source/API/
HDSBModule.cpp395 …const size_t num_matches = symtab->FindAllSymbolsWithNameAndType(ConstString(name), symbol_type, m… in FindSymbols() local
396 if (num_matches) in FindSymbols()
401 for (size_t i=0; i<num_matches; ++i) in FindSymbols()
550 const uint32_t num_matches = module_sp->FindTypes (sc, in FindTypes() local
556 if (num_matches > 0) in FindTypes()
558 for (size_t idx = 0; idx < num_matches; idx++) in FindTypes()
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Core/
HDRegularExpression.h83 const size_t num_matches = m_matches.size(); in Clear() local
85 for (size_t i=0; i<num_matches; ++i) in Clear()
/NextBSD/usr.bin/iscsictl/
HDperiphs.c97 ccb.cdm.num_matches = 0; in print_periphs()
131 for (i = 0; i < ccb.cdm.num_matches; i++) { in print_periphs()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/
HDSymbolFileDWARF.cpp2624 const size_t num_matches = method_die_offsets.size(); in ResolveClangOpaqueTypeDefinition() local
2625 for (size_t i=0; i<num_matches; ++i) in ResolveClangOpaqueTypeDefinition()
3489 const uint32_t num_matches = variables.GetSize() - original_size; in FindGlobalVariables() local
3490 if (log && num_matches > 0) in FindGlobalVariables()
3497 num_matches); in FindGlobalVariables()
3499 return num_matches; in FindGlobalVariables()
3553 const size_t num_matches = die_offsets.size(); in FindGlobalVariables() local
3554 if (num_matches) in FindGlobalVariables()
3557 for (size_t i=0; i<num_matches; ++i) in FindGlobalVariables()
3702 const size_t num_matches = die_offsets.size(); in ParseFunctions() local
[all …]
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/MemoryHistory/asan/
HDMemoryHistoryASan.cpp50 …size_t num_matches = module_pointer->FindFunctions(ConstString("__asan_get_alloc_stack"), NULL, eF… in CreateInstance() local
52 if (num_matches) in CreateInstance()
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDClangModulesDeclVendor.cpp391 uint32_t num_matches = 0; in FindDecls() local
395 if (num_matches >= max_matches) in FindDecls()
396 return num_matches; in FindDecls()
399 ++num_matches; in FindDecls()
402 return num_matches; in FindDecls()
/NextBSD/contrib/llvm/tools/lldb/source/Target/
HDThreadPlanStepInRange.cpp381 size_t num_matches = 0; in FrameMatchesAvoidCriteria() local
384 num_matches = 1; in FrameMatchesAvoidCriteria()
386 RegularExpression::Match regex_match(num_matches); in FrameMatchesAvoidCriteria()
/NextBSD/contrib/llvm/tools/lldb/source/Plugins/InstrumentationRuntime/AddressSanitizer/
HDAddressSanitizerRuntime.cpp86 …size_t num_matches = module->FindFunctions(ConstString("__asan_get_alloc_stack"), NULL, eFunctionN… in ModuleContainsASanRuntime() local
88 return num_matches > 0; in ModuleContainsASanRuntime()

12