HomeSort by relevance Sort by last modified time
    Searched refs:remaining (Results 26 - 50 of 1733) sorted by null

12 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/java/io/
InputStream.java 214 long remaining = n; local
221 int size = (int)Math.min(MAX_SKIP_BUFFER_SIZE, remaining);
223 while (remaining > 0) {
224 nr = read(skipBuffer, 0, (int)Math.min(size, remaining));
228 remaining -= nr;
231 return n - remaining;
LineNumberInputStream.java 181 long remaining = n; local
190 while (remaining > 0) {
191 nr = read(data, 0, (int) Math.min(chunk, remaining));
195 remaining -= nr;
198 return n - remaining;
  /external/bsdiff/
split_patch_writer.cc 44 ControlEntry remaining(entry);
45 while (written_output_ + remaining.diff_size + remaining.extra_size >=
56 std::min(remaining.diff_size, remaining_bytes);
58 remaining.diff_size -= current_patch_entry.diff_size;
62 std::min(remaining.extra_size, remaining_bytes);
64 remaining.extra_size -= current_patch_entry.extra_size;
68 if (remaining.diff_size + remaining.extra_size > 0) {
79 if (!remaining.diff_size)
    [all...]
  /external/python/cpython3/Objects/stringlib/
localeutil.h 123 Py_ssize_t remaining = n_digits; /* Number of chars remaining to local
136 l = Py_MIN(l, Py_MAX(Py_MAX(remaining, min_width), 1));
137 n_zeros = Py_MAX(0, l - remaining);
138 n_chars = Py_MAX(0, Py_MIN(remaining, l));
154 remaining -= n_chars;
157 if (remaining <= 0 && min_width <= 0) {
166 l = Py_MAX(Py_MAX(remaining, min_width), 1);
167 n_zeros = Py_MAX(0, l - remaining);
168 n_chars = Py_MAX(0, Py_MIN(remaining, l))
    [all...]
  /libcore/ojluni/src/main/native/
PollArrayWrapper.c 45 int remaining = timeout; local
53 int res = poll(fds, nfds, remaining);
55 if (remaining >= 0) {
59 remaining -= diff;
60 if (diff < 0 || remaining <= 0) {
  /external/clang/test/CodeGen/
2002-07-14-MiscTests.c 30 static int remaining; variable
34 if (size>remaining)
37 remaining = 32768;
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
ByteBufferByteChannel.java 35 int r = dst.remaining();
36 if (byteBuffer.remaining() >= r) {
52 int r = src.remaining();
  /external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/helper/
RandomHelper.java 56 int remaining = totalLength - buf.length(); local
58 if (remaining > MAX_NODE_LENGTH) {
63 currentNodeLength = remaining;
  /packages/apps/Settings/src/com/android/settings/fingerprint/
FingerprintEnrollSidecar.java 58 int remaining; field in class:FingerprintEnrollSidecar.QueuedEnrollmentProgress
59 public QueuedEnrollmentProgress(int enrollmentSteps, int remaining) {
61 this.remaining = remaining;
66 listener.onEnrollmentProgressChange(enrollmentSteps, remaining);
183 public void onEnrollmentProgress(int remaining) {
185 mEnrollmentSteps = remaining;
187 mEnrollmentRemaining = remaining;
188 mDone = remaining == 0;
190 mListener.onEnrollmentProgressChange(mEnrollmentSteps, remaining);
    [all...]
  /external/guava/guava/src/com/google/common/io/
CharSequenceReader.java 54 return remaining() > 0;
57 private int remaining() { method in class:CharSequenceReader
68 int charsToRead = Math.min(target.remaining(), remaining());
88 int charsToRead = Math.min(len, remaining());
99 int charsToSkip = (int) Math.min(remaining(), n); // safe because remaining is an int
  /external/jarjar/src/main/com/tonicsystems/jarjar/
MainUtil.java 34 String[] remaining = new String[args.length - 1]; local
35 System.arraycopy(args, 1, remaining, 0, remaining.length);
37 method.invoke(main, bindParameters(method, remaining));
61 int remaining = Math.max(0, args.length - i); local
63 String[] rest = new String[remaining];
64 System.arraycopy(args, 1, rest, 0, remaining);
66 } else if (remaining > 0) {
  /libcore/ojluni/src/main/java/java/nio/
CharBuffer.java 250 int targetRemaining = target.remaining();
251 int remaining = remaining(); local
252 if (remaining == 0)
254 int n = Math.min(remaining, targetRemaining);
257 if (targetRemaining < remaining)
334 * will be the number of chars remaining in this buffer, and its mark
469 * destination array. If there are fewer chars remaining in the
471 * <tt>length</tt>&nbsp;<tt>&gt;</tt>&nbsp;<tt>remaining()</tt>, then no
509 * remaining in this buffe
    [all...]
DoubleBuffer.java 217 * will be the number of doubles remaining in this buffer, and its mark
341 * destination array. If there are fewer doubles remaining in the
343 * <tt>length</tt>&nbsp;<tt>&gt;</tt>&nbsp;<tt>remaining()</tt>, then no
381 * remaining in this buffer
389 if (length > remaining())
414 * remaining in this buffer
426 * <p> This method transfers the doubles remaining in the given source
427 * buffer into this buffer. If there are more doubles remaining in the
429 * <tt>src.remaining()</tt>&nbsp;<tt>&gt;</tt>&nbsp;<tt>remaining()</tt>
    [all...]
FloatBuffer.java 217 * will be the number of floats remaining in this buffer, and its mark
341 * destination array. If there are fewer floats remaining in the
343 * <tt>length</tt>&nbsp;<tt>&gt;</tt>&nbsp;<tt>remaining()</tt>, then no
381 * remaining in this buffer
389 if (length > remaining())
414 * remaining in this buffer
426 * <p> This method transfers the floats remaining in the given source
427 * buffer into this buffer. If there are more floats remaining in the
429 * <tt>src.remaining()</tt>&nbsp;<tt>&gt;</tt>&nbsp;<tt>remaining()</tt>
    [all...]
HeapCharBuffer.java 79 this.remaining(),
80 this.remaining(),
124 if (length > remaining())
160 if (length > remaining())
176 int n = sb.remaining();
177 if (n > remaining())
184 int n = src.remaining();
185 if (n > remaining())
199 System.arraycopy(hb, ix(position()), hb, ix(0), remaining());
200 position(remaining()); method
    [all...]
HeapDoubleBuffer.java 80 this.remaining(),
81 this.remaining(),
119 if (length > remaining())
155 if (length > remaining())
171 int n = sb.remaining();
172 if (n > remaining())
179 int n = src.remaining();
180 if (n > remaining())
194 System.arraycopy(hb, ix(position()), hb, ix(0), remaining());
195 position(remaining()); method
    [all...]
HeapFloatBuffer.java 79 this.remaining(),
80 this.remaining(),
118 if (length > remaining())
154 if (length > remaining())
170 int n = sb.remaining();
171 if (n > remaining())
178 int n = src.remaining();
179 if (n > remaining())
193 System.arraycopy(hb, ix(position()), hb, ix(0), remaining());
194 position(remaining()); method
    [all...]
HeapIntBuffer.java 79 this.remaining(),
80 this.remaining(),
119 if (length > remaining())
155 if (length > remaining())
171 int n = sb.remaining();
172 if (n > remaining())
179 int n = src.remaining();
180 if (n > remaining())
194 System.arraycopy(hb, ix(position()), hb, ix(0), remaining());
195 position(remaining()); method
    [all...]
HeapLongBuffer.java 80 this.remaining(),
81 this.remaining(),
120 if (length > remaining())
156 if (length > remaining())
172 int n = sb.remaining();
173 if (n > remaining())
180 int n = src.remaining();
181 if (n > remaining())
195 System.arraycopy(hb, ix(position()), hb, ix(0), remaining());
196 position(remaining()); method
    [all...]
HeapShortBuffer.java 79 this.remaining(),
80 this.remaining(),
119 if (length > remaining())
155 if (length > remaining())
171 int n = sb.remaining();
172 if (n > remaining())
179 int n = src.remaining();
180 if (n > remaining())
194 System.arraycopy(hb, ix(position()), hb, ix(0), remaining());
195 position(remaining()); method
    [all...]
  /libcore/ojluni/src/main/java/java/util/concurrent/
Semaphore.java 186 int remaining = available - acquires; local
187 if (remaining < 0 ||
188 compareAndSetState(available, remaining))
189 return remaining;
254 int remaining = available - acquires; local
255 if (remaining < 0 ||
256 compareAndSetState(available, remaining))
257 return remaining;
  /device/generic/goldfish-opengl/system/OpenglSystemCommon/
qemu_pipe.h 35 size_t remaining = byte_count; local
36 while (remaining > 0) {
37 ssize_t n = TEMP_FAILURE_RETRY(write(fd, p, remaining));
40 remaining -= n;
  /external/apache-http/src/org/apache/http/entity/
InputStreamEntity.java 95 long remaining = this.length; local
96 while (remaining > 0) {
97 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
102 remaining -= l;
  /external/apache-http/src/org/apache/http/impl/io/
ContentLengthInputStream.java 211 long remaining = Math.min(n, this.contentLength - this.pos); local
214 while (remaining > 0) {
215 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
220 remaining -= l;
  /external/perfetto/src/ftrace_reader/test/
scattered_stream_delegate_for_testing.cc 45 size_t remaining = size; local
48 size_t chunk_size = remaining;
53 memcpy(buffer.get() + size - remaining, chunk.get(), chunk_size);
54 remaining -= chunk_size;

Completed in 793 milliseconds

12 3 4 5 6 7 8 91011>>