Home
last modified time | relevance | path

Searched refs:ob_exports (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Include/cpython/
Dbytearrayobject.h11 Py_ssize_t ob_exports; /* How many buffer exports */ member
/external/python/cpython2/Include/
Dbytearrayobject.h25 int ob_exports; /* how many buffer exports */ member
/external/python/cpython3/Modules/
Darraymodule.c46 Py_ssize_t ob_exports; /* Number of exported buffers */ member
117 if (self->ob_exports > 0 && newsize != Py_SIZE(self)) { in array_resize()
614 op->ob_exports = 0; in newarrayobject()
941 if (d != 0 && a->ob_exports > 0) { in array_del_slice()
2437 if ((needed == 0 || slicelength != needed) && self->ob_exports > 0) { in array_ass_subscr()
2562 self->ob_exports++; in array_buffer_getbuf()
2569 self->ob_exports--; in array_buffer_relbuf()
/external/python/cpython3/Objects/
Dbytearrayobject.c62 obj->ob_exports++; in bytearray_getbuffer()
69 obj->ob_exports--; in bytearray_releasebuffer()
75 if (self->ob_exports > 0) { in _canresize()
152 new->ob_exports = 0; in PyByteArray_FromStringAndSize()
1072 if (self->ob_exports > 0) { in bytearray_dealloc()
/external/python/cpython2/Objects/
Dbytearrayobject.c112 obj->ob_exports++; in bytearray_getbuffer()
118 obj->ob_exports++; in bytearray_getbuffer()
126 obj->ob_exports--; in bytearray_releasebuffer()
150 if (self->ob_exports > 0) { in _canresize()
220 new->ob_exports = 0; in PyByteArray_FromStringAndSize()
1123 if (self->ob_exports > 0) { in bytearray_dealloc()