Home
last modified time | relevance | path

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

1234

/external/python/cpython3/Modules/
D_heapqmodule.c18 assert(PyList_Check(heap)); in siftdown()
59 assert(PyList_Check(heap)); in siftup()
107 if (!PyList_Check(heap)) { in heappush()
129 if (!PyList_Check(heap)) { in heappop_internal()
177 if (!PyList_Check(heap)) { in heapreplace_internal()
222 if (!PyList_Check(heap)) { in heappushpop()
330 if (!PyList_Check(heap)) { in heapify_internal()
372 assert(PyList_Check(heap)); in siftdown_max()
413 assert(PyList_Check(heap)); in siftup_max()
Dtermios.c156 if (!PyList_Check(term) || PyList_Size(term) != 7) { in termios_tcsetattr()
175 if (!PyList_Check(cc) || PyList_Size(cc) != NCCS) { in termios_tcsetattr()
D_tkinter.c498 else if (PyList_Check(arg)) { in SplitObj()
1027 if (PyTuple_Check(value) || PyList_Check(value)) { in AsObj()
1323 else if (!(PyTuple_Check(args) || PyList_Check(args))) { in Tkapp_CallArgs()
2221 if (PyList_Check(arg)) { in _tkinter_tkapp_splitlist()
2298 if (PyTuple_Check(arg) || PyList_Check(arg)) in _tkinter_tkapp_split()
3061 } else if (PyTuple_Check(item) || PyList_Check(item)) { in _flatten1()
3070 if (PyList_Check(o) || PyTuple_Check(o)) { in _flatten1()
D_abc.c281 assert(PyList_Check(items)); in compute_abstract_methods()
671 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/cpython3/Include/
Dlistobject.h48 #define PyList_Check(op) \ macro
74 #define PyList_GET_SIZE(op) (assert(PyList_Check(op)),Py_SIZE(op))
Dabstract.h915 (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o))
920 (PyList_Check(o) ? PyList_GET_ITEM(o, i) : PyTuple_GET_ITEM(o, i))
930 (PyList_Check(sf) ? ((PyListObject *)(sf))->ob_item \
/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.c186 if (!PyList_Check(op)) { in PyList_Size()
199 if (!PyList_Check(op)) { in PyList_GetItem()
221 if (!PyList_Check(op)) { in PyList_SetItem()
273 if (!PyList_Check(op)) { in PyList_Insert()
303 if (PyList_Check(op) && (newitem != NULL)) in PyList_Append()
458 if (!PyList_Check(a)) { in PyList_GetSlice()
472 if (!PyList_Check(bb)) { in list_concat()
682 if (!PyList_Check(a)) { in PyList_SetSlice()
2167 assert(PyList_Check(self)); in list_sort_impl()
2406 if (v == NULL || !PyList_Check(v)) { in PyList_Sort()
[all …]
/external/python/cpython3/Python/
DPython-ast.c3971 if (!PyList_Check(tmp)) { in obj2ast_mod()
4012 if (!PyList_Check(tmp)) { in obj2ast_mod()
4077 if (!PyList_Check(tmp)) { in obj2ast_mod()
4194 if (!PyList_Check(tmp)) { in obj2ast_stmt()
4224 if (!PyList_Check(tmp)) { in obj2ast_stmt()
4309 if (!PyList_Check(tmp)) { in obj2ast_stmt()
4339 if (!PyList_Check(tmp)) { in obj2ast_stmt()
4411 if (!PyList_Check(tmp)) { in obj2ast_stmt()
4441 if (!PyList_Check(tmp)) { in obj2ast_stmt()
4471 if (!PyList_Check(tmp)) { in obj2ast_stmt()
[all …]
/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/
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 \
Dlistobject.h43 #define PyList_Check(op) \ macro
/external/tensorflow/tensorflow/python/client/
Dtf_session.i34 if (!PyList_Check(py_tensor_list)) { in PyTensorListToVector()
250 if (!PyList_Check($input)) {
590 if (!PyList_Check($input)) {
611 if (!PyList_Check($input)) {
Dtf_sessionrun_wrapper.i59 if (!PyList_Check($input)) {
/external/tensorflow/tensorflow/python/lib/core/
Dpy_util.cc80 if (!PyList_Check(ret_val)) { in TryAppendTraceback()
/external/libnl/python/netlink/genl/
Dcapi.i76 if (!PyList_Check(p)) { in py_genlmsg_parse()
/external/tensorflow/tensorflow/python/util/
Dutil.cc538 return IsSequenceHelper(o) == 1 && !PyList_Check(o) && in IsSequenceForDataHelper()
706 && !(PyList_Check(o1) && PyList_Check(o2)) in AssertSameStructureHelper()
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc83 if (!PyList_Check(input_value)) { in FeedTensor()
/external/tensorflow/tensorflow/python/framework/
Dcpp_shape_inference.cc179 if (!PyList_Check(input_constant_tensor_values)) { in RunCppShapeInference()
/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