Searched defs:to_bytes (Results 1 - 12 of 12) sorted by relevance

/external/chromium-trace/catapult/third_party/webtest/webtest/
H A Dcompat.py12 def to_bytes(value, charset='latin1'): function
H A Dapp.py30 from webtest.compat import to_bytes namespace
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')):
H A Dresponse.py12 from webtest.compat import to_bytes namespace
296 _normal_body_regex = re.compile(to_bytes(r'[ \n\r\t]+'))
/external/chromium-trace/catapult/third_party/coverage/coverage/
H A Dbackward.py88 def to_bytes(s): function
106 def to_bytes(s): function
H A Dmisc.py15 from coverage.backward import string_class, to_bytes, unicode_class namespace
173 self.md5.update(to_bytes(str(type(v))))
175 self.md5.update(to_bytes(v))
181 self.md5.update(to_bytes(str(v)))
H A Dtest_helpers.py17 from coverage.backward import StringIO, to_bytes namespace
280 f.write(to_bytes(text))
/external/llvm/utils/lit/lit/
H A Dutil.py10 def to_bytes(str): function
17 return to_bytes(bytes)
H A DProgressBar.py8 def to_bytes(str): function
139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
H A DTestRunner.py10 from lit.util import to_bytes, to_string namespace
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,
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
H A 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/freetype/include/internal/
H A Dpsaux.h365 (*to_bytes)( PS_Parser parser, member in struct:PS_Parser_FuncsRec_
/external/pdfium/third_party/freetype/include/freetype/internal/
H A Dpsaux.h365 (*to_bytes)( PS_Parser parser, member in struct:PS_Parser_FuncsRec_

Completed in 247 milliseconds