| /third_party/python/Include/ |
| D | objimpl.h | 134 #define PyObject_New(type, typeobj) ((type *)_PyObject_New(typeobj)) macro 138 #define PyObject_NEW(type, typeobj) PyObject_New(type, typeobj)
|
| /third_party/python/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
|
| D | gcsupport.rst | 59 Analogous to :c:func:`PyObject_New` but for container objects with the
|
| /third_party/python/PC/ |
| D | _msi.c | 645 msiobj *result = PyObject_New(struct msiobj, &record_Type); in record_new() 1062 result = PyObject_New(struct msiobj, &msiview_Type); in _msi_Database_OpenView_impl() 1111 oresult = PyObject_New(struct msiobj, &summary_Type); in _msi_Database_GetSummaryInformation_impl() 1212 result = PyObject_New(struct msiobj, &msidb_Type); in _msi_OpenDatabase_impl()
|
| D | winreg.c | 394 PyHKEYObject *key = PyObject_New(PyHKEYObject, &PyHKEY_Type); in PyHKEY_New()
|
| /third_party/protobuf/python/google/protobuf/pyext/ |
| D | field.cc | 132 PyObject_New(PyMessageFieldProperty, CFieldProperty_Type); in NewFieldProperty()
|
| D | descriptor_containers.cc | 789 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByName() 801 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByCamelcaseName() 818 PyContainer* self = PyObject_New(PyContainer, &DescriptorMapping_Type); in NewMappingByNumber() 830 PyContainer* self = PyObject_New(PyContainer, &DescriptorSequence_Type); in NewSequence() 932 PyContainerIterator* self = PyObject_New(PyContainerIterator, in NewContainerIterator()
|
| /third_party/python/Objects/ |
| D | rangeobject.c | 57 obj = PyObject_New(rangeobject, type); in make_range_object() 918 rangeiterobject *it = PyObject_New(rangeiterobject, &PyRangeIter_Type); in fast_range_iter() 1124 it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type); in range_iter() 1210 it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type); in range_reverse()
|
| D | interpreteridobject.c | 33 interpid *self = PyObject_New(interpid, cls); in newinterpid()
|
| D | capsule.c | 53 capsule = PyObject_New(PyCapsule, &PyCapsule_Type); in PyCapsule_New()
|
| D | fileobject.c | 302 self = PyObject_New(PyStdPrinter_Object, in PyFile_NewStdPrinter()
|
| /third_party/python/Modules/ |
| D | xxmodule.c | 34 self = PyObject_New(XxoObject, &Xxo_Type); in newXxoObject()
|
| D | _hashopenssl.c | 414 EVPobject *retval = (EVPobject *)PyObject_New(EVPobject, type); in newEVPobject() 1536 self = (HMACobject *)PyObject_New(HMACobject, type); in _hashlib_hmac_new_impl() 1629 retval = (HMACobject *)PyObject_New(HMACobject, Py_TYPE(self)); in _hashlib_HMAC_copy_impl()
|
| D | _curses_panel.c | 252 PyCursesPanelObject *po = PyObject_New(PyCursesPanelObject, in PyCursesPanel_New()
|
| D | ossaudiodev.c | 146 if ((self = PyObject_New(oss_audio_t, &OSSAudioType)) == NULL) { in newossobject() 193 if ((self = PyObject_New(oss_mixer_t, &OSSMixerType)) == NULL) { in newossmixerobject()
|
| D | selectmodule.c | 733 self = PyObject_New(pollObject, get_select_state(module)->poll_Type); in newPollObject() 1120 self = PyObject_New(devpollObject, get_select_state(module)->devpoll_Type); in newDevPollObject() 2239 ch = PyObject_New(kqueue_event_Object, state->kqueue_event_Type); in select_kqueue_control_impl()
|
| D | _tkinter.c | 578 v = PyObject_New(TkappObject, (PyTypeObject *) Tkapp_Type); in Tkapp_New() 762 self = PyObject_New(PyTclObject, (PyTypeObject *) PyTclObject_Type); in newPyTclObject() 2609 v = PyObject_New(TkttObject, (PyTypeObject *) Tktt_Type); in Tktt_New()
|
| D | _testbuffer.c | 212 nd = PyObject_New(NDArrayObject, &NDArray_Type); in ndarray_new() 2715 return (PyObject *)PyObject_New(StaticArrayObject, &StaticArray_Type); in staticarray_new()
|
| D | zlibmodule.c | 257 self = PyObject_New(compobject, type); in newcompobject()
|
| D | overlapped.c | 642 self = PyObject_New(OverlappedObject, type); in _overlapped_Overlapped_impl()
|
| /third_party/python/Objects/stringlib/ |
| D | unicode_format.h | 1119 it = PyObject_New(formatteriterobject, &PyFormatterIter_Type); in formatter_parser() 1262 it = PyObject_New(fieldnameiterobject, &PyFieldNameIter_Type); in formatter_field_name_split()
|
| /third_party/python/Modules/_sha3/ |
| D | sha3module.c | 84 newobj = (SHA3object *)PyObject_New(SHA3object, type); in newSHA3object()
|
| /third_party/python/Python/ |
| D | context.c | 1283 _token_missing = (PyObject *)PyObject_New( in get_token_missing()
|
| /third_party/python/Doc/data/ |
| D | refcounts.dat | 1749 PyObject_New:PyObject*::+1: 1750 PyObject_New::TYPE:: 1751 PyObject_New:PyTypeObject*:type:0:
|
| /third_party/python/Modules/_ctypes/ |
| D | callproc.c | 467 p = PyObject_New(PyCArgObject, &PyCArg_Type); in PyCArgObject_new()
|