Searched refs:PyBUF_CONTIG_RO (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Include/cpython/ |
D | object.h | 87 #define PyBUF_CONTIG_RO (PyBUF_ND) macro
|
/third_party/python/Modules/_io/ |
D | bytesio.c | 190 if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) { in write_bytes()
|
D | bufferedio.c | 1821 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
|
/third_party/python/Lib/test/ |
D | test_buffer.py | 1031 PyBUF_CONTIG, PyBUF_CONTIG_RO, 1376 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT) 1505 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO) 2134 PyBUF_CONTIG, PyBUF_CONTIG_RO, 2393 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT) 2469 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
|
/third_party/python/Doc/c-api/ |
D | buffer.rst | 337 | .. c:macro:: PyBUF_CONTIG_RO | yes | NULL | NULL | C | 1 or 0 | NULL |
|
/third_party/python/Modules/ |
D | _testbuffer.c | 2885 PyModule_AddIntMacro(m, PyBUF_CONTIG_RO); in PyInit__testbuffer()
|
D | _pickle.c | 1213 if (PyObject_GetBuffer(input, &self->buffer, PyBUF_CONTIG_RO) < 0) in _Unpickler_SetStringInput()
|