Home
last modified time | relevance | path

Searched refs:PyList_Check (Results 1 – 25 of 95) sorted by relevance

1234

/external/python/cpython3/Modules/
D_heapqmodule.c25 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()
Dtermios.c170 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.c537 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.c319 assert(PyList_Check(items)); in compute_abstract_methods()
712 if (!PyList_Check(subclasses)) { in _abc__abc_subclasscheck_impl()
/external/python/cpython2/Modules/
D_heapqmodule.c42 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()
Dcgensupport.c153 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()
Dtermios.c157 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/
Dlistobject.c168 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 …]
Dobject.c1765 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/
Dlistobject.c185 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/
Dlistobject.h34 #define _PyList_CAST(op) (assert(PyList_Check(op)), (PyListObject *)(op))
/external/python/cpython3/Include/
Dabstract.h697 (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 \
Dlistobject.h24 #define PyList_Check(op) \ macro
/external/python/cpython2/Python/
DPython-ast.c3343 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 …]
Dtraceback.c141 if (path != NULL && PyList_Check(path)) { in _Py_DisplaySourceLine()
/external/python/cpython2/Include/
Dlistobject.h43 #define PyList_Check(op) \ macro
Dabstract.h1161 (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/
Dcalibration_wrapper.cc168 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/
DPython-ast.c4916 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/
Dpy_util.cc76 if (!PyList_Check(ret_val)) { in TryAppendTraceback()
/external/libnl/python/netlink/genl/
Dcapi.i84 if (!PyList_Check(p)) { in py_genlmsg_parse()
/external/tensorflow/tensorflow/python/framework/
Dpython_api_dispatcher.cc65 DCHECK(PyList_Check(value)); in FindDispatchTypes()
/external/tensorflow/tensorflow/python/util/
Dutil.cc595 return IsSequenceHelper(o) == 1 && !PyList_Check(o) && in IsSequenceForDataHelper()
793 && !(PyList_Check(o1) && PyList_Check(o2)) in AssertSameStructureHelper()
/external/tensorflow/tensorflow/python/framework/experimental/
Dunified_api.cc147 if (!PyList_Check(outputs.ptr())) { in PYBIND11_MODULE()
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c78 if(!PyList_Check(init)) goto fail; in PyBlock_New()
267 if(!PyList_Check(v)) goto fail; in block_ass_slice()

1234