/external/chromium_org/tools/telemetry/third_party/pyserial/serial/urlhandler/ |
protocol_loop.py | 45 self.loop_buffer = bytearray() 126 data = bytearray()
|
protocol_socket.py | 139 data = bytearray()
|
/external/lldb/examples/python/ |
disasm-stress-test.py | 80 ret = bytearray(self.m_byte_width) 105 ret = bytearray(self.m_byte_width)
|
/external/chromium_org/mojo/public/python/mojo/bindings/ |
messaging.py | 99 self._data = bytearray(self.size) 378 message_receiver.Accept(Message(bytearray(), [])) 381 (result, data, _) = handle.ReadMessage(bytearray(sizes[0]))
|
serialization.py | 63 data = bytearray(self.size)
|
descriptor.py | 63 data_offset: the offset to the end of the data bytearray. Used to encode 65 data: the bytearray to append additional data to. 81 data: the bytearray to retrieve additional data from. 313 data.extend(bytearray(size + 534 data.extend(bytearray(serialization.HEADER_STRUCT.size)) 537 data.extend(bytearray(serialization.NeededPaddingForAlignment(data_length)))
|
/external/chromium_org/mojo/python/tests/ |
system_unittest.py | 19 return bytearray(''.join(chr(random.randint(0, 255)) for i in xrange(size))) 146 result = bytearray(DATA_SIZE) 238 pipes.consumer_handle.ReadData(bytearray(DATA_SIZE))) 249 pipes.consumer_handle.ReadData(bytearray(DATA_SIZE)))
|
messaging_unittest.py | 170 (res, data, _) = self.handle.ReadMessage(bytearray(len(header_data))) 195 (res, data, _) = self.handle.ReadMessage(bytearray(len(header_data)))
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
video.py | 156 frame_data = bytearray(frame_length)
|
bitmap_unittest.py | 171 self.assertEquals(bmp.pixels, bytearray([1,2,0, 2,2,0]))
|
/external/chromium_org/tools/telemetry/third_party/pyserial/serial/ |
serialcli.py | 159 data = bytearray() 172 if not isinstance(data, (bytes, bytearray)): 173 raise TypeError('expected %s or bytearray, got %s' % (bytes, type(data)))
|
serialjava.py | 157 read = bytearray() 171 if not isinstance(data, (bytes, bytearray)): 172 raise TypeError('expected %s or bytearray, got %s' % (bytes, type(data)))
|
rfc2217.py | 575 data = bytearray() 725 suboption = bytearray() [all...] |
serialposix.py | 458 read = bytearray() 665 read = bytearray()
|
/external/chromium_org/third_party/tlslite/tlslite/ |
tlsconnection.py | 78 return bytesToNumber(bytearray(s.decode("hex"))) 630 bytearray(0), cipherSuites, 708 if bytearray(p) in serverHello.next_protos: 709 return bytearray(p) 714 return bytearray(nextProtos[0]) [all...] |
/external/chromium_org/tools/clang/scripts/ |
run_tool.py | 206 contents = bytearray(f.read()) 244 contents: A bytearray with the deletion already applied. 245 offset: The offset in the bytearray where the deleted range used to be.
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
rijndael.py | 319 return bytearray(result) 362 return bytearray(result)
|
/external/chromium_org/third_party/cython/src/Cython/Compiler/ |
StringEncoding.py | 246 s_new = bytearray()
|
/cts/apps/CameraITS/pymodules/its/ |
device.py | 149 buf = bytearray(n)
|
/external/lldb/examples/summaries/cocoa/ |
CFString.py | 77 new_bytes = bytearray(content)
|
/external/lldb/test/python_api/process/ |
TestProcessAPI.py | 240 # Note that the canonical from of the bytearray is little endian. 279 # Now read the memory content. The bytearray should have (byte)1 as the second element. 285 new_bytes = bytearray(content, "ascii") 287 # The bytearray_to_int utility function expects a little endian bytearray.
|
/external/chromium_org/chrome/browser/policy/test/ |
policy_testserver.py | [all...] |
/external/chromium_org/third_party/tlslite/tests/ |
tlstest.py | 273 htmlBody = bytearray(open(os.path.join(dir, "index.html")).read(), "utf-8") 283 b = bytearray(r.read())
|
/external/lldb/test/ |
lldbutil.py | 48 # Integer (byte size 1, 2, 4, and 8) to bytearray conversion 52 """Utility function to convert an integer into a bytearray. 54 It returns the bytearray in the little endian format. It is easy to get the 60 return bytearray([val]) 74 return bytearray(map(ord, packed)) 77 """Utility function to convert a bytearray into an integer. 79 It interprets the bytearray in the little endian format. For a big endian 80 bytearray, just do ba.reverse() on the object before passing it in.
|
/external/chromium_org/v8/tools/ |
js2c.py | 505 byte_sequence = bytearray()
|