Home
last modified time | relevance | path

Searched refs:PyType_GenericAlloc (Results 1 – 25 of 88) sorted by relevance

1234

/external/protobuf/python/google/protobuf/pyext/
Dmap_container.cc404 ScopedPyObjectPtr obj(PyType_GenericAlloc( in NewScalarMapContainer()
407 ScopedPyObjectPtr obj(PyType_GenericAlloc(&ScalarMapContainer_Type, 0)); in NewScalarMapContainer()
647 PyObject* obj = PyType_GenericAlloc( in NewMessageMapContainer()
650 PyObject* obj = PyType_GenericAlloc(&MessageMapContainer_Type, 0); in NewMessageMapContainer()
868 ScopedPyObjectPtr obj(PyType_GenericAlloc(&MapIterator_Type, 0)); in GetIterator()
Dextension_dict.cc259 PyType_GenericAlloc(&ExtensionDict_Type, 0)); in NewExtensionDict()
Drepeated_scalar_container.cc667 PyType_GenericAlloc(&RepeatedScalarContainer_Type, 0)); in NewContainer()
712 PyType_GenericAlloc(&RepeatedScalarContainer_Type, 0)); in DeepCopy()
Drepeated_composite_container.cc514 PyType_GenericAlloc(&RepeatedCompositeContainer_Type, 0)); in NewContainer()
/external/python/cpython2/Objects/
Dfuncobject.c729 PyType_GenericAlloc, /* tp_alloc */
738 PyType_GenericAlloc(&PyClassMethod_Type, 0); in PyClassMethod_New()
881 PyType_GenericAlloc, /* tp_alloc */
890 PyType_GenericAlloc(&PyStaticMethod_Type, 0); in PyStaticMethod_New()
Denumobject.c215 PyType_GenericAlloc, /* tp_alloc */
384 PyType_GenericAlloc, /* tp_alloc */
Dmoduleobject.c259 PyType_GenericAlloc, /* tp_alloc */
Ddescrobject.c614 descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0); in descr_new()
1436 PyType_GenericAlloc, /* tp_alloc */
/external/python/cpython3/Objects/
Dfuncobject.c802 PyType_GenericAlloc, /* tp_alloc */
811 PyType_GenericAlloc(&PyClassMethod_Type, 0); in PyClassMethod_New()
980 PyType_GenericAlloc, /* tp_alloc */
989 PyType_GenericAlloc(&PyStaticMethod_Type, 0); in PyStaticMethod_New()
Denumobject.c246 PyType_GenericAlloc, /* tp_alloc */
443 PyType_GenericAlloc, /* tp_alloc */
Dnamespaceobject.c239 PyType_GenericAlloc, /* tp_alloc */
Dfileobject.c507 PyType_GenericAlloc, /* tp_alloc */
Dstructseq.c414 result = (PyTypeObject*)PyType_GenericAlloc(&PyType_Type, 0); in PyStructSequence_NewType()
Ddescrobject.c724 descr = (PyDescrObject *)PyType_GenericAlloc(descrtype, 0); in descr_new()
1660 PyType_GenericAlloc, /* tp_alloc */
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c389 #define EventRef_tp_alloc PyType_GenericAlloc
610 #define EventQueueRef_tp_alloc PyType_GenericAlloc
740 #define EventLoopRef_tp_alloc PyType_GenericAlloc
888 #define EventLoopTimerRef_tp_alloc PyType_GenericAlloc
1080 #define EventHandlerRef_tp_alloc PyType_GenericAlloc
1213 #define EventHandlerCallRef_tp_alloc PyType_GenericAlloc
1368 #define EventTargetRef_tp_alloc PyType_GenericAlloc
1498 #define EventHotKeyRef_tp_alloc PyType_GenericAlloc
/external/python/cpython2/Mac/Modules/ibcarbon/
D_IBCarbon.c148 #define IBNibRefObj_tp_alloc PyType_GenericAlloc
/external/python/cpython2/Doc/c-api/
Dtype.rst80 .. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems)
/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c266 #define CmpInstObj_tp_alloc PyType_GenericAlloc
704 #define CmpObj_tp_alloc PyType_GenericAlloc
/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c415 #define CFTypeRefObj_tp_alloc PyType_GenericAlloc
626 #define CFArrayRefObj_tp_alloc PyType_GenericAlloc
866 #define CFMutableArrayRefObj_tp_alloc PyType_GenericAlloc
1059 #define CFDictionaryRefObj_tp_alloc PyType_GenericAlloc
1236 #define CFMutableDictionaryRefObj_tp_alloc PyType_GenericAlloc
1467 #define CFDataRefObj_tp_alloc PyType_GenericAlloc
1732 #define CFMutableDataRefObj_tp_alloc PyType_GenericAlloc
2475 #define CFStringRefObj_tp_alloc PyType_GenericAlloc
2863 #define CFMutableStringRefObj_tp_alloc PyType_GenericAlloc
3515 #define CFURLRefObj_tp_alloc PyType_GenericAlloc
/external/python/cpython3/Doc/c-api/
Dtype.rst80 .. c:function:: PyObject* PyType_GenericAlloc(PyTypeObject *type, Py_ssize_t nitems)
/external/python/cpython2/Modules/
Dbz2module.c1605 PyType_GenericAlloc, /*tp_alloc*/
1894 PyType_GenericAlloc, /*tp_alloc*/
2128 PyType_GenericAlloc, /*tp_alloc*/
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c480 #define FSCatalogInfo_tp_alloc PyType_GenericAlloc
668 #define FInfo_tp_alloc PyType_GenericAlloc
1020 #define Alias_tp_alloc PyType_GenericAlloc
1480 #define FSSpec_tp_alloc PyType_GenericAlloc
2067 #define FSRef_tp_alloc PyType_GenericAlloc
/external/python/cpython3/Python/
Dbltinmodule.c679 PyType_GenericAlloc, /* tp_alloc */
1403 PyType_GenericAlloc, /* tp_alloc */
2722 PyType_GenericAlloc, /* tp_alloc */
/external/python/cpython3/Modules/
D_abc.c74 .tp_alloc = PyType_GenericAlloc,
/external/python/cpython3/PC/
Dpython3.def595 PyType_GenericAlloc=python37.PyType_GenericAlloc

1234