Searched refs:ND_MAX_NDIM (Results 1 – 2 of 2) sorted by relevance
40 #define ND_MAX_NDIM (2 * PyBUF_MAX_NDIM) macro1188 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 …]
1159 n = ND_MAX_NDIM+11257 n = ND_MAX_NDIM