Searched refs:PyBUF_FORMAT (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Include/cpython/ |
D | object.h | 85 #define PyBUF_FORMAT 0x0004 macro 99 #define PyBUF_RECORDS (PyBUF_STRIDES | PyBUF_WRITABLE | PyBUF_FORMAT) 100 #define PyBUF_RECORDS_RO (PyBUF_STRIDES | PyBUF_FORMAT) 102 #define PyBUF_FULL (PyBUF_INDIRECT | PyBUF_WRITABLE | PyBUF_FORMAT) 103 #define PyBUF_FULL_RO (PyBUF_INDIRECT | PyBUF_FORMAT)
|
/third_party/python/Doc/c-api/ |
D | buffer.rst | 136 :c:macro:`PyBUF_FORMAT` flag, :c:member:`~Py_buffer.format` will 154 This field is controlled by the :c:macro:`PyBUF_FORMAT` flag. 248 .. c:macro:: PyBUF_FORMAT 258 :c:macro:`PyBUF_FORMAT` can be \|'d to any of the flags except :c:macro:`PyBUF_SIMPLE`.
|
/third_party/python/Lib/test/ |
D | test_buffer.py | 988 (not match(req, PyBUF_ND) and match(req, PyBUF_FORMAT))): 1004 if not match(req, PyBUF_FORMAT): 1058 real_flags = (0, PyBUF_WRITABLE, PyBUF_FORMAT, 1059 PyBUF_WRITABLE|PyBUF_FORMAT) 1346 nd = ndarray(ex, getbuf=PyBUF_F_CONTIGUOUS|PyBUF_FORMAT) 1375 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT) 1490 nd = ndarray(ex, getbuf=PyBUF_CONTIG|PyBUF_FORMAT) 2067 nd = ndarray(ex, getbuf=PyBUF_ND|PyBUF_FORMAT) 2392 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT) 2468 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
|
/third_party/python/Modules/ |
D | arraymodule.c | 2553 if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT) { in array_buffer_getbuf()
|
D | _testbuffer.c | 81 #define REQ_FORMAT(flags) (flags&PyBUF_FORMAT) 2871 PyModule_AddIntMacro(m, PyBUF_FORMAT); in PyInit__testbuffer()
|
/third_party/python/Objects/ |
D | abstract.c | 730 if ((flags & PyBUF_FORMAT) == PyBUF_FORMAT) in PyBuffer_FillInfo()
|
D | memoryobject.c | 238 #define REQ_FORMAT(flags) (flags&PyBUF_FORMAT)
|