Searched refs:PyBuffer_IsContiguous (Results 1 – 17 of 17) 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() 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 …]
|
D | binascii.c | 234 if (!PyBuffer_IsContiguous(buf, 'C')) { in ascii_buffer_converter()
|
D | _ssl.c | 4005 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 | 435 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()
|
D | memoryobject.c | 602 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/ |
D | abstract.h | 593 PyAPI_FUNC(int) PyBuffer_IsContiguous(Py_buffer *view, char fort);
|
/external/python/cpython3/Include/ |
D | abstract.h | 554 PyAPI_FUNC(int) PyBuffer_IsContiguous(const Py_buffer *view, char fort);
|
/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/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/cpython3/Python/ |
D | getargs.c | 1331 if (!PyBuffer_IsContiguous((Py_buffer*)p, 'C')) { in convertsimple() 1386 if (!PyBuffer_IsContiguous(view, 'C')) { in getbuffer()
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 61 PyBuffer_IsContiguous:int::: 62 PyBuffer_IsContiguous:Py_buffer*:view:: 63 PyBuffer_IsContiguous:char:order::
|
/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 | 2978 if (!PyBuffer_IsContiguous(&buf, 'C') || buf.ndim > 1) { in load_verify_locations()
|
/external/python/cpython3/Modules/_ctypes/ |
D | _ctypes.c | 555 if (!PyBuffer_IsContiguous(buffer, 'C')) { in CDataType_from_buffer()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 5129 PyBuffer_IsContiguous() now implements precise contiguity tests, compatible
|