Lines Matching refs:key_idx
596 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_clone_without() local
597 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_clone_without()
600 for (i = 0; i < key_idx; i++) { in hamt_node_bitmap_clone_without()
711 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_assoc() local
712 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc()
716 PyObject *key_or_null = self->b_array[key_idx]; in hamt_node_bitmap_assoc()
795 Py_SETREF(ret->b_array[key_idx], NULL); in hamt_node_bitmap_assoc()
904 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_assoc() local
905 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_assoc()
920 for (i = 0; i < key_idx; i++) { in hamt_node_bitmap_assoc()
927 new_node->b_array[key_idx] = key; in hamt_node_bitmap_assoc()
934 for (i = key_idx; i < (uint32_t)Py_SIZE(self); i++) { in hamt_node_bitmap_assoc()
958 uint32_t key_idx = 2 * idx; in hamt_node_bitmap_without() local
959 uint32_t val_idx = key_idx + 1; in hamt_node_bitmap_without()
961 PyObject *key_or_null = self->b_array[key_idx]; in hamt_node_bitmap_without()
1018 Py_XSETREF(clone->b_array[key_idx], key); in hamt_node_bitmap_without()
1094 uint32_t key_idx; in hamt_node_bitmap_find() local
1105 key_idx = idx * 2; in hamt_node_bitmap_find()
1106 val_idx = key_idx + 1; in hamt_node_bitmap_find()
1110 key_or_null = self->b_array[key_idx]; in hamt_node_bitmap_find()
1318 Py_ssize_t key_idx = -1; in hamt_node_collision_assoc() local
1324 found = hamt_node_collision_find_index(self, key, &key_idx); in hamt_node_collision_assoc()
1356 assert(key_idx >= 0); in hamt_node_collision_assoc()
1357 assert(key_idx < Py_SIZE(self)); in hamt_node_collision_assoc()
1358 Py_ssize_t val_idx = key_idx + 1; in hamt_node_collision_assoc()
1434 Py_ssize_t key_idx = -1; in hamt_node_collision_without() local
1435 hamt_find_t found = hamt_node_collision_find_index(self, key, &key_idx); in hamt_node_collision_without()
1445 assert(key_idx >= 0); in hamt_node_collision_without()
1446 assert(key_idx < Py_SIZE(self)); in hamt_node_collision_without()
1470 if (key_idx == 0) { in hamt_node_collision_without()
1477 assert(key_idx == 2); in hamt_node_collision_without()
1501 for (i = 0; i < key_idx; i++) { in hamt_node_collision_without()
1505 for (i = key_idx + 2; i < Py_SIZE(self); i++) { in hamt_node_collision_without()