Home
last modified time | relevance | path

Searched refs:basicsize (Results 1 – 25 of 44) sorted by relevance

12

/third_party/python/Modules/
Dgcmodule.c2236 _PyObject_GC_Alloc(int use_calloc, size_t basicsize) in _PyObject_GC_Alloc() argument
2240 if (basicsize > PY_SSIZE_T_MAX - sizeof(PyGC_Head)) { in _PyObject_GC_Alloc()
2243 size_t size = sizeof(PyGC_Head) + basicsize; in _PyObject_GC_Alloc()
2275 _PyObject_GC_Malloc(size_t basicsize) in _PyObject_GC_Malloc() argument
2277 return _PyObject_GC_Alloc(0, basicsize); in _PyObject_GC_Malloc()
2281 _PyObject_GC_Calloc(size_t basicsize) in _PyObject_GC_Calloc() argument
2283 return _PyObject_GC_Alloc(1, basicsize); in _PyObject_GC_Calloc()
2319 const size_t basicsize = _PyObject_VAR_SIZE(Py_TYPE(op), nitems); in _PyObject_GC_Resize() local
2321 if (basicsize > PY_SSIZE_T_MAX - sizeof(PyGC_Head)) { in _PyObject_GC_Resize()
2326 g = (PyGC_Head *)PyObject_Realloc(g, sizeof(PyGC_Head) + basicsize); in _PyObject_GC_Resize()
Dxxlimited.c235 .basicsize = sizeof(XxoObject),
249 .basicsize = 0,
D_threadmodule.c314 .basicsize = sizeof(lockobject),
596 .basicsize = sizeof(rlockobject),
696 .basicsize = sizeof(localdummyobject),
981 .basicsize = sizeof(localobject),
D_bz2module.c420 .basicsize = sizeof(BZ2Compressor),
764 .basicsize = sizeof(BZ2Decompressor),
D_functoolsmodule.c492 .basicsize = sizeof(partialobject),
561 .basicsize = sizeof(keyobject),
784 .basicsize = sizeof(lru_list_elem),
1420 .basicsize = sizeof(lru_cache_object),
D_queuemodule.c382 .basicsize = sizeof(simplequeueobject),
D_operator.c1134 .basicsize = sizeof(itemgetterobject),
1466 .basicsize = sizeof(attrgetterobject),
1722 .basicsize = sizeof(methodcallerobject),
Dsha256module.c560 .basicsize = sizeof(SHAobject),
568 .basicsize = sizeof(SHAobject),
D_csv.c579 .basicsize = sizeof(DialectObj),
1001 .basicsize = sizeof(ReaderObj),
1426 .basicsize = sizeof(WriterObj),
D_curses_panel.c522 .basicsize = sizeof(PyCursesPanelObject),
Dsha512module.c616 .basicsize = sizeof(SHAobject),
635 .basicsize = sizeof(SHAobject),
D_dbmmodule.c421 .basicsize = sizeof(dbmobject),
Dsha1module.c474 .basicsize = sizeof(SHA1object),
D_lzmamodule.c913 .basicsize = sizeof(Compressor),
1357 .basicsize = sizeof(Decompressor),
Dzlibmodule.c1480 .basicsize = sizeof(compobject),
1494 .basicsize = sizeof(compobject),
/third_party/python/Modules/_sqlite/
Dprepare_protocol.c58 .basicsize = sizeof(pysqlite_PrepareProtocol),
Dcache.c307 .basicsize = sizeof(pysqlite_Node),
332 .basicsize = sizeof(pysqlite_Cache),
Drow.c256 .basicsize = sizeof(pysqlite_Row),
Dstatement.c510 .basicsize = sizeof(pysqlite_Statement),
/third_party/python/Lib/test/
Dtest_ordered_dict.py754 basicsize = size('nQ2P' + '3PnPn2P')
762 check(od, basicsize) # 8byte indices + 8*2//3 * entry table
764 check(od, basicsize)
766 check(od, basicsize + keysize + 8*p + 8 + 5*entrysize + 3*nodesize)
768 check(od, basicsize + keysize + 16*p + 16 + 10*entrysize + 10*nodesize)
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c750 .basicsize = sizeof(MultibyteCodecObject),
1113 .basicsize = sizeof(MultibyteIncrementalEncoderObject),
1387 .basicsize = sizeof(MultibyteIncrementalDecoderObject),
1709 .basicsize = sizeof(MultibyteStreamReaderObject),
1930 .basicsize = sizeof(MultibyteStreamWriterObject),
/third_party/python/Modules/_blake2/
Dblake2b_impl.c411 .basicsize = sizeof(BLAKE2bObject),
Dblake2s_impl.c410 .basicsize = sizeof(BLAKE2sObject),
/third_party/python/Include/
Dobject.h224 int basicsize; member
/third_party/python/Objects/
Dstructseq.c566 spec.basicsize = sizeof(PyStructSequence) - sizeof(PyObject *); in PyStructSequence_NewType()

12