Lines Matching refs:ndx
374 size_t size, old_size, new_size, ndx;
406 ndx = moving->dtahe_hashval % new_size;
407 if (new_hash.dtah_hash[ndx] != NULL)
408 new_hash.dtah_hash[ndx]->dtahe_prev = moving;
409 moving->dtahe_next = new_hash.dtah_hash[ndx];
410 new_hash.dtah_hash[ndx] = moving;
434 size_t offs, roffs, size, ndx;
546 ndx = hashval % dtrace_ahashsize[hash->dtah_sizendx];
548 for (h = hash->dtah_hash[ndx]; h != NULL; h = h->dtahe_next) {
689 ndx = h->dtahe_hashval % hash->dtah_size;
690 if (hash->dtah_hash[ndx] != NULL)
691 hash->dtah_hash[ndx]->dtahe_prev = h;
693 h->dtahe_next = hash->dtah_hash[ndx];
694 hash->dtah_hash[ndx] = h;
797 int ndx = i + keypos;
799 if (ndx >= nrecs)
800 ndx = ndx - nrecs + 1;
802 lrec = &lagg->dtagd_rec[ndx];
803 rrec = &ragg->dtagd_rec[ndx];
1220 size_t ndx = h->dtahe_hashval % hash->dtah_size;
1222 assert(hash->dtah_hash[ndx] == h);
1223 hash->dtah_hash[ndx] = h->dtahe_next;
1485 int ndx = i + sortpos;
1487 if (ndx >= naggvars)
1488 ndx -= naggvars;
1490 aggvar = aggvars[ndx];
1518 naggvars] == aggvars[ndx]);
1534 int ndx;
1536 if ((id = dt_aggregate_aggvarid(h)) > max || !(ndx = map[id]))
1539 if (zaggdata[ndx - 1].dtahe_size == 0) {
1540 zaggdata[ndx - 1].dtahe_size = h->dtahe_size;
1541 zaggdata[ndx - 1].dtahe_data = h->dtahe_data;
1842 int ndx = j - sortpos;
1844 if (ndx < 0)
1845 ndx += naggvars;
1847 assert(bundle[i][ndx] != NULL);
1848 data[j + 1] = &bundle[i][ndx]->dtahe_data;