Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_testbuffer.c69 #define ND_C_CONTIGUOUS(flags) (!!(flags&(ND_SCALAR|ND_C))) macro
680 assert(ND_C_CONTIGUOUS(nd->head->flags)); in ndarray_as_list()
689 assert(ND_C_CONTIGUOUS(nd->head->flags)); in ndarray_as_list()
1469 if (REQ_C_CONTIGUOUS(flags) && !ND_C_CONTIGUOUS(baseflags)) { in ndarray_getbuf()
1490 if (!ND_C_CONTIGUOUS(baseflags)) { in ndarray_getbuf()
1515 if (ND_C_CONTIGUOUS(baseflags) != PyBuffer_IsContiguous(view, 'C') || in ndarray_getbuf()
2091 if (ret != ND_C_CONTIGUOUS(nd->head->flags)) { in ndarray_c_contig()
2164 if (ND_C_CONTIGUOUS(ndbuf->flags)) in ndarray_tobytes()