Home
last modified time | relevance | path

Searched refs:ND_MAX_NDIM (Results 1 – 2 of 2) sorted by relevance

/third_party/python/Modules/
D_testbuffer.c40 #define ND_MAX_NDIM (2 * PyBUF_MAX_NDIM) macro
1188 if (ndim > ND_MAX_NDIM) { in init_ndbuf()
1190 "ndim must not exceed %d", ND_MAX_NDIM); in init_ndbuf()
2237 static char format[ND_MAX_NDIM+1]; in ndarray_memoryview_from_buffer()
2238 static Py_ssize_t shape[ND_MAX_NDIM]; in ndarray_memoryview_from_buffer()
2239 static Py_ssize_t strides[ND_MAX_NDIM]; in ndarray_memoryview_from_buffer()
2240 static Py_ssize_t suboffsets[ND_MAX_NDIM]; in ndarray_memoryview_from_buffer()
2272 if (strlen(view->format) > ND_MAX_NDIM) { in ndarray_memoryview_from_buffer()
2275 ND_MAX_NDIM); in ndarray_memoryview_from_buffer()
2281 if (view->ndim > ND_MAX_NDIM) { in ndarray_memoryview_from_buffer()
[all …]
/third_party/python/Lib/test/
Dtest_buffer.py1160 n = ND_MAX_NDIM+1
1258 n = ND_MAX_NDIM