Home
last modified time | relevance | path

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

12345678910>>...117

/external/chromium_org/third_party/closure_compiler/runner/test/com/google/javascript/jscomp/
DChromePassTest.java23 public void testCrDefineCreatesObjectsForQualifiedName() throws Exception { in testCrDefineCreatesObjectsForQualifiedName()
36 public void testCrDefineAssignsExportedFunctionByQualifiedName() throws Exception { in testCrDefineAssignsExportedFunctionByQualifiedName()
57 public void testCrDefineCopiesJSDocForExportedFunction() throws Exception { in testCrDefineCopiesJSDocForExportedFunction()
79 public void testCrDefineReassignsExportedVarByQualifiedName() throws Exception { in testCrDefineReassignsExportedVarByQualifiedName()
100 public void testCrDefineExportsVarsWithoutAssignment() throws Exception { in testCrDefineExportsVarsWithoutAssignment()
117 public void testCrDefineExportsVarsWithoutAssignmentWithJSDoc() throws Exception { in testCrDefineExportsVarsWithoutAssignmentWithJSDoc()
136 public void testCrDefineCopiesJSDocForExportedVariable() throws Exception { in testCrDefineCopiesJSDocForExportedVariable()
159 public void testCrDefineDoesNothingWithNonExportedFunction() throws Exception { in testCrDefineDoesNothingWithNonExportedFunction()
176 public void testCrDefineDoesNothingWithNonExportedVar() throws Exception { in testCrDefineDoesNothingWithNonExportedVar()
195 public void testCrDefineChangesReferenceToExportedFunction() throws Exception { in testCrDefineChangesReferenceToExportedFunction()
[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 …]
DBackup.java19 protected void finish() throws SQLite.Exception { in finish()
33 } catch (SQLite.Exception e) { in finalize()
38 protected native void _finalize() throws SQLite.Exception; in _finalize()
47 public boolean step(int n) throws SQLite.Exception { in step()
53 private native boolean _step(int n) throws SQLite.Exception; in _step()
59 public void backup() throws SQLite.Exception { in backup()
69 public int remaining() throws SQLite.Exception { in remaining()
75 private native int _remaining() throws SQLite.Exception; in _remaining()
81 public int pagecount() throws SQLite.Exception { in pagecount()
87 private native int _pagecount() throws SQLite.Exception; in _pagecount()
/external/nist-pkits/src/libcore/java/security/cert/
DX509CertificateNistPkitsTest.java70 throws Exception { in getCertificate()
85 throws Exception { in getCertificates()
95 private final X509CRL getCRL(CertificateFactory f, String name) throws Exception { in getCRL()
109 private final X509CRL[] getCRLs(CertificateFactory f, String[] names) throws Exception { in getCRLs()
119 private CertPath getTestPath(CertificateFactory f, String[] pathCerts) throws Exception { in getTestPath()
125 String[] pathCerts, String[] pathCRLs) throws Exception { in getTestPathParams()
148 throws Exception, NoSuchAlgorithmException, InvalidAlgorithmParameterException { in assertInvalidPath()
164 throws Exception, NoSuchAlgorithmException, CertPathValidatorException, in assertValidPath()
178 public void testSignatureVerification_ValidSignaturesTest1() throws Exception { in testSignatureVerification_ValidSignaturesTest1()
195 public void testSignatureVerification_InvalidCASignatureTest2() throws Exception { in testSignatureVerification_InvalidCASignatureTest2()
[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/chromium_org/third_party/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/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestAutoAST.java36 @Test public void testTokenList() throws Exception { in testTokenList()
49 @Test public void testTokenListInSingleAltBlock() throws Exception { in testTokenListInSingleAltBlock()
62 @Test public void testSimpleRootAtOuterLevel() throws Exception { in testSimpleRootAtOuterLevel()
75 @Test public void testSimpleRootAtOuterLevelReverse() throws Exception { in testSimpleRootAtOuterLevelReverse()
88 @Test public void testBang() throws Exception { in testBang()
101 @Test public void testOptionalThenRoot() throws Exception { in testOptionalThenRoot()
114 @Test public void testLabeledStringRoot() throws Exception { in testLabeledStringRoot()
127 @Test public void testWildcard() throws Exception { in testWildcard()
140 @Test public void testWildcardRoot() throws Exception { in testWildcardRoot()
153 @Test public void testWildcardRootWithLabel() throws Exception { in testWildcardRootWithLabel()
[all …]
DTestNFAConstruction.java41 @Test public void testA() throws Exception { in testA()
54 @Test public void testAB() throws Exception { in testAB()
68 @Test public void testAorB() throws Exception { in testAorB()
91 @Test public void testRangeOrRange() throws Exception { in testRangeOrRange()
113 @Test public void testRange() throws Exception { in testRange()
127 @Test public void testCharSetInParser() throws Exception { in testCharSetInParser()
141 @Test public void testABorCD() throws Exception { in testABorCD()
161 @Test public void testbA() throws Exception { in testbA()
181 @Test public void testbA_bC() throws Exception { in testbA_bC()
207 @Test public void testAorEpsilon() throws Exception { in testAorEpsilon()
[all …]
DTestRewriteAST.java41 @Test public void testDelete() throws Exception { in testDelete()
54 @Test public void testSingleToken() throws Exception { in testSingleToken()
67 @Test public void testSingleTokenToNewNode() throws Exception { in testSingleTokenToNewNode()
80 @Test public void testSingleTokenToNewNodeRoot() throws Exception { in testSingleTokenToNewNodeRoot()
93 @Test public void testSingleTokenToNewNode2() throws Exception { in testSingleTokenToNewNode2()
107 @Test public void testSingleCharLiteral() throws Exception { in testSingleCharLiteral()
120 @Test public void testSingleStringLiteral() throws Exception { in testSingleStringLiteral()
133 @Test public void testSingleRule() throws Exception { in testSingleRule()
147 @Test public void testReorderTokens() throws Exception { in testReorderTokens()
160 @Test public void testReorderTokenAndRule() throws Exception { in testReorderTokenAndRule()
[all …]
DTestTreeGrammarRewriteAST.java47 @Test public void testFlatList() throws Exception { in testFlatList()
67 @Test public void testSimpleTree() throws Exception { in testSimpleTree()
87 @Test public void testNonImaginaryWithCtor() throws Exception { in testNonImaginaryWithCtor()
106 @Test public void testCombinedRewriteAndAuto() throws Exception { in testCombinedRewriteAndAuto()
130 @Test public void testAvoidDup() throws Exception { in testAvoidDup()
150 @Test public void testLoop() throws Exception { in testLoop()
170 @Test public void testAutoDup() throws Exception { in testAutoDup()
190 @Test public void testAutoDupRule() throws Exception { in testAutoDupRule()
211 @Test public void testAutoWildcard() throws Exception { in testAutoWildcard()
231 @Test public void testNoWildcardAsRootError() throws Exception { in testNoWildcardAsRootError()
[all …]
DTestHeteroAST.java38 @Test public void testToken() throws Exception { in testToken()
55 @Test public void testTokenCommonTree() throws Exception { in testTokenCommonTree()
67 @Test public void testTokenWithQualifiedType() throws Exception { in testTokenWithQualifiedType()
84 @Test public void testNamedType() throws Exception { in testNamedType()
102 @Test public void testTokenWithLabel() throws Exception { in testTokenWithLabel()
119 @Test public void testTokenWithListLabel() throws Exception { in testTokenWithListLabel()
136 @Test public void testTokenRoot() throws Exception { in testTokenRoot()
153 @Test public void testTokenRootWithListLabel() throws Exception { in testTokenRootWithListLabel()
170 @Test public void testString() throws Exception { in testString()
187 @Test public void testStringRoot() throws Exception { in testStringRoot()
[all …]
DTestSets.java40 @Test public void testSeqDoesNotBecomeSet() throws Exception { in testSeqDoesNotBecomeSet()
54 @Test public void testParserSet() throws Exception { in testParserSet()
63 @Test public void testParserNotSet() throws Exception { in testParserNotSet()
72 @Test public void testParserNotToken() throws Exception { in testParserNotToken()
81 @Test public void testParserNotTokenWithLabel() throws Exception { in testParserNotTokenWithLabel()
90 @Test public void testRuleAsSet() throws Exception { in testRuleAsSet()
99 @Test public void testRuleAsSetAST() throws Exception { in testRuleAsSetAST()
109 @Test public void testNotChar() throws Exception { in testNotChar()
119 @Test public void testOptionalSingleElement() throws Exception { in testOptionalSingleElement()
129 @Test public void testOptionalLexerSingleElement() throws Exception { in testOptionalLexerSingleElement()
[all …]
DTestASTConstruction.java39 @Test public void testA() throws Exception { in testA()
49 @Test public void testEmptyAlt() throws Exception { in testEmptyAlt()
59 @Test public void testNakeRulePlusInLexer() throws Exception { in testNakeRulePlusInLexer()
70 @Test public void testRulePlus() throws Exception { in testRulePlus()
81 @Test public void testNakedRulePlus() throws Exception { in testNakedRulePlus()
92 @Test public void testRuleOptional() throws Exception { in testRuleOptional()
103 @Test public void testNakedRuleOptional() throws Exception { in testNakedRuleOptional()
114 @Test public void testRuleStar() throws Exception { in testRuleStar()
125 @Test public void testNakedRuleStar() throws Exception { in testNakedRuleStar()
136 @Test public void testCharStar() throws Exception { in testCharStar()
[all …]
DTestSemanticPredicateEvaluation.java33 @Test public void testSimpleCyclicDFAWithPredicate() throws Exception { in testSimpleCyclicDFAWithPredicate()
44 @Test public void testSimpleCyclicDFAWithInstanceVarPredicate() throws Exception { in testSimpleCyclicDFAWithInstanceVarPredicate()
56 @Test public void testPredicateValidation() throws Exception { in testPredicateValidation()
72 @Test public void testLexerPreds() throws Exception { in testLexerPreds()
85 @Test public void testLexerPreds2() throws Exception { in testLexerPreds2()
98 @Test public void testLexerPredInExitBranch() throws Exception { in testLexerPredInExitBranch()
112 @Test public void testLexerPredInExitBranch2() throws Exception { in testLexerPredInExitBranch2()
124 @Test public void testLexerPredInExitBranch3() throws Exception { in testLexerPredInExitBranch3()
136 @Test public void testLexerPredInExitBranch4() throws Exception { in testLexerPredInExitBranch4()
147 @Test public void testLexerPredsInCyclicDFA() throws Exception { in testLexerPredsInCyclicDFA()
[all …]
DTestCharDFAConversion.java46 @Test public void testSimpleRangeVersusChar() throws Exception { in testSimpleRangeVersusChar()
59 @Test public void testRangeWithDisjointSet() throws Exception { in testRangeWithDisjointSet()
76 @Test public void testDisjointSetCollidingWithTwoRanges() throws Exception { in testDisjointSetCollidingWithTwoRanges()
93 @Test public void testDisjointSetCollidingWithTwoRangesCharsFirst() throws Exception { in testDisjointSetCollidingWithTwoRangesCharsFirst()
109 @Test public void testDisjointSetCollidingWithTwoRangesAsSeparateAlts() throws Exception { in testDisjointSetCollidingWithTwoRangesAsSeparateAlts()
135 @Test public void testKeywordVersusID() throws Exception { in testKeywordVersusID()
154 @Test public void testIdenticalRules() throws Exception { in testIdenticalRules()
178 @Test public void testAdjacentNotCharLoops() throws Exception { in testAdjacentNotCharLoops()
193 @Test public void testNonAdjacentNotCharLoops() throws Exception { in testNonAdjacentNotCharLoops()
208 @Test public void testLoopsWithOptimizedOutExitBranches() throws Exception { in testLoopsWithOptimizedOutExitBranches()
[all …]
DTestSemanticPredicates.java48 @Test public void testPredsButSyntaxResolves() throws Exception { in testPredsButSyntaxResolves()
58 @Test public void testLL_1_Pred() throws Exception { in testLL_1_Pred()
69 @Test public void testLL_1_Pred_forced_k_1() throws Exception { in testLL_1_Pred_forced_k_1()
81 @Test public void testLL_2_Pred() throws Exception { in testLL_2_Pred()
93 @Test public void testPredicatedLoop() throws Exception { in testPredicatedLoop()
105 @Test public void testPredicatedToStayInLoop() throws Exception { in testPredicatedToStayInLoop()
116 @Test public void testAndPredicates() throws Exception { in testAndPredicates()
128 public void testOrPredicates() throws Exception { in testOrPredicates()
140 @Test public void testIgnoresHoistingDepthGreaterThanZero() throws Exception { in testIgnoresHoistingDepthGreaterThanZero()
150 @Test public void testIgnoresPredsHiddenByActions() throws Exception { in testIgnoresPredsHiddenByActions()
[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 …]
DHtmlStreamRendererTest.java51 protected void setUp() throws Exception { in setUp()
58 protected void tearDown() throws Exception { in tearDown()
63 public final void testEmptyDocument() throws Exception { in testEmptyDocument()
67 public final void testElementNamesNormalized() throws Exception { in testElementNamesNormalized()
74 public final void testAttributeNamesNormalized() throws Exception { in testAttributeNamesNormalized()
82 public final void testAttributeValuesEscaped() throws Exception { in testAttributeValuesEscaped()
86 public final void testRcdataEscaped() throws Exception { in testRcdataEscaped()
92 public final void testCdataNotEscaped() throws Exception { in testCdataNotEscaped()
98 public final void testIllegalElementName() throws Exception { in testIllegalElementName()
121 public final void testIllegalAttributeName() throws Exception { in testIllegalAttributeName()
[all …]
DHtmlPolicyBuilderTest.java56 public static final void testTextFilter() throws Exception { in testTextFilter()
71 public static final void testCannedFormattingTagFilter() throws Exception { in testCannedFormattingTagFilter()
88 throws Exception { in testCannedFormattingTagFilterNoItalics()
105 public static final void testSimpleTagFilter() throws Exception { in testSimpleTagFilter()
121 public static final void testLinksAllowed() throws Exception { in testLinksAllowed()
139 public static final void testExternalLinksAllowed() throws Exception { in testExternalLinksAllowed()
159 public static final void testLinksWithNofollow() throws Exception { in testLinksWithNofollow()
178 public static final void testImagesAllowed() throws Exception { in testImagesAllowed()
197 public static final void testStyleFiltering() throws Exception { in testStyleFiltering()
218 public static final void testElementTransforming() throws Exception { in testElementTransforming()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DSQLiteCursorTest.java30 public void setUp() throws Exception { in setUp()
43 public void tearDown() throws Exception { in tearDown()
48 public void testGetColumnNames() throws Exception { in testGetColumnNames()
55 public void testGetColumnNamesEmpty() throws Exception { in testGetColumnNamesEmpty()
65 public void testGetColumnIndex() throws Exception { in testGetColumnIndex()
71 public void testGetColumnIndexNotFound() throws Exception { in testGetColumnIndexNotFound()
76 public void testGetColumnIndexEmpty() throws Exception { in testGetColumnIndexEmpty()
84 public void testGetColumnIndexOrThrow() throws Exception { in testGetColumnIndexOrThrow()
90 public void testGetColumnIndexOrThrowNotFound() throws Exception { in testGetColumnIndexOrThrowNotFound()
95 public void testGetColumnIndexOrThrowEmpty() throws Exception { in testGetColumnIndexOrThrowEmpty()
[all …]
/external/javassist/src/main/javassist/bytecode/
DAnnotationsAttribute.java168 catch (Exception e) { in copy()
228 catch (Exception e) { in getAnnotations()
283 } catch (Exception e) { in renameClass()
313 final void parameters() throws Exception { in parameters()
318 void parameters(int numParam, int pos) throws Exception { in parameters()
323 final void annotationArray() throws Exception { in annotationArray()
327 final int annotationArray(int pos) throws Exception { in annotationArray()
332 int annotationArray(int pos, int num) throws Exception { in annotationArray()
339 final int annotation(int pos) throws Exception { in annotation()
345 int annotation(int pos, int type, int numPairs) throws Exception { in annotation()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSignature2Test.java40 } catch (Exception e) {
48 public void test_clone() throws Exception { in test_clone()
61 public void test_getAlgorithm() throws Exception { in test_getAlgorithm()
70 public void test_getInstanceLjava_lang_String() throws Exception { in test_getInstanceLjava_lang_String()
78 public void test_getInstanceLjava_lang_StringLjava_lang_String() throws Exception { in test_getInstanceLjava_lang_StringLjava_lang_String()
89 public void test_getParameters() throws Exception { in test_getParameters()
101 public void test_getParameterLjava_lang_String() throws Exception { in test_getParameterLjava_lang_String()
114 public void test_getProvider() throws Exception { in test_getProvider()
122 public void test_initSignLjava_security_PrivateKey() throws Exception { in test_initSignLjava_security_PrivateKey()
129 public void test_initVerifyLjava_security_PublicKey() throws Exception { in test_initVerifyLjava_security_PublicKey()
[all …]
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
DNullCipherTest.java40 protected void setUp() throws Exception { in setUp()
72 public void testInitintKey() throws Exception { in testInitintKey()
80 public void testInitintKeySecureRandom() throws Exception { in testInitintKeySecureRandom()
88 public void testInitintKeyAlgorithmParameterSpec() throws Exception { in testInitintKeyAlgorithmParameterSpec()
98 public void testUpdatebyteArray() throws Exception { in testUpdatebyteArray()
108 public void testUpdatebyteArrayintint() throws Exception { in testUpdatebyteArrayintint()
124 public void testUpdatebyteArrayintintbyteArray() throws Exception { in testUpdatebyteArrayintintbyteArray()
134 public void testUpdatebyteArrayintintbyteArrayint() throws Exception { in testUpdatebyteArrayintintbyteArrayint()
144 public void testDoFinal() throws Exception { in testDoFinal()
151 public void testDoFinalbyteArrayint() throws Exception { in testDoFinalbyteArrayint()
[all …]
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwTestBase.java47 protected void setUp() throws Exception { in setUp()
76 throws Exception { in runTestOnUiThreadAndGetResult()
107 final String url) throws Exception { in loadUrlSync()
114 final Map<String, String> extraHeaders) throws Exception { in loadUrlSync()
124 final String url) throws Exception { in loadUrlSyncAndExpectError()
138 final String url) throws Exception { in loadUrlAsync()
160 byte[] postData) throws Exception { in postUrlSync()
171 final String url, byte[] postData) throws Exception { in postUrlAsync()
192 final boolean isBase64Encoded) throws Exception { in loadDataSync()
203 throws Exception { in loadDataSyncWithCharset()
[all …]

12345678910>>...117