Home
last modified time | relevance | path

Searched refs:ParseError (Results 1 – 15 of 15) sorted by relevance

/aosp12/system/extras/perf2cfg/perf2cfg/
H A Dparse.py77 raise exceptions.ParseError('Expected an address')
99 raise exceptions.ParseError('Expected a `flags` directive')
125 raise exceptions.ParseError('Expected a `name` directive')
128 raise exceptions.ParseError(
H A Dedit.py139 except exceptions.ParseError as ex:
178 raise exceptions.ParseError(
208 raise exceptions.ParseError('Expected a `begin_cfg` directive')
251 raise exceptions.ParseError('Expected a `end_block` directive')
260 raise exceptions.ParseError(
H A Dexceptions.py23 class ParseError(Exception): class
/aosp12/system/extras/perf2cfg/tests/
H A Dtest_parse.py35 with self.assertRaises(exceptions.ParseError) as ctx:
45 with self.assertRaises(exceptions.ParseError) as ctx:
59 with self.assertRaises(exceptions.ParseError) as ctx:
65 with self.assertRaises(exceptions.ParseError) as ctx:
/aosp12/build/soong/cc/symbolfile/
H A D__init__.py123 raise ParseError(f'Unknown version name in tag: {tag}')
257 class ParseError(RuntimeError): class
290 raise ParseError(
340 raise ParseError(
356 raise ParseError('Unknown visiblity label: ' + visibility)
363 raise ParseError('Unexpected EOF in version block.')
369 raise ParseError(
372 raise ParseError(
H A Dtest_symbolfile.py98 with self.assertRaises(symbolfile.ParseError):
400 with self.assertRaises(symbolfile.ParseError):
412 with self.assertRaises(symbolfile.ParseError):
442 with self.assertRaises(symbolfile.ParseError):
467 with self.assertRaises(symbolfile.ParseError):
471 with self.assertRaises(symbolfile.ParseError):
/aosp12/frameworks/base/media/mca/
H A Dstructgen.py98 class ParseError: class
235 raise ParseError(lineno, "Unknown field type '%s'!" % typestr)
238 raise ParseError(lineno, "Unknown command: '%s'!" % cmd)
244 raise ParseError(lineno, "Required field '@name' missing!")
246 raise ParseError(lineno, "Required field '@package' missing!")
248 raise ParseError(lineno, "Required field '@libname' missing!")
257 raise ParseError(lineno, "Not enough arguments specifed for command '%s'! Expected %d, " \
260 raise ParseError(lineno, "Too many arguments specifed for command '%s'! Expected %d, " \
/aosp12/build/soong/androidmk/parser/
H A Dparser.go29 type ParseError struct { struct
34 func (e *ParseError) Error() string {
108 err := &ParseError{
/aosp12/build/soong/scripts/check_boot_jars/
H A Dcheck_boot_jars.py56 except xml.etree.ElementTree.ParseError as e:
/aosp12/build/blueprint/parser/
H A Dparser.go31 type ParseError struct { struct
36 func (e *ParseError) Error() string {
128 err = &ParseError{
/aosp12/system/apex/apexer/
H A Dconv_apex_manifest.py35 from google.protobuf.json_format import ParseError
/aosp12/build/soong/android/
H A Dsoong_config_modules.go367 if parseErr, ok := err.(*parser.ParseError); ok {
/aosp12/system/iorap/src/inode2filename/
H A Dmain.cc141 enum ParseError { enum
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
H A Ddom.md125 ## Parse Error {#ParseError}
/aosp12/build/blueprint/
H A Dcontext.go1104 if parseErr, ok := err.(*parser.ParseError); ok {