Home
last modified time | relevance | path

Searched refs:getbuf (Results 1 - 3 of 3) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_buffer.py991 self.assertRaises(BufferError, ndarray, ex, getbuf=req)
997 nd = ndarray(ex, getbuf=PyBUF_FULL_RO)
1016 nd = ndarray(ex, getbuf=req)
1106 ex = ndarray(base, getbuf=PyBUF_SIMPLE)
1107 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_WRITABLE)
1108 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_ND)
1109 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_STRIDES)
1110 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_C_CONTIGUOUS)
1111 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_F_CONTIGUOUS)
1112 self.assertRaises(BufferError, ndarray, ex, getbuf
[all...]
/third_party/python/Modules/
H A D_testbuffer.c1284 "obj", "shape", "strides", "offset", "format", "flags", "getbuf", NULL in ndarray_init()
1293 int getbuf = PyBUF_UNUSED; /* re-exporter: getbuffer request flags */ in ndarray_init() local
1297 &v, &shape, &strides, &offset, &format, &flags, &getbuf)) in ndarray_init()
1305 "construction from exporter object only takes 'obj', 'getbuf' " in ndarray_init()
1310 getbuf = (getbuf == PyBUF_UNUSED) ? PyBUF_FULL_RO : getbuf; in ndarray_init()
1312 if (ndarray_init_staticbuf(v, nd, getbuf) < 0) in ndarray_init()
1322 if (getbuf != PyBUF_UNUSED) { in ndarray_init()
1324 "getbuf argumen in ndarray_init()
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Ddisasm-a3xx.c297 OPC(5, OPC_GETBUF, getbuf),

Completed in 6 milliseconds