HomeSort by relevance Sort by last modified time
    Searched full:memoryview (Results 1 - 25 of 258) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/python/cpython3/Doc/c-api/
memoryview.rst 6 object: memoryview
8 MemoryView objects
11 A :class:`memoryview` object exposes the C level :ref:`buffer interface
18 Create a memoryview object from an object that provides the buffer interface.
19 If *obj* supports writable buffer exports, the memoryview object will be
25 Create a memoryview object using *mem* as the underlying buffer.
32 Create a memoryview object wrapping the given buffer structure *view*.
38 Create a memoryview object to a :term:`contiguous` chunk of memory (in either
40 interface. If memory is contiguous, the memoryview object points to the
41 original memory. Otherwise, a copy is made and the memoryview points to
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
fix_buffer.py 4 """Fixer that changes buffer(...) into memoryview(...)."""
22 name.replace(Name(u"memoryview", prefix=name.prefix))
  /external/python/cpython2/Lib/lib2to3/fixes/
fix_buffer.py 4 """Fixer that changes buffer(...) into memoryview(...)."""
22 name.replace(Name(u"memoryview", prefix=name.prefix))
  /external/python/cpython3/Lib/asyncio/
compat.py 14 # memoryview.
16 bytes(data) if isinstance(data, memoryview) else data
  /external/python/cpython3/Lib/lib2to3/fixes/
fix_buffer.py 4 """Fixer that changes buffer(...) into memoryview(...)."""
22 name.replace(Name("memoryview", prefix=name.prefix))
  /prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/
fix_buffer.py 4 """Fixer that changes buffer(...) into memoryview(...)."""
22 name.replace(Name(u"memoryview", prefix=name.prefix))
  /prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/
fix_buffer.py 4 """Fixer that changes buffer(...) into memoryview(...)."""
22 name.replace(Name(u"memoryview", prefix=name.prefix))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_buffer.py 4 """Fixer that changes buffer(...) into memoryview(...)."""
22 name.replace(Name(u"memoryview", prefix=name.prefix))
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_buffer.py 4 """Fixer that changes buffer(...) into memoryview(...)."""
22 name.replace(Name(u"memoryview", prefix=name.prefix))
  /external/python/cpython2/Lib/ctypes/test/
test_pickling.py 31 self.assertEqual(memoryview(src).tobytes(),
32 memoryview(dst).tobytes())
49 self.assertEqual(memoryview(y).tobytes(),
50 memoryview(x).tobytes())
  /external/python/cpython3/Include/
memoryobject.h 1 /* Memory view object. In Python this is available as "memoryview". */
17 /* Get a pointer to the memoryview's private copy of the exporter's buffer. */
45 Py_ssize_t exports; /* number of direct memoryview exports */
50 /* memoryview state flags */
  /external/python/cpython3/Lib/ctypes/test/
test_pickling.py 31 self.assertEqual(memoryview(src).tobytes(),
32 memoryview(dst).tobytes())
49 self.assertEqual(memoryview(y).tobytes(),
50 memoryview(x).tobytes())
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_pickling.py 31 self.assertEqual(memoryview(src).tobytes(),
32 memoryview(dst).tobytes())
49 self.assertEqual(memoryview(y).tobytes(),
50 memoryview(x).tobytes())
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_pickling.py 31 self.assertEqual(memoryview(src).tobytes(),
32 memoryview(dst).tobytes())
49 self.assertEqual(memoryview(y).tobytes(),
50 memoryview(x).tobytes())
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_pickling.py 31 self.assertEqual(memoryview(src).tobytes(),
32 memoryview(dst).tobytes())
49 self.assertEqual(memoryview(y).tobytes(),
50 memoryview(x).tobytes())
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_pickling.py 31 self.assertEqual(memoryview(src).tobytes(),
32 memoryview(dst).tobytes())
49 self.assertEqual(memoryview(y).tobytes(),
50 memoryview(x).tobytes())
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_memoryview.py 1 """Unit tests for the memoryview
74 self.assertRaises(TypeError, setitem, memoryview(b"a"))
199 ## Test PyObject_GetBuffer() on a memoryview object.
222 # Create a reference cycle through a memoryview object
235 # Issue #10451: memoryview incorrectly exposes a readonly
274 # Variations on indirection levels: memoryview, slice of memoryview,
275 # slice of slice of memoryview.
280 return memoryview(obj)
289 m = memoryview(obj)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_memoryview.py 1 """Unit tests for the memoryview
74 self.assertRaises(TypeError, setitem, memoryview(b"a"))
199 ## Test PyObject_GetBuffer() on a memoryview object.
222 # Create a reference cycle through a memoryview object
235 # Issue #10451: memoryview incorrectly exposes a readonly
274 # Variations on indirection levels: memoryview, slice of memoryview,
275 # slice of slice of memoryview.
280 return memoryview(obj)
289 m = memoryview(obj
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_memoryview.py 1 """Unit tests for the memoryview
74 self.assertRaises(TypeError, setitem, memoryview(b"a"))
199 ## Test PyObject_GetBuffer() on a memoryview object.
222 # Create a reference cycle through a memoryview object
235 # Issue #10451: memoryview incorrectly exposes a readonly
274 # Variations on indirection levels: memoryview, slice of memoryview,
275 # slice of slice of memoryview.
280 return memoryview(obj)
289 m = memoryview(obj
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_memoryview.py 1 """Unit tests for the memoryview
74 self.assertRaises(TypeError, setitem, memoryview(b"a"))
199 ## Test PyObject_GetBuffer() on a memoryview object.
222 # Create a reference cycle through a memoryview object
235 # Issue #10451: memoryview incorrectly exposes a readonly
274 # Variations on indirection levels: memoryview, slice of memoryview,
275 # slice of slice of memoryview.
280 return memoryview(obj)
289 m = memoryview(obj
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_memoryview.py 1 """Unit tests for the memoryview
74 self.assertRaises(TypeError, setitem, memoryview(b"a"))
199 ## Test PyObject_GetBuffer() on a memoryview object.
222 # Create a reference cycle through a memoryview object
235 # Issue #10451: memoryview incorrectly exposes a readonly
274 # Variations on indirection levels: memoryview, slice of memoryview,
275 # slice of slice of memoryview.
280 return memoryview(obj)
289 m = memoryview(obj
    [all...]
  /external/python/cpython3/Lib/test/
test_buffer.py 9 # Most ndarray tests also check that memoryview(ndarray) behaves in
11 # memoryview tests is now in this module.
119 MEMORYVIEW = NATIVE.copy()
130 fmtdict['m'] = MEMORYVIEW
131 fmtdict['@m'] = MEMORYVIEW
143 'memoryview': (['@m', 'm'], ['']),
227 """format suitable for memoryview"""
230 fmt[x-1] in MEMORYVIEW)
633 # memoryview casts
844 m = memoryview(result
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
memoryobject.h 1 /* Memory view object. In Python this is available as "memoryview". */
13 /* Get a pointer to the underlying Py_buffer of a memoryview object. */
15 /* Get a pointer to the PyObject from which originates a memoryview object. */
39 object after the memoryview object is deleted as long as
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
memoryobject.h 1 /* Memory view object. In Python this is available as "memoryview". */
13 /* Get a pointer to the underlying Py_buffer of a memoryview object. */
15 /* Get a pointer to the PyObject from which originates a memoryview object. */
39 object after the memoryview object is deleted as long as
  /external/python/cpython2/Include/
memoryobject.h 1 /* Memory view object. In Python this is available as "memoryview". */
13 /* Get a pointer to the underlying Py_buffer of a memoryview object. */
15 /* Get a pointer to the PyObject from which originates a memoryview object. */
39 object after the memoryview object is deleted as long as

Completed in 825 milliseconds

1 2 3 4 5 6 7 8 91011