Home
last modified time | relevance | path

Searched refs:exc (Results 1 – 6 of 6) sorted by relevance

/development/gsi/gsi_util/gsi_util/mounters/
Dadb_mounter.py45 except OSError as exc:
46 if exc.errno != errno.EEXIST:
Dimage_mounter.py39 except OSError as exc:
40 if exc.errno != errno.EEXIST:
/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py49 exc = LexerError('a %', 2, 'unexpected character')
50 self.assertEqual(exc.line, 1)
51 self.assertEqual(exc.column, 3)
52 self.assertEqual(exc.message, 'unexpected character')
53 self.assertEqual(str(exc), 'LexerError: 1:3: unexpected character')
55 exc = LexerError('a\nb\ncde %', 8, 'unexpected character')
56 self.assertEqual(exc.line, 3)
57 self.assertEqual(exc.column, 5)
58 self.assertEqual(exc.message, 'unexpected character')
59 self.assertEqual(str(exc), 'LexerError: 3:5: unexpected character')
/development/gsi/gsi_util/
Dbuild.py75 except OSError as exc:
76 if exc.errno != errno.EEXIST:
/development/vndk/tools/definition-tool/tests/
Dcompat.py29 def __exit__(self, exc, value, tb): argument
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py49 def __exit__(self, exc, value, tb): argument
98 def __exit__(self, exc, value, tb): argument