/external/python/cpython2/Misc/ |
D | pymemcompat.h | 54 #define PyObject_New PyObject_NEW macro 78 #define PyObject_GC_New PyObject_New
|
/external/python/cpython2/Objects/ |
D | rangeobject.c | 97 obj = PyObject_New(rangeobject, &PyRange_Type); in range_new() 301 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_iter() 321 it = PyObject_New(rangeiterobject, &Pyrangeiter_Type); in range_reverse()
|
D | structseq.c | 34 obj = PyObject_New(PyStructSequence, type); in PyStructSequence_New()
|
/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 | 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 | xxmodule.c | 34 self = PyObject_New(XxoObject, &Xxo_Type); in newXxoObject()
|
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()
|
D | svmodule.c | 313 p = PyObject_New(captureobject, &Capturetype); in newcaptureobject() 917 p = PyObject_New(svobject, &Svtype); in newsvobject()
|
D | sha256module.c | 385 return (SHAobject *)PyObject_New(SHAobject, &SHA224type); in newSHA224object() 391 return (SHAobject *)PyObject_New(SHAobject, &SHA256type); in newSHA256object()
|
D | dbmmodule.c | 54 dp = PyObject_New(dbmobject, &Dbmtype); in newdbmobject()
|
D | gdbmmodule.c | 63 dp = PyObject_New(dbmobject, &Dbmtype); in newdbmobject()
|
D | ossaudiodev.c | 137 if ((self = PyObject_New(oss_audio_t, &OSSAudioType)) == NULL) { in newossobject() 185 if ((self = PyObject_New(oss_mixer_t, &OSSMixerType)) == NULL) { in newossmixerobject()
|
D | linuxaudiodev.c | 136 if ((xp = PyObject_New(lad_t, &Ladtype)) == NULL) { in newladobject()
|
D | sha512module.c | 451 return (SHAobject *)PyObject_New(SHAobject, &SHA384type); in newSHA384object() 457 return (SHAobject *)PyObject_New(SHAobject, &SHA512type); in newSHA512object()
|
/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/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.cc | 760 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByName() 772 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByCamelcaseName() 789 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByNumber() 801 PyContainer* self = PyObject_New(PyContainer, &DescriptorSequence_Type); in NewSequence() 903 PyContainerIterator* self = PyObject_New(PyContainerIterator, in NewContainerIterator()
|
D | descriptor_pool.cc | 67 PyDescriptorPool* cpool = PyObject_New( in _CreateDescriptorPool()
|
/external/python/cpython2/Include/ |
D | objimpl.h | 156 #define PyObject_New(type, typeobj) \ macro
|
/external/python/cpython2/Objects/stringlib/ |
D | string_format.h | 1189 it = PyObject_New(formatteriterobject, &PyFormatterIter_Type); in formatter_parser() 1329 it = PyObject_New(fieldnameiterobject, &PyFieldNameIter_Type); in formatter_field_name_split()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | connection.h | 61 self = PyObject_New(ConnectionObject, type); in connection_new()
|
D | semaphore.c | 413 self = PyObject_New(SemLockObject, type); in newsemlockobject()
|