Lines Matching refs:PyErr_SetString
148 PyErr_SetString(PyExc_BufferError, "cannot close "\ in mmap_close_method()
191 PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \
201 PyErr_SetString(PyExc_ValueError, "mmap closed or invalid"); \
213 PyErr_SetString(PyExc_ValueError, "read byte out of range"); in mmap_read_byte_method()
341 PyErr_SetString(PyExc_BufferError, in is_resizeable()
370 PyErr_SetString(PyExc_ValueError, "data out of range"); in mmap_write_method()
398 PyErr_SetString(PyExc_ValueError, "write byte out of range"); in mmap_write_byte_method()
464 PyErr_SetString(PyExc_ValueError, "new size out of range"); in mmap_resize_method()
518 PyErr_SetString(PyExc_SystemError, in mmap_resize_method()
567 PyErr_SetString(PyExc_ValueError, "flush values out of range"); in mmap_flush_method()
585 PyErr_SetString(PyExc_ValueError, "flush not supported on this system"); in mmap_flush_method()
615 PyErr_SetString(PyExc_ValueError, "unknown seek type"); in mmap_seek_method()
625 PyErr_SetString(PyExc_ValueError, "seek out of range"); in mmap_seek_method()
649 PyErr_SetString(PyExc_ValueError, in mmap_move_method()
755 PyErr_SetString(PyExc_IndexError, "mmap index out of range"); in mmap_item()
772 PyErr_SetString(PyExc_IndexError, in mmap_subscript()
809 PyErr_SetString(PyExc_TypeError, in mmap_subscript()
822 PyErr_SetString(PyExc_IndexError, "mmap index out of range"); in mmap_ass_item()
826 PyErr_SetString(PyExc_TypeError, in mmap_ass_item()
831 PyErr_SetString(PyExc_IndexError, in mmap_ass_item()
859 PyErr_SetString(PyExc_IndexError, in mmap_ass_subscript()
864 PyErr_SetString(PyExc_TypeError, in mmap_ass_subscript()
869 PyErr_SetString(PyExc_TypeError, in mmap_ass_subscript()
877 PyErr_SetString(PyExc_ValueError, in mmap_ass_subscript()
894 PyErr_SetString(PyExc_TypeError, in mmap_ass_subscript()
901 PyErr_SetString(PyExc_IndexError, in mmap_ass_subscript()
926 PyErr_SetString(PyExc_TypeError, in mmap_ass_subscript()
1051 PyErr_SetString(PyExc_OverflowError, in new_mmap_object()
1056 PyErr_SetString(PyExc_OverflowError, in new_mmap_object()
1111 PyErr_SetString(PyExc_ValueError, in new_mmap_object()
1116 PyErr_SetString(PyExc_ValueError, in new_mmap_object()
1121 PyErr_SetString(PyExc_ValueError, in new_mmap_object()
1127 PyErr_SetString(PyExc_ValueError, in new_mmap_object()
1237 PyErr_SetString(PyExc_OverflowError, in new_mmap_object()
1242 PyErr_SetString(PyExc_OverflowError, in new_mmap_object()
1309 PyErr_SetString(PyExc_ValueError, in new_mmap_object()
1315 PyErr_SetString(PyExc_ValueError, in new_mmap_object()
1321 PyErr_SetString(PyExc_ValueError, in new_mmap_object()