Searched refs:in (Results 1 - 25 of 127) sorted by relevance

123456

/opengrok-jel/test/org/opensolaris/opengrok/util/
H A DExecutorTest.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
82 BufferedReader in = new BufferedReader(instance.getOutputReader());
83 assertEquals("testing org.opensolaris.opengrok.util.Executor", in.readLine());
84 in.close();
85 in = new BufferedReader(instance.getErrorReader());
86 assertNull(in.readLine());
87 in.close();
99 BufferedReader in
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DXrefReader.java28 * @param in stream to use for reading. NOTE: on-the-fly decompression must
33 public XrefReader(XrefInputStream in) throws UnsupportedEncodingException { argument
34 super(in, "UTF-8");
H A DXrefInputStream.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
77 in = this.uncompress
81 if (in != null) {
82 IOUtils.close(in);
138 new byte[!uncompress && (in instanceof GZIPInputStream) ? 4096 : 16384];
140 while ((len = in.read(buf)) >= 0) {
162 + file + " (wasn't specified in constructor)");
163 GZIPInputStream gin = new GZIPInputStream(in, 409
[all...]
H A DTextAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
52 public final void analyze(Document doc, InputStream in) throws IOException { argument
55 in.mark(3);
58 int br = in.read(head, 0, 3);
64 in.reset();
73 in.reset();
77 analyze(doc, new InputStreamReader(in, charset));
H A DExpandTabsReader.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
33 * Wrapper around Reader to expand tabs to spaces in the input.
54 * @param in the original input source
57 ExpandTabsReader(Reader in, int tabSize) { argument
58 super(in);
63 * Wrap a reader in an ExpandTabsReader if the project has custom tab
66 * @param in the reader to wrap
68 * @return {@code in} i
72 wrap(Reader in, Project p) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/
H A DInfo.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
48 InputStream in = null;
50 in = Info.class.getResourceAsStream("info.properties");
51 if (in != null) {
52 properties.load(in);
70 IOUtils.close(in);
100 * @return time of last modification in milliseconds since
/opengrok-jel/test/org/opensolaris/opengrok/analysis/
H A DAnalyzerGuruTest.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
55 ByteArrayInputStream in = new ByteArrayInputStream(
58 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, file);
68 ByteArrayInputStream in = new ByteArrayInputStream(xml);
69 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, "/dummy/file");
79 ByteArrayInputStream in = new ByteArrayInputStream(bytes);
80 FileAnalyzer fa = AnalyzerGuru.getAnalyzer(in, "/dummy/file");
91 // should be the same factory as the built-in analyze
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DClearCaseHistoryParser.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
73 BufferedReader in = new BufferedReader(new InputStreamReader(input));
77 while ((s = in.readLine()) != null) {
81 while ((s = in.readLine()) != null) {
90 if ((s = in.readLine()) != null) {
98 if ((s = in.readLine()) != null) {
101 if ((s = in.readLine()) != null) {
108 while ((s = in
[all...]
H A DSCCSHistoryParser.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
59 Reader in; field in class:SCCSHistoryParser
76 in = new BufferedReader(new FileReader(getSCCSFile(file)));
94 IOUtils.close(in);
179 while((c = in.read()) != -1) {
182 d = in.read();
187 d = in.read();
194 d = in
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/archive/
H A DZipAnalyzerFactory.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
41 // Derived from /usr/src/cmd/file/file.c in OpenSolaris
64 public FileAnalyzerFactory isMagic(byte[] contents, InputStream in)
66 assert in.markSupported();
77 in.mark(buf.length);
78 int len = in.read(buf);
79 in.reset();
/opengrok-jel/test/org/opensolaris/opengrok/analysis/php/
H A DPhpXrefTest.java57 InputStreamReader in =
61 PhpAnalyzer.writeXref(in, out, null, null, null);
63 in.close();
66 in = new InputStreamReader(getTestFile("sampleXrefRes.html"), "UTF-8");
68 BufferedReader bir = new BufferedReader(in);
/opengrok-jel/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
137 StringReader in = new StringReader("abc def ghi\n");
146 assertTrue(c.getContext(in, out, "", "", "", null, limit, hits));
165 in = new StringReader("abc def ghi\n");
170 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
185 in = null;
190 assertTrue(c.getContext(in, out, "", "", "", defs, limit, hits));
205 in
[all...]
/opengrok-jel/platform/solaris/smf/
H A Dsvc-opengrok7 # You may not use this file except in compliance with the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
41 case "$1" in
/opengrok-jel/tools/init.d/
H A Dopengrok.sh6 # You may not use this file except in compliance with the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
27 # How often should the source be updated (in seconds)
54 # Additional directories to look for libraries in.
57 case "$1" in
/opengrok-jel/src/org/opensolaris/opengrok/analysis/c/
H A DCAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
58 public void analyze(Document doc, Reader in) throws IOException { argument
59 super.analyze(doc, in);
84 * Write a cross referenced HTML file reads the source from in
85 * @param in Input source
90 static void writeXref(Reader in, XrefWriter out, Definitions defs, argument
92 CXref xref = new CXref(in);
H A DCxxAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
56 public void analyze(Document doc, Reader in) throws IOException { argument
57 super.analyze(doc, in);
82 * Write a cross referenced HTML file reads the source from in
83 * @param in Input source
88 static void writeXref(Reader in, XrefWriter out, Definitions defs, argument
90 CxxXref xref = new CxxXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/csharp/
H A DCSharpAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
56 public void analyze(Document doc, Reader in) throws IOException { argument
57 super.analyze(doc, in);
82 * Write a cross referenced HTML file reads the source from in
83 * @param in Input source
87 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
88 CSharpXref xref = new CSharpXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/fortran/
H A DFortranAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
55 public void analyze(Document doc, Reader in) throws IOException { argument
56 super.analyze(doc, in);
82 * Write a cross referenced HTML file reads the source from in
83 * @param in Input source
88 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
89 FortranXref xref = new FortranXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/java/
H A DJavaAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
57 public void analyze(Document doc, Reader in) throws IOException { argument
58 super.analyze(doc, in);
83 * Write a cross referenced HTML file reads the source from in
84 * @param in Input source
89 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
90 JavaXref xref = new JavaXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/javascript/
H A DJavaScriptAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
58 public void analyze(Document doc, Reader in) throws IOException { argument
59 super.analyze(doc, in);
85 * Write a cross referenced HTML file reads the source from in
86 * @param in Input source
91 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
92 JavaScriptXref xref = new JavaScriptXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/lisp/
H A DLispAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
56 public void analyze(Document doc, Reader in) throws IOException { argument
57 super.analyze(doc, in);
83 * Write a cross referenced HTML file reads the source from in
84 * @param in Input source
89 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
90 LispXref xref = new LispXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/perl/
H A DPerlAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
58 public void analyze(Document doc, Reader in) throws IOException { argument
59 super.analyze(doc, in);
85 * Write a cross referenced HTML file reads the source from in
86 * @param in Input source
91 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
92 PerlXref xref = new PerlXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/php/
H A DPhpAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
57 public void analyze(Document doc, Reader in) throws IOException { argument
58 super.analyze(doc, in);
84 * Write a cross referenced HTML file reads the source from in
85 * @param in Input source
90 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
91 PhpXref xref = new PhpXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/python/
H A DPythonAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
58 public void analyze(Document doc, Reader in) throws IOException { argument
59 super.analyze(doc, in);
85 * Write a cross referenced HTML file reads the source from in
86 * @param in Input source
91 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
92 PythonXref xref = new PythonXref(in);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/sh/
H A DShAnalyzer.java6 * You may not use this file except in compliance with the License.
8 * See LICENSE.txt included in this distribution for the specific
11 * When distributing Covered Code, include this CDDL HEADER in each
58 public void analyze(Document doc, Reader in) throws IOException { argument
59 super.analyze(doc, in);
85 * Write a cross referenced HTML file reads the source from in
86 * @param in Input source
91 static void writeXref(Reader in, XrefWriter out, Definitions defs, Annotation annotation, Project project) throws IOException { argument
92 ShXref xref = new ShXref(in);

Completed in 20 milliseconds

123456