Home
last modified time | relevance | path

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

/external/python/cpython3/Include/cpython/
Dabstract.h286 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
/external/python/cpython2/Include/
Dabstract.h565 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/Objects/
Dmemoryobject.c989 PyBuffer_ToContiguous(void *buf, Py_buffer *src, Py_ssize_t len, char order) in PyBuffer_ToContiguous() function
2171 if (PyBuffer_ToContiguous(PyBytes_AS_STRING(bytes), src, src->len, ord) < 0) { in memory_tobytes()
2221 if (PyBuffer_ToContiguous(PyBytes_AS_STRING(bytes), src, src->len, 'C') < 0) { in memoryview_hex_impl()
Dbytearrayobject.c104 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject()
841 if (PyBuffer_ToContiguous(PyByteArray_AS_STRING(self), in bytearray_init()
Dbytesobject.c2651 if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval, in _PyBytes_FromBuffer()
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b3.rst379 Document PyBuffer_ToContiguous().
D3.6.6rc1.rst556 Document PyBuffer_ToContiguous().
D3.8.0a1.rst6517 Document PyBuffer_ToContiguous().
/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.rst493 .. 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.