Searched defs:to_bytes (Results 1 - 12 of 12) sorted by relevance
/external/chromium-trace/catapult/third_party/webtest/webtest/ |
H A D | compat.py | 12 def to_bytes(value, charset='latin1'): function
|
H A D | app.py | 30 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 D | response.py | 12 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 D | backward.py | 88 def to_bytes(s): function 106 def to_bytes(s): function
|
H A D | misc.py | 15 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 D | test_helpers.py | 17 from coverage.backward import StringIO, to_bytes namespace 280 f.write(to_bytes(text))
|
/external/llvm/utils/lit/lit/ |
H A D | util.py | 10 def to_bytes(str): function 17 return to_bytes(bytes)
|
H A D | ProgressBar.py | 8 def to_bytes(str): function 139 return curses.tparm(to_bytes(arg), index).decode('utf-8') or ''
|
H A D | TestRunner.py | 10 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 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/freetype/include/internal/ |
H A D | psaux.h | 365 (*to_bytes)( PS_Parser parser, member in struct:PS_Parser_FuncsRec_
|
/external/pdfium/third_party/freetype/include/freetype/internal/ |
H A D | psaux.h | 365 (*to_bytes)( PS_Parser parser, member in struct:PS_Parser_FuncsRec_
|
Completed in 247 milliseconds