Searched refs:read (Results 1 - 25 of 39) sorted by relevance

12

/opengrok/src/org/opensolaris/opengrok/analysis/
H A DExpandTabsReader.java81 public int read() throws IOException { method in class:ExpandTabsReader
89 int c = super.read();
110 public int read(char[] cbuf, int off, int len) throws IOException { method in class:ExpandTabsReader
112 int c = read();
129 int c = read();
H A DIteratorReader.java50 public int read(char[] cbuf, int off, int len) throws IOException { method in class:IteratorReader
52 int ret = current.read(cbuf, off, len);
54 // If some data was read, or if no data was requested,
55 // we're OK. Return the number of characters read.
64 return current.read(cbuf, off, len);
H A DPathTokenizer.java82 c = input.read();
94 c = input.read();
H A DTextAnalyzer.java47 int br = in.read(head, 0, 3);
/opengrok/test/org/opensolaris/opengrok/analysis/php/
H A DPhpXrefTest.java116 int read;
118 read = exp.read(buffer, 0, buffer.length);
119 if (read > 0) {
120 baosExp.write(buffer, 0, read);
122 } while (read >= 0);
/opengrok/src/org/opensolaris/opengrok/history/
H A DHistoryReader.java45 public int read(char[] cbuf, int off, int len) throws IOException { method in class:HistoryReader
49 return input.read(cbuf, off, len);
H A DSCCSHistoryParser.java116 while ((c = read()) > 01) {
180 private int read() throws java.io.IOException { method in class:SCCSHistoryParser
182 while((c = in.read()) != -1) {
185 d = in.read();
190 d = in.read();
197 d = in.read();
199 dt = in.read();
H A DRCSget.java92 public int read(byte[] buffer, int pos, int len) throws IOException { method in class:RCSget
93 return stream.read(buffer, pos, len);
97 public int read() throws IOException { method in class:RCSget
98 throw new IOException("use a BufferedInputStream. just read() is not supported!");
H A DMonotoneRepository.java88 while ((len = in.read(buffer)) != -1) {
H A DGitRepository.java265 while ((len = in.read(buffer)) != -1) {
277 while ((len = in.read(buffer)) != -1) {
574 "Failed to read tag list: {0}", e.getMessage());
601 "Failed to read tag list: {0}", e.getMessage());
/opengrok/test/org/opensolaris/opengrok/analysis/
H A DIteratorReaderTest.java49 assertEquals(-1, instance.read());
H A DExpandTabsReaderTest.java88 while ((c = r.read()) != -1) {
H A DTextAnalyzerTest.java131 while ((c = r.read()) != -1) {
/opengrok/src/org/opensolaris/opengrok/analysis/archive/
H A DBZip2Analyzer.java99 if (raw.read() == 'B' && raw.read() == 'Z') {
H A DZipAnalyzerFactory.java81 int len = in.read(buf);
/opengrok/test/org/opensolaris/opengrok/history/
H A DSCCSgetTest.java111 while ((nr = in.read(buffer, 0, buffer.length)) != -1) {
142 while ((len = in.read(buffer)) != -1) {
H A DMercurialRepositoryTest.java241 while ((len = input.read(buffer)) > 0) {
284 int len = input.read(buffer);
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DFastCharStream.java30 int bufferPosition = 0; // next char to read
69 input.read(buffer, newPosition, buffer.length-newPosition);
71 throw new IOException("read past eof");
H A DSimpleCharStream.java107 if ((i = inputStream.read(buffer, maxNextCharInd,
/opengrok/test/org/opensolaris/opengrok/analysis/haskell/
H A DHaskellXrefTest.java93 numBytesRead = expectedInputStream.read(buffer, 0, buffer.length);
/opengrok/test/org/opensolaris/opengrok/util/
H A DFileUtilities.java80 while ((nr = in.read(array)) > 0) {
/opengrok/src/org/opensolaris/opengrok/web/
H A DEftarFileReader.java119 int len = f.read(tagString);
204 int len = f.read(desc);
/opengrok/src/org/opensolaris/opengrok/authorization/
H A DAuthorizationPluginClassLoader.java136 in.read(bytes);
/opengrok/src/org/opensolaris/opengrok/util/
H A DExecutor.java227 "Failed to read from process: " + cmdList.get(0), e);
282 * Get a reader to read the output from the process
291 * Get an input stream read the output from the process
314 * Get a reader to read the output the process wrote to the error stream.
323 * Get an input stream to read the output the process wrote to the error stream.
343 * @throws java.io.IOException if any read error
361 while ((len = in.read(buffer)) != -1) {
/opengrok/src/org/opensolaris/opengrok/configuration/messages/
H A DMessage.java267 public static Message read(File file) throws IOException { method in class:Message

Completed in 38 milliseconds

12