Home
last modified time | relevance | path

Searched refs:PyBuffer_IsContiguous (Results 1 – 17 of 17) 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()
2089 int ret = PyBuffer_IsContiguous(&nd->head->base, 'C'); in ndarray_c_contig()
2103 int ret = PyBuffer_IsContiguous(&nd->head->base, 'F'); in ndarray_fortran_contig()
2117 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.c4005 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.c435 PyBuffer_IsContiguous(const Py_buffer *view, char order) in PyBuffer_IsContiguous() function
510 if (PyBuffer_IsContiguous(view, fort)) { in PyBuffer_FromContiguous()
579 if ((PyBuffer_IsContiguous(&view_dest, 'C') && in PyObject_CopyData()
580 PyBuffer_IsContiguous(&view_src, 'C')) || in PyObject_CopyData()
581 (PyBuffer_IsContiguous(&view_dest, 'F') && in PyObject_CopyData()
582 PyBuffer_IsContiguous(&view_src, 'F'))) { in PyObject_CopyData()
Dmemoryobject.c602 if (PyBuffer_IsContiguous(view, 'C')) in init_flags()
604 if (PyBuffer_IsContiguous(view, 'F')) in init_flags()
931 if (PyBuffer_IsContiguous(view, order)) in PyMemoryView_GetContiguous()
986 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.h554 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
/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/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/cpython3/Python/
Dgetargs.c1331 if (!PyBuffer_IsContiguous((Py_buffer*)p, 'C')) { in convertsimple()
1386 if (!PyBuffer_IsContiguous(view, 'C')) { in getbuffer()
/external/python/cpython3/Doc/data/
Drefcounts.dat61 PyBuffer_IsContiguous:int:::
62 PyBuffer_IsContiguous:Py_buffer*:view::
63 PyBuffer_IsContiguous:char:order::
/external/python/cpython2/Doc/c-api/
Dbuffer.rst274 .. c:function:: int PyBuffer_IsContiguous(Py_buffer *view, char fortran)
/external/python/cpython2/Modules/
D_ssl.c2978 if (!PyBuffer_IsContiguous(&buf, 'C') || buf.ndim > 1) { in load_verify_locations()
/external/python/cpython3/Modules/_ctypes/
D_ctypes.c555 if (!PyBuffer_IsContiguous(buffer, 'C')) { in CDataType_from_buffer()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst5129 PyBuffer_IsContiguous() now implements precise contiguity tests, compatible