Searched refs:PyBUF_INDIRECT (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Include/cpython/ |
D | object.h | 91 #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) macro 102 #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_WRITABLE | PyBUF_FORMAT) 103 #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
|
/external/python/cpython2/Include/ |
D | object.h | 195 #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) macro 206 #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_WRITABLE | PyBUF_FORMAT) 207 #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
|
/external/python/cpython2/Doc/c-api/ |
D | buffer.rst | 216 | :c:macro:`PyBUF_INDIRECT` | This flag indicates the returned buffer must have | 248 | :c:macro:`PyBUF_FULL` | This is equivalent to ``(PyBUF_INDIRECT | | 251 | :c:macro:`PyBUF_FULL_RO` | This is equivalent to ``(PyBUF_INDIRECT | |
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 74 #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT) 2874 PyModule_AddIntMacro(m, PyBUF_INDIRECT); in PyInit__testbuffer()
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 231 #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
|
/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 984 (not match(req, PyBUF_INDIRECT) and ex.suboffsets) or 1024 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 2128 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE, 2300 for request in [PyBUF_FULL, PyBUF_FULL_RO, PyBUF_INDIRECT, 2322 for request in [PyBUF_FULL, PyBUF_FULL_RO, PyBUF_INDIRECT,
|
/external/python/cpython3/Doc/c-api/ |
D | buffer.rst | 274 | .. c:macro:: PyBUF_INDIRECT | yes | yes | if needed |
|