Home
last modified time | relevance | path

Searched refs:BufferError (Results 1 – 25 of 31) sorted by relevance

12

/external/crosvm/devices/src/usb/host_backend/
Derror.rs5 use crate::usb::xhci::scatter_gather_buffer::Error as BufferError;
32 ReadBuffer(BufferError),
33 WriteBuffer(BufferError),
34 BufferLen(BufferError),
/external/llvm-project/clang-tools-extra/clang-apply-replacements/lib/Tooling/
DApplyReplacements.cpp62 if (std::error_code BufferError = Out.getError()) { in collectReplacementsFromDirectory() local
63 errs() << "Error reading " << I->path() << ": " << BufferError.message() in collectReplacementsFromDirectory()
106 if (std::error_code BufferError = Out.getError()) { in collectReplacementsFromDirectory() local
107 errs() << "Error reading " << I->path() << ": " << BufferError.message() in collectReplacementsFromDirectory()
/external/python/cpython2/Lib/test/
Dexception_hierarchy.txt8 | +-- BufferError
Dtest_bytes.py837 self.assertRaises(BufferError, resize, 11)
839 self.assertRaises(BufferError, resize, 9)
841 self.assertRaises(BufferError, resize, 0)
844 self.assertRaises(BufferError, b.pop, 0)
846 self.assertRaises(BufferError, b.remove, b[1])
850 self.assertRaises(BufferError, delitem)
855 self.assertRaises(BufferError, delslice)
/external/python/cpython3/Lib/test/
Dexception_hierarchy.txt14 +-- BufferError
Dtest_buffer.py841 except BufferError:
945 except BufferError: # re-exporter does not provide full information
990 self.assertRaises(BufferError, ndarray, ex, getbuf=req)
1100 self.assertRaises(BufferError, ndarray, ex)
1106 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_WRITABLE)
1107 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_ND)
1108 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_STRIDES)
1109 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_C_CONTIGUOUS)
1110 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_F_CONTIGUOUS)
1111 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_ANY_CONTIGUOUS)
[all …]
Dtest_array.py978 self.assertRaises(BufferError, a.append, a[0])
980 self.assertRaises(BufferError, a.extend, a[0:1])
982 self.assertRaises(BufferError, a.remove, a[0])
984 self.assertRaises(BufferError, a.pop, 0)
986 self.assertRaises(BufferError, a.fromlist, a.tolist())
988 self.assertRaises(BufferError, a.frombytes, a.tobytes())
991 self.assertRaises(BufferError, a.fromunicode, a.tounicode())
993 self.assertRaises(BufferError, operator.imul, a, 2)
995 self.assertRaises(BufferError, operator.imul, a, 0)
997 self.assertRaises(BufferError, operator.setitem, a, slice(0, 0), a)
[all …]
Dtest_picklebuffer.py133 with self.assertRaisesRegex(BufferError, "non-contiguous"):
Dtest_bytes.py1594 self.assertRaises(BufferError, resize, 11)
1596 self.assertRaises(BufferError, resize, 9)
1598 self.assertRaises(BufferError, resize, 0)
1601 self.assertRaises(BufferError, b.pop, 0)
1603 self.assertRaises(BufferError, b.remove, b[1])
1607 self.assertRaises(BufferError, delitem)
1612 self.assertRaises(BufferError, delslice)
1618 self.assertRaises(BufferError, getbuffer_with_null_view, bytearray())
Dtest_memoryio.py450 self.assertRaises(BufferError, memio.write, b'x' * 100)
451 self.assertRaises(BufferError, memio.truncate)
452 self.assertRaises(BufferError, memio.close)
/external/python/cpython3/Lib/ctypes/test/
Dtest_frombuffer.py26 self.assertRaises(BufferError, a.append, 100)
27 self.assertRaises(BufferError, a.pop)
/external/crosvm/devices/src/usb/xhci/
Dxhci_transfer.rs6 use super::scatter_gather_buffer::{Error as BufferError, ScatterGatherBuffer};
30 CreateBuffer(BufferError),
/external/python/cffi/testing/cffi1/
Dtest_ffi_obj.py264 py.test.raises((TypeError, BufferError), ffi.from_buffer,
266 py.test.raises((TypeError, BufferError), ffi.from_buffer, b"abcd",
317 py.test.raises((TypeError, BufferError), ffi.memmove, b"abcde", p, 3)
/external/python/cffi/testing/cffi0/
Dtest_ffi_backend.py341 py.test.raises((TypeError, BufferError), ffi.from_buffer,
343 py.test.raises((TypeError, BufferError), ffi.from_buffer, b"abcd",
401 py.test.raises((TypeError, BufferError), ffi.memmove, b"abcde", p, 3)
/external/python/cpython2/Misc/Vim/
Dpython.vim84 syn keyword pythonException BaseException BufferError BytesWarning
/external/python/cpython2/Objects/
Dexceptions.c1943 SimpleExtendsException(PyExc_StandardError, BufferError, "Buffer error.");
2096 PRE_INIT(BufferError) in _PyExc_Init()
2165 POST_INIT(BufferError) in _PyExc_Init()
/external/python/cpython3/Objects/
Dexceptions.c2376 SimpleExtendsException(PyExc_Exception, BufferError, "Buffer error.");
2576 PRE_INIT(BufferError); in _PyExc_Init()
2716 POST_INIT(BufferError); in _PyBuiltins_AddExceptions()
/external/python/pybind11/docs/advanced/
Dexceptions.rst57 | :class:`pybind11::buffer_error` | ``BufferError`` |
/external/tensorflow/tensorflow/python/eager/
Dtensor_test.py393 with self.assertRaisesRegex(BufferError, "Cannot convert .+ resource"):
/external/python/cpython2/Doc/library/
Dexceptions.rst90 .. exception:: BufferError
/external/python/cpython2/Doc/c-api/
Dbuffer.rst161 just not possible. These errors should be a :exc:`BufferError` unless
/external/python/cpython3/Doc/tutorial/
Dmodules.rst350 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'BytesWarning',
/external/python/cffi/c/
Dtest_c.py3750 py.test.raises((TypeError, BufferError), from_buffer, BCharA, b"foo", True)
3867 py.test.raises((TypeError, BufferError), memmove, b"abcde", p, 3)
4251 py.test.raises(BufferError, "a += b'u' * 100")
/external/python/cpython2/Doc/tutorial/
Dmodules.rst343 'BufferError', 'BytesWarning', 'DeprecationWarning', 'EOFError',
/external/python/cpython3/Doc/library/
Dexceptions.rst116 .. exception:: BufferError

12