Searched defs:contents (Results 1 - 5 of 5) sorted by relevance

/opengrok/test/org/opensolaris/opengrok/analysis/
H A DTextAnalyzerTest.java4 * The contents of this file are subject to the terms of the
43 private String contents; field in class:TextAnalyzerTest
61 assertEquals("hello", contents);
71 assertEquals("hi", contents);
80 assertEquals("hello", contents);
95 assertEquals("hello", contents);
115 assertEquals("hello", contents);
135 contents = sb.toString();
/opengrok/test/org/opensolaris/opengrok/util/
H A DTestRepository.java4 * The contents of this file are subject to the terms of the
102 public void addDummyFile(String project, String contents) throws IOException { argument
104 Files.write(dummy.toPath(), contents.getBytes());
/opengrok/src/org/opensolaris/opengrok/history/
H A DRazorHistoryParser.java4 * The contents of this file are subject to the terms of the
82 try (FileReader contents = new FileReader(mappedFile.getAbsoluteFile())) {
83 return parseContents(new BufferedReader(contents));
87 protected History parseContents(BufferedReader contents) throws IOException { argument
100 while ((line = contents.readLine()) != null) {
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DFileAnalyzerFactory.java4 * The contents of this file are subject to the terms of the
160 * Get matchers that map file contents to analyzer factories
220 * Interface for matchers which map file contents to analyzer factories.
225 * Try to match the file contents with an analyzer factory.
229 * @param contents the first few bytes of a file
231 * @return an analyzer factory if the contents match, or {@code null}
235 FileAnalyzerFactory isMagic(byte[] contents, InputStream in) argument
H A DJFlexXref.java4 * The contents of this file are subject to the terms of the
170 * Reinitialize the xref with new contents.
172 * @param contents a char buffer with text to analyze
175 public void reInit(char[] contents, int length) { argument
176 reInit(new CharArrayReader(contents, 0, length));

Completed in 11 milliseconds