Searched refs:PyBUF_STRIDES (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython3/Include/ |
D | pybuffer.h | 118 #define PyBUF_STRIDES (0x0010 | PyBUF_ND) macro 119 #define PyBUF_C_CONTIGUOUS (0x0020 | PyBUF_STRIDES) 120 #define PyBUF_F_CONTIGUOUS (0x0040 | PyBUF_STRIDES) 121 #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES) 122 #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) 127 #define PyBUF_STRIDED (PyBUF_STRIDES | PyBUF_WRITABLE) 128 #define PyBUF_STRIDED_RO (PyBUF_STRIDES) 130 #define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_WRITABLE | PyBUF_FORMAT) 131 #define PyBUF_RECORDS_RO (PyBUF_STRIDES | PyBUF_FORMAT)
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | py_buffer.cc | 410 (flags & PyBUF_STRIDES) == PyBUF_ND) && in PyBuffer_bf_getbuffer() 442 if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES) { in PyBuffer_bf_getbuffer()
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 75 #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES) 2875 ADD_INT_MACRO(mod, PyBUF_STRIDES); in _testbuffer_exec()
|
D | arraymodule.c | 2658 if ((flags & PyBUF_STRIDES)==PyBUF_STRIDES) in array_buffer_getbuf()
|
/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 997 (not match(req, PyBUF_STRIDES) and not ex.c_contiguous) or 1024 strides = orig_ex.strides if match(req, PyBUF_STRIDES) else () 1036 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 1120 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_STRIDES) 2140 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 2196 for request in [PyBUF_STRIDES, PyBUF_FULL]: 2313 PyBUF_STRIDES, PyBUF_ND]: 2335 PyBUF_STRIDES, PyBUF_ND]:
|
/external/python/cpython3/Objects/ |
D | abstract.c | 796 if ((flags & PyBUF_STRIDES) == PyBUF_STRIDES) in PyBuffer_FillInfo()
|
D | memoryobject.c | 248 #define REQ_STRIDES(flags) ((flags&PyBUF_STRIDES) == PyBUF_STRIDES)
|
/external/python/cpython3/Doc/c-api/ |
D | buffer.rst | 287 | .. c:macro:: PyBUF_STRIDES | yes | yes | NULL |
|
/external/python/cpython3/Misc/ |
D | stable_abi.toml | 2309 [const.PyBUF_STRIDES]
|