Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/python/
Dpy_buffer.cc263 } else if ((flags & PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS && in PjRtBufferGetBuffer()
/external/python/cpython3/Include/cpython/
Dobject.h90 #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES) macro
/external/python/cpython2/Include/
Dobject.h194 #define PyBUF_ANY_CONTIGUOUS (0x0080 | PyBUF_STRIDES) macro
/external/python/cpython3/Modules/
D_testbuffer.c77 #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
2877 PyModule_AddIntMacro(m, PyBUF_ANY_CONTIGUOUS); in PyInit__testbuffer()
/external/python/cpython3/Objects/
Dmemoryobject.c234 #define REQ_ANY_CONTIGUOUS(flags) ((flags&PyBUF_ANY_CONTIGUOUS) == PyBUF_ANY_CONTIGUOUS)
/external/python/cpython2/Doc/c-api/
Dbuffer.rst208 |:c:macro:`PyBUF_ANY_CONTIGUOUS`| dimension varies the fastest), Fortran contiguous |
/external/python/cpython3/Doc/c-api/
Dbuffer.rst302 | .. c:macro:: PyBUF_ANY_CONTIGUOUS | yes | yes | NULL | C or F |
/external/python/cpython3/Lib/test/
Dtest_buffer.py982 (match(req, PyBUF_ANY_CONTIGUOUS) and not ex.contiguous) or
1025 PyBUF_C_CONTIGUOUS, PyBUF_F_CONTIGUOUS, PyBUF_ANY_CONTIGUOUS,
1111 self.assertRaises(BufferError, ndarray, ex, getbuf=PyBUF_ANY_CONTIGUOUS)