Home
last modified time | relevance | path

Searched refs:HTMLInputStream (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_stream.py10 from html5lib.inputstream import (BufferedStream, HTMLInputStream,
86 stream = HTMLInputStream(b"'", encoding='ascii')
91 stream = HTMLInputStream('\u2018'.encode('utf-8'), encoding='utf-8')
96 stream = HTMLInputStream("\xa9\xf1\u2019".encode('windows-1252'))
103 stream = HTMLInputStream(codecs.BOM_UTF8 + b"'")
108 stream = HTMLInputStream((' ' * 1025).encode('utf-16'))
124 stream = HTMLInputStream("\r" * size + "\n")
170 stream = HTMLInputStream(source)
Dtest_encoding.py66 encoding = inputstream.HTMLInputStream(fp.read()).charEncoding
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dinputstream.py132 def HTMLInputStream(source, encoding=None, parseMeta=True, chardet=True): function
Dtokenizer.py17 from .inputstream import HTMLInputStream
40 self.stream = HTMLInputStream(stream, encoding, parseMeta, useChardet)