Searched refs:PyBUF_CONTIG_RO (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython2/Objects/ |
D | memoryobject.c | 598 ? 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/ |
D | object.h | 78 #define PyBUF_CONTIG_RO (PyBUF_ND) macro
|
/external/python/cpython2/Modules/_io/ |
D | bytesio.c | 569 if (PyObject_GetBuffer(obj, &buf, PyBUF_CONTIG_RO) < 0) in bytesio_write()
|
D | bufferedio.c | 1713 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
|
/external/python/cpython2/Include/ |
D | object.h | 198 #define PyBUF_CONTIG_RO (PyBUF_ND) macro
|
/external/python/cpython3/Modules/_io/ |
D | bytesio.c | 678 if (PyObject_GetBuffer(b, &buf, PyBUF_CONTIG_RO) < 0) in _io_BytesIO_write()
|
D | bufferedio.c | 1808 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
|
/external/python/cpython3/Lib/test/ |
D | test_buffer.py | 1025 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/ |
D | buffer.rst | 257 | :c:macro:`PyBUF_CONTIG_RO` | This is equivalent to ``(PyBUF_ND)``. |
|
/external/python/cpython3/Doc/c-api/ |
D | buffer.rst | 337 | .. c:macro:: PyBUF_CONTIG_RO | yes | NULL | NULL | C | 1 or 0 | NULL |
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 2885 PyModule_AddIntMacro(m, PyBUF_CONTIG_RO); in PyInit__testbuffer()
|
D | _pickle.c | 1210 if (PyObject_GetBuffer(input, &self->buffer, PyBUF_CONTIG_RO) < 0) in _Unpickler_SetStringInput()
|