Searched refs:deque_type (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Modules/ |
D | _collectionsmodule.c | 88 static PyTypeObject deque_type; variable 519 if (Py_TYPE(deque) == &deque_type) { in deque_copy() 523 new_deque = (dequeobject *)deque_new(&deque_type, (PyObject *)NULL, (PyObject *)NULL); in deque_copy() 547 if (result != NULL && !PyObject_TypeCheck(result, &deque_type)) { in deque_copy() 565 rv = PyObject_IsInstance(other, (PyObject *)&deque_type); in deque_concat() 1413 if (!PyObject_TypeCheck(v, &deque_type) || in deque_richcompare() 1414 !PyObject_TypeCheck(w, &deque_type)) { in deque_richcompare() 1638 static PyTypeObject deque_type = { variable 1763 if (!PyArg_ParseTuple(args, "O!|n", &deque_type, &deque, &index)) in dequeiter_new() 1905 if (!PyArg_ParseTuple(args, "O!|n", &deque_type, &deque, &index)) in dequereviter_new() [all …]
|
/external/python/cpython2/Modules/ |
D | _collectionsmodule.c | 124 static PyTypeObject deque_type; variable 868 if (result != NULL && !PyObject_TypeCheck(result, &deque_type)) { in deque_copy() 1005 if (!PyObject_TypeCheck(v, &deque_type) || in deque_richcompare() 1006 !PyObject_TypeCheck(w, &deque_type)) { in deque_richcompare() 1199 static PyTypeObject deque_type = { variable 1758 if (PyType_Ready(&deque_type) < 0) in init_collections() 1760 Py_INCREF(&deque_type); in init_collections() 1761 PyModule_AddObject(m, "deque", (PyObject *)&deque_type); in init_collections()
|