Searched refs:remaining (Results 1 - 25 of 435) sorted by relevance

1234567891011>>

/external/r8/src/main/java/com/android/tools/r8/utils/
H A DLebUtils.java33 int remaining = value >>> BITS_PER_ENCODED_BYTE;
35 while (remaining != 0) {
37 value = remaining;
38 remaining >>>= BITS_PER_ENCODED_BYTE;
46 int remaining = value >>> BITS_PER_ENCODED_BYTE;
47 while (remaining != 0) {
49 value = remaining;
50 remaining >>>= BITS_PER_ENCODED_BYTE;
77 int remaining = value >> BITS_PER_ENCODED_BYTE;
82 hasMore = (remaining !
[all...]
/external/chromium-trace/catapult/devil/devil/utils/
H A Dwatchdog_timer.py34 """Returns the remaining time of the watchdog."""
46 remaining = self.GetRemaining()
47 return remaining is not None and remaining < 0
H A Dtimeout_retry.py32 """Get the remaining time before the thread times out.
42 The number of seconds remaining before the thread times out, or None
46 reraiser_thread.TimeoutError if the remaining time is less than the
49 remaining = self._watcher.GetRemaining()
50 if remaining is not None and remaining < required:
53 if remaining > 0:
55 % (required, remaining))
57 return remaining
/external/libmojo/third_party/catapult/devil/devil/utils/
H A Dwatchdog_timer.py34 """Returns the remaining time of the watchdog."""
46 remaining = self.GetRemaining()
47 return remaining is not None and remaining < 0
H A Dtimeout_retry.py30 """Get the remaining time before the thread times out.
40 The number of seconds remaining before the thread times out, or None
44 reraiser_thread.TimeoutError if the remaining time is less than the
47 remaining = self._watcher.GetRemaining()
48 if remaining is not None and remaining < required:
51 if remaining > 0:
53 % (required, remaining))
55 return remaining
/external/eigen/unsupported/test/
H A Dsparse_extra.cpp23 std::vector<Vector2i> remaining = nonzeroCoords; local
24 while(!remaining.empty())
26 int i = internal::random<int>(0,static_cast<int>(remaining.size())-1);
27 w(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y());
28 remaining[i] = remaining.back();
29 remaining
39 std::vector<Vector2i> remaining = nonzeroCoords; local
[all...]
/external/libese/libese/
H A Dese_sg.c42 uint32_t remaining = length; local
46 while (remaining && buf < src + src_cnt) {
52 uint32_t copy_len = min_u32(remaining, buf->len - start_at);
55 remaining -= copy_len;
59 return length - remaining;
66 uint32_t remaining = length; local
71 while (remaining && buf < dst + dst_cnt) {
77 uint32_t copy_len = min_u32(remaining, buf->len - start_at);
80 remaining -= copy_len;
84 return length - remaining;
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
H A DMemoryDeferredOutputStream.java40 if (remaining() == 0) {
53 int remaining = remaining();
56 int toWrite = Math.min(remaining, (length - written));
61 remaining = remaining();
62 if (remaining == 0) {
66 remaining = currentBuffer.length;
71 private int remaining() { method in class:MemoryDeferredOutputStream
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_split_tmp.h73 * remaining = count - seg_start = first + N'' * incr.
75 * That is, remaining is implicitly trimmed.
99 const unsigned remaining = count - seg_start; local
101 if (remaining > seg_max) {
110 SEGMENT_SIMPLE(flags, start + seg_start, remaining);
111 seg_start += remaining;
121 const unsigned remaining = count - seg_start; local
123 if (remaining > seg_max) {
132 SEGMENT_LOOP(flags, start + seg_start, remaining, start);
133 seg_start += remaining;
144 const unsigned remaining = count - seg_start; local
[all...]
/external/google-breakpad/src/processor/
H A Dtokenize.cc52 int remaining = max_tokens; local
58 while (token && --remaining > 0) {
60 if (remaining > 1)
65 if (remaining == 0 && (token = strtok_r(NULL, "\r\n", &save_ptr))) {
/external/elfutils/tests/
H A Ddwfl-addr-sect.c61 int remaining; local
63 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); local
67 for (; remaining < argc; ++remaining)
70 uintmax_t addr = strtoumax (argv[remaining], &endp, 0);
71 if (endp != argv[remaining])
/external/clang/test/CodeGen/
H A D2002-07-14-MiscTests.c30 static int remaining; variable
34 if (size>remaining)
37 remaining = 32768;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
H A DByteBufferByteChannel.java35 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/
H A DRandomHelper.java56 int remaining = totalLength - buf.length();
58 if (remaining > MAX_NODE_LENGTH) {
63 currentNodeLength = remaining;
/external/guava/guava/src/com/google/common/io/
H A DCharSequenceReader.java54 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/
H A DMainUtil.java34 String[] remaining = new String[args.length - 1];
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);
63 String[] rest = new String[remaining];
64 System.arraycopy(args, 1, rest, 0, remaining);
66 } else if (remaining > 0) {
/external/apache-http/src/org/apache/http/entity/
H A DInputStreamEntity.java95 long remaining = this.length;
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/
H A DContentLengthInputStream.java211 long remaining = Math.min(n, this.contentLength - this.pos);
214 while (remaining > 0) {
215 int l = read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining));
220 remaining -= l;
/external/python/cpython2/Objects/stringlib/
H A Dlocaleutil.h132 Py_ssize_t remaining = n_digits; /* Number of chars remaining to local
145 l = MIN(l, MAX(MAX(remaining, min_width), 1));
146 n_zeros = MAX(0, l - remaining);
147 n_chars = MAX(0, MIN(remaining, l));
163 remaining -= n_chars;
166 if (remaining <= 0 && min_width <= 0) {
175 l = MAX(MAX(remaining, min_width), 1);
176 n_zeros = MAX(0, l - remaining);
177 n_chars = MAX(0, MIN(remaining,
[all...]
/external/libvncserver/libvncclient/
H A Dzlib.c39 int remaining; local
65 remaining = rfbClientSwap32IfLE(hdr.nBytes);
96 while (( remaining > 0 ) &&
99 if ( remaining > RFB_BUFFER_SIZE ) {
103 toRead = remaining;
138 remaining -= toRead;
140 } /* while ( remaining > 0 ) */
/external/autotest/client/cros/
H A Dhttp_speed.py61 remaining = 2
68 while remaining > 0:
75 remaining -= 1
83 if remaining == 0:
/external/ltp/testcases/open_posix_testsuite/stress/threads/
H A Dhelper.c74 unsigned remaining = timeout * 3600; local
76 remaining = sleep(remaining);
77 } while (remaining);
/external/protobuf/java/core/src/main/java/com/google/protobuf/
H A DUnsafeByteOperations.java59 return ByteString.wrap(buffer.array(), offset + buffer.position(), buffer.remaining());
/external/v8/tools/testrunner/server/
H A Dcompression.py105 remaining = self.data.read()
108 self.data.write(remaining)
109 assert self.datalength - length == len(remaining)
110 self.datalength = len(remaining)
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DEdits.java77 int remaining = MAX_UNCHANGED - last;
78 if (remaining >= unchangedLength) {
83 unchangedLength -= remaining;
90 // Write a small (remaining) length.
222 private int remaining; field in class:Edits.Iterator
283 if (remaining > 0) {
285 --remaining;
321 remaining = u & 0xfff;
372 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0;
382 if (remaining >
[all...]

Completed in 840 milliseconds

1234567891011>>