/external/python/cpython3/Modules/ |
D | _heapqmodule.c | 25 assert(PyList_Check(heap)); in siftdown() 70 assert(PyList_Check(heap)); in siftup() 127 if (!PyList_Check(heap)) { in _heapq_heappush_impl() 146 if (!PyList_Check(heap)) { in heappop_internal() 198 if (!PyList_Check(heap)) { in heapreplace_internal() 264 if (!PyList_Check(heap)) { in _heapq_heappushpop_impl() 370 if (!PyList_Check(heap)) { in heapify_internal() 419 assert(PyList_Check(heap)); in siftdown_max() 464 assert(PyList_Check(heap)); in siftup_max()
|
D | termios.c | 170 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr() 190 if (!PyList_Check(cc) || PyList_Size(cc) != NCCS) { in termios_tcsetattr()
|
D | _tkinter.c | 537 else if (PyList_Check(arg)) { in SplitObj() 1058 if (PyTuple_Check(value) || PyList_Check(value)) { in AsObj() 1349 else if (!(PyTuple_Check(args) || PyList_Check(args))) { in Tkapp_CallArgs() 2251 if (PyList_Check(arg)) { in _tkinter_tkapp_splitlist() 2334 if (PyTuple_Check(arg) || PyList_Check(arg)) in _tkinter_tkapp_split() 3089 } else if (PyTuple_Check(item) || PyList_Check(item)) { in _flatten1() 3098 if (PyList_Check(o) || PyTuple_Check(o)) { in _flatten1()
|
D | _abc.c | 319 assert(PyList_Check(items)); in compute_abstract_methods() 712 if (!PyList_Check(subclasses)) { in _abc__abc_subclasscheck_impl()
|
/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 42 assert(PyList_Check(heap)); in _siftdown() 81 assert(PyList_Check(heap)); in _siftup() 128 if (!PyList_Check(heap)) { in heappush() 151 if (!PyList_Check(heap)) { in heappop() 190 if (!PyList_Check(heap)) { in heapreplace() 229 if (!PyList_Check(heap)) { in heappushpop() 272 if (!PyList_Check(heap)) { in heapify() 385 assert(PyList_Check(heap)); in _siftdownmax() 422 assert(PyList_Check(heap)); in _siftupmax()
|
D | cgensupport.c | 153 if (PyList_Check(v)) { in PyArg_GetLongArraySize() 191 else if (PyList_Check(v)) { in PyArg_GetLongArray() 228 else if (PyList_Check(v)) { in PyArg_GetShortArray() 263 else if (PyList_Check(v)) { in PyArg_GetDoubleArray() 296 else if (PyList_Check(v)) { in PyArg_GetFloatArray()
|
D | termios.c | 157 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr() 176 if (!PyList_Check(cc) || PyList_Size(cc) != NCCS) { in termios_tcsetattr()
|
/external/python/cpython2/Objects/ |
D | listobject.c | 168 if (!PyList_Check(op)) { in PyList_Size() 181 if (!PyList_Check(op)) { in PyList_GetItem() 204 if (!PyList_Check(op)) { in PyList_SetItem() 258 if (!PyList_Check(op)) { in PyList_Insert() 288 if (PyList_Check(op) && (newitem != NULL)) in PyList_Append() 495 if (!PyList_Check(a)) { in PyList_GetSlice() 509 if (!PyList_Check(bb)) { in list_concat() 714 if (!PyList_Check(a)) { in PyList_SetSlice() 2062 assert (PyList_Check(self)); in listsort() 2218 if (v == NULL || !PyList_Check(v)) { in PyList_Sort() [all …]
|
D | object.c | 1765 else if (PyList_Check(list)) { in merge_list_attr() 1806 if (!PyList_Check(names)) { in _dir_locals() 1956 if (!PyList_Check(result)) { in _dir_object() 1984 assert(result == NULL || PyList_Check(result)); in PyObject_Dir() 2417 if (list == NULL || !PyList_Check(list)) in Py_ReprLeave()
|
/external/python/cpython3/Objects/ |
D | listobject.c | 185 if (!PyList_Check(op)) { in PyList_Size() 211 if (!PyList_Check(op)) { in PyList_GetItem() 233 if (!PyList_Check(op)) { in PyList_SetItem() 285 if (!PyList_Check(op)) { in PyList_Insert() 315 if (PyList_Check(op) && (newitem != NULL)) in PyList_Append() 467 if (!PyList_Check(a)) { in PyList_GetSlice() 493 if (!PyList_Check(bb)) { in list_concat() 706 if (!PyList_Check(a)) { in PyList_SetSlice() 2195 assert(PyList_Check(self)); in list_sort_impl() 2444 if (v == NULL || !PyList_Check(v)) { in PyList_Sort() [all …]
|
/external/python/cpython3/Include/cpython/ |
D | listobject.h | 34 #define _PyList_CAST(op) (assert(PyList_Check(op)), (PyListObject *)(op))
|
/external/python/cpython3/Include/ |
D | abstract.h | 697 (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o)) 702 (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) 707 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
|
D | listobject.h | 24 #define PyList_Check(op) \ macro
|
/external/python/cpython2/Python/ |
D | Python-ast.c | 3343 if (!PyList_Check(tmp)) { in obj2ast_mod() 3383 if (!PyList_Check(tmp)) { in obj2ast_mod() 3446 if (!PyList_Check(tmp)) { in obj2ast_mod() 3559 if (!PyList_Check(tmp)) { in obj2ast_stmt() 3588 if (!PyList_Check(tmp)) { in obj2ast_stmt() 3644 if (!PyList_Check(tmp)) { in obj2ast_stmt() 3673 if (!PyList_Check(tmp)) { in obj2ast_stmt() 3702 if (!PyList_Check(tmp)) { in obj2ast_stmt() 3765 if (!PyList_Check(tmp)) { in obj2ast_stmt() 3806 if (!PyList_Check(tmp)) { in obj2ast_stmt() [all …]
|
D | traceback.c | 141 if (path != NULL && PyList_Check(path)) { in _Py_DisplaySourceLine()
|
/external/python/cpython2/Include/ |
D | listobject.h | 43 #define PyList_Check(op) \ macro
|
D | abstract.h | 1161 (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o)) 1168 (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i)) 1181 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
|
/external/tensorflow/tensorflow/lite/python/optimize/ |
D | calibration_wrapper.cc | 168 if (!PyList_Check(input_shapes)) { in Prepare() 184 if (!shape || !PyList_Check(shape)) { in Prepare() 206 if (!PyList_Check(input_value)) { in FeedTensor()
|
/external/python/cpython3/Python/ |
D | Python-ast.c | 4916 if (!PyList_Check(tmp)) { in obj2ast_mod() 4949 if (!PyList_Check(tmp)) { in obj2ast_mod() 4994 if (!PyList_Check(tmp)) { in obj2ast_mod() 5065 if (!PyList_Check(tmp)) { in obj2ast_mod() 5229 if (!PyList_Check(tmp)) { in obj2ast_stmt() 5262 if (!PyList_Check(tmp)) { in obj2ast_stmt() 5366 if (!PyList_Check(tmp)) { in obj2ast_stmt() 5399 if (!PyList_Check(tmp)) { in obj2ast_stmt() 5489 if (!PyList_Check(tmp)) { in obj2ast_stmt() 5522 if (!PyList_Check(tmp)) { in obj2ast_stmt() [all …]
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 76 if (!PyList_Check(ret_val)) { in TryAppendTraceback()
|
/external/libnl/python/netlink/genl/ |
D | capi.i | 84 if (!PyList_Check(p)) { in py_genlmsg_parse()
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_api_dispatcher.cc | 65 DCHECK(PyList_Check(value)); in FindDispatchTypes()
|
/external/tensorflow/tensorflow/python/util/ |
D | util.cc | 595 return IsSequenceHelper(o) == 1 && !PyList_Check(o) && in IsSequenceForDataHelper() 793 && !(PyList_Check(o1) && PyList_Check(o2)) in AssertSameStructureHelper()
|
/external/tensorflow/tensorflow/python/framework/experimental/ |
D | unified_api.cc | 147 if (!PyList_Check(outputs.ptr())) { in PYBIND11_MODULE()
|
/external/python/cpython2/RISCOS/Modules/ |
D | swimodule.c | 78 if(!PyList_Check(init)) goto fail; in PyBlock_New() 267 if(!PyList_Check(v)) goto fail; in block_ass_slice()
|