| /src/external/bsd/tre/dist/lib/ |
| tre-filter.c | 25 unsigned short counts[256]; local 33 for (i = 0; i < elementsof(counts); i++) 34 counts[i] = 0; 39 counts[*str]++; 48 counts[*str]++; 49 counts[*(str - window_len)]--; 54 if (counts[p->ch] < p->count)
|
| /src/external/bsd/nsd/dist/ |
| answer.c | 63 uint16_t counts[RR_SECTION_COUNT]; local 75 counts[section] = 0; 84 counts[section] += packet_encode_rrset( 100 counts[ADDITIONAL_A_SECTION] == 0 && 108 ANCOUNT_SET(q->packet, counts[ANSWER_SECTION]); 110 counts[AUTHORITY_SECTION] 111 + counts[OPTIONAL_AUTHORITY_SECTION]); 113 counts[ADDITIONAL_A_SECTION] 114 + counts[ADDITIONAL_AAAA_SECTION] 115 + counts[ADDITIONAL_OTHER_SECTION]) [all...] |
| /src/external/gpl3/binutils/dist/gprof/ |
| bb_exit_func.c | 37 long *counts; member in struct:bb 89 fwrite (&ptr->counts[i], sizeof (ptr->counts[0]), 1, fp);
|
| /src/external/gpl3/binutils.old/dist/gprof/ |
| bb_exit_func.c | 37 long *counts; member in struct:bb 89 fwrite (&ptr->counts[i], sizeof (ptr->counts[0]), 1, fp);
|
| /src/sys/dev/pci/ |
| ciss_pci.c | 232 int counts[PCI_INTR_TYPE_SIZE] = { local 245 counts[PCI_INTR_TYPE_MSI] = counts[PCI_INTR_TYPE_MSIX] = 1; 251 if (pci_intr_alloc(pa, &ih, counts, max_type)) {
|
| if_eqos_pci.c | 109 int counts[PCI_INTR_TYPE_SIZE]; local 177 counts[PCI_INTR_TYPE_MSI] = 1; 178 counts[PCI_INTR_TYPE_INTX] = 1; 179 if (pci_intr_alloc(pa, &psc->sc_intrs, counts, PCI_INTR_TYPE_MSI) != 0)
|
| xhci_pci.c | 129 int counts[PCI_INTR_TYPE_SIZE]; local 216 counts[i] = 1; 219 counts[PCI_INTR_TYPE_MSI] = 0; 222 counts[PCI_INTR_TYPE_MSIX] = 0; 226 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, PCI_INTR_TYPE_MSIX)) {
|
| ahcisata_pci.c | 411 int counts[PCI_INTR_TYPE_SIZE] = { local 418 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, PCI_INTR_TYPE_MSIX)) { 423 psc->sc_nintr = counts[pci_intr_type(pa->pa_pc, psc->sc_pihp[0])];
|
| nvme_pci.c | 427 int counts[PCI_INTR_TYPE_SIZE]; local 431 memset(counts, 0, sizeof(counts)); 437 counts[PCI_INTR_TYPE_MSIX] = uimin(pci_msix_count(pa->pa_pc, pa->pa_tag), 439 if (counts[PCI_INTR_TYPE_MSIX] < 1) { 440 counts[PCI_INTR_TYPE_MSIX] = 0; 442 if (counts[PCI_INTR_TYPE_MSIX] > 2) 443 counts[PCI_INTR_TYPE_MSIX] = 2; /* adminq + 1 ioq */ 449 counts[PCI_INTR_TYPE_MSI] = pci_msi_count(pa->pa_pc, pa->pa_tag); 450 if (counts[PCI_INTR_TYPE_MSI] > 0) [all...] |
| siisata_pci.c | 223 int counts[PCI_INTR_TYPE_SIZE] = { local 235 if (pci_intr_alloc(pa, &psc->sc_pihp, counts, max_type) != 0) {
|
| /src/sys/arch/mips/rmi/ |
| rmixl_pcixvar.h | 46 rmixl_pcix_evcnt_t *counts; /* index by cpu */ member in struct:rmixl_pcix_dispatch
|
| rmixl_pcievar.h | 64 rmixl_pcie_evcnt_t *counts; /* index by cpu */ member in struct:rmixl_pcie_link_dispatch
|
| /src/external/lgpl3/mpfr/dist/tests/ |
| terandom_chisq.c | 88 long *counts; local 98 counts = (long *) tests_allocate ((nu + 1) * sizeof (long)); 100 counts[i] = 0; 126 ++counts[i >= 0 && i < nu ? i : nu]; 144 /* Compute z = counts[i] - num * p; t += z * z / (num * p) */ 146 mpfr_ui_sub (z, counts[i], pa, rnd); 164 tests_free (counts, (nu + 1) * sizeof (long)); 211 long *counts; local 231 counts = (long *) tests_allocate ((nu + 1) * sizeof (long)); 233 counts[i] = 0 [all...] |
| tnrandom_chisq.c | 89 long *counts; local 99 counts = (long *) tests_allocate ((nu + 1) * sizeof (long)); 101 counts[i] = 0; 122 ++counts[i >= 0 && i < nu ? i : nu]; 140 /* Compute z = counts[i] - num * p; t += z * z / (num * p) */ 142 mpfr_ui_sub (z, counts[i], pa, rnd); 160 tests_free (counts, (nu + 1) * sizeof (long)); 210 long *counts; local 230 counts = (long *) tests_allocate ((nu + 1) * sizeof (long)); 232 counts[i] = 0 [all...] |
| /src/sys/arch/shark/include/ |
| profileio.h | 75 unsigned short counts[4]; /* the counts */ member in struct:profHashEntry
|
| /src/usr.bin/systat/ |
| syscall.c | 60 uint64_t counts[SYS_NSYSENT]; member in struct:Info 69 static enum sort_order { UNSORTED, NAMES, COUNTS } sort_order = NAMES; 117 if (sysctlnametomib("kern.syscalls.counts", counts_mib, 206 for (i = 0; i < (int)__arraycount(s.counts); i++) { 210 v = s.counts[i] - s1.counts[i]; 216 v = s.counts[i] - s1.counts[i]; 238 if (sort_order == COUNTS) { 249 mvprintw(l, c, FMT, "STATS", "counts"); [all...] |
| /src/external/gpl3/gcc/dist/gcc/ |
| coverage.cc | 68 /* Counts information for a function. */ 78 gcov_type *counts; member in struct:counts_entry 171 free (entry->counts); 178 /* Read in the counts file, if available. */ 263 entry->counts = XCNEWVEC (gcov_type, n_counts); 279 entry->counts[ix] = gcov_read_counter (); 305 /* No hash table, no counts. */ 322 ? "execution counts estimated" 323 : "execution counts assumed to be zero")); 390 ? G_("execution counts estimated\n" [all...] |
| tracer.cc | 277 int *counts = XNEWVEC (int, last_basic_block_for_fn (cfun)); local 310 counts [bb->index] = n; 340 traced_insns += bb->count.to_frequency (cfun) * counts [bb->index]; 356 traced_insns += bb2->count.to_frequency (cfun) * counts [bb2->index]; 365 nduplicated += counts [bb2->index]; 399 free (counts);
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| coverage.cc | 68 /* Counts information for a function. */ 78 gcov_type *counts; member in struct:counts_entry 171 free (entry->counts); 178 /* Read in the counts file, if available. */ 263 entry->counts = XCNEWVEC (gcov_type, n_counts); 279 entry->counts[ix] = gcov_read_counter (); 305 /* No hash table, no counts. */ 322 ? "execution counts estimated" 323 : "execution counts assumed to be zero")); 390 ? G_("execution counts estimated\n" [all...] |
| tracer.cc | 277 int *counts = XNEWVEC (int, last_basic_block_for_fn (cfun)); local 310 counts [bb->index] = n; 340 traced_insns += bb->count.to_frequency (cfun) * counts [bb->index]; 356 traced_insns += bb2->count.to_frequency (cfun) * counts [bb2->index]; 365 nduplicated += counts [bb2->index]; 399 free (counts);
|
| /src/usr.sbin/tprof/ |
| tprof.c | 198 tprof_counts_t counts; local 200 memset(&counts, 0, sizeof(counts)); 201 counts.c_cpu = n; 202 ret = ioctl(devfd, TPROF_IOC_GETCOUNTS, &counts); 209 eventnamewidth[i], counts.c_count[i]);
|
| /src/lib/libresolv/ |
| res_mkupdate.c | 94 int section, numrrs = 0, counts[ns_s_max]; local 123 memset(counts, 0, sizeof counts); 129 counts[section]++; 131 if (counts[i]) 716 hp->qdcount = htons(counts[0]); 717 hp->ancount = htons(counts[1]); 718 hp->nscount = htons(counts[2]); 719 hp->arcount = htons(counts[3]);
|
| /src/external/bsd/libbind/dist/resolv/ |
| res_mkupdate.c | 93 int section, numrrs = 0, counts[ns_s_max]; local 122 memset(counts, 0, sizeof counts); 128 counts[section]++; 130 if (counts[i]) 710 hp->qdcount = htons(counts[0]); 711 hp->ancount = htons(counts[1]); 712 hp->nscount = htons(counts[2]); 713 hp->arcount = htons(counts[3]);
|
| /src/external/gpl2/diffutils/dist/src/ |
| analyze.c | 446 lin *counts = equiv_count[1 - f]; 461 nmatch = counts[equivs[i]]; 444 lin *counts = equiv_count[1 - f]; local
|
| /src/external/gpl2/xcvs/dist/diff/ |
| analyze.c | 453 int *counts = equiv_count[1 - f]; 468 nmatch = counts[equivs[i]]; 451 int *counts = equiv_count[1 - f]; local
|