Home
last modified time | relevance | path

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

123

/aosp_15_r20/external/python/cpython3/Objects/
Dtupleobject.c137 if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyTuple_MaybeUntrack()
199 assert(!PyTuple_CheckExact(op)); in tupledealloc()
427 if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) { in tupleslice()
451 if (Py_SIZE(a) == 0 && PyTuple_CheckExact(bb)) { in tupleconcat()
463 if (Py_SIZE(b) == 0 && PyTuple_CheckExact(a)) { in tupleconcat()
501 if (PyTuple_CheckExact(a)) { in tuplerepeat()
806 PyTuple_CheckExact(self)) { in tuplesubscript()
Dunionobject.c396 assert(PyTuple_CheckExact(args)); in make_union()
/aosp_15_r20/external/python/cpython2/Modules/_sqlite/
Dstatement.c231 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in pysqlite_statement_bind_parameters()
233 if (PyTuple_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
246 if (PyTuple_CheckExact(parameters)) { in pysqlite_statement_bind_parameters()
/aosp_15_r20/external/python/cpython2/Objects/
Dtupleobject.c164 if (!PyTuple_CheckExact(op) || !_PyObject_GC_IS_TRACKED(op)) in _PyTuple_MaybeUntrack()
404 if (ilow == 0 && ihigh == Py_SIZE(a) && PyTuple_CheckExact(a)) { in tupleslice()
481 if (PyTuple_CheckExact(a)) { in tuplerepeat()
726 PyTuple_CheckExact(self)) { in tuplesubscript()
Dcodeobject.c64 else if (PyTuple_CheckExact(v)) { in intern_string_constants()
473 else if (PyTuple_CheckExact(op)) { in _PyCode_ConstantKey()
/aosp_15_r20/external/python/cpython3/Modules/
D_operator.c1065 assert(PyTuple_CheckExact(args)); in itemgetter_call()
1094 && PyTuple_CheckExact(obj) in itemgetter_call_impl()
1356 if (PyTuple_CheckExact(attr)) { /* chained getattr */ in dotted_getattr()
1439 if (PyTuple_CheckExact(attr)) { in dotjoinattr()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dtupleobject.h28 #define PyTuple_CheckExact(op) Py_IS_TYPE(op, &PyTuple_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dtupleobject.h28 #define PyTuple_CheckExact(op) Py_IS_TYPE(op, &PyTuple_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dtupleobject.h28 #define PyTuple_CheckExact(op) Py_IS_TYPE(op, &PyTuple_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dtupleobject.h28 #define PyTuple_CheckExact(op) Py_IS_TYPE(op, &PyTuple_Type) macro
/aosp_15_r20/external/python/cpython3/Include/
Dtupleobject.h28 #define PyTuple_CheckExact(op) Py_IS_TYPE(op, &PyTuple_Type) macro
/aosp_15_r20/external/python/cpython2/Include/
Dtupleobject.h38 #define PyTuple_CheckExact(op) (Py_TYPE(op) == &PyTuple_Type) macro
Dobjimpl.h318 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/aosp_15_r20/external/python/cpython3/Python/
Dceval.c909 assert(PyTuple_CheckExact(keys)); in match_keys()
1022 assert(PyTuple_CheckExact(kwargs)); in match_class()
1044 if (!PyTuple_CheckExact(match_args)) { in match_class()
1065 assert(PyTuple_CheckExact(match_args)); in match_class()
2196 DEOPT_IF(!PyTuple_CheckExact(tuple), BINARY_SUBSCR);
2828 DEOPT_IF(!PyTuple_CheckExact(seq), UNPACK_SEQUENCE);
2840 DEOPT_IF(!PyTuple_CheckExact(seq), UNPACK_SEQUENCE);
3396 if (!PyTuple_CheckExact(keys) ||
4235 assert(PyTuple_CheckExact(names));
4241 assert(PyTuple_CheckExact(attrs));
[all …]
/aosp_15_r20/external/python/cpython3/Modules/_sqlite/
Dcursor.c649 …if (PyTuple_CheckExact(parameters) || PyList_CheckExact(parameters) || (!PyDict_Check(parameters) … in bind_parameters()
651 if (PyTuple_CheckExact(parameters)) { in bind_parameters()
669 if (PyTuple_CheckExact(parameters)) { in bind_parameters()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/
Dpycore_gc.h32 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/
Dpycore_gc.h32 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/aosp_15_r20/external/python/cpython3/Include/internal/
Dpycore_gc.h32 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/
Dpycore_gc.h32 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/
Dpycore_gc.h32 (!PyTuple_CheckExact(obj) || _PyObject_GC_IS_TRACKED(obj)))
/aosp_15_r20/external/tensorflow/tensorflow/python/util/
H A Dfunction_parameter_canonicalizer.cc74 DCHECK(PyTuple_CheckExact(args)); in Canonicalize()
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dguards.cpp304 if (!PyTuple_CheckExact(args)) { in TensorGuards_init()
365 if (!PyTuple_CheckExact(args)) { in TensorGuards_check()
409 if (!PyTuple_CheckExact(args)) { in TensorGuards_check_verbose()
715 if (!PyTuple_CheckExact(size) || !PyTuple_CheckExact(stride)) { in assert_size_stride()
753 TORCH_CHECK(PyTuple_CheckExact(obj)); in unwrap_size_tuple()
769 TORCH_CHECK(PyTuple_CheckExact(args)); in _parse_empty_strided_args()
/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_hook.cpp81 if (PyTuple_CheckExact(args0)) { in _call_hooks()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Ddisable_torch_function.cpp349 if (PyTuple_CheckExact(arg) || PyList_CheckExact(arg)) { in THPModule_has_torch_function()
/aosp_15_r20/external/python/cpython2/Modules/
D_functoolsmodule.c300 if(!PyTuple_CheckExact(fnargs)) in partial_setstate()

123