Lines Matching refs:map_handle
103 HANDLE map_handle; member
124 if (m_obj->map_handle != NULL) in mmap_object_dealloc()
125 CloseHandle (m_obj->map_handle); in mmap_object_dealloc()
164 HANDLE map_handle = self->map_handle; in mmap_close_method() local
167 self->map_handle = NULL; in mmap_close_method()
174 if (map_handle != NULL) { in mmap_close_method()
175 CloseHandle(map_handle); in mmap_close_method()
203 if (self->map_handle == NULL) { \
489 CloseHandle(self->map_handle); in mmap_resize_method()
490 self->map_handle = NULL; in mmap_resize_method()
501 self->map_handle = CreateFileMapping( in mmap_resize_method()
508 if (self->map_handle != NULL) { in mmap_resize_method()
509 self->data = (char *) MapViewOfFile(self->map_handle, in mmap_resize_method()
519 CloseHandle(self->map_handle); in mmap_resize_method()
520 self->map_handle = NULL; in mmap_resize_method()
675 return PyBool_FromLong(self->map_handle == NULL ? 1 : 0); in mmap_closed_get()
705 if (mobj->map_handle == NULL) in mmap__repr__method()
1399 m_obj->map_handle = NULL; in new_mmap_object()
1485 m_obj->map_handle = CreateFileMapping(m_obj->file_handle, in new_mmap_object()
1491 if (m_obj->map_handle != NULL) { in new_mmap_object()
1492 m_obj->data = (char *) MapViewOfFile(m_obj->map_handle, in new_mmap_object()
1501 CloseHandle(m_obj->map_handle); in new_mmap_object()
1502 m_obj->map_handle = NULL; in new_mmap_object()