Searched defs:bytearray (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/src/utils/
H A DSkBitmapHasher.cpp27 * Return the first 8 bytes of a bytearray, encoded as a little-endian uint64.
29 static inline uint64_t first_8_bytes_as_uint64(const uint8_t *bytearray) { argument
30 return SkEndian_SwapLE64(*(reinterpret_cast<const uint64_t *>(bytearray)));
/external/skia/src/utils/
H A DSkBitmapHasher.cpp27 * Return the first 8 bytes of a bytearray, encoded as a little-endian uint64.
29 static inline uint64_t first_8_bytes_as_uint64(const uint8_t *bytearray) { argument
30 return SkEndian_SwapLE64(*(reinterpret_cast<const uint64_t *>(bytearray)));
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DStringTools.c277 (PyErr_SetString(PyExc_IndexError, "bytearray index out of range"), -1))
293 PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
307 (PyErr_SetString(PyExc_IndexError, "bytearray index out of range"), -1))
324 PyErr_SetString(PyExc_IndexError, "bytearray index out of range");
725 static CYTHON_INLINE int __Pyx_PyByteArray_AppendObject(PyObject* bytearray, PyObject* value);
730 static CYTHON_INLINE int __Pyx_PyByteArray_AppendObject(PyObject* bytearray, PyObject* value) { argument
751 return __Pyx_PyByteArray_Append(bytearray, ival);
756 static CYTHON_INLINE int __Pyx_PyByteArray_Append(PyObject* bytearray, int value);
761 static CYTHON_INLINE int __Pyx_PyByteArray_Append(PyObject* bytearray, int value) { argument
765 Py_ssize_t n = Py_SIZE(bytearray);
[all...]
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dserialutil.py11 bytearray
17 # bytearray is a mutable type that is easily turned into an instance of
19 class bytearray(list): class in inherits:list
20 # for bytes(bytearray()) usage
22 def __repr__(self): return 'bytearray(%r)' % ''.join(self)
36 return bytearray(list.__getslice__(self, i, j))
40 return bytearray(list.__getitem__(self, item))
46 other = bytearray(other)
69 elif isinstance(seq, bytearray):
74 b = bytearray()
[all...]

Completed in 4377 milliseconds