Searched refs:buf (Results 1 - 15 of 15) sorted by relevance

/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/diff/myers/
H A DPathNode.java133 StringBuffer buf = new StringBuffer("[");
137 buf.append("(");
138 buf.append(Integer.toString(node.i));
139 buf.append(",");
140 buf.append(Integer.toString(node.j));
141 buf.append(")");
144 buf.append("]");
145 return buf.toString();
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DPathTokenizer.java50 char buf[] = new char[64];
61 if (i >= buf.length) {
62 buf = Arrays.copyOf(buf, buf.length * 2);
64 buf[i++] = Character.toLowerCase((char) c);
70 termAtt.copyBuffer(buf, 0, i);
H A DXrefInputStream.java137 byte[] buf =
140 while ((len = in.read(buf)) >= 0) {
141 out.write(buf, 0, len);
167 char[] buf = new char[4096]; // underlying buffers are suffient
171 while ((len = isr.read(buf)) >= 0) {
172 out.write(buf, 0, len);
H A DTagFilter.java65 public final int read(char[] buf, int start, int len) throws IOException { argument
69 while((c = this.read()) > -1 && n <= len && pos < buf.length) {
70 buf[pos++] = (char) c;
/opengrok-jel/src/org/opensolaris/opengrok/analysis/archive/
H A DZipAnalyzerFactory.java76 byte[] buf = new byte[1024];
77 in.mark(buf.length);
78 int len = in.read(buf);
81 int xoff = LOCHDRSIZ + LOCNAM(buf);
82 int xoff_end = Math.min(len, xoff + LOCEXT(buf));
85 int xfhid = SH(buf, xoff);
89 int xfdatasiz = SH(buf, xoff + 2);
/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/util/
H A DToString.java196 StringBuffer buf = new StringBuffer();
199 buf.append(o[i]);
200 buf.append(EOL);
204 buf.append(o[o.length - 1]);
206 return buf.toString();
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DAnnotation.java290 StringBuilder buf = new StringBuilder(256)
302 buf.append(count).append(',').append(rid).append(',');
305 buf.setLength(buf.length()-1); // delete last ,
307 buf.append("], \"revs\": [");
310 buf.append("{\"rev\":").append(Util.jsStringLiteral(info.rev))
315 buf.setLength(buf.length()-1);
317 return buf.append("]}").toString();
/opengrok-jel/test/org/opensolaris/opengrok/analysis/
H A DTextAnalyzerTest.java119 char[] buf = new char[1024];
120 int br = r.read(buf);
122 contents = new String(buf, 0, br);
/opengrok-jel/src/org/opensolaris/opengrok/configuration/
H A DRuntimeEnvironment.java244 byte[] buf = new byte[1024];
246 while ((len = in.read(buf)) != -1) {
247 bos.write(buf, 0, len);
249 buf = bos.toByteArray();
251 log.fine("New config: \n" + new String(buf));
253 XMLDecoder d = new XMLDecoder(new ByteArrayInputStream(buf));
/opengrok-jel/src/org/opensolaris/opengrok/analysis/lisp/
H A DLispXref.lex45 public void reInit(char[] buf, int len) {
46 super.reInit(buf, len);
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DUtil.java316 StringBuilder buf = new StringBuilder(path.length());
317 buf.append('/');
319 buf.append(pnames[i]).append('/');
325 buf.setLength(buf.length()-1);
327 return buf.toString();
455 * @param buf where to append the query string
461 public static void appendQuery(StringBuilder buf, String key, argument
465 buf.append("&amp;").append(key).append('=')
920 char[] buf
[all...]
H A DPageConfig.java692 StringBuilder buf = new StringBuilder();
694 buf.append(name).append(',');
696 buf.setLength(buf.length() - 1);
697 requestedProjectsString = buf.toString();
/opengrok-jel/lib/
H A Dbcel-5.2.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...
H A Dservlet-api.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/servlet/http/ javax/servlet/resources/ javax/ ...
/opengrok-jel/src/org/opensolaris/opengrok/search/context/
H A DPlainLineTokenizer.lex109 * @param buf a char buffer with text to tokenize
115 public void reInit(char[] buf, int len, Writer out, String url,
118 reInit(new CharArrayReader(buf, 0, len), out, url, tags);

Completed in 670 milliseconds