Home
last modified time | relevance | path

Searched refs:tp_base (Results 1 - 20 of 20) sorted by relevance

/third_party/python/Modules/_io/
H A D_iomodule.c714 PyFileIO_Type.tp_base = &PyRawIOBase_Type; in PyInit__io()
715 PyBytesIO_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io()
716 PyStringIO_Type.tp_base = &PyTextIOBase_Type; in PyInit__io()
718 PyWindowsConsoleIO_Type.tp_base = &PyRawIOBase_Type; in PyInit__io()
720 PyBufferedReader_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io()
721 PyBufferedWriter_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io()
722 PyBufferedRWPair_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io()
723 PyBufferedRandom_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io()
724 PyTextIOWrapper_Type.tp_base = &PyTextIOBase_Type; in PyInit__io()
/third_party/python/Modules/
H A Dxxmodule.c134 0, /*tp_base*/
252 0, /* see PyInit_xx */ /*tp_base*/
307 0, /* see PyInit_xx */ /*tp_base*/
356 Null_Type.tp_base = &PyBaseObject_Type; in xx_exec()
357 Str_Type.tp_base = &PyUnicode_Type; in xx_exec()
H A Dxxsubtype.c134 DEFERRED_ADDRESS(&PyList_Type), /* tp_base */
225 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
269 spamdict_type.tp_base = &PyDict_Type; in xxsubtype_exec()
273 spamlist_type.tp_base = &PyList_Type; in xxsubtype_exec()
H A D_testcapimodule.c380 0, /* tp_base */
7125 0, /* tp_base */
7206 0, /* &PyList_Type */ /* tp_base */
8035 MyList_Type.tp_base = &PyList_Type; in PyInit__testcapi()
8046 MethodDescriptorDerived_Type.tp_base = &MethodDescriptorBase_Type; in PyInit__testcapi()
8052 MethodDescriptorNopGet_Type.tp_base = &MethodDescriptorBase_Type; in PyInit__testcapi()
8058 MethodDescriptor2_Type.tp_base = &MethodDescriptorBase_Type; in PyInit__testcapi()
8089 PyRecursingInfinitelyError_Type.tp_base = (PyTypeObject *)PyExc_Exception; in PyInit__testcapi()
H A D_datetimemodule.c2839 0, /* tp_base */
3400 // .tp_base = &PyTuple_Type, // filled in PyInit__datetime
3669 0, /* tp_base */
3896 0, /* tp_base */
4132 0, /* tp_base; filled in PyInit__datetime */
4806 0, /* tp_base */
6660 0, /* tp_base; filled in
6723 // of C standards. Fill tp_base at run-time rather than statically. in _datetime_exec()
6725 PyDateTime_IsoCalendarDateType.tp_base = &PyTuple_Type; in _datetime_exec()
6726 PyDateTime_TimeZoneType.tp_base in _datetime_exec()
[all...]
H A D_asynciomodule.c2527 .tp_base = &FutureType,
H A D_zoneinfo.c2650 PyZoneInfo_ZoneInfoType.tp_base = PyDateTimeAPI->TZInfoType; in zoneinfomodule_exec()
H A D_collectionsmodule.c1655 0, /* tp_base */
1822 0, /* tp_base */
1944 0, /* tp_base */
2260 DEFERRED_ADDRESS(&PyDict_Type), /* tp_base */
2547 0, /* tp_base */
2583 defdict_type.tp_base = &PyDict_Type; in collections_exec()
/third_party/python/Objects/
H A Dtypeobject.c418 {"__base__", T_OBJECT, offsetof(PyTypeObject, tp_base), READONLY},
760 However, base->tp_base has already been assigned (see in type_set_bases()
762 through tp_base chain. And this is definitely in type_set_bases()
777 if (!compatible_for_assignment(type->tp_base, new_base, "__bases__")) { in type_set_bases()
783 PyTypeObject *old_base = type->tp_base; in type_set_bases()
786 type->tp_base = (PyTypeObject *)Py_NewRef(new_base); in type_set_bases()
841 assert(type->tp_base == new_base); in type_set_bases()
844 type->tp_base = old_base; in type_set_bases()
1214 base = base->tp_base; in subtype_traverse()
1281 base = base->tp_base; in subtype_clear()
[all...]
H A Dstructseq.c486 type->tp_base = &PyTuple_Type; in _PyStructSequence_InitType()
535 assert(type->tp_base == &PyTuple_Type); in _PyStructSequence_FiniType()
H A Dmethodobject.c366 0, /* tp_base */
374 .tp_base = &PyCFunction_Type,
H A Dobject.c1717 0, /*tp_base */
1818 0, /*tp_base */
1991 assert(PyBaseObject_Type.tp_base == NULL); in _PyTypes_InitTypes()
1992 assert(PyType_Type.tp_base == &PyBaseObject_Type); in _PyTypes_InitTypes()
/third_party/python/Doc/includes/
H A Dtypestruct.h61 struct _typeobject *tp_base; member
H A Dsublist.c53 SubListType.tp_base = &PyList_Type; in PyInit_sublist()
/third_party/python/Include/cpython/
H A Dobject.h208 PyTypeObject *tp_base; member
/third_party/protobuf/python/google/protobuf/pyext/
H A Dmap_container.cc604 0, // tp_base
872 0, // tp_base
986 0, // tp_base
1018 _ScalarMapContainer_Type.tp_base = in InitMapContainers()
1037 _MessageMapContainer_Type.tp_base = in InitMapContainers()
H A Dmessage.cc483 PyObject* result = CMessageClass_Type->tp_base->tp_getattro( in GetAttr()
529 0, // tp_base
2803 0, // tp_base
2927 CMessageClass_Type->tp_base = &PyType_Type; in InitProto2MessageModule()
/third_party/python/Modules/_ctypes/
H A D_ctypes.c210 0, /* tp_base */
559 StgDictObject *basedict = PyType_stgdict((PyObject *)result->tp_base); in StructUnionType_new()
962 0, /* tp_base */
1004 0, /* tp_base */
1262 0, /* tp_base */
1637 0, /* tp_base */
2124 if (result->tp_base != &Simple_Type) { in PyCSimpleType_new()
2144 if (result->tp_base == &Simple_Type) { in PyCSimpleType_new()
2331 0, /* tp_base */
2620 0, /* tp_base */
[all...]
H A Dstgdict.c170 0, /* tp_base */
455 basedict = PyType_stgdict((PyObject *)((PyTypeObject *)type)->tp_base); in PyCStructUnionType_update_stgdict()
/third_party/python/Modules/_decimal/
H A D_decimal.c713 0, /* tp_base */
5029 0, /* tp_base */
5714 0, /* tp_base */
5859 PyDec_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal()
5860 PyDecContext_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal()
5861 PyDecContextManager_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal()
5862 PyDecSignalDictMixin_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal()

Completed in 59 milliseconds