Searched refs:content (Results 1 - 20 of 20) sorted by relevance

/opengrok-sun/src/org/opensolaris/opengrok/analysis/document/
H A DTroffAnalyzer.java48 private char[] content; field in class:TroffAnalyzer
58 content = new char[12 * 1024];
66 int rbytes = inReader.read(content, len, content.length - len);
68 if (rbytes == (content.length - len)) {
69 content = Arrays.copyOf(content, content.length * 2);
84 troffull.reInit(content, len);
88 troffull.reInit(content, le
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/analysis/plain/
H A DXMLAnalyzer.java46 private char[] content; field in class:XMLAnalyzer
55 content = new char[64 * 1024];
63 int rbytes = in.read(content, len, content.length - len);
65 if (rbytes == (content.length - len)) {
66 content = Arrays.copyOf(content, content.length * 2);
81 plainfull.reInit(content, len);
85 plainfull.reInit(content, le
[all...]
H A DPlainAnalyzer.java49 protected char[] content; field in class:PlainAnalyzer
59 content = new char[64 * 1024];
70 int rbytes = inReader.read(content, len, content.length - len);
72 if (rbytes == (content.length - len)) {
73 content = Arrays.copyOf(content, content.length * 2);
98 plainfull.reInit(content, len);
102 plainfull.reInit(content, le
[all...]
H A DPlainAnalyzerFactory.java41 public FileAnalyzerFactory isMagic(byte[] content, InputStream in)
43 if (isPlainText(content)) {
55 private boolean isPlainText(byte[] content) throws IOException {
56 String ascii = new String(content, "US-ASCII");
61 String noBOM = AnalyzerGuru.stripBOM(content);
H A DAbstractSourceCodeAnalyzer.java73 symbolTokenizer.reInit(content, len);
77 symbolTokenizer.reInit(content, len);
93 xref.reInit(content, len);
/opengrok-sun/src/org/opensolaris/opengrok/analysis/archive/
H A DTarAnalyzer.java47 private final StringBuilder content; field in class:TarAnalyzer
53 content = new StringBuilder(64 * 1024);
58 content.setLength(0);
63 content.append(entry.getName()).append('\n');
65 content.trimToSize();
73 plainfull.reInit(content.toString());
77 plainfull.reInit(content.toString());
93 out.write(Util.htmlize(content));
H A DZipAnalyzer.java47 private final StringBuilder content; field in class:ZipAnalyzer
53 content = new StringBuilder(64 * 1024);
58 content.setLength(0);
62 content.append(entry.getName()).append('\n');
64 content.trimToSize();
72 plainfull.reInit(content.toString());
76 plainfull.reInit(content.toString());
92 out.write(Util.htmlize(content));
/opengrok-sun/test/org/opensolaris/opengrok/analysis/document/
H A DTroffAnalyzerTest.java49 private static String content; field in class:TroffAnalyzerTest
69 content = w.toString();
102 analyzer.analyze(doc, new ByteArrayInputStream(content.getBytes()));
113 StringWriter out = new StringWriter(content.length() + 1024);
/opengrok-sun/src/org/opensolaris/opengrok/analysis/executables/
H A DELFAnalyzer.java57 private StringBuilder content; field in class:ELFAnalyzer
76 content = new StringBuilder();
83 if (content.length() > 0) {
91 if (content.length() > 0) {
158 content = sb;
185 plainfull.reInit(content.toString());
189 plainfull.reInit(content.toString());
205 String html = Util.htmlize(content);
297 public static final int SHT_CHECKSUM = 0x6ffffff8; /* Checksum for DSO content. */
/opengrok-sun/src/org/opensolaris/opengrok/analysis/sql/
H A DPLSQLAnalyzer.java49 xref.reInit(content, len);
H A DSQLAnalyzer.java49 xref.reInit(content, len);
/opengrok-sun/src/org/opensolaris/opengrok/analysis/
H A DAnalyzerGuru.java219 * @return An analyzer suited for that file content
282 * Get the content type for a named file.
284 * @param in The input stream we want to get the content type for (if
285 * we cannot determine the content type by the filename)
342 * @throws java.io.IOException If an error occurs while getting the content
468 byte[] content = new byte[8];
469 int len = in.read(content);
479 content = Arrays.copyOf(content, len);
482 FileAnalyzerFactory factory = find(content);
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DResults.java95 char[] content = new char[1024 * 8];
111 int len = r.read(content);
112 return new String(content, 0, len);
H A DSearchEngine.java109 private final char[] content = new char[1024 * 8]; field in class:SearchEngine
363 l = r.read(content);
368 Summary sum = summarizer.getSummary(new String(content, 0, l));
/opengrok-sun/web/default/
H A Dstyle.css64 .pre { /* the diff content */
97 #pagetitle { /* short verbal summary/description of the shown content */
198 content: "|";
232 content: ": ";
236 content: "|";
245 /* ############### start of content ############## */
246 #content {
285 #revisions a.h { /* modified file list content */
H A Dprint.css57 .pre { /* the diff content */
74 #pagetitle { /* short verbal summary/description of the shown content */
155 /* ############### start of content ############## */
156 #content {
190 #revisions a.h { /* modified file list content */
/opengrok-sun/web/offwhite/
H A Dstyle.css62 .pre { /* the diff content */
95 #pagetitle { /* short verbal summary/description of the shown content */
228 content: "|";
264 content: ": ";
267 content: "|";
276 /* ############### start of content ############## */
277 #content {
316 #revisions a.h { /* modified file list content */
H A Dprint.css57 .pre { /* the diff content */
74 #pagetitle { /* short verbal summary/description of the shown content */
155 /* ############### start of content ############## */
156 #content {
190 #revisions a.h { /* modified file list content */
/opengrok-sun/web/polished/
H A Dstyle.css81 .pre { /* the diff content */
129 #pagetitle { /* short verbal summary/description of the shown content */
272 content: "|";
314 content: ": ";
318 content: "|";
327 /* ############### start of content ############## */
328 #content {
368 #revisions a.h { /* modified file list content */
H A Dprint.css57 .pre { /* the diff content */
74 #pagetitle { /* short verbal summary/description of the shown content */
155 /* ############### start of content ############## */
156 #content {
190 #revisions a.h { /* modified file list content */

Completed in 36 milliseconds