Home
last modified time | relevance | path

Searched refs:PyObject_NEW (Results 1 – 25 of 41) sorted by relevance

12

/external/python/cpython2/Objects/
Dcobject.c28 self = PyObject_NEW(PyCObject, &PyCObject_Type); in PyCObject_FromVoidPtr()
54 self = PyObject_NEW(PyCObject, &PyCObject_Type); in PyCObject_FromVoidPtrAndDesc()
Dcapsule.c53 capsule = PyObject_NEW(PyCapsule, &PyCapsule_Type); in PyCapsule_New()
Dbufferobject.c115 b = PyObject_NEW(PyBufferObject, &PyBuffer_Type); in buffer_from_memory()
Dcodeobject.c120 co = PyObject_NEW(PyCodeObject, &PyCode_Type); in PyCode_New()
/external/python/cpython2/Misc/
Dpymemcompat.h54 #define PyObject_New PyObject_NEW
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c122 it = PyObject_NEW(EventRefObject, &EventRef_Type); in EventRef_New()
467 it = PyObject_NEW(EventQueueRefObject, &EventQueueRef_Type); in EventQueueRef_New()
688 it = PyObject_NEW(EventLoopRefObject, &EventLoopRef_Type); in EventLoopRef_New()
818 it = PyObject_NEW(EventLoopTimerRefObject, &EventLoopTimerRef_Type); in EventLoopTimerRef_New()
967 it = PyObject_NEW(EventHandlerRefObject, &EventHandlerRef_Type); in EventHandlerRef_New()
1158 it = PyObject_NEW(EventHandlerCallRefObject, &EventHandlerCallRef_Type); in EventHandlerCallRef_New()
1291 it = PyObject_NEW(EventTargetRefObject, &EventTargetRef_Type); in EventTargetRef_New()
1446 it = PyObject_NEW(EventHotKeyRefObject, &EventHotKeyRef_Type); in EventHotKeyRef_New()
/external/python/cpython2/PC/
D_msi.c513 msiobj *result = PyObject_NEW(struct msiobj, &record_Type); in record_new()
840 result = PyObject_NEW(struct msiobj, &msiview_Type); in msidb_openview()
877 oresult = PyObject_NEW(struct msiobj, &summary_Type); in msidb_getsummaryinformation()
970 result = PyObject_NEW(struct msiobj, &msidb_Type); in msiopendb()
D_subprocess.c63 self = PyObject_NEW(sp_handle_object, &sp_handle_type); in sp_handle_new()
/external/python/cpython2/Mac/Modules/ibcarbon/
D_IBCarbon.c33 it = PyObject_NEW(IBNibRefObject, &IBNibRef_Type); in IBNibRefObj_New()
/external/python/cpython2/Include/
Dobjimpl.h192 #define PyObject_NEW(type, typeobj) \ macro
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c59 b=PyObject_NEW(PyBlockObject,&PyBlockType); in PyBlock_New()
101 b=PyObject_NEW(PyBlockObject,&PyBlockType); in PyRegister()
Ddrawfmodule.c77 { PyDrawFObject *b=PyObject_NEW(PyDrawFObject,&PyDrawFType); in new()
/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c77 it = PyObject_NEW(ComponentInstanceObject, &ComponentInstance_Type); in CmpInstObj_New()
349 it = PyObject_NEW(ComponentObject, &Component_Type); in CmpObj_New()
/external/python/cpython2/Mac/Modules/scrap/
D_Scrapmodule.c37 it = PyObject_NEW(ScrapObject, &Scrap_Type); in ScrapObj_New()
/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c134 it = PyObject_NEW(CFTypeRefObject, &CFTypeRef_Type); in CFTypeRefObj_New()
496 it = PyObject_NEW(CFArrayRefObject, &CFArrayRef_Type); in CFArrayRefObj_New()
707 it = PyObject_NEW(CFMutableArrayRefObject, &CFMutableArrayRef_Type); in CFMutableArrayRefObj_New()
947 it = PyObject_NEW(CFDictionaryRefObject, &CFDictionaryRef_Type); in CFDictionaryRefObj_New()
1140 it = PyObject_NEW(CFMutableDictionaryRefObject, &CFMutableDictionaryRef_Type); in CFMutableDictionaryRefObj_New()
1317 it = PyObject_NEW(CFDataRefObject, &CFDataRef_Type); in CFDataRefObj_New()
1548 it = PyObject_NEW(CFMutableDataRefObject, &CFMutableDataRef_Type); in CFMutableDataRefObj_New()
1813 it = PyObject_NEW(CFStringRefObject, &CFStringRef_Type); in CFStringRefObj_New()
2556 it = PyObject_NEW(CFMutableStringRefObject, &CFMutableStringRef_Type); in CFMutableStringRefObj_New()
2944 it = PyObject_NEW(CFURLRefObject, &CFURLRef_Type); in CFURLRefObj_New()
/external/python/cpython2/Mac/Modules/
Dicgluemodule.c365 self = PyObject_NEW(iciobject, &Icitype); in newiciobject()
DMacOS.c233 self = PyObject_NEW(rfobject, &Rftype); in newrfobject()
DNav.c288 self = PyObject_NEW(navrrobject, &Navrrtype); in newnavrrobject()
/external/python/cpython2/Modules/
D_curses_panel.c178 po = PyObject_NEW(PyCursesPanelObject, &PyCursesPanel_Type); in Panel_NoArgNoReturnFunction()
/external/python/cpython2/Mac/Modules/snd/
D_Sndmodule.c60 it = PyObject_NEW(SndChannelObject, &SndChannel_Type); in SndCh_New()
276 it = PyObject_NEW(SPBObject, &SPB_Type); in SPBObj_New()
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c180 it = PyObject_NEW(FSCatalogInfoObject, &FSCatalogInfo_Type); in FSCatalogInfo_New()
558 it = PyObject_NEW(FInfoObject, &FInfo_Type); in FInfo_New()
746 it = PyObject_NEW(AliasObject, &Alias_Type); in Alias_New()
1097 it = PyObject_NEW(FSSpecObject, &FSSpec_Type); in FSSpec_New()
1557 it = PyObject_NEW(FSRefObject, &FSRef_Type); in FSRef_New()
/external/python/cpython2/Mac/Modules/qdoffs/
D_Qdoffsmodule.c49 it = PyObject_NEW(GWorldObject, &GWorld_Type); in GWorldObj_New()
/external/python/cpython2/Mac/Modules/mlte/
D_Mltemodule.c83 it = PyObject_NEW(TXNObjectObject, &TXNObject_Type); in TXNObj_New()
1319 it = PyObject_NEW(TXNFontMenuObjectObject, &TXNFontMenuObject_Type); in TXNFontMenuObj_New()
/external/python/cpython2/Mac/Modules/osa/
D_OSAmodule.c51 it = PyObject_NEW(OSAComponentInstanceObject, &OSAComponentInstance_Type); in OSAObj_New()
/external/python/cpython2/Mac/Modules/list/
D_Listmodule.c56 it = PyObject_NEW(ListObject, &List_Type); in ListObj_New()

12