Searched defs:remaining (Results 1 - 6 of 6) sorted by relevance

/libcore/ojluni/src/main/native/
H A DPollArrayWrapper.c49 int remaining = timeout; local
57 int res = poll(fds, nfds, remaining);
59 if (remaining >= 0) {
63 remaining -= diff;
64 if (diff < 0 || remaining <= 0) {
H A DUNIXProcess_md.c660 ssize_t remaining = nbyte; local
662 ssize_t n = read(fd, buf, remaining);
664 return nbyte - remaining;
666 remaining -= n;
667 if (remaining <= 0)
/libcore/ojluni/src/main/java/java/nio/
H A DBuffer.java371 * out.write(buf); // Write remaining data
387 * @return The number of elements remaining in this buffer
389 public final int remaining() { method in class:Buffer
398 * remaining in this buffer
/libcore/ojluni/src/main/java/java/util/zip/
H A DZipInputStream.java49 private long remaining; field in class:ZipInputStream
128 remaining = entry.size;
161 if (entryEOF || (entry != null && remaining == 0)) {
207 remaining -= len;
212 if (remaining <= 0) {
217 if (len > remaining) {
218 len = (int)remaining;
225 remaining -= len;
226 if (remaining == 0 && entry.crc != crc.getValue()) {
309 // now get the remaining field
[all...]
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DIOVecWrapper.java57 // Buffers and position/remaining corresponding to elements in iovec array
60 private final int[] remaining; field in class:IOVecWrapper
89 this.remaining = new int[size];
113 this.remaining[i] = rem;
129 return remaining[i];
/libcore/dex/src/main/java/com/android/dex/
H A DDex.java170 int count = Math.min(buffer.length, data.remaining());
299 int count = Math.min(buffer.length, data.remaining());
316 int count = Math.min(buffer.length, data.remaining());
876 * Returns the number of bytes remaining in this section.
878 public int remaining() { method in class:Dex.Section
879 return data.remaining();

Completed in 204 milliseconds