| /freebsd-11-stable/contrib/gdb/gdb/ |
| HD | interps.c | 423 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 …]
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Commands/ |
| HD | CommandObjectSource.cpp | 144 uint32_t num_matches = 0; in DumpLinesInSymbolContexts() local 167 if (num_lines > 0 && num_matches > num_lines) in DumpLinesInSymbolContexts() 174 if (num_matches > 0) in DumpLinesInSymbolContexts() 183 num_matches++; in DumpLinesInSymbolContexts() 186 return num_matches; in DumpLinesInSymbolContexts() 202 uint32_t num_matches = 0; in DumpFileLinesInCompUnit() local 239 num_matches++; in DumpFileLinesInCompUnit() 240 if (num_lines > 0 && num_matches > num_lines) in DumpFileLinesInCompUnit() 244 if (num_matches > 0) in DumpFileLinesInCompUnit() 267 return num_matches; in DumpFileLinesInCompUnit() [all …]
|
| HD | CommandObjectTarget.cpp | 1315 uint32_t num_matches = 0; in DumpCompileUnitLineTable() local 1318 num_matches = module->ResolveSymbolContextsForFileSpec( in DumpCompileUnitLineTable() 1321 for (uint32_t i = 0; i < num_matches; ++i) { in DumpCompileUnitLineTable() 1339 return num_matches; in DumpCompileUnitLineTable() 1538 uint32_t num_matches = 0; in LookupSymbolInModule() local 1541 num_matches = symtab->AppendSymbolIndexesMatchingRegExAndType( in LookupSymbolInModule() 1544 num_matches = in LookupSymbolInModule() 1548 if (num_matches > 0) { in LookupSymbolInModule() 1550 strm.Printf("%u symbols match %s'%s' in ", num_matches, in LookupSymbolInModule() 1555 for (uint32_t i = 0; i < num_matches; ++i) { in LookupSymbolInModule() [all …]
|
| HD | CommandObjectHelp.cpp | 136 size_t num_matches = matches.GetSize(); in DoExecute() local 137 for (size_t match_idx = 0; match_idx < num_matches; match_idx++) { in DoExecute()
|
| HD | CommandObjectMultiword.cpp | 45 int num_matches = in GetSubcommandSP() local 48 if (num_matches == 1) { in GetSubcommandSP()
|
| HD | CommandObjectFrame.cpp | 527 size_t num_matches = 0; in DoExecute() local 530 num_matches); in DoExecute() 559 } else if (num_matches == 0) { in DoExecute()
|
| /freebsd-11-stable/sys/dev/pci/ |
| HD | pci_user.c | 67 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 …]
|
| /freebsd-11-stable/usr.sbin/mptutil/ |
| HD | mpt_cam.c | 77 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() 416 ccb.cdm.num_matches = 0; in mpt_fetch_disks() 461 if (ccb.cdm.num_matches == 0) { in mpt_fetch_disks() 469 for (i = 0; i < ccb.cdm.num_matches; i++) { in mpt_fetch_disks() 485 disks = calloc(ccb.cdm.num_matches, sizeof(*disks)); in mpt_fetch_disks() [all …]
|
| /freebsd-11-stable/usr.bin/systat/ |
| HD | devs.c | 94 int num_matches = 0; variable 190 (last_type ==DS_MATCHTYPE_PATTERN) ? num_matches : 0, in dscmd() 246 if (num_matches > 0) { in dsmatchselect() 249 num_matches = 0; in dsmatchselect() 253 if (devstat_buildmatch(tstr[i], &matches, &num_matches) != 0) { in dsmatchselect() 264 s1->dinfo->devices, num_devices, matches, num_matches, in dsmatchselect()
|
| /freebsd-11-stable/lib/libdevstat/ |
| HD | devstat.c | 553 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 …]
|
| HD | devstat.h | 163 int num_matches, char **dev_selections, 167 int *num_matches);
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Core/ |
| HD | SourceManager.cpp | 331 size_t num_matches = sc_list.GetSize(); in GetDefaultFileAndLine() local 332 for (size_t idx = 0; idx < num_matches; idx++) { in GetDefaultFileAndLine() 393 size_t num_matches = in CommonInitializer() local 400 if (num_matches != 0) { in CommonInitializer() 401 if (num_matches > 1) { in CommonInitializer() 405 for (unsigned i = 0; i < num_matches; i++) { in CommonInitializer()
|
| /freebsd-11-stable/usr.sbin/iostat/ |
| HD | iostat.c | 185 int num_matches = 0; in main() local 242 &num_matches) != 0) in main() 368 if ((num_devices_specified == 0) && (num_matches == 0)) in main() 381 num_matches, specified_devices, in main() 539 num_matches, in main() 576 num_matches, in main()
|
| /freebsd-11-stable/usr.bin/iscsictl/ |
| HD | periphs.c | 99 ccb.cdm.num_matches = 0; in print_periphs() 133 for (i = 0; i < ccb.cdm.num_matches; i++) { in print_periphs()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| HD | ClangModulesDeclVendor.cpp | 379 uint32_t num_matches = 0; in FindDecls() local 382 if (num_matches >= max_matches) in FindDecls() 383 return num_matches; in FindDecls() 386 ++num_matches; in FindDecls() 389 return num_matches; in FindDecls()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Breakpoint/ |
| HD | BreakpointResolverFileRegex.cpp | 110 uint32_t num_matches = line_matches.size(); in SearchCallback() local 111 for (uint32_t i = 0; i < num_matches; i++) { in SearchCallback()
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| HD | SymbolFileDWARF.cpp | 2166 const uint32_t num_matches = variables.GetSize() - original_size; in FindGlobalVariables() local 2167 if (log && num_matches > 0) { in FindGlobalVariables() 2173 max_matches, num_matches); in FindGlobalVariables() 2205 const size_t num_matches = die_offsets.size(); in FindGlobalVariables() local 2206 if (num_matches) { in FindGlobalVariables() 2207 for (size_t i = 0; i < num_matches; ++i) { in FindGlobalVariables() 2353 const uint32_t num_matches = sc_list.GetSize() - original_size; in FindFunctions() local 2355 if (log && num_matches > 0) { in FindFunctions() 2361 num_matches); in FindFunctions() 2591 const size_t num_matches = die_offsets.size(); in FindNamespace() local [all …]
|
| /freebsd-11-stable/usr.bin/vmstat/ |
| HD | vmstat.c | 110 static int num_matches, num_selected, num_selections; variable 220 if (devstat_buildmatch(optarg, &matches, &num_matches) in main() 398 if ((num_devices_specified == 0) && (num_matches == 0)) { in getdrivedata() 399 if (devstat_buildmatch(da, &matches, &num_matches) != 0) in getdrivedata() 412 num_devices, matches, num_matches, specified_devices, in getdrivedata() 752 num_devices, matches, num_matches, in dovmstat()
|
| /freebsd-11-stable/sys/compat/freebsd32/ |
| HD | freebsd32_ioctl.h | 110 u_int32_t num_matches; /* number of matches returned */ member
|
| HD | freebsd32_ioctl.c | 310 nmatch_to_convert = min(nmatch_to_convert, pci.num_matches); in freebsd32_ioctl_pciocgetconf() 333 CP(pci, pci32, num_matches); in freebsd32_ioctl_pciocgetconf()
|
| /freebsd-11-stable/sys/sys/ |
| HD | pciio.h | 97 u_int32_t num_matches; /* number of matches returned */ member
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/API/ |
| HD | SBModule.cpp | 346 const size_t num_matches = matching_symbol_indexes.size(); in FindSymbols() local 347 if (num_matches) { in FindSymbols() 351 for (size_t i = 0; i < num_matches; ++i) { in FindSymbols()
|
| /freebsd-11-stable/lib/libcam/ |
| HD | camlib.c | 302 ccb.cdm.num_matches = 0; in cam_open_btl() 360 if (ccb.cdm.num_matches == 0) { in cam_open_btl()
|
| /freebsd-11-stable/sys/cam/ |
| HD | cam_xpt.c | 1610 spaceleft = cdm->match_buf_len - (cdm->num_matches * in xptedtbusfunc() 1629 j = cdm->num_matches; in xptedtbusfunc() 1630 cdm->num_matches++; in xptedtbusfunc() 1743 spaceleft = cdm->match_buf_len - (cdm->num_matches * in xptedtdevicefunc() 1769 j = cdm->num_matches; in xptedtdevicefunc() 1770 cdm->num_matches++; in xptedtdevicefunc() 1856 spaceleft = cdm->match_buf_len - (cdm->num_matches * in xptedtperiphfunc() 1887 j = cdm->num_matches; in xptedtperiphfunc() 1888 cdm->num_matches++; in xptedtperiphfunc() 1912 cdm->num_matches = 0; in xptedtmatch() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/ |
| HD | Function.cpp | 142 size_t num_matches = sc_list.GetSize(); in ParseSymbolFileAndResolve() local 143 if (num_matches == 0 || !sc_list[0].symbol) { in ParseSymbolFileAndResolve()
|