Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
Drfc2217.py85 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 …]
Dserialutil.py65 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/
Dto_bytes.pass.cpp28 std::string bs = myconv.to_bytes(ws[0]); in main()
30 bs = myconv.to_bytes(ws.c_str()); in main()
32 bs = myconv.to_bytes(ws); in main()
34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size()); in main()
36 bs = myconv.to_bytes(L""); in main()
Dctor_err_string.pass.cpp33 myconv.to_bytes(L"\xDA83"); in main()
50 std::string bs = myconv.to_bytes(L"\xDA83"); in main()
63 std::string bs = myconv.to_bytes(L"\xDA83"); in main()
Dconverted.pass.cpp26 std::string bs = myconv.to_bytes(L"\x40003"); in main()
28 bs = myconv.to_bytes(L"\x40003\x65"); in main()
/external/chromium-trace/catapult/third_party/coverage/coverage/
Dmisc.py15 from coverage.backward import string_class, to_bytes, unicode_class
173 self.md5.update(to_bytes(str(type(v))))
175 self.md5.update(to_bytes(v))
181 self.md5.update(to_bytes(str(v)))
Dbackward.py88 def to_bytes(s): function
106 def to_bytes(s): function
Dtest_helpers.py17 from coverage.backward import StringIO, to_bytes
280 f.write(to_bytes(text))
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/tools/
Dminiterm.py17 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])
Dlist_ports_windows.py127 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/llvm/utils/lit/lit/
DTestRunner.py10 from lit.util import to_bytes, to_string
385 to_bytes("(%s)(.*)\n" % ("|".join(k for k in keywords),)))
393 if not data.endswith(to_bytes('\n')):
394 data = data + to_bytes('\n')
403 line_number += data.count(to_bytes('\n'), last_match_position,
Dutil.py10 def to_bytes(str): function
17 return to_bytes(bytes)
DProgressBar.py8 def to_bytes(str): function
139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
/external/chromium-trace/catapult/third_party/webtest/webtest/
Dapp.py30 from webtest.compat import to_bytes
205 val = b64encode(to_bytes(val)).strip()
467 boundary = to_bytes(str(random.random()))[2:]
485 fcontent = to_bytes(fcontent)
714 to_bytes(content_type).startswith(b'multipart')):
Dcompat.py12 def to_bytes(value, charset='latin1'): function
Dresponse.py12 from webtest.compat import to_bytes
296 _normal_body_regex = re.compile(to_bytes(r'[ \n\r\t]+'))
/external/parameter-framework/asio-1.10.6/include/asio/ip/impl/
Daddress_v6.ipp81 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();
Daddress_v4.ipp58 address_v4::bytes_type address_v4::to_bytes() const
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/urlhandler/
Dprotocol_loop.py130 block = to_bytes(self.loop_buffer[:size])
148 data = to_bytes(data)
Dprotocol_socket.py171 self._socket.sendall(to_bytes(data))
/external/parameter-framework/asio-1.10.6/include/asio/ip/
Daddress_v6.hpp86 ASIO_DECL bytes_type to_bytes() const;
Daddress_v4.hpp86 ASIO_DECL bytes_type to_bytes() const;
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp87 asio::ip::address_v6::bytes_type bytes = v6_addr.to_bytes();
/external/pdfium/third_party/freetype/src/type1/
Dt1parse.c483 (void)psaux->ps_parser_funcs->to_bytes( &parser->root, in T1_Get_Private_Dict()
/external/freetype/include/internal/
Dpsaux.h365 (*to_bytes)( PS_Parser parser, member

12