Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
H A Dbytearrayobject.h8 Py_ssize_t ob_alloc; /* How many bytes allocated in ob_bytes */ member
/third_party/python/Objects/
H A Dbytearrayobject.c144 new->ob_alloc = alloc; in PyByteArray_FromStringAndSize()
176 size_t alloc = (size_t) obj->ob_alloc; in PyByteArray_Resize()
242 obj->ob_alloc = alloc; in PyByteArray_Resize()
909 if (Py_SIZE(self) + 1 < self->ob_alloc) { in bytearray___init___impl()
1991 return PyLong_FromSsize_t(self->ob_alloc); in bytearray_alloc()
2158 res = _PyObject_SIZE(Py_TYPE(self)) + self->ob_alloc * sizeof(char); in bytearray_sizeof_impl()

Completed in 4 milliseconds