Searched refs:match (Results 1 - 17 of 17) sorted by relevance

/opengrok-sun/test/org/opensolaris/opengrok/search/context/
H A DWildCardMatcherTest.java35 * Test of match method.
40 assertEquals(LineMatcher.MATCHED, m.match("wildcard"));
41 assertEquals(LineMatcher.MATCHED, m.match("wildward"));
42 assertEquals(LineMatcher.MATCHED, m.match("wilddard"));
43 assertEquals(LineMatcher.MATCHED, m.match("wild?ard"));
44 assertEquals(LineMatcher.NOT_MATCHED, m.match("wildard"));
45 assertEquals(LineMatcher.NOT_MATCHED, m.match("wildcarde"));
46 assertEquals(LineMatcher.NOT_MATCHED, m.match("awildcard"));
47 assertEquals(LineMatcher.NOT_MATCHED, m.match("wildddard"));
48 assertEquals(LineMatcher.NOT_MATCHED, m.match("mildcar
[all...]
H A DContextTest.java222 * long (>100 characters) line which contains a match is not terminated
237 boolean match =
239 assertTrue("No match found", match);
243 assertTrue("No match on line #1", s.contains("href=\"#1\""));
265 boolean match =
267 assertTrue("No match found", match);
273 * Test that a line with more than 100 characters after the first match is
292 boolean match
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DIgnoredNames.java89 return match(file);
98 return match(name);
H A DFilter.java107 public boolean match(File file) { method in class:Filter
153 public boolean match(String name) { method in class:Filter
154 return match(new File(name));
158 * Add a pattern to the correct list of internal filters to match
180 * @param pattern a pattern to match file names against
185 // other characters should be quoted to ensure exact match.
H A DIndexDatabase.java679 (!(file.isDirectory() || includedNames.match(file)))) {
1127 // Only use the definitions if we found an exact match.
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DPrefixMatcher.java37 public int match(String token) { method in class:PrefixMatcher
H A DPhraseMatcher.java40 public int match(String token) { method in class:PhraseMatcher
47 //System.out.println(" PhraseMatcher match complete with " + token);
H A DTokenSetMatcher.java49 public int match(String token) { method in class:TokenSetMatcher
H A DLineMatcher.java93 public abstract int match(String line); method in class:LineMatcher
H A DWildCardMatcher.java38 public int match(String token) { method in class:WildCardMatcher
H A DHistoryContext.java46 * since lucene does not easily give the match context.
156 matchState = m[i].match(token);
188 * Write a match to a stream.
192 * @param start start position of the match
193 * @param end position of the first char after the match
205 String match = line.substring(start, end);
215 printHTML(out, match, flatten);
H A DContext.java28 * since lucene does not easily give the match context.
146 if (m[i].match(tag.symbol) == LineMatcher.MATCHED) {
251 matchState = m[i].match(token);
/opengrok-sun/test/org/opensolaris/opengrok/web/
H A DEftarFileTest.java116 StringBuilder match = new StringBuilder();
117 match.append("Description ");
118 int offset = match.length();
122 match.setLength(offset);
123 match.append(Integer.toString(ii));
125 assertEquals(match.toString(), er.get(sb.toString()));
/opengrok-sun/src/org/opensolaris/opengrok/analysis/
H A DCtags.java229 final String match;
231 match = tagLine.substring(mstart + 3, p - 4).
243 addTag(defs, seenSymbols, lnum, def, type, match);
265 //log.fine("Read = " + def + " : " + lnum + " = " + kind + " IS " + inher + " M " + match);
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DSearchEngine.java371 String match = fragments[jj].toString();
372 if (match.length() > 0) {
/opengrok-sun/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...
H A Dswing-layout-0.9.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jdesktop/ org/jdesktop/layout/ org/jdesktop/layout/AquaBaseline ...

Completed in 93 milliseconds