Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_collectionsmodule.c520 dequeobject *new_deque; in deque_copy() local
523 new_deque = (dequeobject *)deque_new(&deque_type, (PyObject *)NULL, (PyObject *)NULL); in deque_copy()
524 if (new_deque == NULL) in deque_copy()
526 new_deque->maxlen = old_deque->maxlen; in deque_copy()
530 rv = deque_append(new_deque, item); in deque_copy()
532 rv = deque_extend(new_deque, deque); in deque_copy()
536 return (PyObject *)new_deque; in deque_copy()
538 Py_DECREF(new_deque); in deque_copy()
562 PyObject *new_deque, *result; in deque_concat() local
575 new_deque = deque_copy((PyObject *)deque); in deque_concat()
[all …]