Searched refs:ndx (Results 1 - 25 of 47) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/g++.dg/warn/
H A DWreturn-type-2.C10 int getref (int ndx) argument
14 if (ndx != 0) {
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/g++.dg/warn/
H A DWreturn-type-2.C10 int getref (int ndx) argument
14 if (ndx != 0) {
/netbsd-6-1-5-RELEASE/bin/sh/
H A Dsyntax.c14 #define ndx(ch) (ch + 1 - CHAR_MIN) macro
15 #define set(ch, val) [ndx(ch)] = val,
16 #define set_range(s, e, val) [ndx(s) ... ndx(e)] = val,
/netbsd-6-1-5-RELEASE/external/cddl/osnet/sys/sys/
H A Dcyclic_impl.h302 #define CYC_HEAP_PARENT(ndx) (((ndx) - 1) >> 1)
303 #define CYC_HEAP_RIGHT(ndx) (((ndx) + 1) << 1)
304 #define CYC_HEAP_LEFT(ndx) ((((ndx) + 1) << 1) - 1)
/netbsd-6-1-5-RELEASE/external/bsd/libelf/dist/
H A Dgelf_cap.c45 gelf_getcap(Elf_Data *d, int ndx, GElf_Cap *dst) argument
55 if (d == NULL || ndx < 0 || dst == NULL ||
79 if (msz * ndx >= d->d_size) {
86 cap32 = (Elf32_Cap *) d->d_buf + ndx;
93 cap64 = (Elf64_Cap *) d->d_buf + ndx;
102 gelf_update_cap(Elf_Data *d, int ndx, GElf_Cap *gc) argument
112 if (d == NULL || ndx < 0 || gc == NULL ||
135 if (msz * ndx >= d->d_size) {
141 cap32 = (Elf32_Cap *) d->d_buf + ndx;
146 cap64 = (Elf64_Cap *) d->d_buf + ndx;
[all...]
H A Dgelf_dyn.c43 gelf_getdyn(Elf_Data *d, int ndx, GElf_Dyn *dst) argument
53 if (d == NULL || ndx < 0 || dst == NULL ||
77 if (msz * ndx >= d->d_size) {
83 dyn32 = (Elf32_Dyn *) d->d_buf + ndx;
90 dyn64 = (Elf64_Dyn *) d->d_buf + ndx;
99 gelf_update_dyn(Elf_Data *d, int ndx, GElf_Dyn *ds) argument
109 if (d == NULL || ndx < 0 || ds == NULL ||
132 if (msz * ndx >= d->d_size) {
138 dyn32 = (Elf32_Dyn *) d->d_buf + ndx;
143 dyn64 = (Elf64_Dyn *) d->d_buf + ndx;
[all...]
H A Dgelf_syminfo.c45 gelf_getsyminfo(Elf_Data *d, int ndx, GElf_Syminfo *dst) argument
55 if (d == NULL || ndx < 0 || dst == NULL ||
79 if (msz * ndx >= d->d_size) {
86 syminfo32 = (Elf32_Syminfo *) d->d_buf + ndx;
93 syminfo64 = (Elf64_Syminfo *) d->d_buf + ndx;
102 gelf_update_syminfo(Elf_Data *d, int ndx, GElf_Syminfo *gs) argument
112 if (d == NULL || ndx < 0 || gs == NULL ||
135 if (msz * ndx >= d->d_size) {
141 syminfo32 = (Elf32_Syminfo *) d->d_buf + ndx;
147 syminfo64 = (Elf64_Syminfo *) d->d_buf + ndx;
[all...]
H A Dgelf_symshndx.c43 gelf_getsymshndx(Elf_Data *d, Elf_Data *id, int ndx, GElf_Sym *dst, argument
52 if (gelf_getsym(d, ndx, dst) == 0)
80 if (msz * ndx >= id->d_size) {
85 *shindex = ((Elf32_Word *) id->d_buf)[ndx];
91 gelf_update_symshndx(Elf_Data *d, Elf_Data *id, int ndx, GElf_Sym *gs, argument
100 if (gelf_update_sym(d, ndx, gs) == 0)
126 if (msz * ndx >= id->d_size) {
131 *(((Elf32_Word *) id->d_buf) + ndx) = xindex;
H A Dgelf_move.c45 gelf_getmove(Elf_Data *d, int ndx, GElf_Move *dst) argument
55 if (d == NULL || ndx < 0 || dst == NULL ||
79 if (msz * ndx >= d->d_size) {
86 move32 = (Elf32_Move *) d->d_buf + ndx;
95 move64 = (Elf64_Move *) d->d_buf + ndx;
104 gelf_update_move(Elf_Data *d, int ndx, GElf_Move *gm) argument
114 if (d == NULL || ndx < 0 || gm == NULL ||
137 if (msz * ndx >= d->d_size) {
143 move32 = (Elf32_Move *) d->d_buf + ndx;
152 move64 = (Elf64_Move *) d->d_buf + ndx;
[all...]
H A Dgelf_rel.c43 gelf_getrel(Elf_Data *d, int ndx, GElf_Rel *dst) argument
53 if (d == NULL || ndx < 0 || dst == NULL ||
77 if (msz * ndx >= d->d_size) {
83 rel32 = (Elf32_Rel *) d->d_buf + ndx;
92 rel64 = (Elf64_Rel *) d->d_buf + ndx;
101 gelf_update_rel(Elf_Data *d, int ndx, GElf_Rel *dr) argument
111 if (d == NULL || ndx < 0 || dr == NULL ||
134 if (msz * ndx >= d->d_size) {
140 rel32 = (Elf32_Rel *) d->d_buf + ndx;
152 rel64 = (Elf64_Rel *) d->d_buf + ndx;
[all...]
H A Dgelf_rela.c43 gelf_getrela(Elf_Data *d, int ndx, GElf_Rela *dst) argument
53 if (d == NULL || ndx < 0 || dst == NULL ||
77 if (msz * ndx >= d->d_size) {
83 rela32 = (Elf32_Rela *) d->d_buf + ndx;
93 rela64 = (Elf64_Rela *) d->d_buf + ndx;
102 gelf_update_rela(Elf_Data *d, int ndx, GElf_Rela *dr) argument
112 if (d == NULL || ndx < 0 || dr == NULL ||
135 if (msz * ndx >= d->d_size) {
141 rela32 = (Elf32_Rela *) d->d_buf + ndx;
155 rela64 = (Elf64_Rela *) d->d_buf + ndx;
[all...]
H A Dgelf_sym.c43 gelf_getsym(Elf_Data *d, int ndx, GElf_Sym *dst) argument
53 if (d == NULL || ndx < 0 || dst == NULL ||
77 if (msz * ndx >= d->d_size) {
84 sym32 = (Elf32_Sym *) d->d_buf + ndx;
95 sym64 = (Elf64_Sym *) d->d_buf + ndx;
104 gelf_update_sym(Elf_Data *d, int ndx, GElf_Sym *gs) argument
114 if (d == NULL || ndx < 0 || gs == NULL ||
137 if (msz * ndx >= d->d_size) {
143 sym32 = (Elf32_Sym *) d->d_buf + ndx;
153 sym64 = (Elf64_Sym *) d->d_buf + ndx;
[all...]
H A Dgelf_phdr.c128 gelf_update_phdr(Elf *e, int ndx, GElf_Phdr *s) argument
154 if (ndx < 0 || ndx > phnum) {
160 ph64 = e->e_u.e_elf.e_phdr.e_phdr64 + ndx;
165 ph32 = e->e_u.e_elf.e_phdr.e_phdr32 + ndx;
H A Dlibelf_allocate.c166 _libelf_allocate_scn(Elf *e, size_t ndx) argument
176 s->s_ndx = ndx;
/netbsd-6-1-5-RELEASE/sys/dev/ic/
H A Dathrate-sample.c166 * 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_nd
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...]
/netbsd-6-1-5-RELEASE/lib/libc/db/hash/
H A Dhash_page.c135 __delpair(HTAB *hashp, BUFHEAD *bufp, int ndx) argument
145 if (bp[ndx + 1] < REAL_KEY)
147 if (ndx != 1)
148 newoff = bp[ndx - 1];
151 pairlen = newoff - bp[ndx + 1];
153 if (ndx != (n - 1)) {
158 memmove(dst, src, (size_t)(bp[ndx + 1] - OFFSET(bp)));
161 for (i = ndx + 2; i <= n; i += 2) {
194 int n, ndx, retval; local
216 for (n = 1, ndx
485 uint16_t ndx, ovfl_num; local
638 __ibitmap(HTAB *hashp, int pnum, int nbits, int ndx) argument
831 uint16_t ndx; local
932 fetch_bitmap(HTAB *hashp, int ndx) argument
[all...]
H A Dhash.c583 int n, ndx, off; local
602 for (bp = (uint16_t *)(void *)rbufp->page, n = *bp++, ndx = 1; ndx < n;)
613 ndx += 2;
623 ndx = 1;
626 if ((ndx =
627 __find_bigpair(hashp, rbufp, ndx, kp, (int)size)) > 0)
629 if (ndx == -2) {
633 ndx = 0;
646 ndx
711 uint16_t *bp, ndx; local
[all...]
H A Dhash_bigkey.c293 __find_bigpair(HTAB *hashp, BUFHEAD *bufp, int ndx, char *key, int size) argument
306 for (bytes = hashp->BSIZE - bp[ndx];
307 bytes <= size && bp[ndx + 1] == PARTIAL_KEY;
308 bytes = hashp->BSIZE - bp[ndx]) {
309 if (memcmp(p + bp[ndx], kkey, (size_t)bytes))
313 bufp = __get_buf(hashp, (uint32_t)bp[ndx + 2], bufp, 0);
318 ndx = 1;
321 if (bytes != ksize || memcmp(p + bp[ndx], kkey, (size_t)bytes)) {
327 return (ndx);
379 __big_return(HTAB *hashp, BUFHEAD *bufp, int ndx, DB argument
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/
H A Dinstallboot.c197 int ndx; local
198 for (ndx = 0; options[ndx].name != NULL; ndx++) {
199 if (unsupported_flags & options[ndx].flag) {
200 unsupported_flags &= ~options[ndx].flag;
202 options[ndx].name, params->machine->name);
396 int ndx; local
401 for (ndx = 0; options[ndx]
[all...]
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Dadmin.c255 struct admin_com_indexes *ndx; local
259 ndx = (struct admin_com_indexes *) ((caddr_t)com + sizeof(*com));
260 src = (struct sockaddr *) &ndx->src;
261 dst = (struct sockaddr *) &ndx->dst;
413 struct admin_com_indexes *ndx; local
418 ndx = (struct admin_com_indexes *) ((caddr_t)com + sizeof(*com));
419 src = (struct sockaddr *) &ndx->src;
420 dst = (struct sockaddr *) &ndx->dst;
423 com->ac_len > sizeof(*com) + sizeof(*ndx))
424 name = (char *) ((caddr_t) ndx
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dev/cyclic/
H A Dcyclic.c352 cyclic_upheap(cyc_cpu_t *cpu, cyc_index_t ndx) argument
356 cyc_index_t heap_parent, heap_current = ndx;
395 cyclic_downheap(cyc_cpu_t *cpu, cyc_index_t ndx) argument
400 cyc_index_t heap_left, heap_right, heap_me = ndx;
470 cyclic_expire(cyc_cpu_t *cpu, cyc_index_t ndx, cyclic_t *cyclic) argument
590 cyc_index_t ndx = heap[0]; local
592 cyclic = &cyclics[ndx];
599 cyclic_expire(cpu, ndx, cyclic);
721 cyc_index_t ndx, nelems; local
745 ndx
777 cyclic_remove_here(cyc_cpu_t *cpu, cyc_index_t ndx, cyc_time_t *when, int wait) argument
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libdtrace/common/
H A Ddt_aggregate.c377 size_t offs, roffs, size, ndx; local
487 ndx = hashval % hash->dtah_size;
489 for (h = hash->dtah_hash[ndx]; h != NULL; h = h->dtahe_next) {
622 if (hash->dtah_hash[ndx] != NULL)
623 hash->dtah_hash[ndx]->dtahe_prev = h;
625 h->dtahe_next = hash->dtah_hash[ndx];
626 hash->dtah_hash[ndx] = h;
728 int ndx = i + keypos; local
730 if (ndx >= nrecs)
731 ndx
1151 size_t ndx = h->dtahe_hashval % hash->dtah_size; local
1414 int ndx = i + sortpos; local
1463 int ndx; local
1771 int ndx = j - sortpos; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/
H A Dthumb2-it.exp128 proc test_it_break { ndx } {
131 set line [gdb_get_line_number "@ Break ${ndx}"]
134 unresolved "continue to breakpoint: test ${ndx}"
139 gdb_continue_to_breakpoint "test ${ndx}" ".*@ Location ${ndx}.*"
141 gdb_continue_to_breakpoint "test ${ndx}" ".*@ Break ${ndx}.*"
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.target/i386/
H A Dsse4_2-pcmpstr.h284 int i, ndx; local
290 ndx = dim;
296 ndx = i;
305 ndx = i;
311 return ndx;
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_chu.c352 int ndx; /* buffer start index */ member in struct:chuunit
1017 up->ndx = 0;
1019 up->ndx = 0;
1026 if (up->ndx < BURST) {
1027 up->cbuf[up->ndx] = hexhex & 0xff;
1028 up->cstamp[up->ndx] = cstamp;
1029 up->ndx++;
1057 if (up->ndx < MINCHAR) {
1062 for (i = 0; i < 5 && i < up->ndx - 5; i++)
1073 chu_a(peer, up->ndx);
[all...]

Completed in 977 milliseconds

12