/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 | 59 obj = PyObject_New(rangeobject, type); in make_range_object() 920 rangeiterobject *it = PyObject_New(rangeiterobject, &PyRangeIter_Type); in fast_range_iter() 1126 it = PyObject_New(longrangeiterobject, &PyLongRangeIter_Type); in range_iter() 1212 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 | 338 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 | 413 EVPobject *retval = (EVPobject *)PyObject_New(EVPobject, type); in newEVPobject() 1535 self = (HMACobject *)PyObject_New(HMACobject, type); in _hashlib_hmac_new_impl() 1628 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 | 139 if ((self = PyObject_New(oss_audio_t, &OSSAudioType)) == NULL) { in newossobject() 186 if ((self = PyObject_New(oss_mixer_t, &OSSMixerType)) == NULL) { in newossmixerobject()
|
D | selectmodule.c | 715 self = PyObject_New(pollObject, get_select_state(module)->poll_Type); in newPollObject() 1099 self = PyObject_New(devpollObject, get_select_state(module)->devpoll_Type); in newDevPollObject() 2217 ch = PyObject_New(kqueue_event_Object, state->kqueue_event_Type); in select_kqueue_control_impl()
|
D | _tkinter.c | 713 v = PyObject_New(TkappObject, (PyTypeObject *) Tkapp_Type); in Tkapp_New() 897 self = PyObject_New(PyTclObject, (PyTypeObject *) PyTclObject_Type); in newPyTclObject() 2809 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 | _testcapimodule.c | 421 obj = PyObject_New(PyObject, type); in test_lazy_hash_inheritance() 5963 ob = PyObject_New(test_structmembers, type); in test_structmembers_new() 6430 PyGenericAliasObject *o = PyObject_New(PyGenericAliasObject, &GenericAlias_Type); in generic_alias_new() 6547 MethodDescriptor2Object *op = PyObject_New(MethodDescriptor2Object, type); in MethodDescriptor2_new()
|
D | zlibmodule.c | 257 self = PyObject_New(compobject, type); in newcompobject()
|
/third_party/python/Objects/stringlib/ |
D | unicode_format.h | 1117 it = PyObject_New(formatteriterobject, &PyFormatterIter_Type); in formatter_parser() 1260 it = PyObject_New(fieldnameiterobject, &PyFieldNameIter_Type); in formatter_field_name_split()
|
/third_party/python/Modules/_multiprocessing/ |
D | semaphore.c | 457 self = PyObject_New(SemLockObject, type); in newsemlockobject()
|
/third_party/python/Modules/_sha3/ |
D | sha3module.c | 178 newobj = (SHA3object *)PyObject_New(SHA3object, type); in newSHA3object()
|
/third_party/python/Python/ |
D | context.c | 1275 _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:
|