/opengrok/test/org/opensolaris/opengrok/util/ |
H A D | ExecutorTest.java | 6 * 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/src/org/opensolaris/opengrok/ |
H A D | Info.java | 6 * 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 42 try (InputStream in = Info.class.getResourceAsStream("info.properties")) { 43 if (in != null) { 44 properties.load(in);
|
/opengrok/src/org/opensolaris/opengrok/analysis/ |
H A D | TextAnalyzer.java | 6 * 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 39 InputStream in = stream.markSupported() ? 44 in.mark(3); 47 int br = in.read(head, 0, 3); 53 in.reset(); 62 in.reset(); 66 return new InputStreamReader(in, charset);
|
H A D | ExpandTabsReader.java | 6 * 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/src/org/opensolaris/opengrok/analysis/document/ |
H A D | TroffAnalyzer.java | 6 * 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 try (Reader in = getReader(src.getStream())) { 60 writeXref(in, xrefOut); 76 * @param in Input source 79 private void writeXref(Reader in, Writer out) throws IOException { argument 81 xref = new TroffXref(in); 83 xref.reInit(in); 92 * Write a cross referenced HTML file reads the source from in 99 writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) argument [all...] |
/opengrok/src/org/opensolaris/opengrok/analysis/uue/ |
H A D | UuencodeAnalyzer.java | 6 * 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 try (Reader in = getReader(src.getStream())) { 59 writeXref(in, xrefOut); 75 * @param in Input source 78 private void writeXref(Reader in, Writer out) throws IOException { argument 80 xref = new UuencodeXref(in); 82 xref.reInit(in); 89 * Write a cross referenced HTML file reads the source from in 96 writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) argument [all...] |
/opengrok/test/org/opensolaris/opengrok/analysis/ |
H A D | AnalyzerGuruTest.java | 6 * 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/src/org/opensolaris/opengrok/analysis/plain/ |
H A D | XMLAnalyzer.java | 6 * 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 60 try (Reader in = getReader(src.getStream())) { 61 writeXref(in, xrefOut); 69 * @param in Input source 72 private void writeXref(Reader in, Writer out) throws IOException { argument 73 xref.reInit(in); 79 * Write a cross referenced HTML file reads the source from in 81 * @param in Inpu 86 writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) argument [all...] |
/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | ClearCaseHistoryParser.java | 6 * 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 76 BufferedReader in = new BufferedReader(new InputStreamReader(input)); 80 while ((s = in.readLine()) != null) { 84 while ((s = in.readLine()) != null) { 93 if ((s = in.readLine()) != null) { 100 if ((s = in.readLine()) != null) { 103 if ((s = in.readLine()) != null) { 110 while ((s = in [all...] |
H A D | SCCSHistoryParser.java | 6 * 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 63 Reader in; field in class:SCCSHistoryParser 80 in = new BufferedReader(new FileReader(getSCCSFile(file))); 98 IOUtils.close(in); 182 while((c = in.read()) != -1) { 185 d = in.read(); 190 d = in.read(); 197 d = in [all...] |
/opengrok/src/org/opensolaris/opengrok/analysis/archive/ |
H A D | ZipAnalyzerFactory.java | 6 * 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 43 // Derived from /usr/src/cmd/file/file.c in OpenSolaris 67 public FileAnalyzerFactory isMagic(byte[] contents, InputStream in) 69 assert in.markSupported(); 80 in.mark(buf.length); 81 int len = in.read(buf); 82 in.reset();
|
/opengrok/platform/solaris/smf/ |
H A D | svc-opengrok | 7 # You may not use this file except in compliance with the License. 9 # See LICENSE.txt included in this distribution for the specific 12 # When distributing Covered Code, include this CDDL HEADER in each 39 case "$1" in
|
/opengrok/tools/init.d/ |
H A D | opengrok.sh | 6 # 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 25 # How often should the source be updated (in seconds) 52 # Additional directories to look for libraries in. 55 case "$1" in
|
/opengrok/src/org/opensolaris/opengrok/analysis/erlang/ |
H A D | ErlangAnalyzer.java | 6 * 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 61 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 62 ErlangXref xref = new ErlangXref(in); 63 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/fortran/ |
H A D | FortranAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 57 FortranXref xref = new FortranXref(in); 58 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/haskell/ |
H A D | HaskellAnalyzer.java | 6 * 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 61 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 62 HaskellXref xref = new HaskellXref(in); 63 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/javascript/ |
H A D | JavaScriptAnalyzer.java | 6 * 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 61 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 62 JavaScriptXref xref = new JavaScriptXref(in); 63 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/lisp/ |
H A D | LispAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 57 LispXref xref = new LispXref(in); 58 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/perl/ |
H A D | PerlAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 60 PerlXref xref = new PerlXref(in); 61 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/php/ |
H A D | PhpAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 60 PhpXref xref = new PhpXref(in); 61 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/python/ |
H A D | PythonAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 60 PythonXref xref = new PythonXref(in); 61 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/scala/ |
H A D | ScalaAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 60 ScalaXref xref = new ScalaXref(in); 61 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/sh/ |
H A D | ShAnalyzer.java | 6 * 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 60 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 61 ShXref xref = new ShXref(in); 62 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/tcl/ |
H A D | TclAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 57 TclXref xref = new TclXref(in); 58 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|
/opengrok/src/org/opensolaris/opengrok/analysis/vb/ |
H A D | VBAnalyzer.java | 6 * 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 static void writeXref(Reader in, Writer out, Definitions defs, Annotation annotation, Project project) throws IOException { argument 60 VBXref xref = new VBXref(in); 61 AbstractSourceCodeAnalyzer.writeXref(xref, in, out, defs, annotation, project);
|