Lines Matching refs:map_handle
103 HANDLE map_handle; member
123 if (m_obj->map_handle != NULL) in mmap_object_dealloc()
124 CloseHandle (m_obj->map_handle); in mmap_object_dealloc()
164 if (self->map_handle != NULL) { in mmap_close_method()
165 CloseHandle(self->map_handle); in mmap_close_method()
166 self->map_handle = NULL; in mmap_close_method()
191 if (self->map_handle == NULL) { \
500 CloseHandle(self->map_handle); in mmap_resize_method()
501 self->map_handle = NULL; in mmap_resize_method()
512 self->map_handle = CreateFileMapping( in mmap_resize_method()
519 if (self->map_handle != NULL) { in mmap_resize_method()
520 self->data = (char *) MapViewOfFile(self->map_handle, in mmap_resize_method()
531 CloseHandle(self->map_handle); in mmap_resize_method()
532 self->map_handle = NULL; in mmap_resize_method()
687 return PyBool_FromLong(self->map_handle == NULL ? 1 : 0); in mmap_closed_get()
1316 m_obj->map_handle = NULL; in new_mmap_object()
1402 m_obj->map_handle = CreateFileMapping(m_obj->file_handle, in new_mmap_object()
1408 if (m_obj->map_handle != NULL) { in new_mmap_object()
1409 m_obj->data = (char *) MapViewOfFile(m_obj->map_handle, in new_mmap_object()
1418 CloseHandle(m_obj->map_handle); in new_mmap_object()
1419 m_obj->map_handle = NULL; in new_mmap_object()