/external/python/cpython2/Misc/ |
D | pymemcompat.h | 54 #define PyObject_New PyObject_NEW macro 78 #define PyObject_GC_New PyObject_New
|
/external/python/cpython3/Include/ |
D | objimpl.h | 125 #define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj)) macro 129 #define PyObject_NEW(type, typeobj) PyObject_New(type, typeobj)
|
/external/python/cpython2/Objects/ |
D | rangeobject.c | 97 obj = PyObject_New(rangeobject, &PyRange_Type); in range_new() 299 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_iter() 319 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_reverse()
|
/external/python/cpython3/Doc/c-api/ |
D | allocation.rst | 30 .. c:function:: TYPE* PyObject_New(TYPE, PyTypeObject *type) 53 Releases memory allocated to an object using :c:func:`PyObject_New` or
|
/external/protobuf/python/google/protobuf/pyext/ |
D | field.cc | 132 PyObject_New(PyMessageFieldProperty, CFieldProperty_Type); in NewFieldProperty()
|
D | descriptor_containers.cc | 786 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByName() 798 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByCamelcaseName() 815 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByNumber() 827 PyContainer* self = PyObject_New(PyContainer, &DescriptorSequence_Type); in NewSequence() 929 PyContainerIterator* self = PyObject_New(PyContainerIterator, in NewContainerIterator()
|
/external/python/cffi/c/ |
D | cglob.c | 49 GlobSupportObject *gs = PyObject_New(GlobSupportObject, &GlobSupport_Type); in make_global_var()
|
D | misc_thread_common.h | 193 canary = PyObject_New(ThreadCanaryObj, &ThreadCanary_Type); in thread_canary_register()
|
/external/python/cpython3/PC/ |
D | _msi.c | 534 msiobj *result = PyObject_New(struct msiobj, &record_Type); in record_new() 885 result = PyObject_New(struct msiobj, &msiview_Type); in msidb_openview() 921 oresult = PyObject_New(struct msiobj, &summary_Type); in msidb_getsummaryinformation() 1016 result = PyObject_New(struct msiobj, &msidb_Type); in msiopendb()
|
/external/python/cpython2/Modules/ |
D | sunaudiodev.c | 108 xp = PyObject_New(sadobject, &Sadtype); in newsadobject() 337 return PyObject_New(sadstatusobject, &Sadstatustype); in sads_alloc()
|
D | xxmodule.c | 34 self = PyObject_New(XxoObject, &Xxo_Type); in newXxoObject()
|
D | bsddbmodule.c | 60 if ((dp = PyObject_New(bsddbobject, &Bsddbtype)) == NULL) in newdbhashobject() 108 if ((dp = PyObject_New(bsddbobject, &Bsddbtype)) == NULL) in newdbbtobject() 159 if ((dp = PyObject_New(bsddbobject, &Bsddbtype)) == NULL) in newdbrnobject()
|
D | fmmodule.c | 31 fhp = PyObject_New(fhobject, &Fhtype); in newfhobject()
|
D | md5module.c | 30 md5p = PyObject_New(md5object, &MD5type); in newmd5object()
|
D | dlmodule.c | 30 xp = PyObject_New(dlobject, &Dltype); in newdlobject()
|
D | cStringIO.c | 585 self = PyObject_New(Oobject, &Otype); in newOobject() 695 self = PyObject_New(Iobject, &Itype); in newIobject()
|
D | cdmodule.c | 414 p = PyObject_New(cdplayerobject, &CdPlayertype); in newcdplayerobject() 704 p = PyObject_New(cdparserobject, &CdParsertype); in newcdparserobject()
|
/external/python/cpython2/Doc/c-api/ |
D | allocation.rst | 41 .. c:function:: TYPE* PyObject_New(TYPE, PyTypeObject *type) 68 Releases memory allocated to an object using :c:func:`PyObject_New` or
|
/external/python/cpython3/Objects/ |
D | rangeobject.c | 58 obj = PyObject_New(rangeobject, type); in make_range_object() 900 rangeiterobject *it = PyObject_New(rangeiterobject, &PyRangeIter_Type); in fast_range_iter() 1103 it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type); in range_iter() 1189 it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type); in range_reverse()
|
D | capsule.c | 53 capsule = PyObject_New(PyCapsule, &PyCapsule_Type); in PyCapsule_New()
|
D | interpreteridobject.c | 27 interpid *self = PyObject_New(interpid, cls); in newinterpid()
|
/external/python/cpython3/Modules/ |
D | xxmodule.c | 34 self = PyObject_New(XxoObject, &Xxo_Type); in newXxoObject()
|
D | sha256module.c | 375 return (SHAobject *)PyObject_New(SHAobject, &SHA224type); in newSHA224object() 381 return (SHAobject *)PyObject_New(SHAobject, &SHA256type); in newSHA256object()
|
D | _functoolsmodule.c | 557 result = PyObject_New(keyobject, &keyobject_type); in keyobject_call() 614 object = PyObject_New(keyobject, &keyobject_type); in functools_cmp_to_key() 1031 link = (lru_list_elem *)PyObject_New(lru_list_elem, in bounded_lru_cache_wrapper()
|
/external/python/cpython2/Include/ |
D | objimpl.h | 156 #define PyObject_New(type, typeobj) \ macro
|