Home
last modified time | relevance | path

Searched refs:tp_alloc (Results 1 - 25 of 56) sorted by relevance

123

/third_party/python/Objects/
H A Dpicklebufobject.c22 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in PyPickleBuffer_FromObject()
81 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in picklebuf_new()
H A Dnamespaceobject.c27 assert(type != NULL && type->tp_alloc != NULL); in namespace_new()
28 self = type->tp_alloc(type, 0); in namespace_new()
241 PyType_GenericAlloc, /* tp_alloc */
H A Denumobject.c49 en = (enumobject *)type->tp_alloc(type, 0); in enum_new_impl()
328 PyType_GenericAlloc, /* tp_alloc */
387 ro = (reversedobject *)type->tp_alloc(type, 0); in reversed_new_impl()
541 PyType_GenericAlloc, /* tp_alloc */
H A Dunionobject.c379 .tp_alloc = PyType_GenericAlloc,
H A Dgenericaliasobject.c833 gaobject *self = (gaobject *)type->tp_alloc(type, 0); in ga_new()
953 .tp_alloc = PyType_GenericAlloc,
H A Dweakrefobject.c316 /* Note: the tp_alloc() can trigger cyclic GC, so the weakref in weakref___new__()
321 self = (PyWeakReference *) (type->tp_alloc(type, 0)); in weakref___new__()
386 .tp_alloc = PyType_GenericAlloc,
/third_party/python/Modules/_sqlite/
H A Drow.c81 assert(type != NULL && type->tp_alloc != NULL); in pysqlite_row_new_impl()
83 self = (pysqlite_Row *) type->tp_alloc(type, 0); in pysqlite_row_new_impl()
/third_party/python/Modules/_ssl/
H A Dcert.c22 assert(type != NULL && type->tp_alloc != NULL); in newCertificate()
25 self = (PySSLCertificate *) type->tp_alloc(type, 0); in newCertificate()
/third_party/python/Modules/
H A Ditertoolsmodule.c84 po = (pairwiseobject *)type->tp_alloc(type, 0); in pairwise_new_impl()
179 PyType_GenericAlloc, /* tp_alloc */
219 gbo = (groupbyobject *)type->tp_alloc(type, 0); in itertools_groupby_impl()
410 0, /* tp_alloc */
557 0, /* tp_alloc */
810 0, /* tp_alloc */
998 0, /* tp_alloc */
1109 lz = (cycleobject *)type->tp_alloc(type, 0); in itertools_cycle_impl()
1261 0, /* tp_alloc */
1300 lz = (dropwhileobject *)type->tp_alloc(typ in itertools_dropwhile_impl()
[all...]
H A D_threadmodule.c508 rlockobject *self = (rlockobject *) type->tp_alloc(type, 0); in rlock_new()
605 lockobject *self = (lockobject *)type->tp_alloc(type, 0); in newlockobject()
736 dummy = (localdummyobject *) type->tp_alloc(type, 0); in _local_create_dummy()
794 localobject *self = (localobject *)type->tp_alloc(type, 0); in local_new()
H A D_queuemodule.c88 self = (simplequeueobject *) type->tp_alloc(type, 0); in simplequeue_new_impl()
/third_party/python/Doc/includes/
H A Dtypestruct.h67 allocfunc tp_alloc; member
H A Dcustom2.c24 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
H A Dcustom4.c40 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
H A Dcustom3.c24 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
/third_party/python/Modules/_io/
H A 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()
912 /* tp_alloc initializes all the fields to zero. So we don't have to in bytesio_new()
1065 0, /*tp_alloc*/
1164 0, /*tp_alloc*/
H A Dfileio.c175 assert(type != NULL && type->tp_alloc != NULL); in fileio_new()
177 self = (fileio *) type->tp_alloc(type, 0); in fileio_new()
1230 PyType_GenericAlloc, /* tp_alloc */
H A Dstringio.c620 assert(type != NULL && type->tp_alloc != NULL); in stringio_new()
621 self = (stringio *)type->tp_alloc(type, 0); in stringio_new()
625 /* tp_alloc initializes all the fields to zero. So we don't have to in stringio_new()
1042 0, /*tp_alloc*/
H A Dwinconsoleio.c218 assert(type != NULL && type->tp_alloc != NULL); in winconsoleio_new()
220 self = (winconsoleio *) type->tp_alloc(type, 0); in winconsoleio_new()
1163 PyType_GenericAlloc, /* tp_alloc */
/third_party/python/Python/
H A DPython-tokenize.c42 tokenizeriterobject *self = (tokenizeriterobject *)type->tp_alloc(type, 0); in tokenizeriter_new_impl()
H A Dbltinmodule.c511 lz = (filterobject *)type->tp_alloc(type, 0); in filter_new()
542 filterobject *lz = (filterobject *)tp->tp_alloc(tp, 0); in filter_vectorcall()
667 PyType_GenericAlloc, /* tp_alloc */
1270 lz = (mapobject *)type->tp_alloc(type, 0); in map_new()
1312 mapobject *lz = (mapobject *)tp->tp_alloc(tp, 0); in map_vectorcall()
1453 PyType_GenericAlloc, /* tp_alloc */
2743 lz = (zipobject *)type->tp_alloc(type, 0); in zip_new()
2946 PyType_GenericAlloc, /* tp_alloc */
/third_party/skia/third_party/externals/brotli/python/
H A D_brotli.cc162 self = (brotli_Compressor *)type->tp_alloc(type, 0); in brotli_Compressor_new()
391 0, /* tp_alloc */
448 self = (brotli_Decompressor *)type->tp_alloc(type, 0); in brotli_Decompressor_new()
618 0, /* tp_alloc */
/third_party/python/Modules/_blake2/
H A Dblake2s_impl.c61 self = (BLAKE2sObject *)type->tp_alloc(type, 0); in new_BLAKE2sObject()
H A Dblake2b_impl.c61 self = (BLAKE2bObject *)type->tp_alloc(type, 0); in new_BLAKE2bObject()
/third_party/python/Include/cpython/
H A Dobject.h214 allocfunc tp_alloc; member

Completed in 24 milliseconds

123