Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dmemoryobject.c598 ? PyBUF_CONTIG_RO : PyBUF_CONTIG; in memory_subscript()
681 if (PyObject_GetBuffer(value, &srcview, PyBUF_CONTIG_RO) == -1) { in memory_ass_sub()
727 if (PyObject_GetBuffer(v, &vv, PyBUF_CONTIG_RO) == -1) { in memory_richcompare()
731 if (PyObject_GetBuffer(w, &ww, PyBUF_CONTIG_RO) == -1) { in memory_richcompare()
/external/python/cpython3/Include/cpython/
Dobject.h78 #define PyBUF_CONTIG_RO (PyBUF_ND) macro
/external/python/cpython2/Modules/_io/
Dbytesio.c569 if (PyObject_GetBuffer(obj, &buf, PyBUF_CONTIG_RO) < 0) in bytesio_write()
Dbufferedio.c1713 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
/external/python/cpython2/Include/
Dobject.h198 #define PyBUF_CONTIG_RO (PyBUF_ND) macro
/external/python/cpython3/Modules/_io/
Dbytesio.c678 if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) in _io_BytesIO_write()
Dbufferedio.c1808 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
/external/python/cpython3/Lib/test/
Dtest_buffer.py1025 PyBUF_CONTIG, PyBUF_CONTIG_RO,
1370 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
1499 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO)
2128 PyBUF_CONTIG, PyBUF_CONTIG_RO,
2387 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
2463 nd = ndarray(ex, getbuf=PyBUF_CONTIG_RO|PyBUF_FORMAT)
/external/python/cpython2/Doc/c-api/
Dbuffer.rst257 | :c:macro:`PyBUF_CONTIG_RO` | This is equivalent to ``(PyBUF_ND)``. |
/external/python/cpython3/Doc/c-api/
Dbuffer.rst337 | .. c:macro:: PyBUF_CONTIG_RO | yes | NULL | NULL | C | 1 or 0 | NULL |
/external/python/cpython3/Modules/
D_testbuffer.c2885 PyModule_AddIntMacro(m, PyBUF_CONTIG_RO); in PyInit__testbuffer()
D_pickle.c1210 if (PyObject_GetBuffer(input, &self->buffer, PyBUF_CONTIG_RO) < 0) in _Unpickler_SetStringInput()