/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) 52 if self.type == ELEMENT_START: 84 token = XmlToken(ELEMENT_START, name, attributes, line, column) 156 return self.token.type == ELEMENT_START and self.token.name_or_data == name 161 def element_start(self, name): member in class:XmlParser 164 if self.token.type != ELEMENT_START: 165 raise TokenMismatch(XmlToken(ELEMENT_START, name), self.token) 167 raise TokenMismatch(XmlToken(ELEMENT_START, name), self.token) 198 self.element_start('trace' [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) 52 if self.type == ELEMENT_START: 84 token = XmlToken(ELEMENT_START, name, attributes, line, column) 156 return self.token.type == ELEMENT_START and self.token.name_or_data == name 161 def element_start(self, name): member in class:XmlParser 164 if self.token.type != ELEMENT_START: 165 raise TokenMismatch(XmlToken(ELEMENT_START, name), self.token) 167 raise TokenMismatch(XmlToken(ELEMENT_START, name), self.token) 198 self.element_start('trace' [all...] |