Home
last modified time | relevance | path

Searched refs:charsUntil (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_stream.py110 self.assertEqual(len(stream.charsUntil(' ', True)), 1025)
115 self.assertEqual(stream.charsUntil('c'), "a\nbb\n")
117 self.assertEqual(stream.charsUntil('x'), "ccc\ndddd")
119 self.assertEqual(stream.charsUntil('e'), "x")
125 self.assertEqual(stream.charsUntil('x'), "\n" * size)
130 self.assertEqual(stream.charsUntil('c'), "a\nbb\n")
134 self.assertEqual(stream.charsUntil('c'), "\n")
140 self.assertEqual(stream.charsUntil('e'), "ccc\nddd")
142 self.assertEqual(stream.charsUntil('h'), "e\nf\ng")
171 self.assertEqual(stream.charsUntil(" "), "Text")
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/
Dtokenizer.py270 data + self.stream.charsUntil(spaceCharacters, True)})
275 chars = self.stream.charsUntil(("&", "<", "\u0000"))
304 data + self.stream.charsUntil(spaceCharacters, True)})
309 chars = self.stream.charsUntil(("&", "<", "\u0000"))
332 chars = self.stream.charsUntil(("<", "\u0000"))
350 chars = self.stream.charsUntil(("<", "\u0000"))
367 data + self.stream.charsUntil("\u0000")})
639 chars = self.stream.charsUntil(("<", "-", "\u0000"))
855 self.stream.charsUntil(spaceCharacters, True)
890 self.stream.charsUntil(asciiLetters, True)
[all …]
Dinputstream.py326 def charsUntil(self, characters, opposite=False): member in HTMLUnicodeInputStream