Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
D_testbuffer.c1421 int baseflags = ndbuf->flags; in ndarray_getbuf() local
1424 if (base->obj != NULL && (baseflags&ND_REDIRECT)) { in ndarray_getbuf()
1447 if (baseflags & ND_GETBUF_FAIL) { in ndarray_getbuf()
1450 if (baseflags & ND_GETBUF_UNDEFINED) in ndarray_getbuf()
1469 if (REQ_C_CONTIGUOUS(flags) && !ND_C_CONTIGUOUS(baseflags)) { in ndarray_getbuf()
1474 if (REQ_F_CONTIGUOUS(flags) && !ND_FORTRAN_CONTIGUOUS(baseflags)) { in ndarray_getbuf()
1479 if (REQ_ANY_CONTIGUOUS(flags) && !ND_ANY_CONTIGUOUS(baseflags)) { in ndarray_getbuf()
1484 if (!REQ_INDIRECT(flags) && (baseflags & ND_PIL)) { 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()
[all …]
/external/python/cpython3/Objects/
Dmemoryobject.c1441 int baseflags = self->flags; in memory_getbuf() local
1463 if (REQ_C_CONTIGUOUS(flags) && !MV_C_CONTIGUOUS(baseflags)) { in memory_getbuf()
1468 if (REQ_F_CONTIGUOUS(flags) && !MV_F_CONTIGUOUS(baseflags)) { in memory_getbuf()
1473 if (REQ_ANY_CONTIGUOUS(flags) && !MV_ANY_CONTIGUOUS(baseflags)) { in memory_getbuf()
1478 if (!REQ_INDIRECT(flags) && (baseflags & _Py_MEMORYVIEW_PIL)) { in memory_getbuf()
1484 if (!MV_C_CONTIGUOUS(baseflags)) { in memory_getbuf()