Lines Matching refs:ix
92 static inline UWord swa_bitarray_read ( const UChar* arr, UWord ix ) { in swa_bitarray_read() argument
93 UWord bix = ix >> 3; in swa_bitarray_read()
94 UWord off = ix & 7; in swa_bitarray_read()
98 static inline UWord swa_bitarray_read_then_set ( UChar* arr, UWord ix ) { in swa_bitarray_read_then_set() argument
99 UWord bix = ix >> 3; in swa_bitarray_read_then_set()
100 UWord off = ix & 7; in swa_bitarray_read_then_set()
107 static inline UWord swa_bitarray_read_then_clear ( UChar* arr, UWord ix ) { in swa_bitarray_read_then_clear() argument
108 UWord bix = ix >> 3; in swa_bitarray_read_then_clear()
109 UWord off = ix & 7; in swa_bitarray_read_then_clear()
281 UWord ix; in VG_() local
294 ix = (key >> (i*8)) & 0xFF; in VG_()
295 levelN = levelN->child[ix]; in VG_()
303 ix = key & 0xFF; in VG_()
304 if (swa_bitarray_read(level0->inUse, ix) == 0) return False; in VG_()
305 *valP = level0->words[ix]; in VG_()
313 UWord ix; in VG_() local
330 ix = (key >> (i*8)) & 0xFF; in VG_()
331 if (levelN->child[ix] == NULL) { in VG_()
332 levelN->child[ix] = swa_new_LevelN(swa, i-1); in VG_()
336 levelN = levelN->child[ix]; in VG_()
342 ix = (key >> (1*8)) & 0xFF; in VG_()
343 if (levelN->child[ix] == NULL) { in VG_()
344 levelN->child[ix] = swa_new_Level0(swa); in VG_()
348 level0 = levelN->child[ix]; in VG_()
353 ix = key & 0xFF; in VG_()
354 if (swa_bitarray_read_then_set(level0->inUse, ix) == 0) { in VG_()
361 level0->words[ix] = val; in VG_()
371 UWord ix; in VG_() local
389 ix = (key >> (i*8)) & 0xFF; in VG_()
391 visitedIx[nVisited++] = ix; in VG_()
392 levelN = levelN->child[ix]; in VG_()
400 ix = key & 0xFF; in VG_()
402 if (swa_bitarray_read_then_clear(level0->inUse, ix) == 0) in VG_()
405 *oldV = level0->words[ix]; in VG_()