/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/eigen/unsupported/test/ |
D | sparse_extra.cpp | 23 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/ |
D | draw_split_tmp.h | 100 const unsigned remaining = count - seg_start; in FUNC() local 102 if (remaining > seg_max) { in FUNC() 111 SEGMENT_SIMPLE(flags, start + seg_start, remaining); in FUNC() 112 seg_start += remaining; in FUNC() 122 const unsigned remaining = count - seg_start; in FUNC() local 124 if (remaining > seg_max) { in FUNC() 133 SEGMENT_LOOP(flags, start + seg_start, remaining, start); in FUNC() 134 seg_start += remaining; in FUNC() 145 const unsigned remaining = count - seg_start; in FUNC() local 147 if (remaining > seg_max) { in FUNC() [all …]
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
D | MemoryDeferredOutputStream.java | 40 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/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/jarjar/src/main/com/tonicsystems/jarjar/ |
D | MainUtil.java | 34 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/llvm/lib/CodeGen/MIRParser/ |
D | MILexer.cpp | 44 StringRef remaining() const { return StringRef(Ptr, End - Ptr); } in remaining() function in __anon3cade4750111::Cursor 113 Str.reserve(C.remaining().size()); in unescapeQuotedString() 165 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() 333 if (!C.remaining().startswith(Rule)) in maybeLexIRBlock() 344 if (!C.remaining().startswith(Rule)) in maybeLexIRValue() [all …]
|
/external/elfutils/tests/ |
D | dwfl-addr-sect.c | 61 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/ |
D | SkIntersections.cpp | 75 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() 148 int remaining = --fUsed - index; in removeOne() local 149 if (remaining <= 0) { in removeOne() 152 memmove(&fPt[index], &fPt[index + 1], sizeof(fPt[0]) * remaining); in removeOne() 153 memmove(&fT[0][index], &fT[0][index + 1], sizeof(fT[0][0]) * remaining); in removeOne() 154 memmove(&fT[1][index], &fT[1][index + 1], sizeof(fT[1][0]) * remaining); in removeOne()
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
D | debugapp.py | 41 remaining = int(total) 42 while remaining > 0: 44 print("%s of %s remaining" % (remaining, total)) 45 if remaining > 4096: 48 chunk = environ['wsgi.input'].read(remaining) 52 remaining -= len(chunk)
|
/external/opencv3/modules/flann/include/opencv2/flann/ |
D | allocator.h | 82 int remaining; /* Number of bytes left in current block of storage. */ variable 98 remaining = 0; 136 if (size > remaining) { in allocateMemory() 138 wastedMemory += remaining; in allocateMemory() 158 remaining = blockSize - sizeof(void*) - shift; in allocateMemory() 163 remaining -= size; in allocateMemory()
|
/external/icu/icu4c/source/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/jetty/src/java/org/eclipse/jetty/websocket/ |
D | WebSocketGeneratorD00.java | 78 int remaining = length; in addFrame() local 79 while (remaining > 0) in addFrame() 81 int chunk = remaining < _buffer.space() ? remaining : _buffer.space(); in addFrame() 82 _buffer.put(content, offset + (length - remaining), chunk); in addFrame() 83 remaining -= chunk; in addFrame() 95 if (remaining == 0) in addFrame()
|
D | WebSocketGeneratorD06.java | 130 int remaining = payload; in addFrame() local 131 while (remaining > 0) in addFrame() 134 int chunk = remaining < _buffer.space() ? remaining : _buffer.space(); in addFrame() 139 bufferPut(content[offset+ (payload-remaining)+i]); in addFrame() 142 _buffer.put(content, offset + (payload - remaining), chunk); in addFrame() 144 remaining -= chunk; in addFrame() 154 if (remaining == 0) in addFrame()
|
D | WebSocketGeneratorRFC6455.java | 156 int remaining = payload; in addFrame() local 157 while (remaining > 0) in addFrame() 160 int chunk = remaining < _buffer.space() ? remaining : _buffer.space(); in addFrame() 165 … _buffer.put((byte)(content[offset + (payload - remaining) + i] ^ _mask[+_m++ % 4])); in addFrame() 168 _buffer.put(content, offset + (payload - remaining), chunk); in addFrame() 170 remaining -= chunk; in addFrame() 180 if (remaining == 0) in addFrame()
|
D | WebSocketGeneratorD08.java | 152 int remaining = payload; in addFrame() local 153 while (remaining > 0) in addFrame() 156 int chunk = remaining < _buffer.space() ? remaining : _buffer.space(); in addFrame() 161 … _buffer.put((byte)(content[offset + (payload - remaining) + i] ^ _mask[+_m++ % 4])); in addFrame() 164 _buffer.put(content, offset + (payload - remaining), chunk); in addFrame() 166 remaining -= chunk; in addFrame() 176 if (remaining == 0) in addFrame()
|
/external/boringssl/src/crypto/rand/ |
D | urandom.c | 183 size_t remaining = BUF_SIZE - buf->used; in read_from_buffer() local 185 while (requested > remaining) { in read_from_buffer() 186 memcpy(out, &buf->rand[buf->used], remaining); in read_from_buffer() 187 buf->used += remaining; in read_from_buffer() 188 out += remaining; in read_from_buffer() 189 requested -= remaining; in read_from_buffer() 196 remaining = BUF_SIZE; in read_from_buffer()
|
/external/guava/guava/src/com/google/common/io/ |
D | CharSequenceReader.java | 54 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/tlsdate/src/ |
D | routeup.c | 117 struct timeval remaining; in routeup_once() local 118 struct timeval *rp = timeout ? &remaining : NULL; in routeup_once() 120 remaining.tv_sec = timeout; in routeup_once() 121 remaining.tv_usec = 0; in routeup_once() 128 if (timeout && !remaining.tv_sec && !remaining.tv_usec) in routeup_once()
|
/external/libvncserver/libvncclient/ |
D | zlib.c | 39 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/ |
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/chromium-trace/catapult/devil/devil/utils/ |
D | timeout_retry.py | 48 remaining = self._watcher.GetRemaining() 49 if remaining is not None and remaining < required: 52 if remaining > 0: 54 % (required, remaining)) 56 return remaining
|
/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/google-breakpad/src/processor/ |
D | tokenize.cc | 52 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()
|