Lines Matching defs:view
9 / mmapmodule.cpp -- map a view of a file into memory
330 Py_buffer view;
334 &view, &start, &end)) {
353 CHECK_VALID_OR_RELEASE(NULL, view);
357 view.buf, view.len, start);
362 view.buf, view.len, start);
364 PyBuffer_Release(&view);
547 /* if it's not the paging file, unmap the view and resize the file */
564 /* create a new file mapping and map a new view */
591 /* copy the old view if using the paging file */
931 mmap_buffer_getbuf(mmap_object *self, Py_buffer *view, int flags)
934 if (PyBuffer_FillInfo(view, (PyObject*)self, self->data, self->size,
942 mmap_buffer_releasebuf(mmap_object *self, Py_buffer *view)