Home
last modified time | relevance | path

Searched refs:tp_alloc (Results 1 – 25 of 127) sorted by relevance

123456

/external/python/cpython2/Modules/
Ditertoolsmodule.c35 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/
Dnamespaceobject.c26 assert(type != NULL && type->tp_alloc != NULL); in namespace_new()
27 self = type->tp_alloc(type, 0); in namespace_new()
Dpicklebufobject.c22 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in PyPickleBuffer_FromObject()
81 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in picklebuf_new()
Denumobject.c45 en = (enumobject *)type->tp_alloc(type, 0); in enum_new_impl()
307 ro = (reversedobject *)type->tp_alloc(type, 0); in reversed_new_impl()
Dfileobject.c322 assert(type != NULL && type->tp_alloc != NULL); in stdprinter_new()
324 self = (PyStdPrinter_Object *) type->tp_alloc(type, 0); in stdprinter_new()
Dtypeslots.inc48 offsetof(PyHeapTypeObject, ht_type.tp_alloc),
/external/python/pybind11/include/pybind11/detail/
Dclass.h68 auto heap_type = (PyHeapTypeObject *) PyType_Type.tp_alloc(&PyType_Type, 0); in make_static_property_type()
245 auto heap_type = (PyHeapTypeObject *) PyType_Type.tp_alloc(&PyType_Type, 0); in make_default_metaclass()
338 PyObject *self = type->tp_alloc(type, 0); in make_new_instance()
451 auto heap_type = (PyHeapTypeObject *) metaclass->tp_alloc(metaclass, 0); in make_object_base_type()
645 auto heap_type = (PyHeapTypeObject *) metaclass->tp_alloc(metaclass, 0); in make_new_python_type()
/external/python/cpython3/Modules/_sqlite/
Drow.c42 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/
Drow.c43 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/
Dtypestruct.h66 allocfunc tp_alloc; member
Dnoddy2.c24 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
Dnoddy4.c59 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
Dnoddy3.c24 self = (Noddy *)type->tp_alloc(type, 0); in Noddy_new()
/external/python/cpython3/Doc/includes/
Dtypestruct.h64 allocfunc tp_alloc; member
Dcustom2.c24 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
Dcustom3.c24 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
Dcustom4.c40 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
/external/python/cpython2/Objects/
Denumobject.c25 en = (enumobject *)type->tp_alloc(type, 0); in enum_new()
273 ro = (reversedobject *)type->tp_alloc(type, 0); in reversed_new()
/external/python/cpython3/Modules/
Ditertoolsmodule.c85 gbo = (groupbyobject *)type->tp_alloc(type, 0); in itertools_groupby_impl()
976 lz = (cycleobject *)type->tp_alloc(type, 0); in itertools_cycle_impl()
1168 lz = (dropwhileobject *)type->tp_alloc(type, 0); in itertools_dropwhile_impl()
1331 lz = (takewhileobject *)type->tp_alloc(type, 0); in itertools_takewhile_impl()
1543 lz = (isliceobject *)type->tp_alloc(type, 0); in islice_new()
1749 lz = (starmapobject *)type->tp_alloc(type, 0); in itertools_starmap_impl()
1873 lz = (chainobject *)type->tp_alloc(type, 0); in chain_new_internal()
2158 lz = (productobject *)type->tp_alloc(type, 0); in product_new()
2486 co = (combinationsobject *)type->tp_alloc(type, 0); in itertools_combinations_impl()
2818 co = (cwrobject *)type->tp_alloc(type, 0); in itertools_combinations_with_replacement_impl()
[all …]
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c398 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/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor_bridge.cc210 TensorReleaserType.tp_alloc(&TensorReleaserType, 0)); in ArrayFromMemory()
/external/python/cpython3/Modules/_io/
Dbytesio.c324 buf = (bytesiobuf *) type->tp_alloc(type, 0); in _io_BytesIO_getbuffer_impl()
907 assert(type != NULL && type->tp_alloc != NULL); in bytesio_new()
908 self = (bytesio *)type->tp_alloc(type, 0); in bytesio_new()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h228 ((void *)((PyTypeObject *)type)->tp_alloc(type, (Py_ssize_t)0))
/external/brotli/python/
D_brotli.cc162 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/python/cpython2/Mac/Modules/ibcarbon/
D_IBCarbon.c157 if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; in IBNibRefObj_tp_new()

123456