| /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/external/bsd/elftoolchain/dist/libdwarf/ |
| libdwarf_sections.c | 129 int ret, ndx; local 131 ndx = _dwarf_pro_callback(dbg, ds->ds_name, (int) ds->ds_size, 133 if (ndx < 0) { 138 ds->ds_ndx = ndx;
|
| /src/distrib/utils/libhack/ |
| multibyte.c | 233 size_t ndx = (size_t)charclass; local 235 if (ndx < 1 || ndx >= __arraycount(my_wcts)) 238 return my_wcts[ndx].predicate(wc);
|
| /src/sys/arch/arm/arm32/ |
| kobj_machdep.c | 279 size_t ndx; local 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/usr.sbin/installboot/ |
| installboot.c | 227 int ndx; local 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 469 for (ndx = 0; options[ndx].name != 0; ndx++) [all...] |
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| admin.c | 254 struct admin_com_indexes *ndx; local 258 ndx = (struct admin_com_indexes *) ((caddr_t)com + sizeof(*com)); 259 src = (struct sockaddr *) &ndx->src; 260 dst = (struct sockaddr *) &ndx->dst; 409 struct admin_com_indexes *ndx; local 414 ndx = (struct admin_com_indexes *) ((caddr_t)com + sizeof(*com)); 415 src = (struct sockaddr *) &ndx->src; 416 dst = (struct sockaddr *) &ndx->dst; 419 com->ac_len > sizeof(*com) + sizeof(*ndx)) 420 name = (char *) ((caddr_t) ndx + sizeof(*ndx)) [all...] |
| /src/external/bsd/elftosb/dist/common/ |
| options.h | 87 int ndx; // index of current arg member in class:OptArgvIter 93 : av(argv), ac(-1), ndx(0) {} 96 : av(argv), ac(argc), ndx(0) {} 114 int index(void) { return ndx; }
|
| /src/external/gpl3/gdb/dist/gdb/compile/ |
| compile-loc2c.c | 94 int ndx = op_ptr - base; 109 SET_CHECK_DEPTH (ndx); 330 (*info)[ndx].is_tls = 1; 406 int ndx = to_do.back (); 409 compute_stack_depth_worker (ndx, need_tempvar, info, &to_do, 93 int ndx = op_ptr - base; local 405 int ndx = to_do.back (); local
|
| /src/external/gpl3/gdb.old/dist/gdb/compile/ |
| compile-loc2c.c | 95 int ndx = op_ptr - base; 110 SET_CHECK_DEPTH (ndx); 331 (*info)[ndx].is_tls = 1; 407 int ndx = to_do.back (); 410 compute_stack_depth_worker (ndx, need_tempvar, info, &to_do, 94 int ndx = op_ptr - base; local 406 int ndx = to_do.back (); local
|
| /src/lib/libc/db/hash/ |
| hash.c | 580 int n, ndx, off; local 599 for (bp = (uint16_t *)(void *)rbufp->page, n = *bp++, ndx = 1; ndx < n;) 610 ndx += 2; 620 ndx = 1; 623 if ((ndx = 624 __find_bigpair(hashp, rbufp, ndx, kp, (int)size)) > 0) 626 if (ndx == -2) { 630 ndx = 0; 643 ndx = 1 729 uint16_t *bp, ndx; local [all...] |
| hash_page.c | 134 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) 144 if (bp[ndx + 1] < REAL_KEY) 146 if (ndx != 1) 147 newoff = bp[ndx - 1]; 150 pairlen = newoff - bp[ndx + 1]; 152 if (ndx != (n - 1)) { 157 memmove(dst, src, (size_t)(bp[ndx + 1] - OFFSET(bp))); 160 for (i = ndx + 2; i <= n; i += 2) { 193 int n, ndx, retval; local 215 for (n = 1, ndx = 1; n < ino[0]; n += 2) 484 uint16_t ndx, ovfl_num; local 834 uint16_t ndx; local [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 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 373 int ndx = 0; local 496 int ndx = -1; local 702 int ndx = 0; local [all...] |
| /src/usr.sbin/sysinst/arch/mac68k/ |
| md.c | 256 size_t ndx; local 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/external/cddl/osnet/dev/cyclic/ |
| cyclic.c | 378 cyclic_upheap(cyc_cpu_t *cpu, cyc_index_t ndx) 382 cyc_index_t heap_parent, heap_current = ndx; 421 cyclic_downheap(cyc_cpu_t *cpu, cyc_index_t ndx) 426 cyc_index_t heap_left, heap_right, heap_me = ndx; 496 cyclic_expire(cyc_cpu_t *cpu, cyc_index_t ndx, cyclic_t *cyclic) 547 cyc_index_t ndx = heap[0]; local 549 cyclic = &cyclics[ndx]; 556 cyclic_expire(cpu, ndx, cyclic); 689 cyc_index_t ndx, nelems; local 707 ndx = cpu->cyp_heap[nelems] 784 cyc_index_t ndx = arg->cyx_ndx, nelems = cpu->cyp_nelems, i; local [all...] |
| /src/usr.sbin/sysinst/ |
| disklabel.c | 512 part_id ndx; local 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 823 part_id ndx; local [all...] |
| /src/crypto/external/apache2/openssl/dist/apps/ |
| rehash.c | 128 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table); local 130 for (bp = hash_table[ndx]; bp; bp = bp->next) 136 bp->next = hash_table[ndx]; 139 hash_table[ndx] = bp;
|
| /src/crypto/external/bsd/openssh/dist/ |
| serverloop.c | 695 int r, ndx, success = 0; local 718 if ((ndx = ssh->kex->host_key_index(key, 1, ssh)) == -1) { 726 if ((key_prv = get_hostkey_by_index(ndx)) == NULL && 727 (key_pub = get_hostkey_public_by_index(ndx, ssh)) == NULL) { 728 error_f("can't retrieve hostkey %d", ndx); 749 sshkey_type(key), ndx, sigalg == NULL ? "default" : sigalg);
|
| umac.c | 183 * 'ndx' causes a distinct byte stream. 185 static void kdf(void *buffer_ptr, aes_int_key key, UINT8 ndx, int nbytes) 193 in_buf[AES_BLOCK_LEN-9] = ndx; 259 /* 'ndx' indicates that we'll be using the 0th or 1st eight bytes 260 * of the AES output. If last time around we returned the ndx-1st 276 int ndx = nonce[7] & LOW_BIT_MASK; local 290 xor32(buf, 0, pc->cache, ndx); 292 xor64(buf, 0, pc->cache, ndx);
|
| /src/crypto/external/bsd/openssl/dist/apps/ |
| rehash.c | 128 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table); local 130 for (bp = hash_table[ndx]; bp; bp = bp->next) 136 bp->next = hash_table[ndx]; 139 hash_table[ndx] = bp;
|
| /src/crypto/external/bsd/openssl.old/dist/apps/ |
| rehash.c | 132 unsigned int ndx = (type + hash) % OSSL_NELEM(hash_table); local 134 for (bp = hash_table[ndx]; bp; bp = bp->next) 140 bp->next = hash_table[ndx]; 143 hash_table[ndx] = bp;
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_chu.c | 354 int ndx; /* buffer start index */ member in struct:chuunit 1016 up->ndx = 0; 1018 up->ndx = 0; 1025 if (up->ndx < BURST) { 1026 up->cbuf[up->ndx] = hexhex & 0xff; 1027 up->cstamp[up->ndx] = cstamp; 1028 up->ndx++; 1056 if (up->ndx < MINCHARS) { 1061 for (i = 0; i < 5 && i < up->ndx - 5; i++) 1072 chu_a(peer, up->ndx); [all...] |
| /src/external/cddl/osnet/dev/fbt/ |
| fbt.c | 319 int ndx; local 335 ndx = FBT_ADDR2NDX(fbt->fbtp_patchpoint); 337 hash = fbt_probetab[ndx]; 348 fbt_probetab[ndx] = fbt->fbtp_hashnext; 1147 int ndx = desc->dtargd_ndx; local 1223 if (ndx > 1) 1225 ASSERT(ndx == 1); 1228 if (ndx >= n) 1232 dp += ndx + 1; 1236 desc->dtargd_ndx = ndx; [all...] |
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| dt_link.c | 1219 int fd, i, ndx, eprobe, mod = 0; local 1541 ndx = GELF_R_SYM(rela.r_info); 1543 if (gelf_getsym(data_sym, ndx, &rsym) == NULL || 1649 * Our linker doesn't understand the SUNW_IGNORE ndx and 1683 (void) gelf_update_sym(data_sym, ndx, &rsym);
|
| /src/external/cddl/osnet/dist/uts/common/dtrace/ |
| fasttrap.c | 1388 int i, ndx; local 1399 ndx = (probe->ftp_argmap != NULL) ? 1403 for (i = 0; i < ndx; i++) {
|