Home
last modified time | relevance | path

Searched refs:bytearray (Results 1 – 25 of 29) sorted by relevance

12

/external/pdfium/xfa/fxbarcode/pdf417/
DBC_PDF417BarcodeMatrix.cpp71 CFX_ArrayTemplate<uint8_t> bytearray; in getScaledMatrix() local
72 bytearray.Copy(m_matrix[0]->getScaledRow(xScale)); in getScaledMatrix()
73 int32_t xMax = bytearray.GetSize(); in getScaledMatrix()
80 bytearray.Copy(m_matrix[i / yScale]->getScaledRow(xScale)); in getScaledMatrix()
84 m_matrixOut[k + l] = bytearray.GetAt(l); in getScaledMatrix()
/external/avb/test/
Dimage_handler_unittest.py123 self.assertEqual(ih.read(14), bytearray('Barfoo43Barfoo'))
125 self.assertEqual(ih.read(2), bytearray('43'))
130 self.assertEqual(ih.read(4), bytearray('\x02\x03\x04\x01'))
134 self.assertEqual(ih.read(12), bytearray('43Barfoo43\x00\x00'))
136 self.assertEqual(ih.read(5), bytearray('\x02\x03\x04Fo'))
140 self.assertEqual(ih.read(16), bytearray('\x00\x00'))
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
Dserialutil.py11 bytearray
19 class bytearray(list): class
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()
166 line = bytearray()
Dserialjava.py157 read = bytearray()
171 if not isinstance(data, (bytes, bytearray)):
Dserialcli.py159 data = bytearray()
172 if not isinstance(data, (bytes, bytearray)):
Dserialposix.py458 read = bytearray()
665 read = bytearray()
Drfc2217.py575 data = bytearray()
725 suboption = bytearray()
1065 self.suboption = bytearray()
/external/flatbuffers/python/flatbuffers/
Dcompat.py28 binary_types = (bytes,bytearray)
35 binary_types = (str,bytearray)
Dbuilder.py125 self.Bytes = bytearray(initialSize)
287 bytes2 = bytearray(newSize)
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
D_bitmap.py46 if type(pixels) is not bytearray:
47 pixels = bytearray(pixels)
129 if type(self._pixels) is not bytearray:
130 self._pixels = bytearray(self._pixels)
Dimage_util_numpy_impl.py28 return bytearray(np.uint8(image[:, :, ::-1]).flat) # Convert from bgr to rgb.
66 file_bytes = np.asarray(bytearray(png_data), dtype=np.uint8)
Dvideo.py159 frame_data = bytearray(frame_length)
/external/avb/
Davbtool247 ret = bytearray()
353 ret = bytearray()
420 return bytearray(pout)
781 data = bytearray()
944 return bytearray(ret)
1014 return bytearray(ret)
1107 self.salt = bytearray()
1108 self.root_digest = bytearray()
1155 return bytearray(ret)
1220 self.salt = bytearray()
[all …]
/external/flatbuffers/docs/source/
DPythonUsage.md49 file into a `bytearray`, which you pass to the `GetRootAsMonster` function:
56 buf = bytearray(buf)
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/urlhandler/
Dprotocol_loop.py45 self.loop_buffer = bytearray()
126 data = bytearray()
Dprotocol_socket.py139 data = bytearray()
/external/chromium-trace/catapult/telemetry/telemetry/core/
Dplatform_unittest.py42 special_colored_pixel = bytearray([217, 115, 43])
/external/flatbuffers/tests/
Dpy_test.py67 CheckReadBuffer(bytearray(canonicalWireData), 0)
311 want = bytearray(want_ints)
1084 want = bytearray([
1188 CheckReadBuffer(bytearray(go_wire_data), 0)
1189 if not bytearray(gen_buf[gen_off:]) == bytearray(go_wire_data):
1210 CheckReadBuffer(bytearray(java_wire_data), 0)
/external/autotest/client/cros/i2c/
Dusb_to_i2c.py126 self.serial.write(bytearray(data))
/external/chromium-trace/catapult/telemetry/telemetry/util/
Dimage_util_unittest.py128 self.assertEquals(image_util.Pixels(bmp), bytearray([1, 2, 0, 2, 2, 0]))
/external/v8/tools/clang/scripts/
Drun_tool.py227 contents = bytearray(f.read())
/external/autotest/client/common_lib/cros/bluetooth/
Dbluetooth_socket.py295 hdr = bytearray(MGMT_HDR_SIZE)
296 data = bytearray(512)
/external/autotest/client/cros/networking/
Dandroid_xmlrpc_server.py476 for byte in bytearray(key, 'utf-8'):
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java4906 byte bytearray[] = { in TestCharsetISO2022KR()
4912 ByteBuffer bb = ByteBuffer.wrap(bytearray); in TestCharsetISO2022KR()
4929 byte bytearray[] = { in TestCharsetISO2022JP()
4935 ByteBuffer bb = ByteBuffer.wrap(bytearray); in TestCharsetISO2022JP()
4952 byte bytearray[] = { in TestCharsetASCII()
4959 ByteBuffer bb = ByteBuffer.wrap(bytearray); in TestCharsetASCII()
5043 byte bytearray[] = { in TestCharsetCallbacks()
5046 bb = ByteBuffer.wrap(bytearray); in TestCharsetCallbacks()
5120 byte bytearray[] = { in TestCharsetTestData()
5129 ByteBuffer bb = ByteBuffer.wrap(bytearray); in TestCharsetTestData()
/external/v8/tools/
Djs2c.py523 byte_sequence = bytearray()

12