Home
last modified time | relevance | path

Searched refs:PyBuffer_IsContiguous (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Modules/
D_testbuffer.c271 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 …]
Dbinascii.c234 if (!PyBuffer_IsContiguous(buf, 'C')) { in ascii_buffer_converter()
D_ssl.c3469 if (!PyBuffer_IsContiguous(&buf, 'C') || buf.ndim > 1) { in _ssl__SSLContext_load_verify_locations_impl()
/external/python/cpython2/Objects/
Dabstract.c414 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()
Dmemoryobject.c271 if (PyBuffer_IsContiguous(view, fort)) { in PyMemoryView_GetContiguous()
/external/python/cpython3/Objects/
Dabstract.c408 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()
Dmemoryobject.c600 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/
Dabstract.h593 PyAPI_FUNC(int) PyBuffer_IsContiguous(Py_buffer *view, char fort);
/external/python/cpython3/Include/
Dabstract.h664 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
/external/python/cpython3/Doc/c-api/
Dbuffer.rst316 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/
Dgetargs.c1315 if (!PyBuffer_IsContiguous((Py_buffer*)p, 'C')) in convertsimple()
1427 if (!PyBuffer_IsContiguous(view, 'C')) { in getbuffer()
/external/python/cpython3/Python/
Dgetargs.c1276 if (!PyBuffer_IsContiguous((Py_buffer*)p, 'C')) { in convertsimple()
1331 if (!PyBuffer_IsContiguous(view, 'C')) { in getbuffer()
/external/python/cpython2/Doc/c-api/
Dbuffer.rst274 .. c:function:: int PyBuffer_IsContiguous(Py_buffer *view, char fortran)
/external/python/cpython2/Modules/
D_ssl.c2896 if (!PyBuffer_IsContiguous(&buf, 'C') || buf.ndim > 1) { in load_verify_locations()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c487 if (!PyBuffer_IsContiguous(buffer, 'C')) { in CDataType_from_buffer()
/external/python/cpython3/Misc/
DNEWS8286 - Issue #22445: PyBuffer_IsContiguous() now implements precise contiguity