Home
last modified time | relevance | path

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

/third_party/python/Modules/
D_testbuffer.c79 #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND) macro
1437 ((REQ_SHAPE(flags) && base->shape == NULL) || in ndarray_getbuf()
1497 if (!REQ_SHAPE(flags)) { in ndarray_getbuf()
/third_party/python/Objects/
Dmemoryobject.c236 #define REQ_SHAPE(flags) ((flags&PyBUF_ND) == PyBUF_ND) macro
1500 if (!REQ_SHAPE(flags)) { in memory_getbuf()