Searched refs:PyBuffer_ToContiguous (Results 1 – 13 of 13) sorted by relevance
/third_party/python/Include/cpython/ |
D | abstract.h | 282 PyAPI_FUNC(int) PyBuffer_ToContiguous(void *buf, Py_buffer *view,
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/pyfunc/ |
D | py_func_cpu_kernel.cc | 148 if (PyBuffer_ToContiguous(buffer.get(), &pybuf, pybuf.len, 'C')) { in ArrayToRawMemory()
|
/third_party/python/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::
|
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/ |
D | tensor_py.cc | 222 if (PyBuffer_ToContiguous(tmp_buf.get(), &pybuf, pybuf.len, 'C')) { in MakeTensor()
|
/third_party/python/Objects/ |
D | memoryobject.c | 985 PyBuffer_ToContiguous(void *buf, Py_buffer *src, Py_ssize_t len, char order) in PyBuffer_ToContiguous() function 2196 if (PyBuffer_ToContiguous(PyBytes_AS_STRING(bytes), src, src->len, ord) < 0) { in memoryview_tobytes_impl() 2246 if (PyBuffer_ToContiguous(PyBytes_AS_STRING(bytes), src, src->len, 'C') < 0) { in memoryview_hex_impl()
|
D | bytearrayobject.c | 96 PyBuffer_ToContiguous(PyByteArray_AS_STRING(result), in _PyByteArray_FromBufferObject() 837 if (PyBuffer_ToContiguous(PyByteArray_AS_STRING(self), in bytearray___init___impl()
|
D | bytesobject.c | 2664 if (PyBuffer_ToContiguous(((PyBytesObject *)new)->ob_sval, in _PyBytes_FromBuffer()
|
/third_party/python/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().
|
/third_party/python/Doc/c-api/ |
D | buffer.rst | 493 .. c:function:: int PyBuffer_ToContiguous(void *buf, Py_buffer *src, Py_ssize_t len, char order)
|
/third_party/python/Modules/ |
D | _testbuffer.c | 2457 if (PyBuffer_ToContiguous(buf, &view, view.len, ord) < 0) { in py_buffer_to_contiguous()
|
/third_party/python/Misc/ |
D | HISTORY | 6783 - Issue #12834: Fix `PyBuffer_ToContiguous()` for non-contiguous arrays.
|