Searched refs:PyBUF_ND (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Include/cpython/ |
D | object.h | 79 #define PyBUF_ND 0x0008 macro 80 #define PyBUF_STRIDES (0x0010 | PyBUF_ND) 86 #define PyBUF_CONTIG (PyBUF_ND | PyBUF_WRITABLE) 87 #define PyBUF_CONTIG_RO (PyBUF_ND)
|
/third_party/python/Lib/test/ |
D | test_buffer.py | 989 (not match(req, PyBUF_ND) and match(req, PyBUF_FORMAT))): 1011 if not match(req, PyBUF_ND): 1013 shape = orig_ex.shape if match(req, PyBUF_ND) else () 1025 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 1108 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_ND) 1625 xr = ndarray(ex, getbuf=PyBUF_ND) 2068 nd = ndarray(ex, getbuf=PyBUF_ND|PyBUF_FORMAT) 2129 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 2302 PyBUF_STRIDES, PyBUF_ND]: 2324 PyBUF_STRIDES, PyBUF_ND]:
|
/third_party/python/Modules/ |
D | _testbuffer.c | 79 #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND) 2872 PyModule_AddIntMacro(m, PyBUF_ND); in PyInit__testbuffer()
|
D | arraymodule.c | 2585 if ((flags & PyBUF_ND)==PyBUF_ND) { in array_buffer_getbuf()
|
/third_party/python/Doc/c-api/ |
D | buffer.rst | 278 | .. c:macro:: PyBUF_ND | yes | NULL | NULL | 304 | :c:macro:`PyBUF_ND` | yes | NULL | NULL | C |
|
/third_party/python/Objects/ |
D | memoryobject.c | 236 #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND)
|
D | abstract.c | 741 if ((flags & PyBUF_ND) == PyBUF_ND) in PyBuffer_FillInfo()
|