Home
last modified time | relevance | path

Searched refs:PatternSyntaxException (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/
DPatternSyntaxExceptionTest.java22 import java.util.regex.PatternSyntaxException;
31 PatternSyntaxException e = new PatternSyntaxException("Foo", "Bar", 0); in testPatternSyntaxException()
42 e = new PatternSyntaxException(null, "Bar", 0); in testPatternSyntaxException()
53 e = new PatternSyntaxException("Foo", null, 0); in testPatternSyntaxException()
64 e = new PatternSyntaxException(null, null, 0); in testPatternSyntaxException()
75 e = new PatternSyntaxException("Foo", "Bar", -1); in testPatternSyntaxException()
83 e = new PatternSyntaxException("Foo", null, 0); in testPatternSyntaxException()
96 } catch (PatternSyntaxException e) { in testCase()
107 } catch (PatternSyntaxException e) { in testCase2()
115 ObjectStreamClass objectStreamClass = ObjectStreamClass.lookup(PatternSyntaxException.class); in test_objectStreamField()
[all …]
DPattern2Test.java21 import java.util.regex.PatternSyntaxException;
31 public void testUnicodeCategories() throws PatternSyntaxException { in testUnicodeCategories()
131 public void testCapturingGroups() throws PatternSyntaxException { in testCapturingGroups()
179 } catch (PatternSyntaxException pse) { in testCapturingGroups()
252 public void testAnchors() throws PatternSyntaxException { in testAnchors()
DPatternTest.java23 import java.util.regex.PatternSyntaxException;
284 } catch (PatternSyntaxException pse) { in testCompile_WrongPatternsFail()
540 } catch (PatternSyntaxException e) { in testCompileStringInt()
548 } catch (PatternSyntaxException e) { in testCompileStringInt()
556 } catch (PatternSyntaxException e) { in testCompileStringInt()
565 } catch (PatternSyntaxException e) { in testCompileStringInt()
593 } catch (PatternSyntaxException pse) { in testQuantCompileNeg()
658 } catch (PatternSyntaxException pse) { in testMatchesException()
718 } catch (PatternSyntaxException pse) { in testRangesSpecialCases()
771 } catch (PatternSyntaxException pse) { in testOrphanQuantifiers()
[all …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DGlobs.java28 import java.util.regex.PatternSyntaxException;
68 throw new PatternSyntaxException("No character to escape", in toRegexPattern()
115 throw new PatternSyntaxException("Explicit 'name separator' in class", in toRegexPattern()
128 throw new PatternSyntaxException("Invalid range", in toRegexPattern()
135 throw new PatternSyntaxException("Invalid range", in toRegexPattern()
146 throw new PatternSyntaxException("Missing ']", globPattern, i - 1); in toRegexPattern()
152 throw new PatternSyntaxException("Cannot nest groups", in toRegexPattern()
204 throw new PatternSyntaxException("Missing '}", globPattern, i - 1); in toRegexPattern()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DPattern2Test.java21 import java.util.regex.PatternSyntaxException;
30 public void testSimpleMatch() throws PatternSyntaxException { in testSimpleMatch()
100 } catch (PatternSyntaxException e) { in testCursors()
106 public void testGroups() throws PatternSyntaxException { in testGroups()
159 public void testReplace() throws PatternSyntaxException { in testReplace()
206 public void testEscapes() throws PatternSyntaxException { in testEscapes()
256 } catch (PatternSyntaxException e) { in testEscapes()
262 } catch (PatternSyntaxException e) { in testEscapes()
268 } catch (PatternSyntaxException e) { in testEscapes()
274 } catch (PatternSyntaxException e) { in testEscapes()
[all …]
DModeTest.java21 import java.util.regex.PatternSyntaxException;
31 public void testCase() throws PatternSyntaxException { in testCase()
60 public void testMultiline() throws PatternSyntaxException { in testMultiline()
DReplaceTest.java21 import java.util.regex.PatternSyntaxException;
28 public void testSimpleReplace() throws PatternSyntaxException { in testSimpleReplace()
DMatcher2Test.java21 import java.util.regex.PatternSyntaxException;
36 public void testErrorConditions() throws PatternSyntaxException { in testErrorConditions()
87 public void testErrorConditions2() throws PatternSyntaxException { in testErrorConditions2()
DSplitTest.java22 import java.util.regex.PatternSyntaxException;
87 public void testSplit1() throws PatternSyntaxException { in testSplit1()
/libcore/ojluni/src/main/java/java/util/regex/
DPatternSyntaxException.java40 public class PatternSyntaxException class
62 public PatternSyntaxException(String desc, String regex, int index) { in PatternSyntaxException() method in PatternSyntaxException
DPattern.java1420 private void compile() throws PatternSyntaxException { in compile()
/libcore/luni/src/test/java/libcore/java/lang/
DOldStringTest.java23 import java.util.regex.PatternSyntaxException;
187 } catch(PatternSyntaxException pse) { in test_replaceAll()
210 } catch(PatternSyntaxException pse) { in test_replaceFirst()
231 } catch(PatternSyntaxException pse) { in test_splitLString()
260 } catch(PatternSyntaxException pse) { in test_splitLStringLint()
/libcore/luni/src/test/java/libcore/java/util/regex/
DOldMatcherTest.java23 import java.util.regex.PatternSyntaxException;
689 } catch(PatternSyntaxException expected) {} in testNamedGroupCapture()
704 } catch(PatternSyntaxException expected) {} in testNamedGroupBackreference()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesTest.java47 import java.util.regex.PatternSyntaxException;
347 } catch (PatternSyntaxException expected) { in test_newDirectoryStream$Path$String_Exception()
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java33 import java.util.regex.PatternSyntaxException;
/libcore/ojluni/src/main/java/java/lang/
DString.java40 import java.util.regex.PatternSyntaxException;
/libcore/
Dopenjdk_java_files.bp1184 "ojluni/src/main/java/java/util/regex/PatternSyntaxException.java",