Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 25 of 651) sorted by relevance

12345678910>>...27

/external/r8/src/main/java/com/android/tools/r8/utils/
DLebUtils.java33 int remaining = value >>> BITS_PER_ENCODED_BYTE; in encodeUleb128() local
35 while (remaining != 0) { in encodeUleb128()
37 value = remaining; in encodeUleb128()
38 remaining >>>= BITS_PER_ENCODED_BYTE; in encodeUleb128()
46 int remaining = value >>> BITS_PER_ENCODED_BYTE; in putUleb128() local
47 while (remaining != 0) { in putUleb128()
49 value = remaining; in putUleb128()
50 remaining >>>= BITS_PER_ENCODED_BYTE; in putUleb128()
77 int remaining = value >> BITS_PER_ENCODED_BYTE; in encodeSleb128() local
82 hasMore = (remaining != end) in encodeSleb128()
[all …]
/external/eigen/unsupported/test/
Dsparse_extra.cpp23 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() local
24 while(!remaining.empty()) in test_random_setter()
26 int i = internal::random<int>(0,static_cast<int>(remaining.size())-1); in test_random_setter()
27 w(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); in test_random_setter()
28 remaining[i] = remaining.back(); in test_random_setter()
29 remaining.pop_back(); in test_random_setter()
39 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() local
40 while(!remaining.empty()) in test_random_setter()
42 int i = internal::random<int>(0,static_cast<int>(remaining.size())-1); in test_random_setter()
43 sm.coeffRef(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); in test_random_setter()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_split_tmp.h99 const unsigned remaining = count - seg_start; in FUNC() local
101 if (remaining > seg_max) { in FUNC()
110 SEGMENT_SIMPLE(flags, start + seg_start, remaining); in FUNC()
111 seg_start += remaining; in FUNC()
121 const unsigned remaining = count - seg_start; in FUNC() local
123 if (remaining > seg_max) { in FUNC()
132 SEGMENT_LOOP(flags, start + seg_start, remaining, start); in FUNC()
133 seg_start += remaining; in FUNC()
144 const unsigned remaining = count - seg_start; in FUNC() local
146 if (remaining > seg_max) { in FUNC()
[all …]
/external/libese/libese/
Dese_sg.c42 uint32_t remaining = length; in ese_sg_to_buf() local
46 while (remaining && buf < src + src_cnt) { in ese_sg_to_buf()
52 uint32_t copy_len = min_u32(remaining, buf->len - start_at); in ese_sg_to_buf()
55 remaining -= copy_len; in ese_sg_to_buf()
59 return length - remaining; in ese_sg_to_buf()
66 uint32_t remaining = length; in ese_sg_from_buf() local
71 while (remaining && buf < dst + dst_cnt) { in ese_sg_from_buf()
77 uint32_t copy_len = min_u32(remaining, buf->len - start_at); in ese_sg_from_buf()
80 remaining -= copy_len; in ese_sg_from_buf()
84 return length - remaining; in ese_sg_from_buf()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java222 final ByteBuffer buffer, final int byte1, final int index, final int remaining) { in incompleteStateFor() argument
223 switch (remaining) { in incompleteStateFor()
321 return processor.isValidUtf8(buffer, buffer.position(), buffer.remaining()); in isValidUtf8()
669 Utf8.encode(in, out.array(), offset + out.position(), out.remaining()); in encodeUtf8()
1339 int remaining = maxChars; in unsafeEstimateConsecutiveAscii() local
1340 if (remaining < UNSAFE_COUNT_ASCII_THRESHOLD) { in unsafeEstimateConsecutiveAscii()
1360 remaining -= unaligned; in unsafeEstimateConsecutiveAscii()
1361 for (; remaining >= 8 && (UNSAFE.getLong(bytes, offset) & ASCII_MASK_LONG) == 0; in unsafeEstimateConsecutiveAscii()
1362 offset += 8, remaining -= 8) {} in unsafeEstimateConsecutiveAscii()
1363 return maxChars - remaining; in unsafeEstimateConsecutiveAscii()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/
DMemoryDeferredOutputStream.java40 if (remaining() == 0) { in write()
53 int remaining = remaining(); in write() local
56 int toWrite = Math.min(remaining, (length - written)); in write()
61 remaining = remaining(); in write()
62 if (remaining == 0) { in write()
66 remaining = currentBuffer.length; in write()
71 private int remaining() { in remaining() method in MemoryDeferredOutputStream
/external/llvm/lib/CodeGen/MIRParser/
DMILexer.cpp48 StringRef remaining() const { return StringRef(Ptr, End - Ptr); } in remaining() function in __anondba005ef0111::Cursor
117 Str.reserve(C.remaining().size()); in unescapeQuotedString()
166 Token.reset(MIToken::Error, Range.remaining()); in lexName()
247 bool IsReference = C.remaining().startswith("%bb."); in maybeLexMachineBasicBlock()
248 if (!IsReference && !C.remaining().startswith("bb.")) in maybeLexMachineBasicBlock()
254 Token.reset(MIToken::Error, C.remaining()); in maybeLexMachineBasicBlock()
279 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndex()
292 if (!C.remaining().startswith(Rule) || !isdigit(C.peek(Rule.size()))) in maybeLexIndexAndName()
332 if (!C.remaining().startswith(Rule)) in maybeLexSubRegisterIndex()
341 if (!C.remaining().startswith(Rule)) in maybeLexIRBlock()
[all …]
/external/jarjar/src/main/com/tonicsystems/jarjar/
DMainUtil.java34 String[] remaining = new String[args.length - 1]; in runMain() local
35 System.arraycopy(args, 1, remaining, 0, remaining.length); in runMain()
37 method.invoke(main, bindParameters(method, remaining)); in runMain()
61 int remaining = Math.max(0, args.length - i); in bindParameters() local
63 String[] rest = new String[remaining]; in bindParameters()
64 System.arraycopy(args, 1, rest, 0, remaining); in bindParameters()
66 } else if (remaining > 0) { in bindParameters()
/external/python/cpython2/Objects/stringlib/
Dlocaleutil.h132 Py_ssize_t remaining = n_digits; /* Number of chars remaining to in _Py_InsertThousandsGrouping() local
145 l = MIN(l, MAX(MAX(remaining, min_width), 1)); in _Py_InsertThousandsGrouping()
146 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
147 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
163 remaining -= n_chars; in _Py_InsertThousandsGrouping()
166 if (remaining <= 0 && min_width <= 0) { in _Py_InsertThousandsGrouping()
175 l = MAX(MAX(remaining, min_width), 1); in _Py_InsertThousandsGrouping()
176 n_zeros = MAX(0, l - remaining); in _Py_InsertThousandsGrouping()
177 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping()
/external/elfutils/tests/
Ddwfl-addr-sect.c61 int remaining; in main() local
63 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); in main()
67 for (; remaining < argc; ++remaining) in main()
70 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main()
71 if (endp != argv[remaining]) in main()
/external/skia/src/pathops/
DSkIntersections.cpp75 int remaining = fUsed - index; in insert() local
76 if (remaining > 0) { in insert()
77 memmove(&fPt[index + 1], &fPt[index], sizeof(fPt[0]) * remaining); in insert()
78 memmove(&fT[0][index + 1], &fT[0][index], sizeof(fT[0][0]) * remaining); in insert()
79 memmove(&fT[1][index + 1], &fT[1][index], sizeof(fT[1][0]) * remaining); in insert()
152 int remaining = --fUsed - index; in removeOne() local
153 if (remaining <= 0) { in removeOne()
156 memmove(&fPt[index], &fPt[index + 1], sizeof(fPt[0]) * remaining); in removeOne()
157 memmove(&fT[0][index], &fT[0][index + 1], sizeof(fT[0][0]) * remaining); in removeOne()
158 memmove(&fT[1][index], &fT[1][index + 1], sizeof(fT[1][0]) * remaining); in removeOne()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DEdits.java79 int remaining = MAX_UNCHANGED - last; in addUnchanged() local
80 if (remaining >= unchangedLength) { in addUnchanged()
85 unchangedLength -= remaining; in addUnchanged()
228 private int remaining; field in Edits.Iterator
290 if (remaining > 0) { in next()
292 --remaining; in next()
328 remaining = u & 0xfff; in next()
380 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findSourceIndex()
390 if (remaining > 0) { in findSourceIndex()
393 int len = (remaining + 1) * oldLength_; in findSourceIndex()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DEdits.java77 int remaining = MAX_UNCHANGED - last; in addUnchanged() local
78 if (remaining >= unchangedLength) { in addUnchanged()
83 unchangedLength -= remaining; in addUnchanged()
222 private int remaining; field in Edits.Iterator
283 if (remaining > 0) { in next()
285 --remaining; in next()
321 remaining = u & 0xfff; in next()
372 index = remaining = oldLength_ = newLength_ = srcIndex = replIndex = destIndex = 0; in findSourceIndex()
382 if (remaining > 0) { in findSourceIndex()
385 int len = (remaining + 1) * oldLength_; in findSourceIndex()
[all …]
/external/icu/icu4c/source/common/
Dustr_wcs.cpp156 int32_t remaining = intTargetCapacity; in _strToWCS() local
166 retVal = uprv_mbstowcs(pIntTarget,(tempBuf+nulLen),remaining); in _strToWCS()
171 }else if(retVal== remaining){/* should never occur */ in _strToWCS()
179 remaining=intTargetCapacity; in _strToWCS()
183 remaining-=numWritten; in _strToWCS()
194 remaining -=(retVal+nulVal); in _strToWCS()
340 int32_t remaining =cStackCap; in _strFromWCS() local
353 if(remaining < (nulLen * MB_CUR_MAX)){ in _strFromWCS()
363 remaining = cStackCap-(pCSrc - pCSave); in _strFromWCS()
369 retVal = uprv_wcstombs(pCSrc,pSrc,remaining); in _strFromWCS()
[all …]
/external/guava/guava/src/com/google/common/io/
DCharSequenceReader.java54 return remaining() > 0; in hasRemaining()
57 private int remaining() { in remaining() method in CharSequenceReader
68 int charsToRead = Math.min(target.remaining(), remaining()); in read()
88 int charsToRead = Math.min(len, remaining()); in read()
99 int charsToSkip = (int) Math.min(remaining(), n); // safe because remaining is an int in skip()
/external/libvncserver/libvncclient/
Dzlib.c39 int remaining; in HandleZlibBPP() local
65 remaining = rfbClientSwap32IfLE(hdr.nBytes); in HandleZlibBPP()
96 while (( remaining > 0 ) && in HandleZlibBPP()
99 if ( remaining > RFB_BUFFER_SIZE ) { in HandleZlibBPP()
103 toRead = remaining; in HandleZlibBPP()
138 remaining -= toRead; in HandleZlibBPP()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
DAbstractBox.java128 while (deadBytes.remaining() > 0) {
151 if (content.remaining() > 0) { in parseDetails()
229 while (deadBytes.remaining() > 0) { in verify()
237 if (content.remaining() != bb.remaining()) { in verify()
238 …G.severe(this.getType() + ": remaining differs " + content.remaining() + " vs. " + bb.remaining()); in verify()
247 byte[] b1 = new byte[content.remaining()]; in verify()
248 byte[] b2 = new byte[bb.remaining()]; in verify()
/external/libmojo/third_party/catapult/devil/devil/utils/
Dtimeout_retry.py47 remaining = self._watcher.GetRemaining()
48 if remaining is not None and remaining < required:
51 if remaining > 0:
53 % (required, remaining))
55 return remaining
/external/chromium-trace/catapult/devil/devil/utils/
Dtimeout_retry.py49 remaining = self._watcher.GetRemaining()
50 if remaining is not None and remaining < required:
53 if remaining > 0:
55 % (required, remaining))
57 return remaining
/external/libcups/filter/
Draster.c41 remaining, /* Remaining rows in page image */ member
712 unsigned remaining; /* Bytes remaining */ in cupsRasterReadPixels() local
721 if (r == NULL || r->mode != CUPS_RASTER_READ || r->remaining == 0 || in cupsRasterReadPixels()
728 DEBUG_printf(("1cupsRasterReadPixels: compressed=%d, remaining=%u", r->compressed, r->remaining)); in cupsRasterReadPixels()
736 r->remaining -= len / r->header.cupsBytesPerLine; in cupsRasterReadPixels()
767 remaining = len; in cupsRasterReadPixels()
770 while (remaining > 0 && r->remaining > 0) in cupsRasterReadPixels()
778 if (remaining == cupsBytesPerLine) in cupsRasterReadPixels()
907 if (remaining >= cupsBytesPerLine) in cupsRasterReadPixels()
912 r->remaining --; in cupsRasterReadPixels()
[all …]
/external/syslinux/gpxe/src/core/
Duri.c437 ssize_t remaining = len; in uri_encode() local
446 used = ssnprintf ( buf, remaining, "%c", c ); in uri_encode()
448 used = ssnprintf ( buf, remaining, "%%%02X", c ); in uri_encode()
451 remaining -= used; in uri_encode()
454 return ( len - remaining ); in uri_encode()
469 ssize_t remaining; in uri_decode() local
474 for ( remaining = len; *encoded_string; remaining-- ) { in uri_decode()
484 if ( remaining > 1 ) in uri_decode()
491 return ( len - remaining ); in uri_decode()
/external/zlib/src/contrib/untgz/
Duntgz.c392 int remaining = 0; in tar() local
414 remaining = 0; /* force I/O cleanup */ in tar()
470 remaining = getoct(buffer.header.size,12); in tar()
471 if (remaining == -1) in tar()
477 printf(" %s %9d %s\n",strtime(&tartime),remaining,fname); in tar()
505 remaining = getoct(buffer.header.size,12); in tar()
506 if (remaining < 0 || remaining >= BLOCKSIZE) in tar()
514 if (fname[BLOCKSIZE-1] != 0 || (int)strlen(fname) > remaining) in tar()
529 unsigned int bytes = (remaining > BLOCKSIZE) ? BLOCKSIZE : remaining; in tar()
542 remaining -= bytes; in tar()
[all …]
/external/syslinux/gpxe/src/net/
Ddhcpopts.c120 ssize_t remaining = options->len; in find_dhcp_option_with_encap() local
128 while ( remaining ) { in find_dhcp_option_with_encap()
135 remaining -= option_len; in find_dhcp_option_with_encap()
136 if ( remaining < 0 ) in find_dhcp_option_with_encap()
162 remaining = option_len; in find_dhcp_option_with_encap()
408 ssize_t remaining = options->max_len; in dhcpopt_update_len() local
413 while ( remaining ) { in dhcpopt_update_len()
416 remaining -= option_len; in dhcpopt_update_len()
417 if ( remaining < 0 ) in dhcpopt_update_len()
/external/google-breakpad/src/processor/
Dtokenize.cc52 int remaining = max_tokens; in Tokenize() local
58 while (token && --remaining > 0) { in Tokenize()
60 if (remaining > 1) in Tokenize()
65 if (remaining == 0 && (token = strtok_r(NULL, "\r\n", &save_ptr))) { in Tokenize()
/external/xz-embedded/linux/lib/xz/
Dxz_dec_test.c105 size_t remaining; in xz_dec_test_write() local
119 remaining = size; in xz_dec_test_write()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write()
129 remaining -= buffers.in_size; in xz_dec_test_write()
145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()

12345678910>>...27