Searched refs:PyBuffer_IsContiguous (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 271 if (PyBuffer_IsContiguous(&ndbuf->base, 'C')) in init_flags() 273 if (PyBuffer_IsContiguous(&ndbuf->base, 'F')) in init_flags() 1161 if (PyBuffer_IsContiguous(base, 'C')) in init_structure() 1163 if (PyBuffer_IsContiguous(base, 'F')) in init_structure() 1515 if (ND_C_CONTIGUOUS(baseflags) != PyBuffer_IsContiguous(view, 'C') || in ndarray_getbuf() 1518 ND_FORTRAN_CONTIGUOUS(baseflags) != PyBuffer_IsContiguous(view, 'F')) || in ndarray_getbuf() 1521 !PyBuffer_IsContiguous(view, 'F'))) { in ndarray_getbuf() 2090 int ret = PyBuffer_IsContiguous(&nd->head->base, 'C'); in ndarray_c_contig() 2104 int ret = PyBuffer_IsContiguous(&nd->head->base, 'F'); in ndarray_fortran_contig() 2118 int ret = PyBuffer_IsContiguous(&nd->head->base, 'A'); in ndarray_contig() [all …]
|
D | binascii.c | 234 if (!PyBuffer_IsContiguous(buf, 'C')) { in ascii_buffer_converter()
|
D | _ssl.c | 3469 if (!PyBuffer_IsContiguous(&buf, 'C') || buf.ndim > 1) { in _ssl__SSLContext_load_verify_locations_impl()
|
/external/python/cpython2/Objects/ |
D | abstract.c | 414 PyBuffer_IsContiguous(Py_buffer *view, char fort) in PyBuffer_IsContiguous() function 494 if (PyBuffer_IsContiguous(view, fort)) { in PyBuffer_ToContiguous() 545 if (PyBuffer_IsContiguous(view, fort)) { in PyBuffer_FromContiguous() 614 if ((PyBuffer_IsContiguous(&view_dest, 'C') && in PyObject_CopyData() 615 PyBuffer_IsContiguous(&view_src, 'C')) || in PyObject_CopyData() 616 (PyBuffer_IsContiguous(&view_dest, 'F') && in PyObject_CopyData() 617 PyBuffer_IsContiguous(&view_src, 'F'))) { in PyObject_CopyData()
|
D | memoryobject.c | 271 if (PyBuffer_IsContiguous(view, fort)) { in PyMemoryView_GetContiguous()
|
/external/python/cpython3/Objects/ |
D | abstract.c | 408 PyBuffer_IsContiguous(const Py_buffer *view, char order) in PyBuffer_IsContiguous() function 483 if (PyBuffer_IsContiguous(view, fort)) { in PyBuffer_FromContiguous() 552 if ((PyBuffer_IsContiguous(&view_dest, 'C') && in PyObject_CopyData() 553 PyBuffer_IsContiguous(&view_src, 'C')) || in PyObject_CopyData() 554 (PyBuffer_IsContiguous(&view_dest, 'F') && in PyObject_CopyData() 555 PyBuffer_IsContiguous(&view_src, 'F'))) { in PyObject_CopyData()
|
D | memoryobject.c | 600 if (PyBuffer_IsContiguous(view, 'C')) in init_flags() 602 if (PyBuffer_IsContiguous(view, 'F')) in init_flags() 929 if (PyBuffer_IsContiguous(view, order)) in PyMemoryView_GetContiguous() 984 if (PyBuffer_IsContiguous(src, order)) { in PyBuffer_ToContiguous()
|
/external/python/cpython2/Include/ |
D | abstract.h | 593 PyAPI_FUNC(int) PyBuffer_IsContiguous(Py_buffer *view, char fort);
|
/external/python/cpython3/Include/ |
D | abstract.h | 664 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
|
/external/python/cpython3/Doc/c-api/ |
D | buffer.rst | 316 have to call :c:func:`PyBuffer_IsContiguous` to determine contiguity. 469 .. c:function:: int PyBuffer_IsContiguous(Py_buffer *view, char order)
|
/external/python/cpython2/Python/ |
D | getargs.c | 1315 if (!PyBuffer_IsContiguous((Py_buffer*)p, 'C')) in convertsimple() 1427 if (!PyBuffer_IsContiguous(view, 'C')) { in getbuffer()
|
/external/python/cpython3/Python/ |
D | getargs.c | 1276 if (!PyBuffer_IsContiguous((Py_buffer*)p, 'C')) { in convertsimple() 1331 if (!PyBuffer_IsContiguous(view, 'C')) { in getbuffer()
|
/external/python/cpython2/Doc/c-api/ |
D | buffer.rst | 274 .. c:function:: int PyBuffer_IsContiguous(Py_buffer *view, char fortran)
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 2896 if (!PyBuffer_IsContiguous(&buf, 'C') || buf.ndim > 1) { in load_verify_locations()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 487 if (!PyBuffer_IsContiguous(buffer, 'C')) { in CDataType_from_buffer()
|
/external/python/cpython3/Misc/ |
D | NEWS | 8286 - Issue #22445: PyBuffer_IsContiguous() now implements precise contiguity
|