Home
last modified time | relevance | path

Searched refs:PyBuffer_ToContiguous (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Include/
Dabstract.h565 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
/external/python/cpython3/Include/
Dabstract.h532 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
/external/python/cpython3/Doc/data/
Drefcounts.dat68 PyBuffer_ToContiguous:int:::
69 PyBuffer_ToContiguous:void*:buf::
70 PyBuffer_ToContiguous:Py_buffer*:src::
71 PyBuffer_ToContiguous:Py_ssize_t:len::
72 PyBuffer_ToContiguous:char:order::
/external/python/cpython2/Objects/
Dmemoryobject.c415 PyBuffer_ToContiguous(PyBytes_AS_STRING(res), &view, view.len, 'C'); in memory_tobytes()
Dbytearrayobject.c178 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject()
880 if (PyBuffer_ToContiguous(self->ob_bytes, &view, size, 'C') < 0) in bytearray_init()
Dbytesobject.c2642 if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval, in _PyBytes_FromBuffer()
Dabstract.c483 PyBuffer_ToContiguous(void *buf, Py_buffer *view, Py_ssize_t len, char fort) in PyBuffer_ToContiguous() function
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b3.rst379 Document PyBuffer_ToContiguous().
D3.6.6rc1.rst556 Document PyBuffer_ToContiguous().
/external/python/cpython3/Objects/
Dbytearrayobject.c117 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject()
849 if (PyBuffer_ToContiguous(PyByteArray_AS_STRING(self), in bytearray_init()
Dmemoryobject.c973 PyBuffer_ToContiguous(void *buf, Py_buffer *src, Py_ssize_t len, char order) in PyBuffer_ToContiguous() function
Dbytesobject.c2637 if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval, in _PyBytes_FromBuffer()
/external/python/cpython2/Modules/
D_testcapimodule.c410 PyBuffer_ToContiguous(result, &view, view.len, 'C'); in test_to_contiguous()
422 PyBuffer_ToContiguous(result, &view, view.len, 'C'); in test_to_contiguous()
/external/python/cpython3/Doc/c-api/
Dbuffer.rst476 .. c:function:: int PyBuffer_ToContiguous(void *buf, Py_buffer *src, Py_ssize_t len, char order)
/external/python/cpython3/Modules/
D_testbuffer.c2457 if (PyBuffer_ToContiguous(buf, &view, view.len, ord) < 0) { in py_buffer_to_contiguous()
/external/python/cpython3/Misc/
DHISTORY6783 - Issue #12834: Fix `PyBuffer_ToContiguous()` for non-contiguous arrays.