/third_party/python/Modules/_io/ |
D | _iomodule.c | 736 PyFileIO_Type.tp_base = &PyRawIOBase_Type; in PyInit__io() 740 PyBytesIO_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io() 746 PyStringIO_Type.tp_base = &PyTextIOBase_Type; in PyInit__io() 751 PyWindowsConsoleIO_Type.tp_base = &PyRawIOBase_Type; in PyInit__io() 756 PyBufferedReader_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io() 760 PyBufferedWriter_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io() 764 PyBufferedRWPair_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io() 768 PyBufferedRandom_Type.tp_base = &PyBufferedIOBase_Type; in PyInit__io() 772 PyTextIOWrapper_Type.tp_base = &PyTextIOBase_Type; in PyInit__io()
|
/third_party/boost/libs/python/src/object/ |
D | enum.cpp | 158 enum_type_object.tp_base = &PyLong_Type; in new_enum_type() 160 enum_type_object.tp_base = &PyInt_Type; in new_enum_type()
|
D | class.cpp | 212 static_data_object.tp_base = &PyProperty_Type; in static_data() 320 class_metatype_object.tp_base = &PyType_Type; in class_metatype() 474 class_type_object.tp_base = &PyBaseObject_Type; in class_type()
|
/third_party/python/Modules/ |
D | xxmodule.c | 356 Null_Type.tp_base = &PyBaseObject_Type; in xx_exec() 357 Str_Type.tp_base = &PyUnicode_Type; in xx_exec()
|
D | xxsubtype.c | 267 spamdict_type.tp_base = &PyDict_Type; in xxsubtype_exec() 271 spamlist_type.tp_base = &PyList_Type; in xxsubtype_exec()
|
D | _testcapimodule.c | 7179 MyList_Type.tp_base = &PyList_Type; in PyInit__testcapi() 7190 MethodDescriptorDerived_Type.tp_base = &MethodDescriptorBase_Type; in PyInit__testcapi() 7196 MethodDescriptorNopGet_Type.tp_base = &MethodDescriptorBase_Type; in PyInit__testcapi() 7202 MethodDescriptor2_Type.tp_base = &MethodDescriptorBase_Type; in PyInit__testcapi() 7233 PyRecursingInfinitelyError_Type.tp_base = (PyTypeObject *)PyExc_Exception; in PyInit__testcapi()
|
D | _datetimemodule.c | 6521 PyDateTime_IsoCalendarDateType.tp_base = &PyTuple_Type; in _datetime_exec() 6522 PyDateTime_TimeZoneType.tp_base = &PyDateTime_TZInfoType; in _datetime_exec() 6523 PyDateTime_DateTimeType.tp_base = &PyDateTime_DateType; in _datetime_exec()
|
D | _zoneinfo.c | 2646 PyZoneInfo_ZoneInfoType.tp_base = PyDateTimeAPI->TZInfoType; in zoneinfomodule_exec()
|
D | _asynciomodule.c | 2492 .tp_base = &FutureType,
|
D | _collectionsmodule.c | 2609 defdict_type.tp_base = &PyDict_Type; in collections_exec()
|
/third_party/python/Objects/ |
D | typeobject.c | 453 {"__base__", T_OBJECT, offsetof(PyTypeObject, tp_base), READONLY}, 812 if (!compatible_for_assignment(type->tp_base, new_base, "__bases__")) in type_set_bases() 819 old_base = type->tp_base; in type_set_bases() 822 type->tp_base = new_base; in type_set_bases() 870 assert(type->tp_base == new_base); in type_set_bases() 873 type->tp_base = old_base; in type_set_bases() 1225 base = base->tp_base; in subtype_traverse() 1284 base = base->tp_base; in subtype_clear() 1334 base = base->tp_base; in subtype_dealloc() 1372 base = base->tp_base; in subtype_dealloc() [all …]
|
D | typeslots.inc | 49 {-1, offsetof(PyTypeObject, tp_base)},
|
D | methodobject.c | 377 .tp_base = &PyCFunction_Type,
|
D | structseq.c | 491 type->tp_base = &PyTuple_Type; in _PyStructSequence_InitType()
|
D | object.c | 1793 assert(PyBaseObject_Type.tp_base == NULL); in _PyTypes_Init() 1794 assert(PyType_Type.tp_base == &PyBaseObject_Type); in _PyTypes_Init()
|
/third_party/python/Doc/includes/ |
D | sublist.c | 53 SubListType.tp_base = &PyList_Type; in PyInit_sublist()
|
D | typestruct.h | 61 struct _typeobject *tp_base; member
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | map_container.cc | 1018 _ScalarMapContainer_Type.tp_base = in InitMapContainers() 1037 _MessageMapContainer_Type.tp_base = in InitMapContainers()
|
D | message.cc | 483 PyObject* result = CMessageClass_Type->tp_base->tp_getattro( in GetAttr() 2927 CMessageClass_Type->tp_base = &PyType_Type; in InitProto2MessageModule()
|
/third_party/python/Include/cpython/ |
D | object.h | 251 struct _typeobject *tp_base; member
|
/third_party/python/Modules/_ctypes/ |
D | _ctypes.c | 546 StgDictObject *basedict = PyType_stgdict((PyObject *)result->tp_base); in StructUnionType_new() 2168 if (result->tp_base == &Simple_Type) { in PyCSimpleType_new() 3062 return type->tp_base != &Simple_Type; in _ctypes_simple_instance() 4373 if (PyType_stgdict((PyObject *)type->tp_base)) { in _init_pos_args() 4374 index = _init_pos_args(self, type->tp_base, in _init_pos_args() 5027 if (Py_TYPE(self)->tp_base != &Simple_Type) { in Simple_repr() 5683 type->tp_base = (TP_BASE); \ in _ctypes_add_types() 5691 type->tp_base = TP_BASE; \ in _ctypes_add_types()
|
D | stgdict.c | 442 basedict = PyType_stgdict((PyObject *)((PyTypeObject *)type)->tp_base); in PyCStructUnionType_update_stgdict()
|
/third_party/python/Doc/extending/ |
D | newtypes_tutorial.rst | 359 ``type->tp_base->tp_new``. If you do not do this, Python subclasses of your 854 The :c:type:`PyTypeObject` struct supports a :c:member:`~PyTypeObject.tp_base` 864 SubListType.tp_base = &PyList_Type; 883 :c:member:`~PyTypeObject.tp_base` slot filled in. When we are deriving an
|
/third_party/python/Doc/c-api/ |
D | typeobj.rst | 111 …| :c:member:`~PyTypeObject.tp_base` | :c:type:`PyTypeObject` * | __base__ … 1215 :c:member:`~PyTypeObject.tp_base` is NULL or ``&PyBaseObject_Type`` and 1602 .. c:member:: PyTypeObject* PyTypeObject.tp_base 1623 Consequently, :c:member:`~PyTypeObject.tp_base` should be set in 1842 :ref:`static types <static-types>` whose :c:member:`~PyTypeObject.tp_base` 2638 0, /* tp_base */ 2688 .tp_base = NULL, // set to &PyUnicode_Type in module init
|
/third_party/python/Modules/_decimal/ |
D | _decimal.c | 5702 PyDec_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal() 5703 PyDecContext_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal() 5704 PyDecContextManager_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal() 5705 PyDecSignalDictMixin_Type.tp_base = &PyBaseObject_Type; in PyInit__decimal()
|