Home
last modified time | relevance | path

Searched refs:PyBUF_INDIRECT (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Include/cpython/
Dobject.h84 #define PyBUF_INDIRECT (0x0100 | PyBUF_STRIDES) macro
95 #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_WRITABLE | PyBUF_FORMAT)
96 #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
/third_party/python/Modules/
D_testbuffer.c74 #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
2874 PyModule_AddIntMacro(m, PyBUF_INDIRECT); in PyInit__testbuffer()
/third_party/python/Objects/
Dmemoryobject.c231 #define REQ_INDIRECT(flags) ((flags&PyBUF_INDIRECT) == PyBUF_INDIRECT)
/third_party/python/Lib/test/
Dtest_buffer.py985 (not match(req, PyBUF_INDIRECT) and ex.suboffsets) or
1025 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE,
2129 PyBUF_INDIRECT, PyBUF_STRIDES, PyBUF_ND, PyBUF_SIMPLE,
2301 for request in [PyBUF_FULL, PyBUF_FULL_RO, PyBUF_INDIRECT,
2323 for request in [PyBUF_FULL, PyBUF_FULL_RO, PyBUF_INDIRECT,
/third_party/python/Doc/c-api/
Dbuffer.rst274 | .. c:macro:: PyBUF_INDIRECT | yes | yes | if needed |