/opengrok/test/org/opensolaris/opengrok/search/context/ |
H A D | WildCardMatcherTest.java | 35 * 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 D | RegexpMatcherTest.java | 35 * Test of match method. 40 assertEquals(LineMatcher.NOT_MATCHED, m.match("regx")); 41 assertEquals(LineMatcher.MATCHED, m.match("regeex")); 44 assertEquals(LineMatcher.NOT_MATCHED, m.match("regex")); 45 assertEquals(LineMatcher.MATCHED, m.match("Regex"));
|
H A D | ContextTest.java | 267 * long (>100 characters) line which contains a match is not terminated 284 boolean match 286 assertTrue("No match found", match); 290 assertTrue("No match on line #1", s.contains("href=\"#1\"")); 314 boolean match 316 assertTrue("No match found", match); 322 * Test that a line with more than 100 characters after the first match is 343 boolean match [all...] |
/opengrok/src/org/opensolaris/opengrok/index/ |
H A D | IgnoredFiles.java | 75 return match(file) && file.isFile(); 84 return match(name);
|
H A D | IgnoredDirs.java | 61 return match(file) && file.isDirectory(); 70 return match(name);
|
H A D | Filter.java | 103 * Does the file match any of the filenames, patterns or paths ? 107 public boolean match(File file) { method in class:Filter 116 // Try to match the basename first. 140 * Does the file name match any of the filenames, patterns or paths ? 144 public boolean match(String name) { method in class:Filter 145 return match(new File(name)); 149 * Add a pattern to the correct list of internal filters to match 171 * @param pattern a pattern to match file names against 176 // other characters should be quoted to ensure exact match.
|
/opengrok/test/org/opensolaris/opengrok/configuration/ |
H A D | GroupTest.java | 100 assertTrue("Should match pattern", g.match(t)); 104 assertFalse("Shouldn't match, pattern is shorter", g.match(t)); 108 assertTrue("Should match pattern", g.match(t)); 112 assertTrue("Should match pattern", g.match(t)); 116 assertFalse("Shouldn't match pattern", g.match( [all...] |
H A D | GroupsTest.java | 166 private void testSingleMatch(Set<Group> groups, int expectedlines, String match) { 171 new Object[]{out, groups, match}); 176 "it expects that \"" + match + "\" will match " + expectedlines + " records",
|
/opengrok/src/org/opensolaris/opengrok/search/context/ |
H A D | PrefixMatcher.java | 37 public int match(String token) { method in class:PrefixMatcher
|
H A D | PhraseMatcher.java | 40 public int match(String token) { method in class:PhraseMatcher 47 //System.out.println(" PhraseMatcher match complete with " + token);
|
H A D | TokenSetMatcher.java | 49 public int match(String token) { method in class:TokenSetMatcher
|
H A D | LineMatcher.java | 93 public abstract int match(String line); method in class:LineMatcher
|
H A D | RegexpMatcher.java | 55 public int match(String line) { method in class:RegexpMatcher
|
H A D | WildCardMatcher.java | 38 public int match(String token) { method in class:WildCardMatcher
|
H A D | HistoryContext.java | 49 * since lucene does not easily give the match context. 162 matchState = m[i].match(token); 194 * Write a match to a stream. 198 * @param start start position of the match 199 * @param end position of the first char after the match 211 String match = line.substring(start, end); 221 printHTML(out, match, flatten);
|
H A D | Context.java | 28 * since lucene does not easily give the match context. 157 if (m[i].match(tag.symbol) == LineMatcher.MATCHED) { 282 matchState = m[i].match(token);
|
/opengrok/web/js/ |
H A D | tablesorter.parsers.js | 30 var date = s.match(/^(\d{2})\-(\w{3})\-(\d{4})$/); 67 var parts = s.match(/^(\d{1,3}(?:[, ]?\d{1,3})*(?:\.\d+)?|\.\d+) ?(\w*)$/);
|
/opengrok/test/org/opensolaris/opengrok/web/ |
H A D | EftarFileTest.java | 108 StringBuilder match = new StringBuilder(); 109 match.append("Description "); 110 int offset = match.length(); 114 match.setLength(offset); 115 match.append(Integer.toString(ii)); 117 assertEquals(match.toString(), er.get(sb.toString()));
|
/opengrok/src/org/opensolaris/opengrok/analysis/c/ |
H A D | CxxXref.lex | 77 Matcher match = Pattern.compile("(#.*)(include)(.*)<(.*)>").matcher(yytext()); 78 if (match.matches()) { 79 out.write(match.group(1)); 80 writeSymbol(match.group(2), CxxConsts.kwd, yyline); 81 out.write(match.group(3)); 83 String path = match.group(4);
|
H A D | CXref.lex | 78 Matcher match = Pattern.compile("(#.*)(include)(.*)<(.*)>").matcher(yytext()); 79 if (match.matches()) { 80 out.write(match.group(1)); 81 writeSymbol(match.group(2), Consts.kwd, yyline); 82 out.write(match.group(3)); 84 String path = match.group(4);
|
/opengrok/src/org/opensolaris/opengrok/configuration/ |
H A D | Groups.java | 61 String match = null; 101 match = getopt.getOptarg(); 136 if (match != null) { 143 matchGroups(System.out, cfg.getGroups(), match); 241 * Finds groups which would match the project. 245 * @param match project description 247 private static void matchGroups(PrintStream out, Set<Group> groups, String match) { argument 249 p.setDescription(match); 255 if (g.match(p)) { 262 out.println(matched.size() + " group(s) match(e [all...] |
H A D | Group.java | 148 * Test group for a match 153 public boolean match(Project p) { method in class:Group
|
/opengrok/src/org/opensolaris/opengrok/analysis/ |
H A D | Ctags.java | 355 boolean match; 357 match = true; 360 match = false; 364 if (match) { 443 final String match; 447 match = tagLine.substring(mstart + 3, p - 4). 451 match = tagLine.substring(mstart + 3, mstart + MAX_METHOD_LINE_LENGTH - 1). // +3 - 4 = -1 464 addTag(defs, seenSymbols, lnum, def, type, match, classInher, signature); 486 //log.fine("Read = " + def + " : " + lnum + " = " + kind + " IS " + inher + " M " + match);
|
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/ui/ |
H A D | ResultsDialog.java | 279 for (Entry<IProject, Integer> match : matches.entrySet()) { 280 IProject project = match.getKey(); 281 Integer matchingLocation = match.getValue(); 284 System.out.println("match: " + matchingString);
|
/opengrok/ |
H A D | mvnw.cmd | 63 echo Please set the JAVA_HOME variable in your environment to match the >&2 74 echo Please set the JAVA_HOME variable in your environment to match the >&2
|