Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dbytearrayobject.h25 int ob_exports; /* how many buffer exports */ member
/external/python/cpython3/Include/
Dbytearrayobject.h29 int ob_exports; /* How many buffer exports */ member
/external/python/cpython3/Modules/
Darraymodule.c46 int ob_exports; /* Number of exported buffers */ member
117 if (self->ob_exports > 0 && newsize != Py_SIZE(self)) { in array_resize()
609 op->ob_exports = 0; in newarrayobject()
936 if (d != 0 && a->ob_exports > 0) { in array_del_slice()
2471 if ((needed == 0 || slicelength != needed) && self->ob_exports > 0) { in array_ass_subscr()
2595 self->ob_exports++; in array_buffer_getbuf()
2602 self->ob_exports--; in array_buffer_relbuf()
/external/python/cpython3/Objects/
Dbytearrayobject.c74 obj->ob_exports++; in bytearray_getbuffer()
81 obj->ob_exports--; in bytearray_releasebuffer()
87 if (self->ob_exports > 0) { in _canresize()
165 new->ob_exports = 0; in PyByteArray_FromStringAndSize()
1073 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()