Searched refs:HTMLInputStream (Results 1 – 4 of 4) sorted by relevance
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
D | test_stream.py | 10 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)
|
D | test_encoding.py | 66 encoding = inputstream.HTMLInputStream(fp.read()).charEncoding
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
D | inputstream.py | 132 def HTMLInputStream(source, encoding=None, parseMeta=True, chardet=True): function
|
D | tokenizer.py | 17 from .inputstream import HTMLInputStream 40 self.stream = HTMLInputStream(stream, encoding, parseMeta, useChardet)
|