Home
last modified time | relevance | path

Searched refs:PyTuple_Type (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/libs/python/src/
Dtuple.cpp12 (PyObject*)&PyTuple_Type, const_cast<char*>("(O)"), in call()
30 ).m_class_object = &PyTuple_Type; in register_tuple_pytype_ptr()
/third_party/python/Include/
Dtupleobject.h23 PyAPI_DATA(PyTypeObject) PyTuple_Type;
28 #define PyTuple_CheckExact(op) Py_IS_TYPE(op, &PyTuple_Type)
/third_party/python/Objects/
Dtupleobject.c46 _PyObject_VAR_SIZE(&PyTuple_Type, i)); in _PyTuple_DebugMallocStats()
86 Py_SET_TYPE(op, &PyTuple_Type); in tuple_alloc()
98 op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, size); in tuple_alloc()
111 PyTupleObject *op = PyObject_GC_NewVar(PyTupleObject, &PyTuple_Type, 0); in tuple_create_empty_tuple_singleton()
286 && Py_IS_TYPE(op, &PyTuple_Type)) in tupledealloc()
747 if (type != &PyTuple_Type) in tuple_new_impl()
785 assert(PyType_IsSubtype(type, &PyTuple_Type)); in tuple_subtype_new()
786 tmp = tuple_new_impl(&PyTuple_Type, iterable); in tuple_subtype_new()
899 PyTypeObject PyTuple_Type = { variable
960 if (v == NULL || !Py_IS_TYPE(v, &PyTuple_Type) || in _PyTuple_Resize()
Dstructseq.c491 type->tp_base = &PyTuple_Type; in _PyStructSequence_InitType()
571 type = (PyTypeObject *)PyType_FromSpecWithBases(&spec, (PyObject *)&PyTuple_Type); in PyStructSequence_NewType()
Dlistobject.c2147 assert(Py_IS_TYPE(v, &PyTuple_Type)); in unsafe_tuple_compare()
2148 assert(Py_IS_TYPE(w, &PyTuple_Type)); in unsafe_tuple_compare()
2269 int keys_are_in_tuples = (Py_IS_TYPE(lo.keys[0], &PyTuple_Type) && in list_sort_impl()
2284 !(Py_IS_TYPE(lo.keys[i], &PyTuple_Type) && Py_SIZE(lo.keys[i]) != 0)) { in list_sort_impl()
2348 if (key_type == &PyTuple_Type) { in list_sort_impl()
Dobject.c1864 INIT_TYPE(PyTuple_Type); in _PyTypes_Init()
Dtypeobject.c3292 &PyTuple_Type, &bases, in type_new()
5725 else if (PyType_IsSubtype(base, &PyTuple_Type)) { in inherit_special()
/third_party/boost/boost/python/
Dtuple.hpp56 : pytype_object_manager_traits<&PyTuple_Type,tuple>
/third_party/python/Objects/clinic/
Dtupleobject.c.h80 if ((type == &PyTuple_Type) && in tuple_new()
/third_party/python/Modules/_ctypes/
Dcallproc.c1594 &PyTuple_Type, &arguments)) in call_function()
1629 &PyTuple_Type, &arguments)) in call_cdeclfunction()
1856 if (!PyArg_ParseTuple(args, "OO!", &typ, &PyTuple_Type, &state)) in unpickle()
/third_party/python/Doc/c-api/
Dtuple.rst16 .. c:var:: PyTypeObject PyTuple_Type
/third_party/python/Modules/
D_posixsubprocess.c748 &close_fds, &PyTuple_Type, &py_fds_to_keep, in subprocess_fork_exec()
Daudioop.c1394 &d, &PyTuple_Type, &samps)) in audioop_ratecv_impl()
Ditertoolsmodule.c3502 &PyTuple_Type, &indices, in permutations_setstate()
3503 &PyTuple_Type, &cycles)) { in permutations_setstate()
D_datetimemodule.c3255 "O((OOO))", &PyTuple_Type, in iso_calendar_date_reduce()
6521 PyDateTime_IsoCalendarDateType.tp_base = &PyTuple_Type; in _datetime_exec()
D_pickle.c4335 else if (type == &PyTuple_Type) { in save()
/third_party/python/Modules/clinic/
Doverlapped.c.h667 &ConnectSocket, &PyTuple_Type, &AddressObj)) { in _overlapped_Overlapped_ConnectEx()
/third_party/python/Doc/data/
Dstable_abi.dat635 var,PyTuple_Type,3.2,
/third_party/python/PC/
Dpython3dll.c849 EXPORT_DATA(PyTuple_Type)
/third_party/python/Misc/
Dstable_abi.txt1278 data PyTuple_Type
/third_party/python/Python/
Dbltinmodule.c3036 SETBUILTIN("tuple", &PyTuple_Type); in _PyBuiltin_Init()
/third_party/python/Tools/c-analyzer/
DTODO887 Objects/tupleobject.c:PyTuple_Type PyTypeObject PyTuple_Type
/third_party/protobuf/python/google/protobuf/pyext/
Dmessage.cc207 &PyTuple_Type, &bases, in New()
/third_party/python/Lib/test/
Dclinic.test136 b: object(subclass_of="&PyTuple_Type")
/third_party/python/Modules/_decimal/
D_decimal.c558 return PyTuple_Type.tp_iter(SignalTuple); in signaldict_iter()

12