Lines Matching defs:readonly
533 dest->readonly = src->readonly;
731 int readonly;
740 readonly = (flags == PyBUF_WRITE) ? 0 : 1;
741 (void)PyBuffer_FillInfo(&mbuf->master, NULL, mem, size, readonly,
932 if (buffertype == PyBUF_WRITE && view->readonly) {
1421 Return a readonly version of the memoryview.
1429 /* Even if self is already readonly, we still need to create a new
1434 self->view.readonly = 1;
1456 if (REQ_WRITABLE(flags) && base->readonly) {
2546 if (view->readonly) {
2955 if (!view->readonly) {
3081 return PyBool_FromLong(self->view.readonly);
3146 {"readonly", (getter)memory_readonly_get, NULL, memory_readonly_doc},