| /third_party/python/Modules/clinic/ |
| D | _heapqmodule.c.h | 27 if (!PyList_Check(args[0])) { in _heapq_heappush() 57 if (!PyList_Check(arg)) { in _heapq_heappop() 98 if (!PyList_Check(args[0])) { in _heapq_heapreplace() 135 if (!PyList_Check(args[0])) { in _heapq_heappushpop() 165 if (!PyList_Check(arg)) { in _heapq_heapify() 194 if (!PyList_Check(arg)) { in _heapq__heappop_max() 228 if (!PyList_Check(args[0])) { in _heapq__heapreplace_max() 258 if (!PyList_Check(arg)) { in _heapq__heapify_max()
|
| D | itertoolsmodule.c.h | 140 if (!PyList_Check(PyTuple_GET_ITEM(args, 1))) { in itertools_teedataobject()
|
| /third_party/python/Modules/ |
| D | _heapqmodule.c | 31 assert(PyList_Check(heap)); in siftdown() 76 assert(PyList_Check(heap)); in siftup() 400 assert(PyList_Check(heap)); in siftdown_max() 445 assert(PyList_Check(heap)); in siftup_max()
|
| D | termios.c | 168 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr_impl() 197 if (!PyList_Check(cc) || PyList_Size(cc) != NCCS) { in termios_tcsetattr_impl()
|
| D | _abc.c | 318 assert(PyList_Check(items)); in compute_abstract_methods() 775 if (!PyList_Check(subclasses)) { in _abc__abc_subclasscheck_impl()
|
| D | _tkinter.c | 976 if (PyTuple_Check(value) || PyList_Check(value)) { in AsObj() 1272 else if (!(PyTuple_Check(args) || PyList_Check(args))) { in Tkapp_CallArgs() 2170 if (PyList_Check(arg)) { in _tkinter_tkapp_splitlist() 2946 } else if (PyTuple_Check(item) || PyList_Check(item)) { in _flatten1() 2955 if (PyList_Check(o) || PyTuple_Check(o)) { in _flatten1()
|
| D | _testinternalcapi.c | 516 if (!PyList_Check(list)) { in set_eval_frame_record()
|
| D | _testbuffer.c | 30 if (!PyList_Check(v) && !PyTuple_Check(v)) { \ 313 assert(PyList_Check(items) || PyTuple_Check(items)); in pack_from_list() 357 else if ((PyList_Check(item) || PyTuple_Check(item)) && in pack_from_list() 439 else if ((PyList_Check(item) || PyTuple_Check(item)) && in pack_single()
|
| D | _posixsubprocess.c | 953 if (!PyList_Check(groups_list)) { in subprocess_fork_exec()
|
| D | arraymodule.c | 1583 if (!PyList_Check(list)) { in array_array_fromlist() 2648 if (!(initial == NULL || PyList_Check(initial) in array_new() 2672 else if (PyList_Check(initial)) in array_new()
|
| /third_party/python/Objects/ |
| D | listobject.c | 221 if (!PyList_Check(op)) { in PyList_Size() 245 if (!PyList_Check(op)) { in PyList_GetItem() 262 if (!PyList_Check(op)) { in PyList_SetItem() 310 if (!PyList_Check(op)) { in PyList_Insert() 334 if (PyList_Check(op) && (newitem != NULL)) { in PyList_Append() 496 if (!PyList_Check(a)) { in PyList_GetSlice() 522 if (!PyList_Check(bb)) { in list_concat() 742 if (!PyList_Check(a)) { in PyList_SetSlice() 2283 assert(PyList_Check(self)); in list_sort_impl() 2535 if (v == NULL || !PyList_Check(v)) { in PyList_Sort() [all …]
|
| D | object.c | 1559 if (!PyList_Check(names)) { in _dir_locals() 2207 if (list == NULL || !PyList_Check(list)) in Py_ReprLeave()
|
| D | typeobject.c | 2014 if (seq != NULL && !PyList_Check(seq)) { in type_mro_impl() 4923 if (slotnames != Py_None && !PyList_Check(slotnames)) { in _PyType_GetSlotNames() 4953 if (slotnames != Py_None && !PyList_Check(slotnames)) { in _PyType_GetSlotNames() 4993 assert(slotnames == Py_None || PyList_Check(slotnames)); in object_getstate_default() 5235 if (!PyList_Check(obj)) { in _PyObject_GetItemsIter() 5344 state = object_getstate(obj, !(hasargs || PyList_Check(obj) || PyDict_Check(obj))); in reduce_newobj()
|
| /third_party/python/Include/ |
| D | abstract.h | 720 (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o)) 725 (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) 730 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
|
| D | listobject.h | 24 #define PyList_Check(op) \ macro
|
| /third_party/python/Python/ |
| D | Python-ast.c | 5505 if (!PyList_Check(tmp)) { in obj2ast_mod() 5542 if (!PyList_Check(tmp)) { in obj2ast_mod() 5591 if (!PyList_Check(tmp)) { in obj2ast_mod() 5670 if (!PyList_Check(tmp)) { in obj2ast_mod() 5867 if (!PyList_Check(tmp)) { in obj2ast_stmt() 5904 if (!PyList_Check(tmp)) { in obj2ast_stmt() 6028 if (!PyList_Check(tmp)) { in obj2ast_stmt() 6065 if (!PyList_Check(tmp)) { in obj2ast_stmt() 6172 if (!PyList_Check(tmp)) { in obj2ast_stmt() 6209 if (!PyList_Check(tmp)) { in obj2ast_stmt() [all …]
|
| D | sysmodule.c | 2229 if (warnoptions == NULL || !PyList_Check(warnoptions)) { in get_warnoptions() 2263 if (warnoptions == NULL || !PyList_Check(warnoptions)) in PySys_ResetWarnOptions() 2317 return (warnoptions != NULL && PyList_Check(warnoptions) in PySys_HasWarnOptions()
|
| D | traceback.c | 335 if (syspath == NULL || !PyList_Check(syspath)) in _Py_FindSourceFile()
|
| /third_party/python/Include/internal/ |
| D | pycore_list.h | 47 assert(PyList_Check(self)); in _PyList_AppendTakeRef()
|
| /third_party/python/Include/cpython/ |
| D | listobject.h | 29 (assert(PyList_Check(op)), _Py_CAST(PyListObject*, (op)))
|
| /third_party/python/Doc/c-api/ |
| D | list.rst | 22 .. c:function:: int PyList_Check(PyObject *p)
|
| /third_party/python/Modules/_decimal/ |
| D | _decimal.c | 382 assert(PyList_Check(list)); in list_as_flags() 1185 if (PyList_Check(traps)) { in context_setattrs() 1201 if (PyList_Check(status)) { in context_setattrs() 2446 if (PyList_Check(v)) { in sequence_as_tuple() 2757 else if (PyTuple_Check(v) || PyList_Check(v)) { in PyDecType_FromObjectExact() 2806 else if (PyTuple_Check(v) || PyList_Check(v)) { in PyDec_FromObject()
|
| /third_party/python/PC/ |
| D | _msi.c | 266 if (!PyList_Check(files)) { in _msi_FCICreate_impl()
|
| /third_party/python/Doc/faq/ |
| D | extending.rst | 93 :c:func:`PyBytes_Check`, :c:func:`PyTuple_Check`, :c:func:`PyList_Check`, etc.
|
| /third_party/python/Modules/_sre/clinic/ |
| D | sre.c.h | 802 if (!PyList_Check(args[2])) { in _sre_compile()
|