Lines Matching refs:getbuf
990 self.assertRaises(BufferError, ndarray, ex, getbuf=req)
996 nd = ndarray(ex, getbuf=PyBUF_FULL_RO)
1015 nd = ndarray(ex, getbuf=req)
1105 ex = ndarray(base, getbuf=PyBUF_SIMPLE)
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)
1112 nd = ndarray(ex, getbuf=PyBUF_SIMPLE)
1122 nd = ndarray(ex, getbuf=flags)
1141 self.assertRaises(TypeError, c, [1], shape=[1], getbuf={})
1199 self.assertRaises(TypeError, c, [1], shape=[1], getbuf=PyBUF_FULL)
1206 self.assertRaises(BufferError, ndarray, b'123', getbuf=PyBUF_WRITABLE)
1245 nd = ndarray(ex, getbuf=PyBUF_SIMPLE)
1346 nd = ndarray(ex, getbuf=PyBUF_F_CONTIGUOUS|PyBUF_FORMAT)
1375 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
1461 nd = ndarray(ex, getbuf=PyBUF_CONTIG)
1490 nd = ndarray(ex, getbuf=PyBUF_CONTIG|PyBUF_FORMAT)
1504 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO)
1511 nd = ndarray(ex, getbuf=PyBUF_SIMPLE)
1624 xr = ndarray(ex, getbuf=PyBUF_ND)
1698 x = ndarray(ex, getbuf=PyBUF_SIMPLE)
2067 nd = ndarray(ex, getbuf=PyBUF_ND|PyBUF_FORMAT)
2392 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
2401 nd = ndarray(ex, getbuf=PyBUF_SIMPLE)
2466 nd = ndarray(ex, getbuf=PyBUF_SIMPLE)
2468 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
4180 nd1 = ndarray(m, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4181 nd2 = ndarray(nd1, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4200 nd1 = ndarray(m2, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4201 nd2 = ndarray(nd1, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4244 y = ndarray(x, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4245 z = ndarray(y, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4256 y = ndarray(m1, getbuf=PyBUF_FULL_RO, flags=flags)
4259 z = ndarray(m2, getbuf=PyBUF_FULL_RO, flags=flags)
4275 y = ndarray(m1, getbuf=PyBUF_FULL_RO, flags=flags)
4278 z = ndarray(m2, getbuf=PyBUF_FULL_RO, flags=flags)
4302 y = ndarray(x, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4303 z = ndarray(y, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4346 y = ndarray(x, getbuf=PyBUF_FULL_RO)
4347 z = ndarray(y, getbuf=PyBUF_FULL_RO)
4358 y = ndarray(x, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4359 z = ndarray(y, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4388 y = ndarray(x, getbuf=PyBUF_FULL_RO)
4389 z = ndarray(y, getbuf=PyBUF_FULL_RO)
4400 y = ndarray(x, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)
4401 z = ndarray(y, getbuf=PyBUF_FULL_RO, flags=ND_REDIRECT)