| /freebsd/contrib/llvm-project/lldb/source/Commands/ |
| H A D | CommandObjectSource.cpp | 147 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 …]
|
| H A D | CommandObjectTarget.cpp | 1279 uint32_t num_matches = 0; in DumpCompileUnitLineTable() local 1282 num_matches = module->ResolveSymbolContextsForFileSpec( in DumpCompileUnitLineTable() 1303 return num_matches; in DumpCompileUnitLineTable() 1565 uint32_t num_matches = 0; in LookupSymbolInModule() local 1568 num_matches = symtab->AppendSymbolIndexesMatchingRegExAndType( in LookupSymbolInModule() 1571 num_matches = in LookupSymbolInModule() 1575 if (num_matches > 0) { in LookupSymbolInModule() 1577 strm.Printf("%u symbols match %s'%s' in ", num_matches, in LookupSymbolInModule() 1585 for (uint32_t i = 0; i < num_matches; ++i) { in LookupSymbolInModule() 1617 return num_matches; in LookupSymbolInModule() [all …]
|
| H A D | CommandObjectHelp.cpp | 128 size_t num_matches = matches.GetSize(); in DoExecute() local 129 for (size_t match_idx = 0; match_idx < num_matches; match_idx++) { in DoExecute()
|
| H A D | CommandObjectMultiword.cpp | 59 int num_matches = in GetSubcommandSP() local 62 if (num_matches == 1) { in GetSubcommandSP()
|
| /freebsd/sys/dev/pci/ |
| H A D | pci_user.c | 104 u_int32_t num_matches; /* number of matches returned */ member 159 pci_conf_match_native(struct pci_match_conf *matches, int num_matches, in pci_conf_match_native() argument 164 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_native() 167 for (i = 0; i < num_matches; i++) { in pci_conf_match_native() 225 pci_conf_match32(struct pci_match_conf32 *matches, int num_matches, in pci_conf_match32() argument 230 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match32() 233 for (i = 0; i < num_matches; i++) { in pci_conf_match32() 382 pci_conf_match_freebsd6(struct pci_match_conf_freebsd6 *matches, int num_matches, in pci_conf_match_freebsd6() argument 387 if ((matches == NULL) || (match_buf == NULL) || (num_matches <= 0)) in pci_conf_match_freebsd6() 390 for (i = 0; i < num_matches; i++) { in pci_conf_match_freebsd6() [all …]
|
| /freebsd/usr.sbin/mptutil/ |
| H A D | mpt_cam.c | 76 ccb.cdm.num_matches = 0; in fetch_path_id() 110 if (ccb.cdm.num_matches != 1 || in fetch_path_id() 150 ccb.cdm.num_matches = 0; in mpt_query_disk() 188 if (ccb.cdm.num_matches == 0) { in mpt_query_disk() 192 if (ccb.cdm.num_matches != 1) { in mpt_query_disk() 194 ccb.cdm.num_matches); in mpt_query_disk() 415 ccb.cdm.num_matches = 0; in mpt_fetch_disks() 460 if (ccb.cdm.num_matches == 0) { in mpt_fetch_disks() 468 for (i = 0; i < ccb.cdm.num_matches; i++) { in mpt_fetch_disks() 484 disks = calloc(ccb.cdm.num_matches, sizeof(*disks)); in mpt_fetch_disks() [all …]
|
| /freebsd/usr.bin/systat/ |
| H A D | devs.c | 90 static int num_matches = 0; variable 186 (last_type ==DS_MATCHTYPE_PATTERN) ? num_matches : 0, in dscmd() 247 if (num_matches > 0) { in dsmatchselect() 250 num_matches = 0; in dsmatchselect() 254 if (devstat_buildmatch(tstr[i], &matches, &num_matches) != 0) { in dsmatchselect() 265 s1->dinfo->devices, num_devices, matches, num_matches, in dsmatchselect()
|
| /freebsd/lib/libdevstat/ |
| H A D | devstat.c | 553 int numdevs, struct devstat_match *matches, int num_matches, in devstat_selectdevs() argument 735 for (i = 0; (i < num_matches) && (*num_selected < maxshowdevs); i++) { in devstat_selectdevs() 1034 int *num_matches) in devstat_buildmatch() argument 1066 if (*num_matches == 0) in devstat_buildmatch() 1070 sizeof(struct devstat_match) * (*num_matches + 1)); in devstat_buildmatch() 1079 bzero(&matches[0][*num_matches], sizeof(struct devstat_match)); in devstat_buildmatch() 1126 if (((*matches)[*num_matches].match_fields & in devstat_buildmatch() 1140 (*matches)[*num_matches].match_fields |= in devstat_buildmatch() 1142 (*matches)[*num_matches].device_type |= in devstat_buildmatch() 1144 (*matches)[*num_matches].num_match_categories++; in devstat_buildmatch() [all …]
|
| H A D | devstat.h | 163 int num_matches, char **dev_selections, 167 int *num_matches);
|
| /freebsd/usr.bin/iscsictl/ |
| H A D | periphs.c | 97 ccb.cdm.num_matches = 0; in print_periphs() 131 for (i = 0; i < ccb.cdm.num_matches; i++) { in print_periphs()
|
| /freebsd/usr.sbin/iostat/ |
| H A D | iostat.c | 186 int num_matches = 0; in main() local 245 &num_matches) != 0) in main() 366 if ((num_devices_specified == 0) && (num_matches == 0)) in main() 379 num_matches, specified_devices, in main() 537 num_matches, in main() 574 num_matches, in main()
|
| /freebsd/contrib/llvm-project/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverFileRegex.cpp | 108 uint32_t num_matches = line_matches.size(); in SearchCallback() local 109 for (uint32_t i = 0; i < num_matches; i++) { in SearchCallback()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 462 uint32_t num_matches = 0; in FindDecls() local 465 if (num_matches >= max_matches) in FindDecls() 466 return num_matches; in FindDecls() 469 ++num_matches; in FindDecls() 472 return num_matches; in FindDecls()
|
| /freebsd/usr.bin/vmstat/ |
| H A D | vmstat.c | 97 static int num_matches, num_selected, num_selections; variable 261 if (devstat_buildmatch(optarg, &matches, &num_matches) in main() 448 if ((num_devices_specified == 0) && (num_matches == 0)) { in getdrivedata() 449 if (devstat_buildmatch(da, &matches, &num_matches) != 0) in getdrivedata() 462 num_devices, matches, num_matches, specified_devices, in getdrivedata() 735 num_devices, matches, num_matches, in dovmstat()
|
| /freebsd/contrib/llvm-project/lldb/source/API/ |
| H A D | SBModule.cpp | 340 const size_t num_matches = matching_symbol_indexes.size(); in FindSymbols() local 341 if (num_matches) { in FindSymbols() 345 for (size_t i = 0; i < num_matches; ++i) { in FindSymbols()
|
| /freebsd/sys/sys/ |
| H A D | pciio.h | 102 u_int32_t num_matches; /* number of matches returned */ member
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | SourceManager.cpp | 496 size_t num_matches = in CommonInitializer() local 503 if (num_matches != 0) { in CommonInitializer() 504 if (num_matches > 1) { in CommonInitializer()
|
| H A D | Module.cpp | 876 const size_t num_matches = symbol_indexes.size(); in FindFunctions() local 877 if (num_matches) { in FindFunctions() 885 for (size_t i = 0; i < num_matches; ++i) { in FindFunctions() 906 for (size_t i = start_size; i < num_matches; ++i) { in FindFunctions()
|
| /freebsd/lib/libcam/ |
| H A D | camlib.c | 303 ccb.cdm.num_matches = 0; in cam_open_btl() 361 if (ccb.cdm.num_matches == 0) { in cam_open_btl()
|
| /freebsd/sys/cam/ |
| H A D | cam_xpt.c | 1636 spaceleft = cdm->match_buf_len - (cdm->num_matches * in xptedtbusfunc() 1655 j = cdm->num_matches; in xptedtbusfunc() 1656 cdm->num_matches++; in xptedtbusfunc() 1769 spaceleft = cdm->match_buf_len - (cdm->num_matches * in xptedtdevicefunc() 1795 j = cdm->num_matches; in xptedtdevicefunc() 1796 cdm->num_matches++; in xptedtdevicefunc() 1882 spaceleft = cdm->match_buf_len - (cdm->num_matches * in xptedtperiphfunc() 1913 j = cdm->num_matches; in xptedtperiphfunc() 1914 cdm->num_matches++; in xptedtperiphfunc() 1938 cdm->num_matches = 0; in xptedtmatch() [all …]
|
| /freebsd/usr.sbin/pciconf/ |
| H A D | pciconf.c | 272 p = reallocf(p, (count + pc.num_matches) * sizeof(*p)); in fetch_devs() 278 memcpy(p + count, conf, pc.num_matches * sizeof(*p)); in fetch_devs() 279 count += pc.num_matches; in fetch_devs() 1238 if (pc.num_matches == 0) in getdevice()
|
| /freebsd/tools/tools/dmardump/ |
| H A D | dmardump.c | 89 pc.num_matches == 0) in pci_find_conf()
|
| /freebsd/tools/tools/pciroms/ |
| H A D | pciroms.c | 206 for (p = devs ; p < &devs[pc.num_matches]; p++) { in pci_enum_devs()
|
| /freebsd/contrib/llvm-project/lldb/source/Symbol/ |
| H A D | Function.cpp | 172 size_t num_matches = sc_list.GetSize(); in ParseSymbolFileAndResolve() local 173 if (num_matches == 0 || !sc_list[0].symbol) { in ParseSymbolFileAndResolve()
|
| /freebsd/usr.sbin/bhyve/amd64/ |
| H A D | pci_lpc.c | 491 if (pcio.num_matches == 0) in pci_lpc_get_conf()
|