Lines Matching refs:_odict_FIRST
522 #define _odict_FIRST(od) (((PyODictObject *)od)->od_first) macro
524 #define _odict_EMPTY(od) (_odict_FIRST(od) == NULL)
526 for (node = _odict_FIRST(od); node != NULL; node = _odictnode_NEXT(node))
639 _odictnode_NEXT(node) = _odict_FIRST(od); in _odict_add_head()
640 if (_odict_FIRST(od) == NULL) in _odict_add_head()
643 _odictnode_PREV(_odict_FIRST(od)) = node; in _odict_add_head()
644 _odict_FIRST(od) = node; in _odict_add_head()
654 _odict_FIRST(od) = node; in _odict_add_tail()
709 if (_odict_FIRST(od) == node) in _odict_remove_node()
710 _odict_FIRST(od) = _odictnode_NEXT(node); in _odict_remove_node()
782 node = _odict_FIRST(od); in _odict_clear_nodes()
783 _odict_FIRST(od) = NULL; in _odict_clear_nodes()
800 node_a = _odict_FIRST(a); in _odict_keys_equal()
801 node_b = _odict_FIRST(b); in _odict_keys_equal()
1122 node = last ? _odict_LAST(self) : _odict_FIRST(self); in OrderedDict_popitem_impl()
1275 node = last ? _odict_LAST(self) : _odict_FIRST(self); in OrderedDict_move_to_end_impl()
1292 if (node != _odict_FIRST(self)) { in OrderedDict_move_to_end_impl()
1883 node = reversed ? _odict_LAST(od) : _odict_FIRST(od); in odictiter_new()