Home
last modified time | relevance | path

Searched refs:_deque_rotate (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
D_collectionsmodule.c411 _deque_rotate(dequeobject *deque, Py_ssize_t n) in _deque_rotate() function
508 if (_deque_rotate(deque, n) == 0) in deque_rotate()
624 if (_deque_rotate(deque, i)) in deque_remove()
630 _deque_rotate(deque, i); in deque_remove()
633 _deque_rotate(deque, -1); in deque_remove()
768 if (_deque_rotate(deque, -i)) in deque_del_item()
771 rv = _deque_rotate(deque, i); in deque_del_item()
/external/python/cpython3/Modules/
D_collectionsmodule.c774 _deque_rotate(dequeobject *deque, Py_ssize_t n) in _deque_rotate() function
917 if (!_deque_rotate(deque, n)) in deque_rotate()
1144 if (_deque_rotate(deque, -index)) in deque_insert()
1153 if (_deque_rotate(deque, index)) in deque_insert()
1219 if (_deque_rotate(deque, -i)) in deque_del_item()
1222 rv = _deque_rotate(deque, i); in deque_del_item()