Home
last modified time | relevance | path

Searched refs:tp_alloc (Results 1 – 25 of 131) 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/Modules/_ssl/
Dcert.c22 assert(type != NULL && type->tp_alloc != NULL); in newCertificate()
25 self = (PySSLCertificate *) type->tp_alloc(type, 0); in newCertificate()
/external/python/cpython3/Objects/
Dpicklebufobject.c22 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in PyPickleBuffer_FromObject()
81 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in picklebuf_new()
Dnamespaceobject.c26 assert(type != NULL && type->tp_alloc != NULL); in namespace_new()
27 self = type->tp_alloc(type, 0); in namespace_new()
Denumobject.c47 en = (enumobject *)type->tp_alloc(type, 0); in enum_new_impl()
319 ro = (reversedobject *)type->tp_alloc(type, 0); in reversed_new_impl()
/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.c78 assert(type != NULL && type->tp_alloc != NULL); in pysqlite_row_new_impl()
80 self = (pysqlite_Row *) type->tp_alloc(type, 0); in pysqlite_row_new_impl()
/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.h67 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/cpython3/Modules/
Ditertoolsmodule.c85 po = (pairwiseobject *)type->tp_alloc(type, 0); in pairwise_new_impl()
220 gbo = (groupbyobject *)type->tp_alloc(type, 0); in itertools_groupby_impl()
1112 lz = (cycleobject *)type->tp_alloc(type, 0); in itertools_cycle_impl()
1303 lz = (dropwhileobject *)type->tp_alloc(type, 0); in itertools_dropwhile_impl()
1466 lz = (takewhileobject *)type->tp_alloc(type, 0); in itertools_takewhile_impl()
1678 lz = (isliceobject *)type->tp_alloc(type, 0); in islice_new()
1884 lz = (starmapobject *)type->tp_alloc(type, 0); in itertools_starmap_impl()
2008 lz = (chainobject *)type->tp_alloc(type, 0); in chain_new_internal()
2293 lz = (productobject *)type->tp_alloc(type, 0); in product_new()
2626 co = (combinationsobject *)type->tp_alloc(type, 0); in itertools_combinations_impl()
[all …]
D_threadmodule.c511 rlockobject *self = (rlockobject *) type->tp_alloc(type, 0); in rlock_new()
608 lockobject *self = (lockobject *)type->tp_alloc(type, 0); in newlockobject()
739 dummy = (localdummyobject *) type->tp_alloc(type, 0); in _local_create_dummy()
797 localobject *self = (localobject *)type->tp_alloc(type, 0); in local_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/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/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/tensorflow/tensorflow/compiler/xla/python/
Dpy_buffer.cc58 reinterpret_cast<PyBufferPyObject*>(subtype->tp_alloc(subtype, 0)); in PyBuffer_tp_new()
462 PyType_Type.tp_alloc(&PyType_Type, 0)); in RegisterTypes()
488 PyType_Type.tp_alloc(&PyType_Type, 0)); in RegisterTypes()
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/include/
Dcext.h228 ((void *)((PyTypeObject *)type)->tp_alloc(type, (Py_ssize_t)0))

123456