/freebsd/contrib/tcpdump/ |
H A D | print-cnfp.c | 161 u_int nrecs, ver; in cnfp_v1_print() local 170 nrecs = GET_BE_U_4(nh->count); in cnfp_v1_print() 187 ND_PRINT("%2u recs", nrecs); in cnfp_v1_print() 189 for (; nrecs != 0; nr++, nrecs--) { in cnfp_v1_print() 256 u_int nrecs, ver; in cnfp_v5_print() local 265 nrecs = GET_BE_U_4(nh->count); in cnfp_v5_print() 283 ND_PRINT("%2u recs", nrecs); in cnfp_v5_print() 285 for (; nrecs != 0; nr++, nrecs--) { in cnfp_v5_print() 358 u_int nrecs, ver; in cnfp_v6_print() local 367 nrecs = GET_BE_U_4(nh->count); in cnfp_v6_print() [all …]
|
/freebsd/lib/libc/db/recno/ |
H A D | rec_search.c | 80 if (++idx == top || total + r->nrecs > recno) in __rec_search() 82 total += r->nrecs; in __rec_search() 90 --GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search() 94 ++GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search() 110 --GETRINTERNAL(h, parent->index)->nrecs; in __rec_search() 112 ++GETRINTERNAL(h, parent->index)->nrecs; in __rec_search()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_printf.c | 1260 uint_t nrecs, const void *buf, size_t len, int *ip) in dt_printf_getint() argument 1264 if (nrecs == 0) in dt_printf_getint() 1349 const dtrace_recdesc_t *recs, uint_t nrecs, const void *buf, in dt_printf_format() argument 1375 if (nrecs == 0) in dt_printf_format() 1381 nrecs--; in dt_printf_format() 1427 return (nrecs != 0); in dt_printf_format() 1442 if (dt_printf_getint(dtp, recp++, nrecs--, buf, in dt_printf_format() 1451 dtp, recp++, nrecs--, buf, len, &prec) == -1) in dt_printf_format() 1484 if (nrecs == 0) in dt_printf_format() 1501 nrecs--; in dt_printf_format() [all …]
|
H A D | dt_aggregate.c | 791 int rval, i, j, keypos, nrecs; local 796 nrecs = lagg->dtagd_nrecs - 1; 797 assert(nrecs == ragg->dtagd_nrecs - 1); 799 keypos = dt_keypos + 1 >= nrecs ? 0 : dt_keypos; 801 for (i = 1; i < nrecs; i++) { 805 if (ndx >= nrecs) 806 ndx = ndx - nrecs + 1;
|
/freebsd/lib/libc/db/btree/ |
H A D | btree.h | 148 recno_t nrecs; /* number of records */ member 161 #define WR_RINTERNAL(p, nrecs, pgno) { \ argument 162 *(recno_t *)p = nrecs; \ 293 u_int32_t nrecs; /* R: number of records */ member
|
H A D | bt_split.c | 250 ((RINTERNAL *)dest)->nrecs = rec_total(lchild); in __bt_split() 256 ((RINTERNAL *)dest)->nrecs = rec_total(rchild); in __bt_split() 268 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(lchild); in __bt_split() 274 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(rchild); in __bt_split() 796 recs += GETRINTERNAL(h, nxt)->nrecs; in rec_total()
|
H A D | bt_debug.c | 104 (void)fprintf(stderr, "nrecs %u\n", m->nrecs); in __bt_dmpage() 193 ri->nrecs, ri->pgno); in __bt_dpage()
|
H A D | bt_open.c | 231 M_32_SWAP(m.nrecs); in __bt_open() 244 t->bt_nrecs = m.nrecs; in __bt_open()
|
H A D | bt_close.c | 169 m.nrecs = t->bt_nrecs; in bt_meta()
|
/freebsd/sys/kern/ |
H A D | kern_tslog.c | 44 static volatile long nrecs = 0; variable 64 pos = atomic_fetchadd_long(&nrecs, 1); in tslog() 105 limit = MIN(nrecs, nitems(timestamps)); in sysctl_debug_tslog()
|
/freebsd/tools/tools/ath/athdecode/ |
H A D | main.c | 60 int fd, i, nrecs, same; in main() local 76 nrecs = sb.st_size / sizeof (struct athregrec); in main() 77 printf("%u records", nrecs); in main() 81 for (i = 0; i < nrecs; i++) { in main()
|
/freebsd/sys/cddl/dev/dtrace/ |
H A D | dtrace_ioctl.c | 115 int nrecs; in dtrace_ioctl() local 136 nrecs = aggdesc.dtagd_nrecs; in dtrace_ioctl() 193 if (nrecs-- == 0) in dtrace_ioctl() 464 int nrecs; in dtrace_ioctl() local 487 nrecs = epdesc.dtepd_nrecs; in dtrace_ioctl() 515 if (nrecs-- == 0) in dtrace_ioctl()
|
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/ |
H A D | lockstat.c | 936 lsrec_fill(lsrec_t *lsrec, const dtrace_recdesc_t *rec, int nrecs, caddr_t data) in lsrec_fill() argument 941 if ((g_recsize > LS_HIST && nrecs < 4) || (nrecs < 3)) in lsrec_fill() 1753 report_stats(FILE *out, lsrec_t **sort_buf, size_t nrecs, uint64_t total_count, in report_stats() argument 1800 for (i = 0; i < nrecs; i++) { in report_stats()
|
/freebsd/crypto/libecc/src/arithmetic_tests/ |
H A D | arithmetic_tests.c | 895 int nrecs; in main() local 998 nrecs = (int)(t - s); in main() 1002 for (i = 0; i < nrecs; i++) { in main() 1191 memcpy(global_parameters, s, LOCAL_MIN(nrecs, MAX_PARAMS)); in main()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 17504 int nrecs; local 17525 nrecs = epdesc.dtepd_nrecs; 17553 if (nrecs-- == 0) 17576 int nrecs; local 17595 nrecs = aggdesc.dtagd_nrecs; 17652 if (nrecs-- == 0)
|