/third_party/python/Modules/_io/ |
H A D | _iomodule.c | 714 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 D | xxmodule.c | 134 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 D | xxsubtype.c | 134 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.c | 380 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.c | 2839 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.c | 2527 .tp_base = &FutureType,
|
H A D | _zoneinfo.c | 2650 PyZoneInfo_ZoneInfoType.tp_base = PyDateTimeAPI->TZInfoType; in zoneinfomodule_exec()
|
H A D | _collectionsmodule.c | 1655 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 D | typeobject.c | 418 {"__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 D | structseq.c | 486 type->tp_base = &PyTuple_Type; in _PyStructSequence_InitType() 535 assert(type->tp_base == &PyTuple_Type); in _PyStructSequence_FiniType()
|
H A D | methodobject.c | 366 0, /* tp_base */ 374 .tp_base = &PyCFunction_Type,
|
H A D | object.c | 1717 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 D | typestruct.h | 61 struct _typeobject *tp_base; member
|
H A D | sublist.c | 53 SubListType.tp_base = &PyList_Type; in PyInit_sublist()
|
/third_party/python/Include/cpython/ |
H A D | object.h | 208 PyTypeObject *tp_base; member
|
/third_party/protobuf/python/google/protobuf/pyext/ |
H A D | map_container.cc | 604 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 D | message.cc | 483 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.c | 210 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 D | stgdict.c | 170 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.c | 713 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()
|