Searched refs:getbuf (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_buffer.py | 991 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.c | 1284 "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 D | disasm-a3xx.c | 297 OPC(5, OPC_GETBUF, getbuf),
|
Completed in 6 milliseconds