/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | Leb128Utils.java | 41 int remaining = value >> 7; in unsignedLeb128Size() local 44 while (remaining != 0) { in unsignedLeb128Size() 45 remaining >>= 7; in unsignedLeb128Size() 62 int remaining = value >> 7; in signedLeb128Size() local 68 hasMore = (remaining != end) in signedLeb128Size() 69 || ((remaining & 1) != ((value >> 6) & 1)); in signedLeb128Size() 71 value = remaining; in signedLeb128Size() 72 remaining >>= 7; in signedLeb128Size() 133 int remaining = value >>> 7; in writeUnsignedLeb128() local 135 while (remaining != 0) { in writeUnsignedLeb128() [all …]
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
D | Leb128Utils.java | 48 int remaining = value >>> 7; in unsignedLeb128Size() local 51 while (remaining != 0) { in unsignedLeb128Size() 52 value = remaining; in unsignedLeb128Size() 53 remaining >>>= 7; in unsignedLeb128Size() 70 int remaining = value >> 7; in signedLeb128Size() local 76 hasMore = (remaining != end) in signedLeb128Size() 77 || ((remaining & 1) != ((value >> 6) & 1)); in signedLeb128Size() 79 value = remaining; in signedLeb128Size() 80 remaining >>= 7; in signedLeb128Size() 94 int remaining = value >>> 7; in writeUnsignedLeb128() local [all …]
|
D | ByteArrayOutput.java | 234 int remaining = value >>> 7; in writeUnsignedLeb128() local 237 while (remaining != 0) { in writeUnsignedLeb128() 239 value = remaining; in writeUnsignedLeb128() 240 remaining >>>= 7; in writeUnsignedLeb128() 250 int remaining = value >> 7; in writeSignedLeb128() local 256 hasMore = (remaining != end) in writeSignedLeb128() 257 || ((remaining & 1) != ((value >> 6) & 1)); in writeSignedLeb128() 260 value = remaining; in writeSignedLeb128() 261 remaining >>= 7; in writeSignedLeb128()
|
/external/eigen/unsupported/test/ |
D | sparse_extra.cpp | 24 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() local 25 while(!remaining.empty()) in test_random_setter() 27 int i = internal::random<int>(0,static_cast<int>(remaining.size())-1); in test_random_setter() 28 w(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); in test_random_setter() 29 remaining[i] = remaining.back(); in test_random_setter() 30 remaining.pop_back(); in test_random_setter() 40 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() local 41 while(!remaining.empty()) in test_random_setter() 43 int i = internal::random<int>(0,static_cast<int>(remaining.size())-1); in test_random_setter() 44 sm.coeffRef(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); in test_random_setter() [all …]
|
/external/chromium/chrome/browser/safe_browsing/ |
D | protocol_parser.cc | 258 int remaining = length; in ParseChunk() local 266 while (remaining > 0) { in ParseChunk() 273 remaining -= line_len; in ParseChunk() 298 if (remaining < chunk_len) in ParseChunk() 320 remaining -= chunk_len; in ParseChunk() 321 DCHECK_LE(0, remaining); in ParseChunk() 324 DCHECK(remaining == 0); in ParseChunk() 335 int remaining = data_len; in ParseAddChunk() local 342 DCHECK_EQ(0, remaining % hash_len); in ParseAddChunk() 343 prefix_count = remaining / hash_len; in ParseAddChunk() [all …]
|
/external/chromium/chrome/browser/chromeos/ |
D | low_battery_observer.cc | 33 base::TimeDelta remaining = object->battery_time_to_empty(); in PowerChanged() local 34 int remaining_minutes = remaining.InMinutes(); in PowerChanged() 40 bool line_power = object->line_power_on() || remaining == base::TimeDelta(); in PowerChanged() 64 Show(remaining, urgent); in PowerChanged() 68 Show(remaining, urgent); in PowerChanged() 73 void LowBatteryObserver::Show(base::TimeDelta remaining, bool urgent) { in Show() argument 75 TimeFormat::TimeRemaining(remaining)), urgent, true); in Show() 76 remaining_ = remaining.InMinutes(); in Show()
|
/external/webkit/Source/WebCore/rendering/mathml/ |
D | RenderMathMLOperator.cpp | 231 int remaining = half - gGlyphHeight; in updateFromElement() local 232 while (remaining > 0) { in updateFromElement() 233 if (remaining < gGlyphHeight) { in updateFromElement() 234 createGlyph(stretchyCharacters[index].extensionGlyph, remaining); in updateFromElement() 235 remaining = 0; in updateFromElement() 238 remaining -= gGlyphHeight; in updateFromElement() 246 remaining = half - gGlyphHeight; in updateFromElement() 249 remaining++; in updateFromElement() 252 while (remaining > 0) { in updateFromElement() 253 if (remaining < gGlyphHeight) { in updateFromElement() [all …]
|
/external/eigen/test/eigen2/ |
D | eigen2_sparse_basic.cpp | 19 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() local 20 while(!remaining.empty()) in test_random_setter() 22 int i = ei_random<int>(0,remaining.size()-1); in test_random_setter() 23 w(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); in test_random_setter() 24 remaining[i] = remaining.back(); in test_random_setter() 25 remaining.pop_back(); in test_random_setter() 35 std::vector<Vector2i> remaining = nonzeroCoords; in test_random_setter() local 36 while(!remaining.empty()) in test_random_setter() 38 int i = ei_random<int>(0,remaining.size()-1); in test_random_setter() 39 sm.coeffRef(remaining[i].x(),remaining[i].y()) = ref.coeff(remaining[i].x(),remaining[i].y()); in test_random_setter() [all …]
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
D | SCPInputStream.java | 22 private long remaining; field in SCPInputStream 70 this.remaining = lnp.length; in SCPInputStream() 76 if (!(remaining > 0)) in read() 87 remaining -= read; in read() 95 if (!(remaining > 0)) in read() 100 int trans = (int) remaining; in read() 101 if (remaining > len) in read() 112 remaining -= read; in read()
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
D | MessageProtocol.java | 76 short dataLength = (short)(buffer.remaining() - 2); in messageToBuffer() 110 while( buffer.remaining() > 0 ) { in addBuffer() 123 else if( buffer.remaining() < 2 ) { in addBuffer() 145 if( current.remaining() <= buffer.remaining() ) { in addBuffer() 151 int extra = buffer.remaining() - current.remaining(); in addBuffer() 152 buffer.limit( buffer.position() + current.remaining() ); in addBuffer()
|
/external/elfutils/tests/ |
D | dwfl-addr-sect.c | 69 int remaining; in main() local 71 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); in main() 75 for (; remaining < argc; ++remaining) in main() 78 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main() 79 if (endp != argv[remaining]) in main()
|
D | addrscopes.c | 151 int remaining; in main() local 157 (void) argp_parse (dwfl_standard_argp (), argc, argv, 0, &remaining, &dwfl); in main() 164 if (remaining == argc) in main() 191 uintmax_t addr = strtoumax (argv[remaining], &endp, 0); in main() 192 if (endp != argv[remaining]) in main() 197 while (++remaining < argc); in main()
|
/external/oprofile/daemon/ |
D | opd_trans.c | 55 if (!trans->remaining) { in pop_buffer_value() 68 trans->remaining--; in pop_buffer_value() 76 if (trans->remaining >= size) in enough_remaining() 90 trans->remaining = 0; in opd_put_sample() 147 trans->remaining = 0; in code_ctx_switch() 174 trans->remaining = 0; in code_cpu_switch() 188 trans->remaining = 0; in code_cookie_switch() 294 .remaining = count, in opd_process_samples() 324 while (trans.remaining) { in opd_process_samples() 332 if (!trans.remaining) { in opd_process_samples()
|
/external/icu4c/common/ |
D | ustr_wcs.cpp | 154 int32_t remaining = intTargetCapacity; in _strToWCS() local 164 retVal = uprv_mbstowcs(pIntTarget,(tempBuf+nulLen),remaining); in _strToWCS() 169 }else if(retVal== remaining){/* should never occur */ in _strToWCS() 177 remaining=intTargetCapacity; in _strToWCS() 181 remaining-=numWritten; in _strToWCS() 192 remaining -=(retVal+nulVal); in _strToWCS() 338 int32_t remaining =cStackCap; in _strFromWCS() local 351 if(remaining < (nulLen * MB_CUR_MAX)){ in _strFromWCS() 361 remaining = cStackCap-(pCSrc - pCSave); in _strFromWCS() 367 retVal = uprv_wcstombs(pCSrc,pSrc,remaining); in _strFromWCS() [all …]
|
/external/srec/portable/src/ |
D | ptimer.c | 212 struct itimerspec remaining; in PTimerStop() local 216 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED; in PTimerStop() 220 timer->elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND in PTimerStop() 221 - remaining.it_value.tv_nsec / MSECOND2NSECOND); in PTimerStop() 239 struct itimerspec remaining; in PTimerGetElapsed() local 240 if (timer_gettime(timer->timer, &remaining) != 0) return ESR_NOT_SUPPORTED; in PTimerGetElapsed() 241 *elapsed = (asr_uint32_t) ((TIMER_MAX_VAL - remaining.it_value.tv_sec) * SECOND2MSECOND in PTimerGetElapsed() 242 - remaining.it_value.tv_nsec / MSECOND2NSECOND); in PTimerGetElapsed()
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/ |
D | AbstractBox.java | 128 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/opencv/cxcore/src/ |
D | cxnorm.cpp | 143 int remaining = block_size; \ 153 int limit = MIN( remaining, size.width - x ); \ 154 remaining -= limit; \ 157 if( remaining == 0 ) \ 159 remaining = block_size; \ 222 int remaining = block_size; \ 233 int limit = MIN( remaining, size.width - x ); \ 234 remaining -= limit; \ 238 if( remaining == 0 ) \ 240 remaining = block_size; \ [all …]
|
/external/zlib/src/contrib/untgz/ |
D | untgz.c | 392 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/apache-http/src/org/apache/http/entity/ |
D | InputStreamEntity.java | 90 long remaining = this.length; in writeTo() local 91 while (remaining > 0) { in writeTo() 92 l = instream.read(buffer, 0, (int)Math.min(BUFFER_SIZE, remaining)); in writeTo() 97 remaining -= l; in writeTo()
|
/external/objenesis/main/src/org/objenesis/instantiator/basic/ |
D | ObjectInputStreamInstantiator.java | 134 int remaining = data.length - pointer; in read() local 136 while(remaining <= left) { in read() 137 System.arraycopy(data, pointer, b, off, remaining); in read() 138 off += remaining; in read() 139 left -= remaining; in read() 141 remaining = data.length - pointer; in read()
|
/external/skia/legacy/src/core/ |
D | SkWriter32.cpp | 152 size_t remaining = fSingleBlockSize - fSize; in readFromStream() local 153 if (length > remaining) { in readFromStream() 154 length = remaining; in readFromStream() 163 size_t remaining = length; in readFromStream() local 165 while (remaining != 0) { in readFromStream() 166 size_t n = remaining; in readFromStream() 172 remaining -= bytes; in readFromStream() 177 return length - remaining; in readFromStream()
|
/external/llvm/tools/llvm-ar/ |
D | llvm-ar.cpp | 558 std::set<sys::Path> remaining(Paths); in doMove() local 563 I != E && !remaining.empty(); ++I ) { in doMove() 565 std::find(remaining.begin(),remaining.end(),I->getPath()); in doMove() 566 if (found != remaining.end()) { in doMove() 569 remaining.erase(found); in doMove() 618 std::set<sys::Path> remaining(Paths); in doReplaceOrInsert() local 625 I != E && !remaining.empty(); ++I ) { in doReplaceOrInsert() 630 std::set<sys::Path>::iterator found = remaining.end(); in doReplaceOrInsert() 631 for (std::set<sys::Path>::iterator RI = remaining.begin(), in doReplaceOrInsert() 632 RE = remaining.end(); RI != RE; ++RI ) { in doReplaceOrInsert() [all …]
|
/external/qemu/distrib/libpng-1.2.19/ |
D | pngrio.c | 96 png_size_t read, remaining, err; in png_default_read_data() local 98 remaining = length; in png_default_read_data() 101 read = MIN(NEAR_BUF_SIZE, remaining); in png_default_read_data() 114 remaining -= read; in png_default_read_data() 116 while (remaining != 0); in png_default_read_data()
|
/external/stressapptest/src/ |
D | finelock_queue.cc | 103 int64 remaining = m; in getA() local 105 if ((((remaining / 4) * 4) == remaining)) { in getA() 111 if (((remaining / i) * i) == remaining) { in getA() 112 remaining /= i; in getA() 114 while (((remaining / i) * i) == remaining) in getA() 115 remaining /= i; in getA()
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
D | ByteBufferTest.java | 743 assertEquals(slice.limit(), buf.remaining()); in testSlice() 744 assertEquals(slice.capacity(), buf.remaining()); in testSlice() 779 while (charBuffer.remaining() > 0) { in testAsCharBuffer() 790 while (charBuffer.remaining() > 0) { in testAsCharBuffer() 802 while (charBuffer.remaining() > 0) { in testAsCharBuffer() 803 value = (char) charBuffer.remaining(); in testAsCharBuffer() 814 while (charBuffer.remaining() > 0) { in testAsCharBuffer() 815 value = (char) charBuffer.remaining(); in testAsCharBuffer() 835 while (doubleBuffer.remaining() > 0) { in testAsDoubleBuffer() 849 while (doubleBuffer.remaining() > 0) { in testAsDoubleBuffer() [all …]
|