Searched refs:buffertype (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Include/ |
D | memoryobject.h | 20 int buffertype,
|
/external/python/cpython3/Include/ |
D | memoryobject.h | 32 int buffertype,
|
/external/python/cpython2/Objects/ |
D | memoryobject.c | 240 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/ |
D | memoryview.rst | 36 .. c:function:: PyObject *PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order)
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 926 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.c | 2394 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/ |
D | buffer.rst | 317 .. c:function:: PyObject *PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char order)
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 1302 PyMemoryView_GetContiguous:int:buffertype::
|