Lines Matching refs:sub_node
744 PyHamtNode *sub_node = hamt_node_assoc( in hamt_node_bitmap_assoc() local
747 if (sub_node == NULL) { in hamt_node_bitmap_assoc()
751 if (val_or_node == (PyObject *)sub_node) { in hamt_node_bitmap_assoc()
752 Py_DECREF(sub_node); in hamt_node_bitmap_assoc()
761 Py_SETREF(ret->b_array[val_idx], (PyObject*)sub_node); in hamt_node_bitmap_assoc()
799 PyHamtNode *sub_node = hamt_node_new_bitmap_or_collision( in hamt_node_bitmap_assoc() local
805 if (sub_node == NULL) { in hamt_node_bitmap_assoc()
811 Py_DECREF(sub_node); in hamt_node_bitmap_assoc()
815 Py_SETREF(ret->b_array[val_idx], (PyObject *)sub_node); in hamt_node_bitmap_assoc()
986 PyHamtNode *sub_node = NULL; in hamt_node_bitmap_without() local
990 shift + 5, hash, key, &sub_node); in hamt_node_bitmap_without()
1011 assert(sub_node != NULL); in hamt_node_bitmap_without()
1013 if (IS_BITMAP_NODE(sub_node)) { in hamt_node_bitmap_without()
1014 PyHamtNode_Bitmap *sub_tree = (PyHamtNode_Bitmap *)sub_node; in hamt_node_bitmap_without()
1029 Py_DECREF(sub_node); in hamt_node_bitmap_without()
1052 if (IS_COLLISION_NODE(sub_node)) { in hamt_node_bitmap_without()
1054 (PyHamtNode_Collision*)sub_node) > 1); in hamt_node_bitmap_without()
1064 (PyObject *)sub_node); /* borrow */ in hamt_node_bitmap_without()
1072 assert(sub_node == NULL); in hamt_node_bitmap_without()
1783 PyHamtNode *sub_node = NULL; in hamt_node_array_without() local
1786 shift + 5, hash, key, &sub_node); in hamt_node_array_without()
1791 assert(sub_node == NULL); in hamt_node_array_without()
1798 assert(sub_node != NULL); in hamt_node_array_without()
1802 Py_DECREF(sub_node); in hamt_node_array_without()
1806 Py_SETREF(clone->a_array[idx], sub_node); /* borrow */ in hamt_node_array_without()
1812 assert(sub_node == NULL); in hamt_node_array_without()