HomeSort by relevance Sort by last modified time
    Searched refs:remaining (Results 1 - 25 of 232) sorted by null

1 2 3 4 5 6 7 8 910

  /dalvik/dx/src/com/android/dx/util/
Leb128Utils.java 40 int remaining = value >> 7; local
43 while (remaining != 0) {
44 remaining >>= 7;
61 int remaining = value >> 7; local
67 hasMore = (remaining != end)
68 || ((remaining & 1) != ((value >> 6) & 1));
70 value = remaining;
71 remaining >>= 7;
  /libcore/luni/src/main/java/java/nio/
CharBuffer.java 189 * call to {@code remaining()}.
196 if (index < 0 || index >= remaining()) {
205 * The remaining chars will be moved to the head of the buffer,
207 * {@code remaining()}; the limit is set to capacity; the mark is cleared.
216 * Compare the remaining chars of this buffer to another char
217 * buffer's remaining chars.
228 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining()
229 : otherBuffer.remaining();
758 int remaining = remaining(); local
    [all...]
DoubleBuffer.java 135 * The remaining doubles will be moved to the head of the buffer, staring
136 * from position zero. Then the position is set to {@code remaining()}; the
146 * Compare the remaining doubles of this buffer to another double buffer's
147 * remaining doubles.
158 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining()
159 : otherBuffer.remaining();
175 return remaining() - otherBuffer.remaining();
    [all...]
FloatBuffer.java 137 * The remaining floats will be moved to the head of the buffer, starting
138 * from position zero. Then the position is set to {@code remaining()}; the
148 * Compare the remaining floats of this buffer to another float buffer's
149 * remaining floats.
160 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining()
161 : otherBuffer.remaining();
177 return remaining() - otherBuffer.remaining();
    [all...]
IntBuffer.java 134 * The remaining ints will be moved to the head of the buffer, starting from
135 * position zero. Then the position is set to {@code remaining()}; the
145 * Compares the remaining ints of this buffer to another int buffer's
146 * remaining ints.
157 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining()
158 : otherBuffer.remaining();
174 return remaining() - otherBuffer.remaining();
    [all...]
LongBuffer.java 136 * The remaining longs will be moved to the head of the buffer, staring from
137 * position zero. Then the position is set to {@code remaining()}; the
147 * Compare the remaining longs of this buffer to another long buffer's
148 * remaining longs.
159 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining()
160 : otherBuffer.remaining();
176 return remaining() - otherBuffer.remaining();
    [all...]
ShortBuffer.java 136 * The remaining shorts will be moved to the head of the buffer, starting
137 * from position zero. Then the position is set to {@code remaining()}; the
147 * Compare the remaining shorts of this buffer to another short buffer's
148 * remaining shorts.
159 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining()
160 : otherBuffer.remaining();
174 return remaining() - otherBuffer.remaining();
    [all...]
ByteBuffer.java 160 * Returns a char buffer which is based on the remaining content of this
164 * of remaining bytes divided by two, and its mark is not set. The new
177 * Returns a double buffer which is based on the remaining content of this
181 * of remaining bytes divided by eight, and its mark is not set. The new
195 * Returns a float buffer which is based on the remaining content of this
199 * of remaining bytes divided by four, and its mark is not set. The new
212 * Returns a int buffer which is based on the remaining content of this byte
216 * of remaining bytes divided by four, and its mark is not set. The new
229 * Returns a long buffer which is based on the remaining content of this
233 * of remaining bytes divided by eight, and its mark is not set. The ne
    [all...]
CharArrayBuffer.java 74 if (len > remaining()) {
94 if (start < 0 || end < start || end > remaining()) {
106 return String.copyValueOf(backingArray, offset + position, remaining());
  /packages/apps/Email/src/org/apache/commons/io/output/
ByteArrayOutputStream.java 151 int remaining = len; local
153 while (remaining > 0) {
154 int part = Math.min(remaining, currentBuffer.length - inBufferPos);
155 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part);
156 remaining -= part;
157 if (remaining > 0) {
247 int remaining = count; local
250 int c = Math.min(buf.length, remaining);
252 remaining -= c;
253 if (remaining == 0) {
267 int remaining = count; local
    [all...]
  /external/chromium/net/url_request/
url_request_simple_job.cc 37 int remaining = static_cast<int>(data_.size()) - data_offset_; local
38 if (buf_size > remaining)
39 buf_size = remaining;
  /libcore/luni/src/main/java/java/util/concurrent/
Semaphore.java 157 int remaining = available - acquires; local
158 if (remaining < 0 ||
159 compareAndSetState(available, remaining))
160 return remaining;
220 int remaining = available - acquires; local
221 if (remaining < 0 ||
222 compareAndSetState(available, remaining))
223 return remaining;
  /system/core/libcutils/
buffer.c 93 buffer->remaining = buffer->size;
97 assert(buffer->remaining > 0);
98 assert(buffer->remaining <= buffer->size);
101 buffer->data + buffer->size - buffer->remaining,
102 buffer->remaining);
105 buffer->remaining -= bytesWritten;
109 LOGD("Buffer remaining: %d", (int) buffer->remaining);
111 return buffer->remaining;
buffer.h 43 size_t remaining; member in union:__anon15928::__anon15929
61 #define bufferWriteComplete(buffer) (buffer->remaining == 0)
101 * of an error. Updates buffer->remaining and returns the number of remaining
104 * Precondition: buffer->remaining > 0
  /external/apache-http/src/org/apache/http/entity/
InputStreamEntity.java 90 long remaining = this.length; local
91 while (remaining > 0) {
92 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
97 remaining -= l;
  /external/apache-http/src/org/apache/http/impl/io/
ContentLengthInputStream.java 206 long remaining = Math.min(n, this.contentLength - this.pos); local
209 while (remaining > 0) {
210 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
215 remaining -= l;
  /packages/apps/Email/src/org/apache/commons/io/input/
SwappedDataInputStream.java 136 int remaining = length; local
138 while( remaining > 0 )
140 int location = offset + ( length - remaining );
141 int count = read( data, location, remaining );
148 remaining -= count;
  /libcore/luni/src/main/java/java/util/zip/
DeflaterInputStream.java 84 * Closes the underlying input stream and discards any remaining uncompressed
180 int remaining = (int) n; local
181 byte[] tmp = new byte[Math.min(remaining, DEFAULT_BUFFER_SIZE)];
182 while (remaining > 0) {
183 int count = read(tmp, 0, Math.min(remaining, tmp.length));
187 remaining -= count;
189 return n - remaining;
  /external/astl/src/
streambuf.cpp 48 const streamsize remaining = num - written; local
49 const streamsize len = std::min(avail, remaining);
  /external/srec/portable/src/
ptimer.c 212 struct itimerspec remaining; local
216 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED;
220 timer->elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND
221 - remaining.it_value.tv_nsec / MSECOND2NSECOND);
239 struct itimerspec remaining; local
240 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED;
241 *elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND
242 - remaining.it_value.tv_nsec / MSECOND2NSECOND);
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLBufferedInput.java 53 return in.remaining();
  /external/chromium/third_party/icu/source/tools/toolutil/
uoptions.c 27 int i=1, remaining=1; local
117 argv[remaining++]=arg;
121 return remaining;
  /external/icu4c/tools/toolutil/
uoptions.c 27 int i=1, remaining=1; local
117 argv[remaining++]=arg;
121 return remaining;
  /external/libpng/
pngrio.c 120 png_size_t read, remaining, err; local
122 remaining = length;
125 read = MIN(NEAR_BUF_SIZE, remaining);
138 remaining -= read;
140 while (remaining != 0);
  /external/qemu/distrib/libpng-1.2.19/
pngrio.c 96 png_size_t read, remaining, err; local
98 remaining = length;
101 read = MIN(NEAR_BUF_SIZE, remaining);
114 remaining -= read;
116 while (remaining != 0);

Completed in 635 milliseconds

1 2 3 4 5 6 7 8 910