Home
last modified time | relevance | path

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

/third_party/python/Include/
Dmemoryobject.h32 int buffertype,
/third_party/python/Doc/c-api/
Dmemoryview.rst36 .. c:function:: PyObject *PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order)
/third_party/python/Objects/
Dmemoryobject.c920 PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order) in PyMemoryView_GetContiguous() argument
926 assert(buffertype == PyBUF_READ || buffertype == PyBUF_WRITE); in PyMemoryView_GetContiguous()
934 if (buffertype == PyBUF_WRITE && view->readonly) { in PyMemoryView_GetContiguous()
944 if (buffertype == PyBUF_WRITE) { in PyMemoryView_GetContiguous()
/third_party/python/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()
/third_party/python/Doc/data/
Drefcounts.dat1305 PyMemoryView_GetContiguous:int:buffertype::