Home
last modified time | relevance | path

Searched refs:raise_error (Results 1 – 2 of 2) sorted by relevance

/development/vndk/tools/sourcedr/sourcedr/
Dninja.py296 def raise_error(self, reason=None): member in Lexer
383 self.raise_error()
394 self.raise_error()
442 self.raise_error('unknown character sequence')
457 self.raise_error('bad escape sequence')
589 self._lexer.raise_error()
611 self._lexer.raise_error()
625 self._lexer.raise_error()
710 self._lexer.raise_error('undeclared rule name')
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py130 def raise_error(start, reason): function
136 raise_error(start, 'invalid continuation byte')
142 raise_error(start, 'invalid start byte')
147 raise_error(start, 'invalid continuation byte')
153 raise_error(start, 'invalid continuation byte')
158 raise_error(i, 'invalid start byte')
163 raise_error(start_surrogate, 'invalid high surrogate')
170 raise_error(start, 'invalid low surrogate')
180 raise_error(start_surrogate, 'illegal surrogate')
186 raise_error(start, 'unexpected end')
[all …]