Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dmemoryobject.h20 int buffertype,
/external/python/cpython3/Include/
Dmemoryobject.h32 int buffertype,
/external/python/cpython2/Objects/
Dmemoryobject.c240 PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char fort) in PyMemoryView_GetContiguous() argument
260 switch(buffertype) { in PyMemoryView_GetContiguous()
279 if (buffertype == PyBUF_WRITE) { in PyMemoryView_GetContiguous()
307 if (buffertype == PyBUF_SHADOW) { in PyMemoryView_GetContiguous()
/external/python/cpython3/Doc/c-api/
Dmemoryview.rst36 .. c:function:: PyObject *PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order)
/external/python/cpython3/Objects/
Dmemoryobject.c926 PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order) in PyMemoryView_GetContiguous() argument
932 assert(buffertype == PyBUF_READ || buffertype == PyBUF_WRITE); in PyMemoryView_GetContiguous()
940 if (buffertype == PyBUF_WRITE && view->readonly) { in PyMemoryView_GetContiguous()
950 if (buffertype == PyBUF_WRITE) { in PyMemoryView_GetContiguous()
/external/python/cpython3/Modules/
D_testbuffer.c2394 PyObject *buffertype; in get_contiguous() local
2399 if (!PyArg_ParseTuple(args, "OOO", &obj, &buffertype, &order)) { in get_contiguous()
2403 if (!PyLong_Check(buffertype)) { in get_contiguous()
2409 type = PyLong_AsLong(buffertype); in get_contiguous()
/external/python/cpython2/Doc/c-api/
Dbuffer.rst317 .. c:function:: PyObject *PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order)
/external/python/cpython3/Doc/data/
Drefcounts.dat1302 PyMemoryView_GetContiguous:int:buffertype::