/third_party/python/Objects/ |
H A D | picklebufobject.c | 22 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in PyPickleBuffer_FromObject() 81 self = (PyPickleBufferObject *) type->tp_alloc(type, 0); in picklebuf_new()
|
H A D | namespaceobject.c | 27 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 D | enumobject.c | 49 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 D | unionobject.c | 379 .tp_alloc = PyType_GenericAlloc,
|
H A D | genericaliasobject.c | 833 gaobject *self = (gaobject *)type->tp_alloc(type, 0); in ga_new() 953 .tp_alloc = PyType_GenericAlloc,
|
H A D | weakrefobject.c | 316 /* 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 D | row.c | 81 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 D | cert.c | 22 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 D | itertoolsmodule.c | 84 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.c | 508 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.c | 88 self = (simplequeueobject *) type->tp_alloc(type, 0); in simplequeue_new_impl()
|
/third_party/python/Doc/includes/ |
H A D | typestruct.h | 67 allocfunc tp_alloc; member
|
H A D | custom2.c | 24 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
|
H A D | custom4.c | 40 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
|
H A D | custom3.c | 24 self = (CustomObject *) type->tp_alloc(type, 0); in Custom_new()
|
/third_party/python/Modules/_io/ |
H A D | bytesio.c | 324 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 D | fileio.c | 175 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 D | stringio.c | 620 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 D | winconsoleio.c | 218 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 D | Python-tokenize.c | 42 tokenizeriterobject *self = (tokenizeriterobject *)type->tp_alloc(type, 0); in tokenizeriter_new_impl()
|
H A D | bltinmodule.c | 511 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.cc | 162 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 D | blake2s_impl.c | 61 self = (BLAKE2sObject *)type->tp_alloc(type, 0); in new_BLAKE2sObject()
|
H A D | blake2b_impl.c | 61 self = (BLAKE2bObject *)type->tp_alloc(type, 0); in new_BLAKE2bObject()
|
/third_party/python/Include/cpython/ |
H A D | object.h | 214 allocfunc tp_alloc; member
|