Home
last modified time | relevance | path

Searched refs:ob_alloc (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Include/cpython/
Dbytearrayobject.h8 Py_ssize_t ob_alloc; /* How many bytes allocated in ob_bytes */ member
/third_party/python/Objects/
Dbytearrayobject.c142 new->ob_alloc = alloc; in PyByteArray_FromStringAndSize()
174 size_t alloc = (size_t) obj->ob_alloc; in PyByteArray_Resize()
240 obj->ob_alloc = alloc; in PyByteArray_Resize()
884 if (Py_SIZE(self) + 1 < self->ob_alloc) { in bytearray___init___impl()
2010 return PyLong_FromSsize_t(self->ob_alloc); in bytearray_alloc()
2187 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof_impl()