Home | History | Annotate | Download | only in os

Lines Matching refs:match

26      * Pattern type: the given pattern must exactly match the string it is
32 * Pattern type: the given pattern must match the
40 * In this syntax, you can use the '*' character to match against zero or
42 * character before it is '.' it will match any character. The character
64 public boolean match(String str) {
109 static boolean matchPattern(String pattern, String match, int type) {
110 if (match == null) return false;
112 return pattern.equals(match);
114 return match.startsWith(pattern);
121 return match.length() <= 0;
123 final int NM = match.length();
139 // at the end with a pattern match, so
152 if (match.charAt(im) == nextChar) {
159 // exist in the match.
168 if (match.charAt(im) != c) {
177 if (c != '.' && match.charAt(im) != c) return false;
187 // One last check: we may have finished the match string, but still
189 // as a match.