HomeSort by relevance Sort by last modified time
    Searched refs:regularExpression (Results 1 - 25 of 26) sorted by null

1 2

  /external/proguard/src/proguard/util/
StringParser.java 34 public StringMatcher parse(String regularExpression);
ListParser.java 52 public StringMatcher parse(String regularExpression)
55 return parse(ListUtil.commaSeparatedList(regularExpression));
73 String regularExpression = (String)regularExpressions.get(index);
75 StringMatcher entryMatcher = parseEntry(regularExpression);
81 isNegated(regularExpression) ?
96 private StringMatcher parseEntry(String regularExpression)
99 return isNegated(regularExpression) ?
100 new NotMatcher(stringParser.parse(regularExpression.substring(1))) :
101 stringParser.parse(regularExpression);
108 private boolean isNegated(String regularExpression)
    [all...]
FileNameParser.java 40 public StringMatcher parse(String regularExpression)
46 for (index = 0; index < regularExpression.length(); index++)
49 if (regularExpression.regionMatches(index, "**", 0, 2))
58 parse(regularExpression.substring(index + 2)));
63 else if (regularExpression.charAt(index) == '*')
72 parse(regularExpression.substring(index + 1)));
77 else if (regularExpression.charAt(index) == '?')
86 parse(regularExpression.substring(index + 1)));
94 (StringMatcher)new FixedStringMatcher(regularExpression.substring(0, index), nextMatcher) :
ClassNameParser.java 60 public StringMatcher parse(String regularExpression)
66 for (index = 0; index < regularExpression.length(); index++)
69 if (regularExpression.regionMatches(index, "L///;", 0, 5))
76 new OrMatcher(parse(regularExpression.substring(index + 5)),
85 if (regularExpression.regionMatches(index, "L***;", 0, 5))
90 createAnyTypeMatcher(parse(regularExpression.substring(index + 5)));
95 if (regularExpression.regionMatches(index, "**", 0, 2))
104 parse(regularExpression.substring(index + 2)));
109 else if (regularExpression.charAt(index) == '*')
118 parse(regularExpression.substring(index + 1)))
    [all...]
NameParser.java 39 public StringMatcher parse(String regularExpression)
45 for (index = 0; index < regularExpression.length(); index++)
48 if (regularExpression.charAt(index) == '*')
57 parse(regularExpression.substring(index + 1)));
62 else if (regularExpression.charAt(index) == '?')
71 parse(regularExpression.substring(index + 1)));
79 (StringMatcher)new FixedStringMatcher(regularExpression.substring(0, index), nextMatcher) :
  /external/proguard/src/proguard/io/
NameFilter.java 39 public NameFilter(String regularExpression,
42 this(regularExpression, acceptedDataEntryReader, null);
50 public NameFilter(String regularExpression,
54 super(new DataEntryNameFilter(new ListParser(new FileNameParser()).parse(regularExpression)),
  /external/proguard/src/proguard/classfile/visitor/
ClassNameFilter.java 43 * @param regularExpression the regular expression against which class names
48 public ClassNameFilter(String regularExpression,
51 this(new ListParser(new ClassNameParser()).parse(regularExpression),
58 * @param regularExpression the regular expression against which class names
63 public ClassNameFilter(List regularExpression,
66 this(new ListParser(new ClassNameParser()).parse(regularExpression),
MemberDescriptorFilter.java 42 * @param regularExpression the regular expression against which member
47 public MemberDescriptorFilter(String regularExpression,
50 this(new ClassNameParser().parse(regularExpression), memberVisitor);
MemberNameFilter.java 42 * @param regularExpression the regular expression against which member
47 public MemberNameFilter(String regularExpression,
50 this(new NameParser().parse(regularExpression), memberVisitor);
  /libcore/luni/src/main/java/java/util/regex/
Pattern.java 359 * Returns a compiled form of the given {@code regularExpression}, as modified by the
373 public static Pattern compile(String regularExpression, int flags) throws PatternSyntaxException {
374 return new Pattern(regularExpression, flags);
415 * Tests whether the given {@code regularExpression} matches the given {@code input}.
416 * Equivalent to {@code Pattern.compile(regularExpression).matcher(input).matches()}.
423 public static boolean matches(String regularExpression, CharSequence input) {
424 return new Matcher(new Pattern(regularExpression, 0), input).matches();
  /external/proguard/src/proguard/classfile/attribute/annotation/visitor/
AnnotationTypeFilter.java 45 * @param regularExpression the regular expression against which annotation
50 public AnnotationTypeFilter(String regularExpression,
53 this.regularExpressionMatcher = new ListParser(new ClassNameParser()).parse(regularExpression);
  /external/proguard/src/proguard/retrace/
ReTrace.java 57 private final String regularExpression;
70 * @param regularExpression the regular expression for parsing the lines in
77 public ReTrace(String regularExpression,
81 this(regularExpression, verbose, mappingFile, null);
88 * @param regularExpression the regular expression for parsing the lines in
97 public ReTrace(String regularExpression,
102 this.regularExpression = regularExpression;
119 StringBuffer expressionBuffer = new StringBuffer(regularExpression.length() + 32);
125 int nextIndex = regularExpression.indexOf('%', index)
    [all...]
  /external/proguard/lib/
retrace.jar 
  /prebuilts/tools/common/proguard/proguard4.7/lib/
retrace.jar 
  /libcore/libart/src/main/java/java/lang/
String.java     [all...]
  /libcore/libdvm/src/main/java/java/lang/
String.java     [all...]
  /prebuilts/tools/common/m2/internal/net/sf/proguard/proguard-base/4.9/
proguard-base-4.9.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
ant.jar 
  /prebuilts/tools/common/ant/
ant.jar 
  /prebuilts/tools/common/m2/internal/org/apache/ant/ant/1.8.0/
ant-1.8.0.jar 

Completed in 265 milliseconds

1 2