Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dbytearrayobject.h11 Py_ssize_t ob_exports; /* How many buffer exports */ member
/third_party/python/Modules/
Darraymodule.c49 Py_ssize_t ob_exports; /* Number of exported buffers */ member
129 if (self->ob_exports > 0 && newsize != Py_SIZE(self)) { in array_resize()
615 op->ob_exports = 0; in newarrayobject()
961 if (d != 0 && a->ob_exports > 0) { in array_del_slice()
2483 if ((needed == 0 || slicelength != needed) && self->ob_exports > 0) { in array_ass_subscr()
2602 self->ob_exports++; in array_buffer_getbuf()
2609 self->ob_exports--; in array_buffer_relbuf()
/third_party/python/Objects/
Dbytearrayobject.c54 obj->ob_exports++; in bytearray_getbuffer()
61 obj->ob_exports--; in bytearray_releasebuffer()
67 if (self->ob_exports > 0) { in _canresize()
144 new->ob_exports = 0; in PyByteArray_FromStringAndSize()
1062 if (self->ob_exports > 0) { in bytearray_dealloc()