Lines Matching refs:pos
51 uint32_t pos, i; in ir_strtab_resize() local
62 pos = 0; in ir_strtab_resize()
67 ((uint32_t*)strtab->data)[(int32_t)h] = pos; in ir_strtab_resize()
68 pos += sizeof(ir_strtab_bucket); in ir_strtab_resize()
103 strtab->pos = 0; in ir_strtab_init()
119 uint32_t pos = ((uint32_t*)data)[(int32_t)(h | strtab->mask)]; in ir_strtab_find() local
122 while (pos != IR_INVALID_IDX) { in ir_strtab_find()
123 p = (ir_strtab_bucket*)(data + pos); in ir_strtab_find()
129 pos = p->next; in ir_strtab_find()
138 uint32_t pos = ((uint32_t*)data)[(int32_t)(h | strtab->mask)]; in ir_strtab_lookup() local
141 while (pos != IR_INVALID_IDX) { in ir_strtab_lookup()
142 p = (ir_strtab_bucket*)(data + pos); in ir_strtab_lookup()
148 pos = p->next; in ir_strtab_lookup()
169 pos = strtab->pos; in ir_strtab_lookup()
170 strtab->pos += sizeof(ir_strtab_bucket); in ir_strtab_lookup()
172 p = (ir_strtab_bucket*)(data + pos); in ir_strtab_lookup()
178 ((uint32_t*)data)[(int32_t)h] = pos; in ir_strtab_lookup()
187 uint32_t pos = ((uint32_t*)data)[(int32_t)(h | strtab->mask)]; in ir_strtab_update() local
190 while (pos != IR_INVALID_IDX) { in ir_strtab_update()
191 p = (ir_strtab_bucket*)(data + pos); in ir_strtab_update()
197 pos = p->next; in ir_strtab_update()