/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
CheckedInputStreamTest.java | 50 while (checkEmpty.read() >= 0) { 59 while (checkIn.read() >= 0) { 69 checkIn2.read(outBuf, 0, 10); 102 checkIn.read(); 105 checkIn.read(); 120 checkIn.read(buff, 10, 5); 123 checkIn.read(buff, 10, 5);
|
/libcore/luni/src/test/java/libcore/java/lang/ |
ProcessBuilderTest.java | 65 in.read(); 70 err.read();
|
/libcore/ojluni/src/main/java/java/util/jar/ |
JarInputStream.java | 34 * The <code>JarInputStream</code> class is used to read the contents of 95 man.read(new ByteArrayInputStream(bytes)); 112 while ((n = is.read(buffer, 0, buffer.length)) != -1) { 186 * bytes are read and <code>0</code> is returned. 190 * @param b the buffer into which the data is read 192 * @param len the maximum number of bytes to read 193 * @return the actual number of bytes read, or -1 if the end of the 204 public int read(byte[] b, int off, int len) throws IOException { method in class:JarInputStream 207 n = super.read(b, off, len);
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
ClusterChainDirectory.java | 62 result.read(); 87 protected final void read(ByteBuffer data) throws IOException { method in class:ClusterChainDirectory
|
FsInfoSector.java | 57 * @return the FS info sector that was read 58 * @throws IOException on read error 61 public static FsInfoSector read(Fat32BootSector bs) throws IOException { method in class:FsInfoSector 65 result.read();
|
Sector.java | 53 * @throws IOException on read error 56 protected void read() throws IOException { method in class:Sector 59 device.read(offset, buffer);
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
AnnotationsDirectoryItem.java | 31 public void read(DexRandomAccessFile file) throws IOException { method in class:AnnotationsDirectoryItem 41 (fieldAnnotations[i] = new FieldAnnotation()).read(file); 47 (methodAnnotations[i] = new MethodAnnotation()).read(file); 53 (parameterAnnotations[i] = new ParameterAnnotation()).read(file);
|
ClassDefItem.java | 40 public void read(DexRandomAccessFile file) throws IOException { method in class:ClassDefItem
|
StringDataItem.java | 31 public void read(DexRandomAccessFile file) throws IOException { method in class:StringDataItem 43 // Read past the null byte.
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
ShortArrayCodeInput.java | 26 /** 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();
|
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
QemuPipeStream.cpp | 143 ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, res); 164 const unsigned char *QemuPipeStream::read( void *buf, size_t *inout_len) function in class:QemuPipeStream 166 //DBG(">> QemuPipeStream::read %d\n", *inout_len); 169 ERR("QemuPipeStream::read failed, buf=NULL"); 180 //DBG("<< QemuPipeStream::read %d\n", *inout_len); 190 int res = ::read(m_sock, p, len);
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_AvailTest.java | 53 c = myin.read(); 60 // Verify correct value at start of read 68 c = myin.read(); 85 myin.read(); 87 // while(myin.read() != -1);
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLStreamedInputTest.java | 39 assertEquals(1, sslsi.read()); 44 sslsi.read();
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionInputBuffer.java | 40 * Logs all data read to the wire LOG. 76 public int read(byte[] b, int off, int len) throws IOException { method in class:LoggingSessionInputBuffer 77 int l = this.in.read(b, off, len); 84 public int read() throws IOException { method in class:LoggingSessionInputBuffer 85 int l = this.in.read(); 92 public int read(byte[] b) throws IOException { method in class:LoggingSessionInputBuffer 93 int l = this.in.read(b);
|
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 42 * 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 80 * The maximum number of bytes that can be read from the stream. Subsequent 81 * read operations will return -1. 100 * @param contentLength The maximum number of bytes that can be read from 101 * the stream. Subsequent read operations will return -1. 126 while (read(buffer) >= 0) { 130 // to read after closed! 138 * Read the next byte from the stream 141 * @see java.io.InputStream#read() 143 public int read() throws IOException { method in class:ContentLengthInputStream 167 public int read (byte[] b, int off, int len) throws java.io.IOException { method in class:ContentLengthInputStream 192 public int read(byte[] b) throws IOException { method in class:ContentLengthInputStream [all...] |
/external/autotest/client/cros/ |
kernel_trace.py | 15 results = trace.read(regexp=r'frequency=(\d+)') 24 read : Reads trace buffer returns list of 35 _buffer_ptr : integer pointing to last byte read 178 def read(self, regexp=None): member in class:KernelTrace
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 8 * An input stream which copies anything read through it to another stream. 20 * @param output output stream to copy any input read to. 28 public int read(byte[] buf) method in class:TeeInputStream 31 return read(buf, 0, buf.length); 34 public int read(byte[] buf, int off, int len) method in class:TeeInputStream 37 int i = input.read(buf, off, len); 47 public int read() method in class:TeeInputStream 50 int i = input.read();
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
CommandLineSerializer.java | 61 checkState(bais.read() == -1,
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/ |
proxyshaper.py | 45 Will consider changing this class to take read and write files and 63 """Seconds to read/write |num_bytes| with |self.bps|.""" 88 logging.debug('read sleep: %0.4fs %d requests)', wait, num_requests) 95 def read(self, size=-1): member in class:RateLimitedFile 96 return self._read(self.original_file.read, size)
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
cgiapp.py | 106 stdout, stderr = proc.communicate(StdinReader.from_environ(environ).read()) 177 def read(self, size=None): member in class:StdinReader 181 text = self.stdin.read(self.content_length) 183 text = self.stdin.read(min(self.content_length, size)) 231 next += stdin.read(next_len) 241 data = os.read(proc.stdout.fileno(), 1024) 250 data = os.read(proc.stderr.fileno(), 1024)
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
daisy_chain_wrapper.py | 68 behavior around read and seek that allow for all of the operations necessary 92 # Current read position for the upload file pointer. 185 def read(self, amt=None): # pylint: disable=invalid-name member in class:DaisyChainWrapper 189 # string so callers can call still call len() and read(0). 193 'Invalid HTTP read size %s during daisy chain operation, ' 218 'Invalid read during daisy chain operation, got data of size ' 236 # Safe because we check position against src_obj_size in read. 246 # get it on the next call to read.
|
file_part.py | 57 def read(self, size=-1): member in class:FilePart 60 size = min(size, self._end - self._fp.tell()) # Only read to our EOF 61 return self._fp.read(max(0, size))
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/ |
keyfile.py | 24 Wrapper class to expose a Key being read via a partial implementaiton of the 56 # we position to one before EOF (plus pos) and then read one byte to 65 self.key.read(1) 87 def read(self, size): member in class:KeyFile 89 return self.key.read(size)
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
ShortArrayCodeInput.java | 26 /** 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/emma/core/java12/com/vladium/util/ |
ByteArrayIStream.java | 45 public final int read () method in class:ByteArrayIStream 53 public final int read (final byte [] buf, final int offset, int length) method in class:ByteArrayIStream
|