/external/chromium-trace/catapult/third_party/pyserial/serial/ |
D | rfc2217.py | 85 IAC = to_bytes([255]) # Interpret As Command 86 DONT = to_bytes([254]) 87 DO = to_bytes([253]) 88 WONT = to_bytes([252]) 89 WILL = to_bytes([251]) 90 IAC_DOUBLED = to_bytes([IAC, IAC]) 92 SE = to_bytes([240]) # Subnegotiation End 93 NOP = to_bytes([241]) # No Operation 94 DM = to_bytes([242]) # Data Mark 95 BRK = to_bytes([243]) # Break [all …]
|
D | serialutil.py | 65 def to_bytes(seq): function 80 XON = to_bytes([17]) 81 XOFF = to_bytes([19]) 83 CR = to_bytes([13]) 84 LF = to_bytes([10])
|
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/ |
D | to_bytes.pass.cpp | 40 std::string bs = myconv.to_bytes(ws[0]); in test() 42 bs = myconv.to_bytes(ws.c_str()); in test() 44 bs = myconv.to_bytes(ws); in test() 46 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test() 48 bs = myconv.to_bytes(L""); in test() 59 std::string bs = myconv.to_bytes(ws[0]); in test() 61 bs = myconv.to_bytes(ws.c_str()); in test() 63 bs = myconv.to_bytes(ws); in test() 65 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in test() 67 bs = myconv.to_bytes(L""); in test()
|
D | converted.pass.cpp | 39 std::string bs = myconv.to_bytes(L"\x1005"); in test() 41 bs = myconv.to_bytes(L"\x1005\x65"); in test() 56 std::string bs = myconv.to_bytes(L"\x40003"); in test() 58 bs = myconv.to_bytes(L"\x40003\x65"); in test()
|
D | ctor_err_string.pass.cpp | 36 TEST_IGNORE_NODISCARD myconv.to_bytes(L"\xDA83"); in main() 54 std::string bs = myconv.to_bytes(L"\xDA83"); in main() 69 std::string bs = myconv.to_bytes(L"\xDA83"); in main()
|
/external/u-boot/board/synopsys/hsdk/ |
D | headerize-hsdk.py | 86 file.write(arc_id.to_bytes(2, byteorder='little')) 87 file.write(uboot_img_size.to_bytes(4, byteorder='little')) 88 file.write(check_sum.to_bytes(1, byteorder='little')) 89 file.write(image_copy_adr.to_bytes(4, byteorder='little')) 90 file.write(magic1.to_bytes(5, byteorder='big')) 91 file.write(jump_address.to_bytes(4, byteorder='little')) 92 for i in range(12): file.write(0xFF.to_bytes(1, byteorder='little')) 93 for byte in magic2: file.write(byte.to_bytes(36, byteorder='big')) 95 file.write(0xFF.to_bytes(1, byteorder='little')) 96 file.write(flash_address.to_bytes(4, byteorder='little')) [all …]
|
/external/python/pyasn1/pyasn1/compat/ |
D | integer.py | 36 def to_bytes(value, signed=False, length=0): function 101 def to_bytes(value, signed=False, length=0): function 107 return value.to_bytes(length // 8 + (length % 8 and 1 or 0), 'big', signed=signed)
|
/external/chromium-trace/catapult/third_party/pyserial/serial/tools/ |
D | miniterm.py | 17 EXITCHARCTER = serial.to_bytes([0x1d]) # GS/CTRL+] 18 MENUCHARACTER = serial.to_bytes([0x14]) # Menu: CTRL+T 84 LF = serial.to_bytes([10]) 85 CR = serial.to_bytes([13]) 86 CRLF = serial.to_bytes([13, 10]) 88 X00 = serial.to_bytes([0]) 89 X0E = serial.to_bytes([0x0e]) 293 b = serial.to_bytes([3])
|
D | list_ports_windows.py | 127 Ports = serial.to_bytes([80, 111, 114, 116, 115]) # "Ports" 128 PortName = serial.to_bytes([80, 111, 114, 116, 78, 97, 109, 101]) # "PortName"
|
/external/boringssl/src/third_party/fiat/ |
D | make_curve25519_tables.py | 86 def to_bytes(x): function 135 small_precomp += to_bytes(P[0]) 136 small_precomp += to_bytes(P[1])
|
/external/libcxx/utils/libcxx/ |
D | util.py | 22 def to_bytes(str): function 31 return to_bytes(bytes) 199 input = to_bytes(input)
|
/external/python/cpython3/Lib/test/ |
D | test_long.py | 1090 test.to_bytes(len(expected), byteorder, signed=signed), 1171 self.assertRaises(OverflowError, (256).to_bytes, 1, 'big', signed=False) 1172 self.assertRaises(OverflowError, (256).to_bytes, 1, 'big', signed=True) 1173 self.assertRaises(OverflowError, (256).to_bytes, 1, 'little', signed=False) 1174 self.assertRaises(OverflowError, (256).to_bytes, 1, 'little', signed=True) 1175 self.assertRaises(OverflowError, (-1).to_bytes, 2, 'big', signed=False) 1176 self.assertRaises(OverflowError, (-1).to_bytes, 2, 'little', signed=False) 1177 self.assertEqual((0).to_bytes(0, 'big'), b'') 1178 self.assertEqual((1).to_bytes(5, 'big'), b'\x00\x00\x00\x00\x01') 1179 self.assertEqual((0).to_bytes(5, 'big'), b'\x00\x00\x00\x00\x00') [all …]
|
/external/python/cpython3/Lib/ |
D | hashlib.py | 221 prev = prf(salt + loop.to_bytes(4, 'big')) 229 dkey += rkey.to_bytes(inner.digest_size, 'big')
|
D | base64.py | 232 decoded += acc.to_bytes(5, 'big') 238 last = acc.to_bytes(5, 'big')
|
D | ipaddress.py | 137 return address.to_bytes(4, 'big') 153 return address.to_bytes(16, 'big') 466 details = ip_int.to_bytes(byteslen, 'big') 1190 return '.'.join(map(str, ip_int.to_bytes(4, 'big')))
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/ |
D | address_v6.ipp | 81 address_v6::bytes_type address_v6::to_bytes() const 268 address_v4::bytes_type v4_bytes = addr.to_bytes(); 276 address_v4::bytes_type v4_bytes = addr.to_bytes();
|
/external/chromium-trace/catapult/third_party/pyserial/serial/urlhandler/ |
D | protocol_loop.py | 130 block = to_bytes(self.loop_buffer[:size]) 148 data = to_bytes(data)
|
/external/llvm/utils/lit/lit/ |
D | ProgressBar.py | 8 def to_bytes(str): function 139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
|
D | util.py | 11 def to_bytes(str): function 18 return to_bytes(bytes)
|
D | TestRunner.py | 11 from lit.util import to_bytes, to_string 566 to_bytes("(%s)(.*)\n" % ("|".join(re.escape(k) for k in keywords),))) 574 if not data.endswith(to_bytes('\n')): 575 data = data + to_bytes('\n') 584 line_number += data.count(to_bytes('\n'), last_match_position,
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/lit/lit/ |
D | ProgressBar.py | 8 def to_bytes(str): function 139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
|
D | util.py | 47 def to_bytes(s): function 317 input = to_bytes(input)
|
D | TestRunner.py | 26 from lit.util import to_bytes, to_string 285 encode = lit.util.to_bytes 307 arg = lit.util.to_bytes(arg) 1146 to_bytes("(%s)(.*)\n" % ("|".join(re.escape(k) for k in keywords),))) 1154 if not data.endswith(to_bytes('\n')): 1155 data = data + to_bytes('\n') 1164 line_number += data.count(to_bytes('\n'), last_match_position,
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/ |
D | address_v6.hpp | 86 ASIO_DECL bytes_type to_bytes() const;
|
D | address_v4.hpp | 86 ASIO_DECL bytes_type to_bytes() const;
|