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

1234567891011>>

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-319860.js30 function read(a, index) { function
40 read(a, 0);
41 read(a, 0);
42 %OptimizeFunctionOnNextCall(read);
46 read(a, i);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DSFTPInputStream.java19 * Offset (in bytes) in the file to read
29 * an array of bytes. An attempt is made to read as many as
30 * <code>len</code> bytes, but a smaller number may be read, possibly
31 * zero. The number of bytes actually read is returned as an integer.
33 * @see SFTPv3Client#read(SFTPv3FileHandle,long,byte[],int,int)
36 public int read(byte[] buffer, int offset, int len) throws IOException method in class:SFTPInputStream
38 int read = handle.getClient().read(handle, readOffset, buffer, offset, len);
39 if(read > 0) {
40 readOffset += read;
60 public int read() throws IOException { method in class:SFTPInputStream
[all...]
H A DSCPInputStream.java20 * Bytes remaining to be read from the stream
39 int c = session.getStdout().read();
74 public int read() throws IOException method in class:SCPInputStream
81 int read = super.read();
82 if (read < 0)
87 remaining -= read;
89 return read;
93 public int read(byte b[], int off, int len) throws IOException method in class:SCPInputStream
106 int read
[all...]
H A DPacketListener.java11 void read(String packet); method in interface:PacketListener
/external/guava/guava-tests/test/com/google/common/io/
H A DLimitInputStreamTest.java36 int read = lin.read();
37 assertEquals(big[0], read);
39 read = lin.read();
40 assertEquals(big[1], read);
42 read = lin.read();
43 assertEquals(-1, read);
47 read
124 public int read() throws IOException { method in class:LimitInputStreamTest.UnmarkableInputStream
[all...]
/external/jmonkeyengine/engine/src/core/com/jme3/util/
H A DLittleEndien.java37 * <code>LittleEndien</code> is a class to read littleendien stored data
39 * assume they come from a LittleEndien input stream. Currently used to read .ms3d and .3ds files.
50 * @param in The input stream to read from.
57 public int read() throws IOException { method in class:LittleEndien
58 return in.read();
62 public int read(byte[] buf) throws IOException { method in class:LittleEndien
63 return in.read(buf);
67 public int read(byte[] buf, int off, int len) throws IOException { method in class:LittleEndien
68 return in.read(buf, off, len);
72 return (in.read()
[all...]
/external/smack/src/org/jivesoftware/smack/util/
H A DReaderListener.java35 * Notification that the Reader has read a new string.
37 * @param str the read String
39 public abstract void read(String str); method in interface:ReaderListener
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
H A DShortArrayCodeInput.java26 /** source array to read from */
46 public int read() throws EOFException { method in class:ShortArrayCodeInput
58 int short0 = read();
59 int short1 = read();
66 long short0 = read();
67 long short1 = read();
68 long short2 = read();
69 long short3 = read();
/external/chromium_org/tools/gyp/test/variables/filelist/src/
H A Ddummy.py5 open(sys.argv[1], 'w').write(open(sys.argv[2]).read())
/external/proguard/src/proguard/io/
H A DDataEntryReader.java28 * determines what to do with the read data, if anything.
37 public void read(DataEntry dataEntry) throws IOException; method in interface:DataEntryReader
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
H A DTeeInputStream.java19 public int read(byte[] buf) method in class:TeeInputStream
22 return read(buf, 0, buf.length);
25 public int read(byte[] buf, int off, int len) method in class:TeeInputStream
28 int i = input.read(buf, off, len);
38 public int read() method in class:TeeInputStream
41 int i = input.read();
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DUnknownLengthHttpInputStream.java33 @Override public int read(byte[] buffer, int offset, int count) throws IOException { method in class:UnknownLengthHttpInputStream
39 int read = in.read(buffer, offset, count);
40 if (read == -1) {
45 cacheWrite(buffer, offset, read);
46 return read;
/external/apache-http/src/org/apache/http/io/
H A DSessionInputBuffer.java49 int read(byte[] b, int off, int len) throws IOException; method in interface:SessionInputBuffer
51 int read(byte[] b) throws IOException; method in interface:SessionInputBuffer
53 int read() throws IOException; method in interface:SessionInputBuffer
/external/chromium_org/tools/gyp/test/variables/commands/
H A Dgyptest-commands-repeated.py16 expect = test.read('commands-repeated.gyp.stdout').replace('\r\n', '\n')
31 contents = test.read('commands-repeated.gypd').replace('\r\n', '\n')
32 expect = test.read('commands-repeated.gypd.golden').replace('\r\n', '\n')
H A Dgyptest-commands.py17 expect = test.read('commands.gyp.stdout').replace('\r', '')
32 contents = test.read('commands.gypd').replace('\r', '')
33 expect = test.read('commands.gypd.golden').replace('\r', '')
/external/chromium_org/tools/json_comment_eater/
H A Djson_comment_eater_test.py15 def read(file_name): function in function:JsonCommentEaterTest._Load
17 return f.read()
18 return [read(pattern % test_name)
/external/apache-http/src/org/apache/http/impl/io/
H A DIdentityInputStream.java74 public int read() throws IOException { method in class:IdentityInputStream
78 return this.in.read();
82 public int read(final byte[] b, int off, int len) throws IOException { method in class:IdentityInputStream
86 return this.in.read(b, off, len);
H A DContentLengthInputStream.java42 * gets called. Instead, it will read until the "end" of its chunking on
44 * requests, while not requiring the client to remember to read the entire
75 * The maximum number of bytes that can be read from the stream. Subsequent
76 * read operations will return -1.
95 * @param contentLength The maximum number of bytes that can be read from
96 * the stream. Subsequent read operations will return -1.
121 while (read(buffer) >= 0) {
125 // to read after closed!
136 * @see java.io.InputStream#read()
138 public int read() throw method in class:ContentLengthInputStream
162 public int read (byte[] b, int off, int len) throws java.io.IOException { method in class:ContentLengthInputStream
187 public int read(byte[] b) throws IOException { method in class:ContentLengthInputStream
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
H A DIndefiniteLengthInputStream.java22 _b1 = in.read();
23 _b2 = in.read();
51 public int read(byte[] b, int off, int len) method in class:IndefiniteLengthInputStream
57 return super.read(b, off, len);
65 int numRead = _in.read(b, off + 2, len - 2);
76 _b1 = _in.read();
77 _b2 = _in.read();
88 public int read() method in class:IndefiniteLengthInputStream
96 int b = _in.read();
/external/chromium_org/third_party/libusb/src/libusb/os/
H A Dpoll_posix.h5 #define usbi_read read
/external/chromium_org/tools/gyp/test/generator-output/rules/
H A Dcopy-file.py9 contents = open(sys.argv[1], 'r').read()
/external/chromium_org/tools/gyp/test/rules/src/
H A Dcopy-file.py8 contents = open(sys.argv[1], 'r').read()
/external/chromium_org/tools/gyp/test/rules-dirname/src/
H A Dcopy-file.py8 contents = open(sys.argv[1], 'r').read()
/external/chromium_org/tools/gyp/test/win/vs-macros/
H A Ddo_stuff.py7 input = open(sys.argv[1], "r").read()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DLineNumberInputStreamTest.java60 lnis.read();
61 lnis.read();
63 assertEquals("stream returned incorrect line number after read", 1,
79 assertEquals("Failed to mark", '0', lnis.read());
83 * @tests java.io.LineNumberInputStream#read()
86 assertEquals("Failed to read correct byte", '0', lnis.read());
87 assertEquals("Failed to read correct byte on dos text", '0', lnis2
88 .read());
89 assertTrue("Failed to read correc
[all...]

Completed in 1210 milliseconds

1234567891011>>