Searched refs:spaceCharacters (Results 1 – 9 of 9) sorted by relevance
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/ |
D | test_whitespace_filter.py | 6 from html5lib.constants import spaceCharacters 7 spaceCharacters = "".join(spaceCharacters) variable 45 {"type": "SpaceCharacters", "data": spaceCharacters}, 56 {"type": "Characters", "data": spaceCharacters + "foo"}, 66 {"type": "SpaceCharacters", "data": spaceCharacters}, 76 {"type": "Characters", "data": "foo" + spaceCharacters}, 85 {"type": "Characters", "data": "foo" + spaceCharacters + "bar"}, 94 {"type": "SpaceCharacters", "data": spaceCharacters}, 101 {"type": "Characters", "data": spaceCharacters + "foo"}, 108 {"type": "SpaceCharacters", "data": spaceCharacters}, [all …]
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/filters/ |
D | whitespace.py | 6 from ..constants import rcdataElements, spaceCharacters 7 spaceCharacters = "".join(spaceCharacters) variable 9 SPACES_REGEX = re.compile("[%s]+" % spaceCharacters)
|
D | lint.py | 6 from ..constants import spaceCharacters 7 spaceCharacters = "".join(spaceCharacters) variable 72 data = data.strip(spaceCharacters)
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
D | tokenizer.py | 10 from .constants import spaceCharacters 150 if (charStack[0] in spaceCharacters or charStack[0] in (EOF, "<", "&") 219 if output in spaceCharacters: 265 elif data in spaceCharacters: 270 data + self.stream.charsUntil(spaceCharacters, True)}) 299 elif data in spaceCharacters: 304 data + self.stream.charsUntil(spaceCharacters, True)}) 431 if data in spaceCharacters: 476 if data in spaceCharacters and appropriate: 526 if data in spaceCharacters and appropriate: [all …]
|
D | constants.py | 452 spaceCharacters = frozenset([ variable
|
D | inputstream.py | 8 from .constants import EOF, spaceCharacters, asciiLetters, asciiUppercase 26 spaceCharactersBytes = frozenset([item.encode("ascii") for item in spaceCharacters])
|
D | html5parser.py | 14 from .constants import spaceCharacters, asciiUpper2Lower 1006 any([char not in spaceCharacters 1781 if any([item not in spaceCharacters for item in data]): 2414 any(char not in spaceCharacters for char in token["data"])):
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/ |
D | _base.py | 17 from ..constants import voidElements, spaceCharacters 18 spaceCharacters = "".join(spaceCharacters) variable 91 middle = data.lstrip(spaceCharacters) 96 middle = data.rstrip(spaceCharacters)
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/serializer/ |
D | htmlserializer.py | 9 from ..constants import voidElements, booleanAttributes, spaceCharacters 14 spaceCharacters = "".join(spaceCharacters) variable 247 spaceCharacters + ">\"'=", False)
|