Home
last modified time | relevance | path

Searched refs:PyList_CheckExact (Results 1 – 25 of 29) sorted by relevance

12

/external/python/cpython3/Modules/_sqlite/
Dstatement.c220 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters()
224 } else if (PyList_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
240 } else if (PyList_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c231 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters()
235 } else if (PyList_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
249 } else if (PyList_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
/external/python/cpython3/Modules/
D_bisectmodule.c92 if (PyList_CheckExact(list)) { in insort_right()
196 if (PyList_CheckExact(list)) { in insort_left()
D_elementtree.c534 if (PyList_CheckExact(res)) { in element_get_text()
556 if (PyList_CheckExact(res)) { in element_get_tail()
990 text = text ? JOIN_SET(text, PyList_CheckExact(text)) : Py_None; in element_setstate_from_attributes()
994 tail = tail ? JOIN_SET(tail, PyList_CheckExact(tail)) : Py_None; in element_setstate_from_attributes()
2480 *dest = JOIN_SET(*data, PyList_CheckExact(*data)); in treebuilder_set_element_text_or_tail()
2654 } else if (PyList_CheckExact(self->data)) { in treebuilder_handle_data()
Dgcmodule.c994 assert(_PyRuntime.gc.callbacks != NULL && PyList_CheckExact(_PyRuntime.gc.callbacks)); in invoke_gc_callback()
D_pickle.c1683 assert(PyList_CheckExact(names)); in get_deep_attribute()
2718 assert(PyList_CheckExact(obj)); in batch_list_exact()
2784 if (PyList_CheckExact(obj) && self->proto > 0) { in save_list()
5990 if (PyList_CheckExact(list)) { in do_append()
/external/python/cpython2/Modules/
D_bisectmodule.c89 if (PyList_CheckExact(list)) { in insort_right()
194 if (PyList_CheckExact(list)) { in insort_left()
D_elementtree.c452 if (PyList_CheckExact(res)) { in element_get_text()
474 if (PyList_CheckExact(res)) { in element_get_tail()
1777 *dest = JOIN_SET(*data, PyList_CheckExact(*data));
1904 } else if (PyList_CheckExact(self->data)) {
D_testcapimodule.c1607 if (!(PyList_CheckExact(sub_keywords) || PyTuple_CheckExact(sub_keywords))) { in parse_tuple_and_keywords()
/external/python/cpython2/Include/
Dlistobject.h45 #define PyList_CheckExact(op) (Py_TYPE(op) == &PyList_Type) macro
/external/python/cpython3/Include/
Dlistobject.h50 #define PyList_CheckExact(op) (Py_TYPE(op) == &PyList_Type) macro
/external/python/cpython2/Python/
Dpeephole.c43 assert(PyList_CheckExact(consts)); in tuple_of_constants()
95 assert(PyList_CheckExact(consts)); in fold_binops_on_constants()
197 assert(PyList_CheckExact(consts)); in fold_unaryops_on_constants()
Dmarshal.c377 else if (PyList_CheckExact(v)) { in w_object()
Dceval.c1537 if (PyList_CheckExact(v) && PyInt_CheckExact(w)) { in PyEval_EvalFrameEx()
2238 } else if (PyList_CheckExact(v) && in PyEval_EvalFrameEx()
/external/python/cpython3/Doc/c-api/
Dlist.rst28 .. c:function:: int PyList_CheckExact(PyObject *p)
/external/python/cpython3/Python/
Dpeephole.c136 assert(PyList_CheckExact(consts)); in fold_tuple_on_constants()
Dmarshal.c497 else if (PyList_CheckExact(v)) { in w_complex_object()
Dceval.c1974 } else if (PyList_CheckExact(seq) && in _PyEval_EvalFrameDefault()
3510 assert(PyList_CheckExact(names)); in format_missing()
/external/python/cpython2/Doc/c-api/
Dlist.rst31 .. c:function:: int PyList_CheckExact(PyObject *p)
/external/python/cpython3/Objects/
Dabstract.c1828 if (PyList_CheckExact(v)) in PySequence_Tuple()
1923 if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) { in PySequence_Fast()
2176 if (meth_output == NULL || PyList_CheckExact(meth_output)) { in method_output_as_list()
Dlistobject.c116 assert(PyList_CheckExact(op)); in PyList_ClearFreeList()
328 if (numfree < PyList_MAXFREELIST && PyList_CheckExact(op)) in list_dealloc()
831 if (PyList_CheckExact(iterable) || PyTuple_CheckExact(iterable) || in list_extend()
/external/python/cpython2/Objects/
Dlistobject.c107 assert(PyList_CheckExact(op)); in PyList_Fini()
313 if (numfree < PyList_MAXFREELIST && PyList_CheckExact(op)) in list_dealloc()
812 if (PyList_CheckExact(b) || PyTuple_CheckExact(b) || (PyObject *)self == b) { in listextend()
Dabstract.c2186 if (PyList_CheckExact(v))
2279 if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) {
/external/python/cpython3/Doc/data/
Drefcounts.dat1061 PyList_CheckExact:int:::
1062 PyList_CheckExact:PyObject*:p:0:
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc343 if (subclasses && PyList_CheckExact(subclasses)) { in InsertEmptyWeakref()

12