Lines Matching defs:idx
453 uint32_t num_of_str, idx, mlen, msglen;
488 idx = (top + bottom) / 2;
490 SWAP(gmnp, msgid_tbl[idx].offset);
494 top = idx + 1;
496 bottom = idx;
499 SWAP(gmnp, msgstr_tbl[idx].len) + 1;
500 *midx = idx;
502 SWAP(gmnp, msgstr_tbl[idx].offset));
523 idx = hash_val - 1;
524 mlen = SWAP(gmnp, msgid_tbl[idx].len);
525 msg = base + SWAP(gmnp, msgid_tbl[idx].offset);
532 idx = hash_val - num_of_str - 1;
533 mlen = gmnp->d_msg[MSGID][idx].len;
534 msg = gmnp->mchunk + gmnp->d_msg[MSGID][idx].offset;
545 *msgstrlen = SWAP(gmnp, msgstr_tbl[idx].len) + 1;
546 msg = base + SWAP(gmnp, msgstr_tbl[idx].offset);
547 *midx = idx;
549 *msgstrlen = gmnp->d_msg[MSGSTR][idx].len + 1;
550 msg = gmnp->mchunk + gmnp->d_msg[MSGSTR][idx].offset;
551 *midx = idx + num_of_str;
954 int n, i, num, bias, idx, want_digits;
981 idx = want_digits = 0;
1007 for (n = 8, idx = 0; idx < 4; idx++, n *= 2) {
1011 if (idx == 4)
1020 *lenp = (uint32_t)ltbl[bias + idx];
1021 return (tbl[bias + idx]);
1113 didx = SWAP(p, entry->idx);
1179 uint32_t idx, hash_value, hash_size;
1230 idx = get_hash_index(d_hash, hash_value, hash_size);
1231 d_hash[idx] = num_of_str + i + 1;
1364 uint32_t idx, inc;
1366 idx = hash_value % hash_size;
1370 if (hash_tbl[idx] == 0) {
1372 return (idx);
1374 idx = (idx + inc) % hash_size;