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

12

/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngrio.c125 png_size_t read, remaining, err; local
127 remaining = length;
131 read = MIN(NEAR_BUF_SIZE, remaining);
142 remaining -= read;
144 while (remaining != 0);
H A Dpngwio.c122 png_size_t written, remaining, err; local
124 remaining = length;
128 written = MIN(NEAR_BUF_SIZE, remaining);
139 remaining -= written;
141 while (remaining != 0);
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DFixedLengthInputStream.java40 private long remaining; field in class:FixedLengthInputStream
44 this.remaining = len;
49 eof = (remaining == 0L);
53 if (len > remaining) {
54 len = (int)remaining;
58 remaining -= n;
59 if (remaining == 0) {
71 return n < remaining? n: (int)remaining;
H A DFixedLengthOutputStream.java43 private long remaining; field in class:FixedLengthOutputStream
51 this.remaining = len;
58 eof = (remaining == 0);
63 remaining --;
70 eof = (remaining == 0);
74 if (len > remaining) {
79 remaining -= len;
87 if (remaining > 0) {
H A DChunkedInputStream.java38 private int remaining; field in class:ChunkedInputStream
118 remaining = readChunkHeader();
119 if (remaining == 0) {
127 if (len > remaining) {
128 len = remaining;
132 remaining -= n;
134 if (remaining == 0) {
164 return n > remaining? remaining: n;
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_MidiOut.c199 UINT32 remaining = size; local
205 while (remaining > 0) {
211 if (remaining > increment) {
214 nData = remaining;
227 remaining -= nData;
/openjdk7/jdk/src/solaris/native/sun/nio/ch/
H A DEPollArrayWrapper.c48 int remaining = timeout; local
58 if (remaining >= 0) {
62 remaining -= diff;
63 if (diff < 0 || remaining <= 0) {
H A DPollArrayWrapper.c45 int remaining = timeout; local
53 int res = poll(fds, nfds, remaining);
55 if (remaining >= 0) {
59 remaining -= diff;
60 if (diff < 0 || remaining <= 0) {
H A DDevPollArrayWrapper.c77 int remaining = a.dp_timeout; local
85 /* poll(7d) ioctl does not return remaining count */
88 if (remaining >= 0) {
92 remaining -= diff;
93 if (diff < 0 || remaining <= 0) {
/openjdk7/jdk/src/share/sample/nio/server/
H A DChannelIO.java87 * Return a ByteBuffer with "remaining" space to work. If you have to
90 protected void resizeRequestBB(int remaining) { argument
91 if (requestBB.remaining() < remaining) {
/openjdk7/jdk/src/share/classes/java/nio/
H A DBuffer.java364 * out.write(buf); // Write remaining data
380 * @return The number of elements remaining in this buffer
382 public final int remaining() { method in class:Buffer
391 * remaining in this buffer
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipInputStream.java48 private long remaining; field in class:ZipInputStream
125 remaining = entry.size;
203 if (remaining <= 0) {
208 if (len > remaining) {
209 len = (int)remaining;
216 remaining -= len;
217 if (remaining == 0 && entry.crc != crc.getValue()) {
300 // now get the remaining fields for the entry
/openjdk7/hotspot/src/share/vm/classfile/
H A DclassFileStream.hpp79 size_t remaining = (size_t)(_buffer_end - _current); local
81 check_truncated_file(usize > remaining, CHECK);
115 // Returns NULL if length elements are not remaining. The caller is
/openjdk7/jdk/src/solaris/native/sun/tools/attach/
H A DBsdVirtualMachine.c196 size_t remaining = (size_t)(baLen - off); local
197 if (len > remaining) {
198 len = remaining;
222 size_t remaining = bufLen; local
228 if (len > remaining) {
229 len = remaining;
236 remaining -= n;
242 } while (remaining > 0);
H A DLinuxVirtualMachine.c414 size_t remaining = (size_t)(baLen - off); local
415 if (len > remaining) {
416 len = remaining;
440 size_t remaining = bufLen; local
446 if (len > remaining) {
447 len = remaining;
454 remaining -= n;
460 } while (remaining > 0);
H A DSolarisVirtualMachine.c159 size_t remaining = (size_t)(baLen - off); local
160 if (len > remaining) {
161 len = remaining;
/openjdk7/langtools/src/share/classes/javax/tools/
H A DForwardingJavaFileManager.java98 public boolean handleOption(String current, Iterator<String> remaining) { argument
99 return fileManager.handleOption(current, remaining);
H A DJavaFileManager.java205 * {@code remaining} and return true, otherwise return false.
208 * @param remaining remaining options
216 boolean handleOption(String current, Iterator<String> remaining); argument
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DRenderBuffer.java104 public final int remaining() { method in class:RenderBuffer
/openjdk7/jdk/src/share/classes/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];
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DArrayBlockingQueue.java726 * most once (by tracking "remaining" elements); (3) skip over
737 private int remaining; // Number of elements yet to be returned field in class:ArrayBlockingQueue.Itr
748 if ((remaining = count) > 0)
756 return remaining > 0;
763 if (remaining <= 0)
773 while (--remaining > 0 && // skip over nulls
/openjdk7/jdk/src/macosx/native/jobjc/src/core/java/com/apple/jobjc/
H A DNativeBuffer.java78 public int remaining() { return buffer.remaining(); } method in class:NativeBuffer
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEParser.java186 * At the end of this method, buf should have the remaining data
260 * created with the remaining bytes.
263 * @param remaining bytes from the end of the buffer that need to be copied to
267 private ByteBuffer adjustBuf(int chunkSize, int remaining) { argument
270 assert remaining >= 0;
274 createBuf(remaining);
275 System.arraycopy(temp, len-remaining, buf, 0, remaining);
276 len = remaining;
373 // This fills up the remaining o
[all...]
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DUnixOperatingSystem_md.c191 size_t remaining; local
202 for (remaining = sizeof(psinfo_t); remaining > 0;) {
203 result = JVM_Read(fd, addr, remaining);
209 remaining -= result;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DBaseFileManager.java135 public boolean handleOption(String current, Iterator<String> remaining) { argument
139 if (remaining.hasNext()) {
140 if (!o.process(options, current, remaining.next()))
207 allocate(10 + (int)(inbuf.remaining()*factor));
223 (int)(inbuf.remaining()*decoder.maxCharsPerByte());

Completed in 114 milliseconds

12