/src/bin/sh/ |
syntax.c | 15 #define ndx(ch) (ch + 2 - CHAR_MIN) macro 16 #define set(ch, val) [ndx(ch)] = val, 17 #define set_range(s, e, val) [ndx(s) ... ndx(e)] = val,
|
/src/distrib/utils/libhack/ |
multibyte.c | 233 size_t ndx = (size_t)charclass; local in function:iswctype 235 if (ndx < 1 || ndx >= __arraycount(my_wcts)) 238 return my_wcts[ndx].predicate(wc);
|
/src/usr.sbin/installboot/ |
installboot.c | 227 int ndx; local in function:main 228 for (ndx = 0; options[ndx].name != NULL; ndx++) { 229 if (unsupported_flags & options[ndx].flag) { 230 unsupported_flags &= ~options[ndx].flag; 232 options[ndx].name, params->machine->name); 464 int ndx; local in function:options_usage 469 for (ndx = 0; options[ndx].name != 0; ndx++) [all...] |
/src/sys/arch/arm/arm32/ |
kobj_machdep.c | 279 size_t ndx; local in function:be8_ksym_add 286 ndx = list->cnt++; 287 list->markers[ndx].type = t; 288 list->markers[ndx].addr = value;
|
/src/sys/sys/ |
sdt.h | 465 int ndx; /* Argument index. */ member in struct:sdt_argtype
|
/src/lib/libc/db/hash/ |
hash.c | 579 int n, ndx, off; local in function:hash_access 598 for (bp = (uint16_t *)(void *)rbufp->page, n = *bp++, ndx = 1; ndx < n;) 609 ndx += 2; 619 ndx = 1; 622 if ((ndx = 623 __find_bigpair(hashp, rbufp, ndx, kp, (int)size)) > 0) 625 if (ndx == -2) { 629 ndx = 0; 642 ndx = 1 728 uint16_t *bp, ndx; local in function:hash_seq [all...] |
hash_page.c | 133 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) 143 if (bp[ndx + 1] < REAL_KEY) 145 if (ndx != 1) 146 newoff = bp[ndx - 1]; 149 pairlen = newoff - bp[ndx + 1]; 151 if (ndx != (n - 1)) { 156 memmove(dst, src, (size_t)(bp[ndx + 1] - OFFSET(bp))); 159 for (i = ndx + 2; i <= n; i += 2) { 192 int n, ndx, retval; local in function:__split_page 214 for (n = 1, ndx = 1; n < ino[0]; n += 2) 483 uint16_t ndx, ovfl_num; local in function:__add_ovflpage 833 uint16_t ndx; local in function:__free_ovflpage [all...] |
/src/sys/dev/ic/ |
athrate-sample.c | 166 * returns the ndx with the lowest average_tx_time, 217 int ndx = (sn->last_sample_ndx[size_bin]+1+x) % sn->num_rates; local in function:pick_sample_ndx 220 if (ndx == current_ndx) 224 if (sn->stats[size_bin][ndx].perfect_tx_time > current_tt) 228 if (ticks - sn->stats[size_bin][ndx].last_tx < ((hz * STALE_FAILURE_TIMEOUT_MS)/1000) && 229 sn->stats[size_bin][ndx].successive_failures > 3) 235 if (sn->rates[ndx].rate > 22 && ndx > current_ndx + 2) 239 if (sn->rates[ndx].rate == 18) 244 if (sn->rates[current_ndx].rate == 22 && ndx > current_ndx + 1) 261 int ndx, size_bin, mrr, best_ndx, change_rates; local in function:ath_rate_findrate 373 int ndx = 0; local in function:ath_rate_setupxtxdesc 496 int ndx = -1; local in function:ath_rate_tx_complete 702 int ndx = 0; local in function:ath_rate_ctl_reset [all...] |
/src/usr.sbin/sysinst/arch/mac68k/ |
md.c | 256 size_t ndx; local in function:md_make_bsd_partitions 337 for (ndx = 0; ndx < install->num; ndx++) { 338 if (install->infos[ndx].fs_type == FS_BSDFFS && 339 install->infos[ndx].size > 0 && 340 (install->infos[ndx].instflags & PUIINST_MOUNT)) 341 install->infos[ndx].instflags |= PUIINST_NEWFS; 1197 md_pre_mount(struct install_partition_desc *install, size_t ndx)
|
/src/usr.sbin/sysinst/ |
disklabel.c | 512 part_id ndx; local in function:disklabel_delete 514 ndx = 0; 520 if (ndx == id) { 543 ndx++; 643 disklabel_get_type(size_t ndx) 648 if (ndx < __arraycount(dl_types)) 649 return &dl_types[ndx]; 651 ndx -= __arraycount(dl_types); 652 if (ndx >= dl_custom_ptype_count) 655 return &dl_custom_ptypes[ndx].desc 768 part_id ndx; local in function:disklabel_get_part_info 823 part_id ndx; local in function:disklabel_set_part_info [all...] |
part_edit.c | 1365 size_t ndx, selected = ~0U, used; local in function:select_part_scheme 1387 for (used = 0, ndx = 0; ndx < num_available_part_schemes; ndx++) { 1388 p = available_part_schemes[ndx]; 1467 for (ndx = 0; ndx < used; ndx++) 1468 free(str[ndx]);
|
label.c | 552 size_t i, ndx, max = menu->numopts; local in function:init_fs_type_ext 567 for (ndx = 3, i = 0; i < FSMAXTYPES && ndx < max; i++) { 576 menu->cursel = ndx; 580 ndx++; 582 menu->cursel = ndx; 586 ndx++; 594 size_t i, ndx, max = menu->numopts; local in function:set_fstype_ext 607 for (ndx = 3, i = 0; i < FSMAXTYPES && ndx < max; i++) 654 size_t i, ndx, cnt; local in function:edit_fs_type_ext 732 int ndx; local in function:set_fstype 1561 size_t ndx; member in struct:part_ext_clone::clone_data 2079 size_t num_freespace, spaces, ndx; local in function:getpartoff [all...] |