/external/python/cpython2/Modules/ |
D | itertoolsmodule.c | 35 gbo = (groupbyobject *)type->tp_alloc(type, 0); in groupby_new() 710 lz = (cycleobject *)type->tp_alloc(type, 0); in cycle_new() 855 lz = (dropwhileobject *)type->tp_alloc(type, 0); in dropwhile_new() 999 lz = (takewhileobject *)type->tp_alloc(type, 0); in takewhile_new() 1189 lz = (isliceobject *)type->tp_alloc(type, 0); in islice_new() 1341 lz = (starmapobject *)type->tp_alloc(type, 0); in starmap_new() 1485 lz = (imapobject *)type->tp_alloc(type, 0); in imap_new() 1637 lz = (chainobject *)type->tp_alloc(type, 0); in chain_new_internal() 1870 lz = (productobject *)type->tp_alloc(type, 0); in product_new() 2101 co = (combinationsobject *)type->tp_alloc(type, 0); in combinations_new() [all …]
|
/external/python/cpython3/Objects/ |
D | namespaceobject.c | 26 assert(type != NULL && type->tp_alloc != NULL); in namespace_new() 27 self = type->tp_alloc(type, 0); in namespace_new()
|
D | fileobject.c | 317 assert(type != NULL && type->tp_alloc != NULL); in stdprinter_new() 319 self = (PyStdPrinter_Object *) type->tp_alloc(type, 0); in stdprinter_new()
|
D | enumobject.c | 45 en = (enumobject *)type->tp_alloc(type, 0); in enum_new_impl() 305 ro = (reversedobject *)type->tp_alloc(type, 0); in reversed_new_impl()
|
D | typeslots.inc | 48 offsetof(PyHeapTypeObject, ht_type.tp_alloc),
|
/external/python/cpython3/Modules/_sqlite/ |
D | row.c | 42 assert(type != NULL && type->tp_alloc != NULL); in pysqlite_row_new() 59 self = (pysqlite_Row *) type->tp_alloc(type, 0); in pysqlite_row_new()
|
/external/python/cpython2/Modules/_sqlite/ |
D | row.c | 43 assert(type != NULL && type->tp_alloc != NULL); in pysqlite_row_new() 60 self = (pysqlite_Row *) type->tp_alloc(type, 0); in pysqlite_row_new()
|
/external/python/cpython2/Doc/includes/ |
D | typestruct.h | 66 allocfunc tp_alloc; member
|
D | noddy2.c | 24 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
|
D | noddy4.c | 59 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
|
D | noddy3.c | 24 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
|
/external/python/cpython3/Doc/includes/ |
D | typestruct.h | 64 allocfunc tp_alloc; member
|
D | custom2.c | 23 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
|
D | custom3.c | 23 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
|
D | custom4.c | 39 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
|
/external/python/cpython3/Modules/ |
D | itertoolsmodule.c | 37 gbo = (groupbyobject *)type->tp_alloc(type, 0); in groupby_new() 912 lz = (cycleobject *)type->tp_alloc(type, 0); in cycle_new() 1107 lz = (dropwhileobject *)type->tp_alloc(type, 0); in dropwhile_new() 1275 lz = (takewhileobject *)type->tp_alloc(type, 0); in takewhile_new() 1492 lz = (isliceobject *)type->tp_alloc(type, 0); in islice_new() 1697 lz = (starmapobject *)type->tp_alloc(type, 0); in starmap_new() 1827 lz = (chainobject *)type->tp_alloc(type, 0); in chain_new_internal() 2108 lz = (productobject *)type->tp_alloc(type, 0); in product_new() 2437 co = (combinationsobject *)type->tp_alloc(type, 0); in combinations_new() 2777 co = (cwrobject *)type->tp_alloc(type, 0); in cwr_new() [all …]
|
D | _threadmodule.c | 441 self = (rlockobject *) type->tp_alloc(type, 0); in rlock_new() 668 dummy = (localdummyobject *) localdummytype.tp_alloc(&localdummytype, 0); in _local_create_dummy() 720 self = (localobject *)type->tp_alloc(type, 0); in local_new()
|
/external/python/cpython2/Objects/ |
D | enumobject.c | 25 en = (enumobject *)type->tp_alloc(type, 0); in enum_new() 273 ro = (reversedobject *)type->tp_alloc(type, 0); in reversed_new()
|
/external/python/cpython3/Doc/c-api/ |
D | type.rst | 82 Generic handler for the :c:member:`~PyTypeObject.tp_alloc` slot of a type object. Use 89 new instance using the type's :c:member:`~PyTypeObject.tp_alloc` slot.
|
/external/python/cpython2/Mac/Modules/carbonevt/ |
D | _CarbonEvtmodule.c | 398 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventRef_tp_new() 619 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventQueueRef_tp_new() 749 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventLoopRef_tp_new() 897 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventLoopTimerRef_tp_new() 1089 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventHandlerRef_tp_new() 1222 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventHandlerCallRef_tp_new() 1377 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventTargetRef_tp_new() 1507 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in EventHotKeyRef_tp_new()
|
/external/python/cpython3/Modules/_io/ |
D | bytesio.c | 286 buf = (bytesiobuf *) type->tp_alloc(type, 0); in _io_BytesIO_getbuffer_impl() 883 assert(type != NULL && type->tp_alloc != NULL); in bytesio_new() 884 self = (bytesio *)type->tp_alloc(type, 0); in bytesio_new()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | ndarray_tensor_bridge.cc | 213 TensorReleaserType.tp_alloc(&TensorReleaserType, 0)); in ArrayFromMemory()
|
/external/brotli/python/ |
D | _brotli.cc | 162 self = (brotli_Compressor *)type->tp_alloc(type, 0); in brotli_Compressor_new() 448 self = (brotli_Decompressor *)type->tp_alloc(type, 0); in brotli_Decompressor_new()
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/ |
D | cext.h | 228 ((void *)((PyTypeObject *)type)->tp_alloc(type, (Py_ssize_t)0))
|
/external/python/cpython3/Doc/extending/ |
D | newtypes_tutorial.rst | 292 self = (CustomObject *) type->tp_alloc(type, 0); 332 The ``tp_new`` implementation calls the :c:member:`~PyTypeObject.tp_alloc` 335 self = (CustomObject *) type->tp_alloc(type, 0); 337 Since memory allocation may fail, we must check the :c:member:`~PyTypeObject.tp_alloc` 341 We didn't fill the :c:member:`~PyTypeObject.tp_alloc` slot ourselves. Rather 781 That's pretty much it. If we had written custom :c:member:`~PyTypeObject.tp_alloc` or 844 create the memory for the object with its :c:member:`~PyTypeObject.tp_alloc`, 872 existing type, it is not necessary to fill out the :c:member:`~PyTypeObject.tp_alloc`
|