Home
last modified time | relevance | path

Searched refs:PyType_Ready (Results 1 – 25 of 62) sorted by relevance

123

/third_party/python/Modules/
Dxxsubtype.c268 if (PyType_Ready(&spamdict_type) < 0) in xxsubtype_exec()
272 if (PyType_Ready(&spamlist_type) < 0) in xxsubtype_exec()
275 if (PyType_Ready(&spamlist_type) < 0) in xxsubtype_exec()
277 if (PyType_Ready(&spamdict_type) < 0) in xxsubtype_exec()
Dxxmodule.c361 if (PyType_Ready(&Xxo_Type) < 0) in xx_exec()
374 if (PyType_Ready(&Str_Type) < 0) in xx_exec()
379 if (PyType_Ready(&Null_Type) < 0) in xx_exec()
Dsymtablemodule.c73 return PyType_Ready(&PySTEntry_Type); in symtable_init_stentry_type()
D_testcapimodule.c7164 if (PyType_Ready(&matmulType) < 0) in PyInit__testcapi()
7168 if (PyType_Ready(&ipowType) < 0) { in PyInit__testcapi()
7174 if (PyType_Ready(&awaitType) < 0) in PyInit__testcapi()
7180 if (PyType_Ready(&MyList_Type) < 0) in PyInit__testcapi()
7185 if (PyType_Ready(&MethodDescriptorBase_Type) < 0) in PyInit__testcapi()
7191 if (PyType_Ready(&MethodDescriptorDerived_Type) < 0) in PyInit__testcapi()
7197 if (PyType_Ready(&MethodDescriptorNopGet_Type) < 0) in PyInit__testcapi()
7203 if (PyType_Ready(&MethodDescriptor2_Type) < 0) in PyInit__testcapi()
7208 if (PyType_Ready(&GenericAlias_Type) < 0) in PyInit__testcapi()
7213 if (PyType_Ready(&Generic_Type) < 0) in PyInit__testcapi()
[all …]
Dossaudiodev.c1113 if (PyType_Ready(&OSSAudioType) < 0) in PyInit_ossaudiodev()
1116 if (PyType_Ready(&OSSMixerType) < 0) in PyInit_ossaudiodev()
/third_party/python/Doc/includes/
Dcustom.c30 if (PyType_Ready(&CustomType) < 0) in PyInit_custom()
Dsublist.c54 if (PyType_Ready(&SubListType) < 0) in PyInit_sublist()
Dcustom2.c123 if (PyType_Ready(&CustomType) < 0) in PyInit_custom2()
Dcustom3.c174 if (PyType_Ready(&CustomType) < 0) in PyInit_custom3()
Dcustom4.c188 if (PyType_Ready(&CustomType) < 0) in PyInit_custom4()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc1910 if (PyType_Ready(&PyMessageDescriptor_Type) < 0) in InitDescriptor()
1913 if (PyType_Ready(&PyFieldDescriptor_Type) < 0) in InitDescriptor()
1940 if (PyType_Ready(&PyEnumDescriptor_Type) < 0) in InitDescriptor()
1943 if (PyType_Ready(&PyEnumValueDescriptor_Type) < 0) in InitDescriptor()
1946 if (PyType_Ready(&PyFileDescriptor_Type) < 0) in InitDescriptor()
1949 if (PyType_Ready(&PyOneofDescriptor_Type) < 0) in InitDescriptor()
1952 if (PyType_Ready(&PyServiceDescriptor_Type) < 0) in InitDescriptor()
1955 if (PyType_Ready(&PyMethodDescriptor_Type) < 0) in InitDescriptor()
Dmessage.cc2928 if (PyType_Ready(CMessageClass_Type) < 0) { in InitProto2MessageModule()
2934 if (PyType_Ready(CMessage_Type) < 0) { in InitProto2MessageModule()
2937 if (PyType_Ready(CFieldProperty_Type) < 0) { in InitProto2MessageModule()
2953 if (PyType_Ready(&RepeatedScalarContainer_Type) < 0) { in InitProto2MessageModule()
2961 if (PyType_Ready(&RepeatedCompositeContainer_Type) < 0) { in InitProto2MessageModule()
2996 if (PyType_Ready(&PyUnknownFields_Type) < 0) { in InitProto2MessageModule()
3004 if (PyType_Ready(&PyUnknownFieldRef_Type) < 0) { in InitProto2MessageModule()
3023 if (PyType_Ready(&ExtensionDict_Type) < 0) { in InitProto2MessageModule()
3029 if (PyType_Ready(&ExtensionIterator_Type) < 0) { in InitProto2MessageModule()
Dmap_container.cc1021 if (PyType_Ready(&_ScalarMapContainer_Type) < 0) { in InitMapContainers()
1028 if (PyType_Ready(&MapIterator_Type) < 0) { in InitMapContainers()
1040 if (PyType_Ready(&_MessageMapContainer_Type) < 0) { in InitMapContainers()
Dmessage_factory.cc294 if (PyType_Ready(&PyMessageFactory_Type) < 0) { in InitMessageFactory()
Ddescriptor_containers.cc1782 if (PyType_Ready(&descriptor::DescriptorMapping_Type) < 0) in InitDescriptorMappingTypes()
1784 if (PyType_Ready(&descriptor::DescriptorSequence_Type) < 0) in InitDescriptorMappingTypes()
1786 if (PyType_Ready(&descriptor::ContainerIterator_Type) < 0) in InitDescriptorMappingTypes()
/third_party/python/Python/
Dcontext.c1324 if ((PyType_Ready(&PyContext_Type) < 0) || in _PyContext_Init()
1325 (PyType_Ready(&PyContextVar_Type) < 0) || in _PyContext_Init()
1326 (PyType_Ready(&PyContextToken_Type) < 0) || in _PyContext_Init()
1327 (PyType_Ready(&PyContextTokenMissing_Type) < 0)) in _PyContext_Init()
Dhamt.c2958 if ((PyType_Ready(&_PyHamt_Type) < 0) || in _PyHamt_Init()
2959 (PyType_Ready(&_PyHamt_ArrayNode_Type) < 0) || in _PyHamt_Init()
2960 (PyType_Ready(&_PyHamt_BitmapNode_Type) < 0) || in _PyHamt_Init()
2961 (PyType_Ready(&_PyHamt_CollisionNode_Type) < 0) || in _PyHamt_Init()
2962 (PyType_Ready(&_PyHamtKeys_Type) < 0) || in _PyHamt_Init()
2963 (PyType_Ready(&_PyHamtValues_Type) < 0) || in _PyHamt_Init()
2964 (PyType_Ready(&_PyHamtItems_Type) < 0)) in _PyHamt_Init()
Dbltinmodule.c2284 if (PyType_Ready(Py_TYPE(number)) < 0) in builtin_round_impl()
2981 if (PyType_Ready(&PyFilter_Type) < 0 || in _PyBuiltin_Init()
2982 PyType_Ready(&PyMap_Type) < 0 || in _PyBuiltin_Init()
2983 PyType_Ready(&PyZip_Type) < 0) in _PyBuiltin_Init()
/third_party/python/Objects/
Dclassobject.c185 if (PyType_Ready(tp) < 0) in method_getattro()
431 if (PyType_Ready(tp) < 0) in instancemethod_getattro()
Dobject.c796 if (PyType_Ready(tp) < 0) in PyObject_Hash()
1142 if (tp->tp_dict == NULL && PyType_Ready(tp) < 0) in _PyObject_GetMethod()
1232 if (PyType_Ready(tp) < 0) in _PyObject_GenericGetAttrWithDict()
1342 if (tp->tp_dict == NULL && PyType_Ready(tp) < 0) in _PyObject_GenericSetAttrWithDict()
1785 if (PyType_Ready(&(TYPE)) < 0) { \ in _PyTypes_Init()
/third_party/skia/third_party/externals/brotli/python/
D_brotli.cc731 if (PyType_Ready(&brotli_CompressorType) < 0) { in INIT_BROTLI()
737 if (PyType_Ready(&brotli_DecompressorType) < 0) { in INIT_BROTLI()
/third_party/python/Doc/c-api/
Dtypeobj.rst166 X - PyType_Ready sets this value if it is NULL
167 ~ - PyType_Ready always sets this value (it should be NULL)
168 ? - PyType_Ready may set this value depending on other slots
176 X - type slot is inherited via *PyType_Ready* if defined with a *NULL* value
513 :c:func:`PyType_Ready` checks if :attr:`ob_type` is ``NULL``, and if so,
515 :c:func:`PyType_Ready` will not change this field if it is non-zero.
561 Each slot has a section describing inheritance. If :c:func:`PyType_Ready`
1070 :c:func:`PyType_Ready`.
1079 This bit is set while :c:func:`PyType_Ready` is in the process of initializing
1196 :c:func:`PyType_Ready` automatically applies this flag to
[all …]
Dtype.rst93 .. c:function:: int PyType_Ready(PyTypeObject *type)
181 This function calls :c:func:`PyType_Ready` on the new type.
/third_party/python/Doc/extending/
Dnewtypes_tutorial.rst176 if (PyType_Ready(&CustomType) < 0)
349 :c:func:`PyType_Ready` fills it for us by inheriting it from our base class,
865 if (PyType_Ready(&SubListType) < 0)
882 Before calling :c:func:`PyType_Ready`, the type structure must have the
888 After that, calling :c:func:`PyType_Ready` and adding the type object to the
/third_party/python/Include/
Dobject.h257 PyAPI_FUNC(int) PyType_Ready(PyTypeObject *);

123