/external/chromium_org/third_party/mesa/src/src/gallium/tools/trace/ |
parse.py | 38 ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF = range(4) 44 assert type in (ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF) 54 if self.type == ELEMENT_END: 90 token = XmlToken(ELEMENT_END, name, None, line, column) 159 return self.token.type == ELEMENT_END and self.token.name_or_data == name 172 def element_end(self, name): member in class:XmlParser 175 if self.token.type != ELEMENT_END: 176 raise TokenMismatch(XmlToken(ELEMENT_END, name), self.token) 178 raise TokenMismatch(XmlToken(ELEMENT_END, name), self.token) 199 while self.token.type not in (ELEMENT_END, EOF) [all...] |
/external/mesa3d/src/gallium/tools/trace/ |
parse.py | 38 ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF = range(4) 44 assert type in (ELEMENT_START, ELEMENT_END, CHARACTER_DATA, EOF) 54 if self.type == ELEMENT_END: 90 token = XmlToken(ELEMENT_END, name, None, line, column) 159 return self.token.type == ELEMENT_END and self.token.name_or_data == name 172 def element_end(self, name): member in class:XmlParser 175 if self.token.type != ELEMENT_END: 176 raise TokenMismatch(XmlToken(ELEMENT_END, name), self.token) 178 raise TokenMismatch(XmlToken(ELEMENT_END, name), self.token) 199 while self.token.type not in (ELEMENT_END, EOF) [all...] |