Home
last modified time | relevance | path

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

12345678910>>...226

/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 …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.tests/src/com/ibm/icu/tests/
DUnitTest.java21 public void runUtility(String testname) throws Exception { in runUtility()
45 public void testCollator() throws Exception { in testCollator()
49 public void testGlobalizationPreferencesTest() throws Exception { in testGlobalizationPreferencesTest()
53 public void testICUResourceBundleCollationTest() throws Exception { in testICUResourceBundleCollationTest()
57 public void testLocaleAliasCollationTest() throws Exception { in testLocaleAliasCollationTest()
61 public void testRbnfLenientScannerTest() throws Exception { in testRbnfLenientScannerTest()
65 public void testSearchTest() throws Exception { in testSearchTest()
69 public void testULocaleCollationTest() throws Exception { in testULocaleCollationTest()
76 public void testArabicShapingRegTest() throws Exception { in testArabicShapingRegTest()
80 public void testBidi() throws Exception { in testBidi()
[all …]
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJDecompressor.java45 public TJDecompressor() throws Exception { in TJDecompressor()
56 public TJDecompressor(byte[] jpegImage) throws Exception { in TJDecompressor()
70 public TJDecompressor(byte[] jpegImage, int imageSize) throws Exception { in TJDecompressor()
83 public TJDecompressor(YUVImage yuvImage) throws Exception { in TJDecompressor()
98 throws Exception { in setSourceImage()
100 throw new Exception("Invalid argument in setSourceImage()"); in setSourceImage()
111 public void setJPEGImage(byte[] jpegImage, int imageSize) throws Exception { in setJPEGImage()
123 public void setSourceImage(YUVImage srcImage) throws Exception { in setSourceImage()
125 throw new Exception("Invalid argument in setSourceImage()"); in setSourceImage()
139 public int getWidth() throws Exception { in getWidth()
[all …]
DTJCompressor.java45 public TJCompressor() throws Exception { in TJCompressor()
70 int height, int pixelFormat) throws Exception { in TJCompressor()
80 int pixelFormat) throws Exception { in TJCompressor()
105 int height) throws Exception { in TJCompressor()
142 throws Exception { in setSourceImage()
146 throw new Exception("Invalid argument in setSourceImage()"); in setSourceImage()
167 int height, int pixelFormat) throws Exception { in setSourceImage()
194 int height) throws Exception { in setSourceImage()
197 throw new Exception("Invalid argument in setSourceImage()"); in setSourceImage()
203 throw new Exception("Compression region exceeds the bounds of the source image"); in setSourceImage()
[all …]
DYUVImage.java90 throws Exception { in YUVImage()
109 throws Exception { in YUVImage()
149 int height, int subsamp) throws Exception { in YUVImage()
175 int subsamp) throws Exception { in YUVImage()
213 int height, int subsamp) throws Exception { in setBuf()
218 int height, int subsamp, boolean alloc) throws Exception { in setBuf()
221 throw new Exception("Invalid argument in YUVImage::setBuf()"); in setBuf()
226 … throw new Exception("YUVImage::setBuf(): planes, offsets, or strides array is the wrong size"); in setBuf()
242 throw new Exception("Stride must be >= plane width when allocating a new YUV image"); in setBuf()
246 throw new Exception("Invalid argument in YUVImage::setBuf()"); in setBuf()
[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/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 …]
/external/guava/guava-gwt/test/com/google/common/collect/
DTableCollectionTest_gwt.java21 public void testClear__UnmodifiableTreeColumnMapTests() throws Exception { in testClear__UnmodifiableTreeColumnMapTests()
26 public void testContainsKey__UnmodifiableTreeColumnMapTests() throws Exception { in testContainsKey__UnmodifiableTreeColumnMapTests()
31 public void testContainsValue__UnmodifiableTreeColumnMapTests() throws Exception { in testContainsValue__UnmodifiableTreeColumnMapTests()
36 public void testEntrySet__UnmodifiableTreeColumnMapTests() throws Exception { in testEntrySet__UnmodifiableTreeColumnMapTests()
41 public void testEntrySetAddAndAddAll__UnmodifiableTreeColumnMapTests() throws Exception { in testEntrySetAddAndAddAll__UnmodifiableTreeColumnMapTests()
46 public void testEntrySetClear__UnmodifiableTreeColumnMapTests() throws Exception { in testEntrySetClear__UnmodifiableTreeColumnMapTests()
51 … void testEntrySetContainsEntryIncompatibleKey__UnmodifiableTreeColumnMapTests() throws Exception { in testEntrySetContainsEntryIncompatibleKey__UnmodifiableTreeColumnMapTests()
56 …c void testEntrySetContainsEntryNullKeyMissing__UnmodifiableTreeColumnMapTests() throws Exception { in testEntrySetContainsEntryNullKeyMissing__UnmodifiableTreeColumnMapTests()
61 …c void testEntrySetContainsEntryNullKeyPresent__UnmodifiableTreeColumnMapTests() throws Exception { in testEntrySetContainsEntryNullKeyPresent__UnmodifiableTreeColumnMapTests()
66 public void testEntrySetForEmptyMap__UnmodifiableTreeColumnMapTests() throws Exception { in testEntrySetForEmptyMap__UnmodifiableTreeColumnMapTests()
[all …]
DIteratorsTest_gwt.java21 public void testAddAllToList() throws Exception { in testAddAllToList()
26 public void testAddAllToSet() throws Exception { in testAddAllToSet()
31 public void testAddAllWithEmptyIterator() throws Exception { in testAddAllWithEmptyIterator()
36 public void testAdvance_basic() throws Exception { in testAdvance_basic()
41 public void testAdvance_illegalArgument() throws Exception { in testAdvance_illegalArgument()
46 public void testAdvance_pastEnd() throws Exception { in testAdvance_pastEnd()
51 public void testAll() throws Exception { in testAll()
56 public void testAny() throws Exception { in testAny()
61 public void testAsEnumerationEmpty() throws Exception { in testAsEnumerationEmpty()
66 public void testAsEnumerationSingleton() throws Exception { in testAsEnumerationSingleton()
[all …]
DIterablesTest_gwt.java21 public void testAddAllToList() throws Exception { in testAddAllToList()
26 public void testAll() throws Exception { in testAll()
31 public void testAny() throws Exception { in testAny()
36 public void testConcatIterable() throws Exception { in testConcatIterable()
41 public void testConcatNullPointerException() throws Exception { in testConcatNullPointerException()
46 public void testConcatPeformingFiniteCycle() throws Exception { in testConcatPeformingFiniteCycle()
51 public void testConcatVarargs() throws Exception { in testConcatVarargs()
56 public void testConsumingIterable() throws Exception { in testConsumingIterable()
61 public void testConsumingIterable_noIteratorCall() throws Exception { in testConsumingIterable_noIteratorCall()
66 public void testConsumingIterable_queue_iterator() throws Exception { in testConsumingIterable_queue_iterator()
[all …]
DImmutableSortedSetTest_gwt.java21 public void testAsList() throws Exception { in testAsList()
26 public void testAsListInconsistentComprator() throws Exception { in testAsListInconsistentComprator()
31 public void testBuilderAddAll() throws Exception { in testBuilderAddAll()
36 public void testBuilderAddAllHandlesNullsCorrectly() throws Exception { in testBuilderAddAllHandlesNullsCorrectly()
41 public void testBuilderAddHandlesNullsCorrectly() throws Exception { in testBuilderAddHandlesNullsCorrectly()
46 public void testBuilderGenerics_SelfComparable() throws Exception { in testBuilderGenerics_SelfComparable()
51 public void testBuilderGenerics_SuperComparable() throws Exception { in testBuilderGenerics_SuperComparable()
56 public void testBuilderMethod() throws Exception { in testBuilderMethod()
61 public void testBuilderWithDuplicateElements() throws Exception { in testBuilderWithDuplicateElements()
66 public void testBuilderWithNonDuplicateElements() throws Exception { in testBuilderWithNonDuplicateElements()
[all …]
DMapsTest_gwt.java21 public void testAsConverter_inverse() throws Exception { in testAsConverter_inverse()
26 public void testAsConverter_isAView() throws Exception { in testAsConverter_isAView()
31 public void testAsConverter_noMapping() throws Exception { in testAsConverter_noMapping()
36 public void testAsConverter_nominal() throws Exception { in testAsConverter_nominal()
41 public void testAsConverter_nullConversions() throws Exception { in testAsConverter_nullConversions()
46 public void testAsConverter_serialization() throws Exception { in testAsConverter_serialization()
51 public void testAsConverter_toString() throws Exception { in testAsConverter_toString()
56 public void testAsConverter_withNullMapping() throws Exception { in testAsConverter_withNullMapping()
61 public void testAsMap() throws Exception { in testAsMap()
66 public void testAsMapEmpty() throws Exception { in testAsMapEmpty()
[all …]
DImmutableSortedMapTest_gwt.java21 public void testBuilderGenerics_SelfComparable() throws Exception { in testBuilderGenerics_SelfComparable()
26 public void testBuilderGenerics_SuperComparable() throws Exception { in testBuilderGenerics_SuperComparable()
31 public void testHeadMapExclusive() throws Exception { in testHeadMapExclusive()
36 public void testHeadMapInclusive() throws Exception { in testHeadMapInclusive()
41 public void testMutableValues() throws Exception { in testMutableValues()
46 public void testNullGet() throws Exception { in testNullGet()
51 public void testSubMapExclusiveExclusive() throws Exception { in testSubMapExclusiveExclusive()
56 public void testSubMapExclusiveInclusive() throws Exception { in testSubMapExclusiveInclusive()
61 public void testSubMapInclusiveExclusive() throws Exception { in testSubMapInclusiveExclusive()
66 public void testSubMapInclusiveInclusive() throws Exception { in testSubMapInclusiveInclusive()
[all …]
DImmutableMapTest_gwt.java21 public void testAsMultimap() throws Exception { in testAsMultimap()
26 public void testAsMultimapCaches() throws Exception { in testAsMultimapCaches()
31 public void testAsMultimapWhenEmpty() throws Exception { in testAsMultimapWhenEmpty()
36 public void testCopyOfEnumMap() throws Exception { in testCopyOfEnumMap()
41 public void testEquals() throws Exception { in testEquals()
46 public void testMutableValues() throws Exception { in testMutableValues()
51 public void testNullGet() throws Exception { in testNullGet()
56 public void testBuilder__CreationTests() throws Exception { in testBuilder__CreationTests()
61 public void testBuilderPutAll__CreationTests() throws Exception { in testBuilderPutAll__CreationTests()
66 public void testBuilderPutAllWithEmptyMap__CreationTests() throws Exception { in testBuilderPutAllWithEmptyMap__CreationTests()
[all …]
DTreeBasedTableTest_gwt.java21 public void testCellSetToString_ordered() throws Exception { in testCellSetToString_ordered()
27 public void testClear() throws Exception { in testClear()
33 public void testColumn() throws Exception { in testColumn()
39 public void testColumnComparator() throws Exception { in testColumnComparator()
45 public void testColumnKeySet_empty() throws Exception { in testColumnKeySet_empty()
51 public void testColumnKeySet_isSorted() throws Exception { in testColumnKeySet_isSorted()
57 public void testColumnKeySet_isSortedWithRealComparator() throws Exception { in testColumnKeySet_isSortedWithRealComparator()
63 public void testColumnKeySet_oneColumn() throws Exception { in testColumnKeySet_oneColumn()
69 public void testColumnKeySet_oneEntry() throws Exception { in testColumnKeySet_oneEntry()
75 public void testColumnKeySet_oneRow() throws Exception { in testColumnKeySet_oneRow()
[all …]
DMapsSortedTransformValuesTest_gwt.java21 public void testClear() throws Exception { in testClear()
26 public void testContainsKey() throws Exception { in testContainsKey()
31 public void testContainsValue() throws Exception { in testContainsValue()
36 public void testEntrySet() throws Exception { in testEntrySet()
41 public void testEntrySetAddAndAddAll() throws Exception { in testEntrySetAddAndAddAll()
46 public void testEntrySetClear() throws Exception { in testEntrySetClear()
51 public void testEntrySetContainsEntryIncompatibleKey() throws Exception { in testEntrySetContainsEntryIncompatibleKey()
56 public void testEntrySetContainsEntryNullKeyMissing() throws Exception { in testEntrySetContainsEntryNullKeyMissing()
61 public void testEntrySetContainsEntryNullKeyPresent() throws Exception { in testEntrySetContainsEntryNullKeyPresent()
66 public void testEntrySetForEmptyMap() throws Exception { in testEntrySetForEmptyMap()
[all …]
DImmutableMultimapAsMapImplementsMapTest_gwt.java21 public void testClear() throws Exception { in testClear()
26 public void testContainsKey() throws Exception { in testContainsKey()
31 public void testContainsValue() throws Exception { in testContainsValue()
36 public void testEntrySet() throws Exception { in testEntrySet()
41 public void testEntrySetAddAndAddAll() throws Exception { in testEntrySetAddAndAddAll()
46 public void testEntrySetClear() throws Exception { in testEntrySetClear()
51 public void testEntrySetContainsEntryIncompatibleKey() throws Exception { in testEntrySetContainsEntryIncompatibleKey()
56 public void testEntrySetContainsEntryNullKeyMissing() throws Exception { in testEntrySetContainsEntryNullKeyMissing()
61 public void testEntrySetContainsEntryNullKeyPresent() throws Exception { in testEntrySetContainsEntryNullKeyPresent()
66 public void testEntrySetForEmptyMap() throws Exception { in testEntrySetForEmptyMap()
[all …]
DSubMapMultimapAsMapImplementsMapTest_gwt.java21 public void testClear() throws Exception { in testClear()
26 public void testContainsKey() throws Exception { in testContainsKey()
31 public void testContainsValue() throws Exception { in testContainsValue()
36 public void testEntrySet() throws Exception { in testEntrySet()
41 public void testEntrySetAddAndAddAll() throws Exception { in testEntrySetAddAndAddAll()
46 public void testEntrySetClear() throws Exception { in testEntrySetClear()
51 public void testEntrySetContainsEntryIncompatibleKey() throws Exception { in testEntrySetContainsEntryIncompatibleKey()
56 public void testEntrySetContainsEntryNullKeyMissing() throws Exception { in testEntrySetContainsEntryNullKeyMissing()
61 public void testEntrySetContainsEntryNullKeyPresent() throws Exception { in testEntrySetContainsEntryNullKeyPresent()
66 public void testEntrySetForEmptyMap() throws Exception { in testEntrySetForEmptyMap()
[all …]
DConstrainedMultimapAsMapImplementsMapTest_gwt.java21 public void testClear() throws Exception { in testClear()
26 public void testContainsKey() throws Exception { in testContainsKey()
31 public void testContainsValue() throws Exception { in testContainsValue()
36 public void testEntrySet() throws Exception { in testEntrySet()
41 public void testEntrySetAddAndAddAll() throws Exception { in testEntrySetAddAndAddAll()
46 public void testEntrySetClear() throws Exception { in testEntrySetClear()
51 public void testEntrySetContainsEntryIncompatibleKey() throws Exception { in testEntrySetContainsEntryIncompatibleKey()
56 public void testEntrySetContainsEntryNullKeyMissing() throws Exception { in testEntrySetContainsEntryNullKeyMissing()
61 public void testEntrySetContainsEntryNullKeyPresent() throws Exception { in testEntrySetContainsEntryNullKeyPresent()
66 public void testEntrySetForEmptyMap() throws Exception { in testEntrySetForEmptyMap()
[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/guava/guava-gwt/test/com/google/common/base/
DSplitterTest_gwt.java21 public void testCharacterSimpleSplit() throws Exception { in testCharacterSimpleSplit()
26 public void testCharacterSimpleSplitToList() throws Exception { in testCharacterSimpleSplitToList()
31 public void testCharacterSimpleSplitWithNoDelimiter() throws Exception { in testCharacterSimpleSplitWithNoDelimiter()
36 public void testCharacterSplitEmptyToken() throws Exception { in testCharacterSplitEmptyToken()
41 public void testCharacterSplitEmptyTokenOmitEmptyStrings() throws Exception { in testCharacterSplitEmptyTokenOmitEmptyStrings()
46 public void testCharacterSplitOnEmptyString() throws Exception { in testCharacterSplitOnEmptyString()
51 public void testCharacterSplitOnEmptyStringOmitEmptyStrings() throws Exception { in testCharacterSplitOnEmptyStringOmitEmptyStrings()
56 public void testCharacterSplitOnOnlyDelimiter() throws Exception { in testCharacterSplitOnOnlyDelimiter()
61 public void testCharacterSplitOnOnlyDelimitersOmitEmptyStrings() throws Exception { in testCharacterSplitOnOnlyDelimitersOmitEmptyStrings()
66 public void testCharacterSplitWithDoubleDelimiter() throws Exception { in testCharacterSplitWithDoubleDelimiter()
[all …]

12345678910>>...226