Home
last modified time | relevance | path

Searched refs:PyBUF_CONTIG_RO (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Include/cpython/
Dobject.h87 #define PyBUF_CONTIG_RO (PyBUF_ND) macro
/third_party/python/Modules/_io/
Dbytesio.c190 if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) { in write_bytes()
Dbufferedio.c1821 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
/third_party/python/Lib/test/
Dtest_buffer.py1031 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/
Dbuffer.rst337 | .. c:macro:: PyBUF_CONTIG_RO | yes | NULL | NULL | C | 1 or 0 | NULL |
/third_party/python/Modules/
D_testbuffer.c2885 PyModule_AddIntMacro(m, PyBUF_CONTIG_RO); in PyInit__testbuffer()
D_pickle.c1213 if (PyObject_GetBuffer(input, &self->buffer, PyBUF_CONTIG_RO) < 0) in _Unpickler_SetStringInput()