Home
last modified time | relevance | path

Searched refs:PyBUF_MAX_NDIM (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Include/cpython/
Dobject.h78 #define PyBUF_MAX_NDIM 64 macro
/external/python/cpython3/Objects/
Dmemoryobject.c676 if (src->ndim > PyBUF_MAX_NDIM) { in mbuf_add_view()
679 Py_STRINGIFY(PyBUF_MAX_NDIM)); in mbuf_add_view()
715 assert(ndim <= PyBUF_MAX_NDIM); in mbuf_add_incomplete_view()
1388 if (ndim > PyBUF_MAX_NDIM) { in memory_cast()
1391 Py_STRINGIFY(PyBUF_MAX_NDIM)); in memory_cast()
/external/python/cpython3/Doc/c-api/
Dbuffer.rst163 The macro :c:macro:`PyBUF_MAX_NDIM` limits the maximum number of dimensions
165 buffers SHOULD be able to handle up to :c:macro:`PyBUF_MAX_NDIM` dimensions.
/external/python/cpython3/Modules/
D_testbuffer.c40 #define ND_MAX_NDIM (2 * PyBUF_MAX_NDIM)