Home
last modified time | relevance | path

Searched refs:maxidx (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/common/lib/libc/gen/
H A Drpst.c438 unsigned int maxidx; in rpst_iterate_next() local
447 maxidx = rpst_maxidx(n, max_x, mask); in rpst_iterate_next()
452 KASSERT(maxidx == rpst_maxidx(n, max_x, mask)); in rpst_iterate_next()
453 KASSERT(idx <= maxidx + 2); in rpst_iterate_next()
457 __func__, (void *)n, idx, maxidx, level, mask); in rpst_iterate_next()
459 if (idx == maxidx + 1) { /* visit the current node */ in rpst_iterate_next()
469 } else if (idx == maxidx + 2) { /* back to the parent */ in rpst_iterate_next()
483 maxidx = rpst_maxidx(n, max_x, mask); in rpst_iterate_next()
501 maxidx = rpst_maxidx(n, max_x, mask); in rpst_iterate_next()
/netbsd-src/sys/dev/wscons/
H A Dwsdisplay_compat_usl.c310 int idx, maxidx; in wsdisplay_usl_ioctl1() local
314 maxidx = wsdisplay_maxscreenidx(sc); in wsdisplay_usl_ioctl1()
315 for (idx = 0; idx <= maxidx; idx++) { in wsdisplay_usl_ioctl1()
349 maxidx = wsdisplay_maxscreenidx(sc); in wsdisplay_usl_ioctl1()
350 for (idx = 0; idx <= maxidx; idx++) in wsdisplay_usl_ioctl1()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dsshkey-xmss.c67 u_int32_t maxidx; /* restricted # of signatures */ member
337 (r = sshbuf_put_u32(b, state->maxidx)) != 0) in sshkey_xmss_serialize_pk_info()
359 (r = sshbuf_get_u32(b, &state->maxidx)) != 0) in sshkey_xmss_deserialize_pk_info()
458 if (state->maxidx) { in sshkey_xmss_get_state()
461 if (idx < state->maxidx) { in sshkey_xmss_get_state()
578 if (state->maxidx) { in sshkey_xmss_update_state()
754 if ((r = sshbuf_put_u32(b, state->maxidx)) != 0 || in sshkey_xmss_serialize_state_opt()
865 if ((r = sshbuf_get_u32(b, &state->maxidx)) != 0 || in sshkey_xmss_deserialize_state_opt()
1088 state->maxidx) { in sshkey_xmss_signatures_left()
1090 if (idx < state->maxidx) in sshkey_xmss_signatures_left()
[all …]
/netbsd-src/lib/librumpuser/
H A Drumpuser_sp.c1186 unsigned int nfds, maxidx; in spserver() local
1200 maxidx = 0; in spserver()
1220 idx = maxidx; in spserver()
1223 maxidx = idx; in spserver()
1229 maxidx)); in spserver()
1232 DPRINTF(("rump_sp: loop nfd %d\n", maxidx+1)); in spserver()
1234 rv = poll(pfdlist, maxidx+1, INFTIM); in spserver()
1235 assert(maxidx+1 <= MAXCLI); in spserver()
1292 if (idx > maxidx) in spserver()
1293 maxidx = idx; in spserver()
[all …]
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dhash.c269 int maxidx = 0; in hash_stats() local
284 maxidx = i; in hash_stats()
294 printf(" Min/Max: %d in #%d, %d in #%d\n", min, minidx, max, maxidx); in hash_stats()
/netbsd-src/sys/kern/
H A Dsubr_kmem.c462 size_t maxidx = 0; in kmem_create_caches() local
499 if ((cache_size >> shift) > maxidx) { in kmem_create_caches()
500 maxidx = cache_size >> shift; in kmem_create_caches()
522 return maxidx; in kmem_create_caches()
/netbsd-src/sys/dev/ic/
H A Darn9003.c2778 int nsamples, txsum, rxsum, rosum, maxidx; in ar9003_compute_predistortion() local
2789 maxidx = 0; in ar9003_compute_predistortion()
2810 SCALE * maxidx + SCALE / 2; in ar9003_compute_predistortion()
2812 maxidx++; in ar9003_compute_predistortion()
2832 for (i = 4; i <= maxidx; i++) in ar9003_compute_predistortion()
2835 xnonlin = x[maxidx] - (y[maxidx] * SCALE + G) / G; in ar9003_compute_predistortion()
2836 order = (xnonlin + y[maxidx]) / y[maxidx]; in ar9003_compute_predistortion()
2844 I = (maxidx >= 16) ? 7 : maxidx / 2; in ar9003_compute_predistortion()
2845 L = maxidx - I; in ar9003_compute_predistortion()
2952 for (i = 6; i <= maxidx; i++) in ar9003_compute_predistortion()
H A Darn5008.c2531 int i, j, npdadcs, nvpds, maxidx, tgtidx; in ar5008_get_pdadcs() local
2598 maxidx = MIN(tgtidx, nvpds); in ar5008_get_pdadcs()
2599 while (ss < maxidx && npdadcs < AR_NUM_PDADC_VALUES - 1) in ar5008_get_pdadcs()
2602 if (tgtidx < maxidx) in ar5008_get_pdadcs()
2611 val = vpd[nvpds - 1] + (ss - maxidx + 1) * vpdstep; in ar5008_get_pdadcs()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-sra.cc3369 tree maxidx = TYPE_MAX_VALUE (TYPE_DOMAIN (root->type)); in totally_scalarize_subtree() local
3371 if (!maxidx) in totally_scalarize_subtree()
3373 gcc_assert (TREE_CODE (maxidx) == INTEGER_CST); in totally_scalarize_subtree()
3378 offset_int max = wi::to_offset (maxidx); in totally_scalarize_subtree()
H A Dtree.cc10833 unsigned HOST_WIDE_INT maxidx in build_string_literal() local
10836 tree index = build_index_type (size_int (maxidx)); in build_string_literal()
12936 offset_int maxidx = wi::to_offset (max); in component_ref_size() local
12937 offset_int neltsm1 = maxidx - minidx; in component_ref_size()
/netbsd-src/external/cddl/osnet/dist/cmd/zdb/
H A Dzdb.c276 int maxidx = 0; in dump_histogram() local
282 if (histo[i] > 0 && i > maxidx) in dump_histogram()
283 maxidx = i; in dump_histogram()
291 for (i = minidx; i <= maxidx; i++) { in dump_histogram()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-sra.c3322 tree maxidx = TYPE_MAX_VALUE (TYPE_DOMAIN (root->type)); in totally_scalarize_subtree() local
3324 if (!maxidx) in totally_scalarize_subtree()
3326 gcc_assert (TREE_CODE (maxidx) == INTEGER_CST); in totally_scalarize_subtree()
3331 offset_int max = wi::to_offset (maxidx); in totally_scalarize_subtree()
H A Dtree.c11656 unsigned HOST_WIDE_INT maxidx in build_string_literal() local
11659 tree index = build_index_type (size_int (maxidx)); in build_string_literal()
13720 offset_int maxidx = wi::to_offset (max); in component_ref_size() local
13721 if (maxidx - minidx > 0) in component_ref_size()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf.c8984 unsigned int maxidx; in _bfd_elf_slurp_version_tables() local
9018 maxidx = 0; in _bfd_elf_slurp_version_tables()
9025 if ((iverdefmem.vd_ndx & ((unsigned) VERSYM_VERSION)) > maxidx) in _bfd_elf_slurp_version_tables()
9026 maxidx = iverdefmem.vd_ndx & ((unsigned) VERSYM_VERSION); in _bfd_elf_slurp_version_tables()
9041 if (freeidx > maxidx) in _bfd_elf_slurp_version_tables()
9042 maxidx = ++freeidx; in _bfd_elf_slurp_version_tables()
9044 freeidx = ++maxidx; in _bfd_elf_slurp_version_tables()
9046 if (_bfd_mul_overflow (maxidx, sizeof (Elf_Internal_Verdef), &amt)) in _bfd_elf_slurp_version_tables()
9055 elf_tdata (abfd)->cverdefs = maxidx; in _bfd_elf_slurp_version_tables()
9132 if ((size_t) (iverdef - iverdefarr) + 1 < maxidx) in _bfd_elf_slurp_version_tables()
H A DChangeLog-00014473 * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf.c9634 unsigned int maxidx; in _bfd_elf_slurp_version_tables() local
9684 maxidx = 0; in _bfd_elf_slurp_version_tables()
9691 if ((iverdefmem.vd_ndx & ((unsigned) VERSYM_VERSION)) > maxidx) in _bfd_elf_slurp_version_tables()
9692 maxidx = iverdefmem.vd_ndx & ((unsigned) VERSYM_VERSION); in _bfd_elf_slurp_version_tables()
9707 if (freeidx > maxidx) in _bfd_elf_slurp_version_tables()
9708 maxidx = ++freeidx; in _bfd_elf_slurp_version_tables()
9710 freeidx = ++maxidx; in _bfd_elf_slurp_version_tables()
9712 if (_bfd_mul_overflow (maxidx, sizeof (Elf_Internal_Verdef), &amt)) in _bfd_elf_slurp_version_tables()
9724 elf_tdata (abfd)->cverdefs = maxidx; in _bfd_elf_slurp_version_tables()
9810 if ((size_t) (iverdef - iverdefarr) + 1 < maxidx) in _bfd_elf_slurp_version_tables()
H A DChangeLog-00014473 * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
/netbsd-src/sys/external/bsd/ipf/netinet/
H A Dfil.c8479 int i, nelem, maxidx; in ipf_matcharray_verify() local
8501 maxidx = nelem - 1; in ipf_matcharray_verify()
8505 if (array[maxidx] != IPF_EXP_END) { in ipf_matcharray_verify()
8509 for (i = 1; i < maxidx; ) { in ipf_matcharray_verify()
8518 (e->ipfe_size + i > maxidx)) { in ipf_matcharray_verify()
/netbsd-src/external/gpl3/gdb.old/dist/bfd/
H A DChangeLog-00014473 * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it
/netbsd-src/external/gpl3/gdb/dist/bfd/
H A DChangeLog-00014473 * elf.c (_bfd_elf_slurp_version_tables): Change maxidx to unsigned, it