Searched refs:PyBUF_STRIDES (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Include/cpython/ |
D | object.h | 80 #define PyBUF_STRIDES (0x0010 | PyBUF_ND) macro 81 #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES) 82 #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES) 83 #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES) 84 #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) 89 #define PyBUF_STRIDED (PyBUF_STRIDES | PyBUF_WRITABLE) 90 #define PyBUF_STRIDED_RO (PyBUF_STRIDES) 92 #define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_WRITABLE | PyBUF_FORMAT) 93 #define PyBUF_RECORDS_RO (PyBUF_STRIDES | PyBUF_FORMAT)
|
/third_party/python/Lib/test/ |
D | test_buffer.py | 987 (not match(req, PyBUF_STRIDES) and not ex.c_contiguous) or 1014 strides = orig_ex.strides if match(req, PyBUF_STRIDES) else () 1025 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 1109 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_STRIDES) 2129 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 2185 for request in [PyBUF_STRIDES, PyBUF_FULL]: 2302 PyBUF_STRIDES, PyBUF_ND]: 2324 PyBUF_STRIDES, PyBUF_ND]:
|
/third_party/python/Modules/ |
D | _testbuffer.c | 78 #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES) 2873 PyModule_AddIntMacro(m, PyBUF_STRIDES); in PyInit__testbuffer()
|
D | arraymodule.c | 2589 if ((flags & PyBUF_STRIDES)==PyBUF_STRIDES) in array_buffer_getbuf()
|
/third_party/python/Objects/ |
D | abstract.c | 744 if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES) in PyBuffer_FillInfo()
|
D | memoryobject.c | 235 #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
|
/third_party/python/Doc/c-api/ |
D | buffer.rst | 276 | .. c:macro:: PyBUF_STRIDES | yes | yes | NULL |
|