Home
last modified time | relevance | path

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

12

/third_party/python/Modules/_sqlite/
Dstatement.c242 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters()
244 if (PyTuple_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
262 if (PyTuple_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
/third_party/python/Include/
Dtupleobject.h28 #define PyTuple_CheckExact(op) Py_IS_TYPE(op, &PyTuple_Type) macro
/third_party/python/Objects/
Dtupleobject.c219 if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyTuple_MaybeUntrack()
490 if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) { in tupleslice()
514 if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) { in tupleconcat()
526 if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) { in tupleconcat()
566 if (PyTuple_CheckExact(a)) { in tuplerepeat()
843 PyTuple_CheckExact(self)) { in tuplesubscript()
Dunionobject.c473 assert(PyTuple_CheckExact(args)); in make_union()
Dcodeobject.c81 else if (PyTuple_CheckExact(v)) { in intern_string_constants()
840 else if (PyTuple_CheckExact(op)) { in _PyCode_ConstantKey()
Dfuncobject.c230 if (PyTuple_CheckExact(op->func_annotations)) { in func_get_annotation_dict()
Dabstract.c2057 if (PyTuple_CheckExact(v)) { in PySequence_Tuple()
2160 if (PyList_CheckExact(v) || PyTuple_CheckExact(v)) { in PySequence_Fast()
Dtypeobject.c2695 assert(PyTuple_CheckExact(new_slots)); in type_new_slots_impl()
3129 assert(PyTuple_CheckExact(new_slots)); in type_new_get_slots()
6463 if (!PyTuple_CheckExact(ob)) { in check_num_args()
/third_party/python/Include/internal/
Dpycore_gc.h31 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/third_party/python/Modules/
D_operator.c1038 assert(PyTuple_CheckExact(args)); in itemgetter_call()
1047 && PyTuple_CheckExact(obj) in itemgetter_call()
1295 if (PyTuple_CheckExact(attr)) { /* chained getattr */ in dotted_getattr()
1358 if (PyTuple_CheckExact(attr)) { in dotjoinattr()
D_functoolsmodule.c433 if(!PyTuple_CheckExact(fnargs)) in partial_setstate()
Dgcmodule.c642 if (PyTuple_CheckExact(op)) { in untrack_tuples()
Ditertoolsmodule.c1923 if (!PyTuple_CheckExact(args)) { in starmap_next()
2255 assert(PyTuple_CheckExact(args)); in product_new()
D_zoneinfo.c856 if (!PyTuple_CheckExact(data_tuple)) { in load_data()
/third_party/python/Python/
Dceval.c901 assert(PyTuple_CheckExact(keys)); in match_keys()
1009 assert(PyTuple_CheckExact(kwargs)); in match_class()
1031 if (!PyTuple_CheckExact(match_args)) { in match_class()
1052 assert(PyTuple_CheckExact(match_args)); in match_class()
2801 if (PyTuple_CheckExact(seq) && in _PyEval_EvalFrameDefault()
3330 if (!PyTuple_CheckExact(keys) || in _PyEval_EvalFrameDefault()
3873 assert(PyTuple_CheckExact(names)); in _PyEval_EvalFrameDefault()
3878 assert(PyTuple_CheckExact(attrs)); in _PyEval_EvalFrameDefault()
3923 assert(PyTuple_CheckExact(values_or_none)); in _PyEval_EvalFrameDefault()
3943 assert(PyTuple_CheckExact(keys)); in _PyEval_EvalFrameDefault()
[all …]
Dast_unparse.c726 if (PyTuple_CheckExact(constant)) { in append_ast_constant()
Dgetargs.c2748 if (!PyTuple_CheckExact(args)) { in _PyArg_NoPositional()
2767 assert(PyTuple_CheckExact(kwnames)); in _PyArg_NoKwnames()
Dcodecs.c537 if (!PyTuple_CheckExact(codec)) { in _PyCodec_LookupTextEncoding()
Dast.c141 if (PyTuple_CheckExact(value) || PyFrozenSet_CheckExact(value)) { in validate_constant()
Dcompile.c1325 if (PyTuple_CheckExact(o)) { in merge_consts_recursive()
1337 if (PyTuple_CheckExact(u)) { in merge_consts_recursive()
1356 assert(PyTuple_CheckExact(key)); in merge_consts_recursive()
1379 if (PyTuple_CheckExact(k)) { in merge_consts_recursive()
6793 if (PyTuple_CheckExact(k)) { in consts_dict_keys_inorder()
6857 if (PyTuple_CheckExact(t)) { in merge_const_one()
Dmarshal.c460 else if (PyTuple_CheckExact(v)) { in w_complex_object()
Dsymtable.c426 assert(PyTuple_CheckExact(data)); in error_at_directive()
/third_party/python/Doc/c-api/
Dtuple.rst28 .. c:function:: int PyTuple_CheckExact(PyObject *p)
/third_party/python/Programs/
D_testembed.c1135 assert(args && PyTuple_CheckExact(args)); in _audit_hook()
/third_party/python/Doc/data/
Drefcounts.dat2241 PyTuple_CheckExact:int:::
2242 PyTuple_CheckExact:PyObject*:p:0:

12