Searched refs:get_contiguous (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 879 contig = get_contiguous(result, PyBUF_READ, order) 1263 self.assertRaises(TypeError, get_contiguous, 1, 2, 3, 4, 5) 1264 self.assertRaises(TypeError, get_contiguous, nd, "xyz", 'C') 1265 self.assertRaises(OverflowError, get_contiguous, nd, 2**64, 'C') 1266 self.assertRaises(TypeError, get_contiguous, nd, PyBUF_READ, 961) 1267 self.assertRaises(UnicodeEncodeError, get_contiguous, nd, PyBUF_READ, 1269 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'Z') 1270 self.assertRaises(ValueError, get_contiguous, nd, 255, 'A') 2475 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'C') 2476 self.assertRaises(ValueError, get_contiguous, nd, PyBUF_READ, 'F') [all …]
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 2391 get_contiguous(PyObject *self, PyObject *args) in get_contiguous() function 2809 {"get_contiguous", get_contiguous, METH_VARARGS, NULL},
|