Home
last modified time | relevance | path

Searched refs:Exception (Results 1 – 25 of 7474) sorted by relevance

12345678910>>...299

/external/smali/smalidea/src/test/java/org/jf/smalidea/
DParserTest.java44 public void testEmpty() throws Exception { doTest(true); } in testEmpty()
45 public void testFieldAnnotations() throws Exception { doTest(true); } in testFieldAnnotations()
46 public void testInvalidAnnotation() throws Exception { doTest(true); } in testInvalidAnnotation()
47 public void testInvalidClassDirective() throws Exception { doTest(true); } in testInvalidClassDirective()
48 public void testInvalidClassDirective2() throws Exception { doTest(true); } in testInvalidClassDirective2()
49 public void testInvalidClassDirective3() throws Exception { doTest(true); } in testInvalidClassDirective3()
50 public void testInvalidEnumLiteral() throws Exception { doTest(true); } in testInvalidEnumLiteral()
51 public void testInvalidField() throws Exception { doTest(true); } in testInvalidField()
52 public void testInvalidField2() throws Exception { doTest(true); } in testInvalidField2()
53 public void testInvalidField3() throws Exception { doTest(true); } in testInvalidField3()
[all …]
/external/javasqlite/src/main/java/SQLite/
DStmt.java32 public native boolean prepare() throws SQLite.Exception; in prepare()
69 public native boolean step() throws SQLite.Exception; in step()
75 public native void close() throws SQLite.Exception; in close()
82 public native void reset() throws SQLite.Exception; in reset()
88 public native void clear_bindings() throws SQLite.Exception; in clear_bindings()
96 public native void bind(int pos, int value) throws SQLite.Exception; in bind()
104 public native void bind(int pos, long value) throws SQLite.Exception; in bind()
112 public native void bind(int pos, double value) throws SQLite.Exception; in bind()
120 public native void bind(int pos, byte[] value) throws SQLite.Exception; in bind()
128 public native void bind(int pos, String value) throws SQLite.Exception; in bind()
[all …]
DDatabase.java28 public void open(String filename, int mode) throws SQLite.Exception { in open()
38 } catch (SQLite.Exception se) { in open()
57 throws SQLite.Exception { in open()
67 } catch (SQLite.Exception se) { in open()
87 throws SQLite.Exception { in open()
97 } catch (SQLite.Exception se) { in open()
112 throws SQLite.Exception; in _open()
120 throws SQLite.Exception; in _open4()
129 public void open_aux_file(String filename) throws SQLite.Exception { in open_aux_file()
136 throws SQLite.Exception; in _open_aux_file()
[all …]
/external/sfntly/cpp/src/sfntly/port/
Dexception_type.h30 class Exception : public std::exception {
32 Exception() : what_("Unknown exception") {} in Exception() function
33 explicit Exception(const char* message) throw() { SetMessage(message); } in Exception() function
34 virtual ~Exception() throw() {} in ~Exception()
48 class IndexOutOfBoundException : public Exception {
50 IndexOutOfBoundException() throw() : Exception("Index out of bound") {} in IndexOutOfBoundException()
52 : Exception(message) {} in IndexOutOfBoundException()
65 class IOException : public Exception {
67 IOException() throw() : Exception("I/O exception") {} in IOException()
68 explicit IOException(const char* message) throw() : Exception(message) {} in IOException()
[all …]
/external/nist-pkits/src/libcore/java/security/cert/
DX509CertificateNistPkitsTest.java88 throws Exception { in getCertificate()
103 throws Exception { in getCertificates()
113 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { in getCRL()
127 private final X509CRL[] getCRLs(CertificateFactory f, String[] names) throws Exception { in getCRLs()
137 private CertPath getTestPath(CertificateFactory f, String[] pathCerts) throws Exception { in getTestPath()
143 String[] pathCerts, String[] pathCRLs) throws Exception { in getTestPathParams()
171 throws Exception, NoSuchAlgorithmException, InvalidAlgorithmParameterException { in assertInvalidPath()
176 String[] crls) throws Exception, NoSuchAlgorithmException, in assertInvalidPath()
193 throws Exception, NoSuchAlgorithmException, CertPathValidatorException, in assertValidPath()
199 throws Exception, NoSuchAlgorithmException, CertPathValidatorException, in assertValidPath()
[all …]
/external/javassist/src/test/test4/
DAfterTest.java18 public int test2() throws Exception { return m2(1); } in test2()
20 public int m2(int i) throws Exception { in m2()
22 throw new Exception(); in m2()
32 public int test3() throws Exception { return m3(-10); } in test3()
34 public int m3(int i) throws Exception { in m3()
36 throw new Exception(); in m3()
43 throw new Exception(); in m3()
46 public int test4() throws Exception { in test4()
50 catch (Exception e) { in test4()
55 public int m4(int i) throws Exception { in m4()
[all …]
/external/antlr/tool/src/test/java/org/antlr/test/
DTestAutoAST.java38 @Test public void testTokenList() throws Exception { in testTokenList()
51 @Test public void testTokenListInSingleAltBlock() throws Exception { in testTokenListInSingleAltBlock()
64 @Test public void testSimpleRootAtOuterLevel() throws Exception { in testSimpleRootAtOuterLevel()
77 @Test public void testSimpleRootAtOuterLevelReverse() throws Exception { in testSimpleRootAtOuterLevelReverse()
90 @Test public void testBang() throws Exception { in testBang()
103 @Test public void testOptionalThenRoot() throws Exception { in testOptionalThenRoot()
116 @Test public void testLabeledStringRoot() throws Exception { in testLabeledStringRoot()
129 @Test public void testWildcard() throws Exception { in testWildcard()
142 @Test public void testWildcardRoot() throws Exception { in testWildcardRoot()
155 @Test public void testWildcardRootWithLabel() throws Exception { in testWildcardRootWithLabel()
[all …]
DTestNFAConstruction.java43 @Test public void testA() throws Exception { in testA()
56 @Test public void testAB() throws Exception { in testAB()
70 @Test public void testAorB() throws Exception { in testAorB()
93 @Test public void testRangeOrRange() throws Exception { in testRangeOrRange()
115 @Test public void testRange() throws Exception { in testRange()
129 @Test public void testCharSetInParser() throws Exception { in testCharSetInParser()
143 @Test public void testABorCD() throws Exception { in testABorCD()
163 @Test public void testbA() throws Exception { in testbA()
183 @Test public void testbA_bC() throws Exception { in testbA_bC()
209 @Test public void testAorEpsilon() throws Exception { in testAorEpsilon()
[all …]
DTestRewriteAST.java43 @Test public void testDelete() throws Exception { in testDelete()
56 @Test public void testSingleToken() throws Exception { in testSingleToken()
69 @Test public void testSingleTokenToNewNode() throws Exception { in testSingleTokenToNewNode()
82 @Test public void testSingleTokenToNewNodeRoot() throws Exception { in testSingleTokenToNewNodeRoot()
95 @Test public void testSingleTokenToNewNode2() throws Exception { in testSingleTokenToNewNode2()
109 @Test public void testSingleCharLiteral() throws Exception { in testSingleCharLiteral()
122 @Test public void testSingleStringLiteral() throws Exception { in testSingleStringLiteral()
135 @Test public void testSingleRule() throws Exception { in testSingleRule()
149 @Test public void testReorderTokens() throws Exception { in testReorderTokens()
162 @Test public void testReorderTokenAndRule() throws Exception { in testReorderTokenAndRule()
[all …]
DTestTreeGrammarRewriteAST.java48 @Test public void testFlatList() throws Exception { in testFlatList()
68 @Test public void testSimpleTree() throws Exception { in testSimpleTree()
88 @Test public void testNonImaginaryWithCtor() throws Exception { in testNonImaginaryWithCtor()
107 @Test public void testCombinedRewriteAndAuto() throws Exception { in testCombinedRewriteAndAuto()
131 @Test public void testAvoidDup() throws Exception { in testAvoidDup()
151 @Test public void testLoop() throws Exception { in testLoop()
171 @Test public void testAutoDup() throws Exception { in testAutoDup()
191 @Test public void testAutoDupRule() throws Exception { in testAutoDupRule()
212 @Test public void testAutoWildcard() throws Exception { in testAutoWildcard()
232 @Test public void testNoWildcardAsRootError() throws Exception { in testNoWildcardAsRootError()
[all …]
DTestSets.java42 @Test public void testSeqDoesNotBecomeSet() throws Exception { in testSeqDoesNotBecomeSet()
56 @Test public void testParserSet() throws Exception { in testParserSet()
65 @Test public void testParserNotSet() throws Exception { in testParserNotSet()
74 @Test public void testParserNotToken() throws Exception { in testParserNotToken()
83 @Test public void testParserNotTokenWithLabel() throws Exception { in testParserNotTokenWithLabel()
92 @Test public void testRuleAsSet() throws Exception { in testRuleAsSet()
101 @Test public void testRuleAsSetAST() throws Exception { in testRuleAsSetAST()
111 @Test public void testNotChar() throws Exception { in testNotChar()
121 @Test public void testOptionalSingleElement() throws Exception { in testOptionalSingleElement()
131 @Test public void testOptionalLexerSingleElement() throws Exception { in testOptionalLexerSingleElement()
[all …]
DTestHeteroAST.java40 @Test public void testToken() throws Exception { in testToken()
57 @Test public void testTokenCommonTree() throws Exception { in testTokenCommonTree()
69 @Test public void testTokenWithQualifiedType() throws Exception { in testTokenWithQualifiedType()
86 @Test public void testNamedType() throws Exception { in testNamedType()
104 @Test public void testTokenWithLabel() throws Exception { in testTokenWithLabel()
121 @Test public void testTokenWithListLabel() throws Exception { in testTokenWithListLabel()
138 @Test public void testTokenRoot() throws Exception { in testTokenRoot()
155 @Test public void testTokenRootWithListLabel() throws Exception { in testTokenRootWithListLabel()
172 @Test public void testString() throws Exception { in testString()
189 @Test public void testStringRoot() throws Exception { in testStringRoot()
[all …]
DTestASTConstruction.java41 @Test public void testA() throws Exception { in testA()
51 @Test public void testEmptyAlt() throws Exception { in testEmptyAlt()
61 @Test public void testNakeRulePlusInLexer() throws Exception { in testNakeRulePlusInLexer()
72 @Test public void testRulePlus() throws Exception { in testRulePlus()
83 @Test public void testNakedRulePlus() throws Exception { in testNakedRulePlus()
94 @Test public void testRuleOptional() throws Exception { in testRuleOptional()
105 @Test public void testNakedRuleOptional() throws Exception { in testNakedRuleOptional()
116 @Test public void testRuleStar() throws Exception { in testRuleStar()
127 @Test public void testNakedRuleStar() throws Exception { in testNakedRuleStar()
138 @Test public void testCharStar() throws Exception { in testCharStar()
[all …]
DTestCharDFAConversion.java48 @Test public void testSimpleRangeVersusChar() throws Exception { in testSimpleRangeVersusChar()
61 @Test public void testRangeWithDisjointSet() throws Exception { in testRangeWithDisjointSet()
78 @Test public void testDisjointSetCollidingWithTwoRanges() throws Exception { in testDisjointSetCollidingWithTwoRanges()
95 @Test public void testDisjointSetCollidingWithTwoRangesCharsFirst() throws Exception { in testDisjointSetCollidingWithTwoRangesCharsFirst()
111 @Test public void testDisjointSetCollidingWithTwoRangesAsSeparateAlts() throws Exception { in testDisjointSetCollidingWithTwoRangesAsSeparateAlts()
137 @Test public void testKeywordVersusID() throws Exception { in testKeywordVersusID()
156 @Test public void testIdenticalRules() throws Exception { in testIdenticalRules()
180 @Test public void testAdjacentNotCharLoops() throws Exception { in testAdjacentNotCharLoops()
195 @Test public void testNonAdjacentNotCharLoops() throws Exception { in testNonAdjacentNotCharLoops()
210 @Test public void testLoopsWithOptimizedOutExitBranches() throws Exception { in testLoopsWithOptimizedOutExitBranches()
[all …]
/external/owasp/sanitizer/src/tests/org/owasp/html/
DHtmlSanitizerTest.java41 public static final void testEmpty() throws Exception { in testEmpty()
47 public static final void testSimpleText() throws Exception { in testSimpleText()
52 public static final void testEntities1() throws Exception { in testEntities1()
57 public static final void testEntities2() throws Exception { in testEntities2()
63 public static final void testUnknownTagsRemoved() throws Exception { in testUnknownTagsRemoved()
69 public static final void testUnsafeTagsRemoved() throws Exception { in testUnsafeTagsRemoved()
76 public static final void testUnsafeAttributesRemoved() throws Exception { in testUnsafeAttributesRemoved()
83 public static final void testCruftEscaped() throws Exception { in testCruftEscaped()
90 public static final void testTagCruftRemoved() throws Exception { in testTagCruftRemoved()
96 public static final void testIdsAndClassesPrefixed() throws Exception { in testIdsAndClassesPrefixed()
[all …]
/external/ImageMagick/Magick++/lib/Magick++/
DException.h22 class MagickPPExport Exception: public std::exception
27 Exception(const std::string& what_);
30 Exception(const std::string& what_, Exception* nested_);
33 Exception(const Exception& original_);
36 virtual ~Exception() throw();
39 Exception& operator=(const Exception& original_);
45 const Exception* nested() const throw();
53 void nested(Exception* nested_) throw();
57 Exception* _nested;
64 class MagickPPExport Error: public Exception
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattClientFacade.java78 public BluetoothAdapter call() throws Exception { in GattClientFacade()
116 throws Exception { in gattClientConnectGatt()
127 throw new Exception("Invalid index input:" + Integer.toString(index)); in gattClientConnectGatt()
140 throws Exception { in gattClientDiscoverServices()
144 throw new Exception("Invalid index input:" + Integer.toString(index)); in gattClientDiscoverServices()
158 @RpcParameter(name = "uuid") String uuid) throws Exception { in gattClientDiscoverServiceByUuid()
165 throw new Exception("Invalid index input:" + Integer.toString(index)); in gattClientDiscoverServiceByUuid()
179 @RpcParameter(name = "index") Integer index) throws Exception { in gattClientGetServices()
183 throw new Exception("Invalid index input:" + Integer.toString(index)); in gattClientGetServices()
195 throws Exception { in gattClientAbortReliableWrite()
[all …]
DGattServerFacade.java72 public BluetoothAdapter call() throws Exception { in GattServerFacade()
96 throws Exception { in gattServerOpenGattServer()
106 throw new Exception("Invalid index input:" + Integer.toString(index)); in gattServerOpenGattServer()
119 @RpcParameter(name = "serviceIndex") Integer serviceIndex) throws Exception { in gattServerAddService()
124 throw new Exception("Invalid serviceIndex input:" + Integer.toString(serviceIndex)); in gattServerAddService()
127 throw new Exception("Invalid index input:" + Integer.toString(index)); in gattServerAddService()
139 @RpcParameter(name = "index") Integer index) throws Exception { in gattServerClearServices()
143 throw new Exception("Invalid index input:" + Integer.toString(index)); in gattServerClearServices()
155 @RpcParameter(name = "gattServerIndex") Integer gattServerIndex) throws Exception { in gattServerGetConnectedDevices()
157 throw new Exception("Invalid gattServerIndex: " + Integer.toString(gattServerIndex)); in gattServerGetConnectedDevices()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DSQLiteCursorTest.java23 public void setUp() throws Exception { in setUp()
40 public void tearDown() throws Exception { in tearDown()
45 public void testGetColumnNames() throws Exception { in testGetColumnNames()
52 public void testGetColumnNamesEmpty() throws Exception { in testGetColumnNamesEmpty()
62 public void testGetColumnIndex() throws Exception { in testGetColumnIndex()
68 public void testGetColumnIndexNotFound() throws Exception { in testGetColumnIndexNotFound()
73 public void testGetColumnIndexEmpty() throws Exception { in testGetColumnIndexEmpty()
81 public void testGetColumnIndexOrThrow() throws Exception { in testGetColumnIndexOrThrow()
87 public void testGetColumnIndexOrThrowNotFound() throws Exception { in testGetColumnIndexOrThrowNotFound()
92 public void testGetColumnIndexOrThrowEmpty() throws Exception { in testGetColumnIndexOrThrowEmpty()
[all …]
/external/llvm-project/llvm/unittests/ObjectYAML/
DMinidumpYAMLTest.cpp172 const minidump::Exception &Exception = Stream.ExceptionRecord; in TEST() local
173 EXPECT_EQ(0x23u, Exception.ExceptionCode); in TEST()
174 EXPECT_EQ(0x5u, Exception.ExceptionFlags); in TEST()
175 EXPECT_EQ(0x0102030405060708u, Exception.ExceptionRecord); in TEST()
176 EXPECT_EQ(0x0a0b0c0d0e0f1011u, Exception.ExceptionAddress); in TEST()
177 EXPECT_EQ(2u, Exception.NumberParameters); in TEST()
178 EXPECT_EQ(0x22u, Exception.ExceptionInformation[0]); in TEST()
179 EXPECT_EQ(0x24u, Exception.ExceptionInformation[1]); in TEST()
215 const minidump::Exception &Exception = Stream.ExceptionRecord; in TEST() local
216 EXPECT_EQ(0x23u, Exception.ExceptionCode); in TEST()
[all …]
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DNativeSslSessionTest.java415 public void toSession_EmptyArray_Invalid_Failure() throws Exception { in toSession_EmptyArray_Invalid_Failure()
420 public void toSession_Type1_Valid_Success() throws Exception { in toSession_Type1_Valid_Success()
425 public void toSession_Type2_Valid_Success() throws Exception { in toSession_Type2_Valid_Success()
430 public void toSession_Type3_Valid_Success() throws Exception { in toSession_Type3_Valid_Success()
439 public void toSession_Type3_Truncated_Failure() throws Exception { in toSession_Type3_Truncated_Failure()
448 byte[] data, byte[] expectedTrailingBytesAfterReserialization) throws Exception { in check_reserializableFromByteArray_roundTrip()
471 public void toSession_UnknownType_Failure() throws Exception { in toSession_UnknownType_Failure()
476 public void toSession_CertificatesCountTooLarge_Failure() throws Exception { in toSession_CertificatesCountTooLarge_Failure()
481 public void toSession_CertificatesCountNegative_Failure() throws Exception { in toSession_CertificatesCountNegative_Failure()
486 public void toSession_CertificateSizeNegative_Failure() throws Exception { in toSession_CertificateSizeNegative_Failure()
[all …]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeSslSessionTest.java411 public void toSession_EmptyArray_Invalid_Failure() throws Exception { in toSession_EmptyArray_Invalid_Failure()
416 public void toSession_Type1_Valid_Success() throws Exception { in toSession_Type1_Valid_Success()
421 public void toSession_Type2_Valid_Success() throws Exception { in toSession_Type2_Valid_Success()
426 public void toSession_Type3_Valid_Success() throws Exception { in toSession_Type3_Valid_Success()
435 public void toSession_Type3_Truncated_Failure() throws Exception { in toSession_Type3_Truncated_Failure()
444 byte[] data, byte[] expectedTrailingBytesAfterReserialization) throws Exception { in check_reserializableFromByteArray_roundTrip()
467 public void toSession_UnknownType_Failure() throws Exception { in toSession_UnknownType_Failure()
472 public void toSession_CertificatesCountTooLarge_Failure() throws Exception { in toSession_CertificatesCountTooLarge_Failure()
477 public void toSession_CertificatesCountNegative_Failure() throws Exception { in toSession_CertificatesCountNegative_Failure()
482 public void toSession_CertificateSizeNegative_Failure() throws Exception { in toSession_CertificateSizeNegative_Failure()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DAttributeSetBuilderTest.java28 public void getAttributeResourceValue_shouldReturnTheResourceValue() throws Exception { in getAttributeResourceValue_shouldReturnTheResourceValue()
38 …id getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue() throws Exception { in getAttributeResourceValueWithLeadingWhitespace_shouldReturnTheResourceValue()
48 …void getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId() throws Exception { in getSystemAttributeResourceValue_shouldReturnDefaultValueForNullResourceId()
58 …SystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId() throws Exception { in getSystemAttributeResourceValue_shouldReturnDefaultValueForNonMatchingNamespaceId()
68 public void shouldCopeWithDefiningLocalIds() throws Exception { in shouldCopeWithDefiningLocalIds()
78 …blic void getAttributeResourceValue_withNamespace_shouldReturnTheResourceValue() throws Exception { in getAttributeResourceValue_withNamespace_shouldReturnTheResourceValue()
88 …lic void getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull() throws Exception { in getAttributeResourceValue_shouldReturnDefaultValueWhenAttributeIsNull()
98 …c void getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet() throws Exception { in getAttributeResourceValue_shouldReturnDefaultValueWhenNotInAttributeSet()
107 public void getAttributeBooleanValue_shouldGetBooleanValuesFromAttributes() throws Exception { in getAttributeBooleanValue_shouldGetBooleanValuesFromAttributes()
117 …id getAttributeBooleanValue_withNamespace_shouldGetBooleanValuesFromAttributes() throws Exception { in getAttributeBooleanValue_withNamespace_shouldGetBooleanValuesFromAttributes()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DHttpUrlTest.java36 @Test public void parseTrimsAsciiWhitespace() throws Exception { in parseTrimsAsciiWhitespace()
46 @Test public void parseHostAsciiNonPrintable() throws Exception { in parseHostAsciiNonPrintable()
51 @Test public void parseDoesNotTrimOtherWhitespaceCharacters() throws Exception { in parseDoesNotTrimOtherWhitespaceCharacters()
85 @Test public void scheme() throws Exception { in scheme()
103 @Test public void parseNoScheme() throws Exception { in parseNoScheme()
111 @Test public void resolveNoScheme() throws Exception { in resolveNoScheme()
122 @Test public void resolveUnsupportedScheme() throws Exception { in resolveUnsupportedScheme()
130 @Test public void resolveSchemeLikePath() throws Exception { in resolveSchemeLikePath()
138 @Test public void parseAuthoritySlashCountDoesntMatter() throws Exception { in parseAuthoritySlashCountDoesntMatter()
156 @Test public void resolveAuthoritySlashCountDoesntMatterWithDifferentScheme() throws Exception { in resolveAuthoritySlashCountDoesntMatterWithDifferentScheme()
[all …]
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/util/
DAssertTest.java46 public void execute() throws Exception; in execute()
90 public void testAssertTrue() throws Exception { in testAssertTrue()
95 public void execute() throws Exception { in testAssertTrue()
104 public void testAssertFalse() throws Exception { in testAssertFalse()
109 public void execute() throws Exception { in testAssertFalse()
118 public void testAssertNotNullOrEmpty_Collection() throws Exception { in testAssertNotNullOrEmpty_Collection()
124 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
130 public void execute() throws Exception { in testAssertNotNullOrEmpty_Collection()
139 public void testAssertNotNullOrEmpty_Map() throws Exception { in testAssertNotNullOrEmpty_Map()
145 public void execute() throws Exception { in testAssertNotNullOrEmpty_Map()
[all …]

12345678910>>...299