| /external/chromium_org/tools/grit/grit/ |
| grd_reader.py | 14 from grit import exception namespace 21 class StopParsingException(Exception): 22 '''An exception used to stop parsing.''' 91 raise exception.GotPathExpectedFilenameOnly() 123 raise exception.MissingElement("root tag must be <grit-part>") 125 raise exception.UnexpectedAttribute( 176 grit.exception.Parsing 192 print "parse exception: run GRIT with the -x flag to debug .grd problems" 196 raise exception.MissingElement("root tag must be <grit>")
|
| tclib_unittest.py | 19 from grit import exception namespace 163 raise Exception("We shouldn't get here") 164 except exception.InvalidPlaceholderName: 165 pass # Expect exception to be thrown because presentation contained space
|
| clique_unittest.py | 18 from grit import exception namespace 54 self.fail('Should have gotten exception') 127 self.assertRaises(exception.SectionNotFound, resources.RunGatherers)
|
| grd_reader_unittest.py | 16 from grit import exception namespace 272 (exception.UnexpectedContent, u'<part file="x">fnord</part>'), 273 (exception.UnexpectedChild, 281 (exception.UnexpectedAttribute, u'<grit-part file="xyz"></grit-part>'), 282 (exception.MissingElement, u'<output filename="x" type="y" />'),
|
| /external/chromium_org/v8/test/mjsunit/ |
| debug-evaluate-bool-constructor.js | 33 var exception = false; variable 62 exception = e 79 assertFalse(exception, "exception in listener")
|
| debug-setbreakpoint.js | 34 var exception = false; variable 132 exception = e 179 assertTrue(listenerComplete, "listener did not run to completion: " + exception); 201 // we get an exception.
|
| array-reduce.js | 414 var exception = false; variable 418 exception = true; 424 assertTrue(exception); 426 exception = false; 430 exception = true; 436 assertTrue(exception); 438 exception = false; 442 exception = true; 448 assertTrue(exception); 450 exception = false [all...] |
| /external/okhttp/okio/src/test/java/okio/ |
| MockSink.java | 46 IOException exception = callThrows.get(log.size() - 1); local 47 if (exception != null) throw exception;
|
| /external/smack/src/org/jivesoftware/smack/util/dns/ |
| HostAddress.java | 21 private Exception exception; field in class:HostAddress 66 public void setException(Exception e) { 67 this.exception = e; 101 if (exception == null) { 105 error = exception.getMessage(); 107 return toString() + " Exception: " + error;
|
| /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/ |
| Log.java | 54 public void exception(Throwable t, String format, Object... args) { method in class:Log
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
| InputMismatchExceptionTest.java | 35 InputMismatchException exception = new InputMismatchException(); local 36 assertNotNull(exception); 37 assertTrue(exception instanceof NoSuchElementException); 38 assertTrue(exception instanceof Serializable); 45 InputMismatchException exception = new InputMismatchException( local 47 assertNotNull(exception); 48 assertEquals(ERROR_MESSAGE, exception.getMessage()); 54 public void testSerializationSelf() throws Exception { 62 public void testSerializationCompatibility() throws Exception {
|
| /art/test/407-arrays/src/ |
| Main.java | 99 ArrayIndexOutOfBoundsException exception = null; local 103 exception = e; 106 assertNotNull(exception); 107 assertTrue(exception.toString().contains(Integer.toString(index))); 109 exception = null; 113 exception = e; 116 assertNotNull(exception); 117 assertTrue(exception.toString().contains(Integer.toString(index)));
|
| /development/ndk/sources/android/libportable/arch-mips/ |
| fenv.c | 25 int exception = flags & FE_ALL_EXCEPT_PORTABLE; local 27 // exception flags 28 if (exception & FE_INVALID_PORTABLE) 30 if (exception & FE_DIVBYZERO_PORTABLE) 32 if (exception & FE_OVERFLOW_PORTABLE) 34 if (exception & FE_UNDERFLOW_PORTABLE) 36 if (exception & FE_INEXACT_PORTABLE) 69 int exception = mipsflags & FE_ALL_EXCEPT; local 71 // exception flags 72 if (exception & FE_INVALID [all...] |
| /development/ndk/sources/android/libportable/arch-mips64/ |
| fenv.c | 24 int exception = flags & FE_ALL_EXCEPT_PORTABLE; local 26 // exception flags 27 if (exception & FE_INVALID_PORTABLE) 29 if (exception & FE_DIVBYZERO_PORTABLE) 31 if (exception & FE_OVERFLOW_PORTABLE) 33 if (exception & FE_UNDERFLOW_PORTABLE) 35 if (exception & FE_INEXACT_PORTABLE) 66 int exception = mips64flags & FE_ALL_EXCEPT; local 68 // exception flags 69 if (exception & FE_INVALID [all...] |
| /development/ndk/sources/android/libportable/arch-x86_64/ |
| fenv.c | 36 int exception = flag & FE_ALL_EXCEPT_PORTABLE; local 38 if (exception & FE_INVALID_PORTABLE) 40 if (exception & FE_DIVBYZERO_PORTABLE) 42 if (exception & FE_OVERFLOW_PORTABLE) 44 if (exception & FE_UNDERFLOW_PORTABLE) 46 if (exception & FE_INEXACT_PORTABLE) 80 int exception = x86_64flag & FE_ALL_EXCEPT; local 82 if (exception & FE_INVALID) 84 if (exception & FE_DIVBYZERO) 86 if (exception & FE_OVERFLOW [all...] |
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
| ExceptionWithLocationTest.java | 28 * JDWP Unit test for caught EXCEPTION event with LocationOnly modifier. 33 // Cache exception class ID. 37 * This testcase is for caught EXCEPTION event with LocationOnly 41 * The test verifies that requested EXCEPTION event occurs in the 47 runEventWithLocationTest(JDWPConstants.EventKind.EXCEPTION); 81 TaggedObject exception = eventException.getException(); local 82 assertEquals(JDWPConstants.Tag.OBJECT_TAG, exception.tag); 84 long thrownExceptionClassId = getObjectReferenceType(exception.objectID); 85 assertEquals("Received incorrect exception",
|
| /external/apache-xml/src/main/java/org/apache/xpath/ |
| XPathException.java | 28 * This class implements an exception object that all 63 /** A nested exception. 65 protected Exception m_exception; 140 * the error originated from, and another exception 141 * that caused this exception. 144 * @param e The exception that caused this exception. 146 public XPathException(String message, Node styleNode, Exception e) 157 * an error message, and another exception 158 * that caused this exception 188 Throwable exception = m_exception; local 221 Throwable exception = m_exception; local 281 Throwable exception = m_exception; local [all...] |
| /external/chromium_org/third_party/WebKit/Source/modules/screen_orientation/ |
| ScreenOrientation.cpp | 155 RefPtrWillBeRawPtr<DOMException> exception = DOMException::create(InvalidStateError, "The object is no longer associated to a document."); local 156 resolver->reject(exception); 161 RefPtrWillBeRawPtr<DOMException> exception = DOMException::create(SecurityError, "The document is sandboxed and lacks the 'allow-orientation-lock' flag."); local 162 resolver->reject(exception);
|
| /external/chromium_org/tools/grit/grit/gather/ |
| chrome_scaled_image.py | 12 from grit import exception namespace 97 raise exception.MissingMandatoryAttribute( 119 raise exception.FileNotFound(
|
| chrome_scaled_image_unittest.py | 14 from grit import exception namespace 138 self.assertRaises(exception.FileNotFound, 165 self.assertRaises(exception.FileNotFound, _RunBuildTest, *args) 168 self.assertRaises(exception.FileNotFound,
|
| rc.py | 12 from grit import exception namespace 93 raise exception.SectionNotFound('%s in file %s' % (self.extkey, self.rc_file)) 309 raise exception.SectionNotFound('%s in file %s' % (self.extkey, self.rc_file))
|
| /external/chromium_org/tools/grit/grit/node/ |
| misc_unittest.py | 18 import grit.exception namespace 29 self.fail('Expected parsing exception because of duplicate names.') 30 except grit.exception.Parsing: 288 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 300 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 313 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 322 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 336 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 349 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml) 362 self.assertRaises(grit.exception.UnexpectedChild, grd_reader.Parse, xml [all...] |
| /external/chromium_org/v8/test/mjsunit/harmony/ |
| debug-blockscopes.js | 40 var exception; variable 55 exception = e; 68 exception = null; 76 assertNull(exception, test_name);
|
| /external/droiddriver/src/com/google/android/droiddriver/instrumentation/ |
| InstrumentationDriver.java | 63 Throwable exception; field in class:InstrumentationDriver.FindRootViewRunnable 81 exception = e; 91 if (findRootViewRunnable.exception != null) { 92 throw new DroidDriverException(findRootViewRunnable.exception);
|
| /external/droiddriver/src/com/google/android/droiddriver/scroll/ |
| StepBasedScroller.java | 100 ElementNotFoundException exception = new ElementNotFoundException(itemFinder); local 106 Logs.logfmt(Log.WARN, exception, "Scrolled %s %d times; ScrollStepStrategy=%s", 115 throw exception;
|