Home
last modified time | relevance | path

Searched refs:getbuf (Results 1 – 4 of 4) sorted by relevance

/third_party/python/Lib/test/
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=PyBUF_ANY_CONTIGUOUS)
[all …]
/third_party/python/Modules/
D_testbuffer.c1293 int getbuf = PyBUF_UNUSED; /* re-exporter: getbuffer request flags */ in ndarray_init() local
1297 &v, &shape, &strides, &offset, &format, &flags, &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()
/third_party/mesa3d/src/freedreno/ir3/
Ddisasm-a3xx.c289 OPC(5, OPC_GETBUF, getbuf),
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst1444 - ir3: fix oob access to regs array for getbuf,getinfo,rgetinfo