Searched refs:PyBuffer_ToContiguous (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython3/Include/cpython/ |
D | abstract.h | 286 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
|
/external/python/cpython2/Include/ |
D | abstract.h | 565 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 68 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/ |
D | memoryobject.c | 415 PyBuffer_ToContiguous(PyBytes_AS_STRING(res), &view, view.len, 'C'); in memory_tobytes()
|
D | bytearrayobject.c | 178 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject() 880 if (PyBuffer_ToContiguous(self->ob_bytes, &view, size, 'C') < 0) in bytearray_init()
|
D | bytesobject.c | 2642 if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval, in _PyBytes_FromBuffer()
|
D | abstract.c | 483 PyBuffer_ToContiguous(void *buf, Py_buffer *view, Py_ssize_t len, char fort) in PyBuffer_ToContiguous() function
|
/external/python/cpython3/Objects/ |
D | memoryobject.c | 989 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()
|
D | bytearrayobject.c | 104 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject() 841 if (PyBuffer_ToContiguous(PyByteArray_AS_STRING(self), in bytearray_init()
|
D | bytesobject.c | 2651 if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval, in _PyBytes_FromBuffer()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b3.rst | 379 Document PyBuffer_ToContiguous().
|
D | 3.6.6rc1.rst | 556 Document PyBuffer_ToContiguous().
|
D | 3.8.0a1.rst | 6517 Document PyBuffer_ToContiguous().
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 410 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/ |
D | buffer.rst | 493 .. c:function:: int PyBuffer_ToContiguous(void *buf, Py_buffer *src, Py_ssize_t len, char order)
|
/external/python/cpython3/Modules/ |
D | _testbuffer.c | 2457 if (PyBuffer_ToContiguous(buf, &view, view.len, ord) < 0) { in py_buffer_to_contiguous()
|
/external/python/cpython3/Misc/ |
D | HISTORY | 6783 - Issue #12834: Fix `PyBuffer_ToContiguous()` for non-contiguous arrays.
|