/dalvik/dexgen/src/com/android/dexgen/util/ |
Leb128Utils.java | 40 int remaining = value >> 7; local 43 while (remaining != 0) { 44 remaining >>= 7; 61 int remaining = value >> 7; local 67 hasMore = (remaining != end) 68 || ((remaining & 1) != ((value >> 6) & 1)); 70 value = remaining; 71 remaining >>= 7;
|
/frameworks/av/media/img_utils/src/ |
Input.cpp | 32 size_t remaining = count; local 33 while (remaining > 0) { 34 size_t amt = (SKIP_BUF_SIZE > remaining) ? remaining : SKIP_BUF_SIZE; 39 if (remaining == count) { 44 return count - remaining; 50 remaining -= ret;
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Leb128Utils.java | 41 int remaining = value >> 7; local 44 while (remaining != 0) { 45 remaining >>= 7; 62 int remaining = value >> 7; local 68 hasMore = (remaining != end) 69 || ((remaining & 1) != ((value >> 6) & 1)); 71 value = remaining; 72 remaining >>= 7; 133 int remaining = value >>> 7; local 135 while (remaining != 0) 149 int remaining = value >> 7; local [all...] |
/libcore/dex/src/main/java/com/android/dex/ |
Leb128.java | 40 int remaining = value >> 7; local 43 while (remaining != 0) { 44 remaining >>= 7; 61 int remaining = value >> 7; local 67 hasMore = (remaining != end) 68 || ((remaining & 1) != ((value >> 6) & 1)); 70 value = remaining; 71 remaining >>= 7; 132 int remaining = value >>> 7; local 134 while (remaining != 0) 148 int remaining = value >> 7; local [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
PixelUtils.java | 51 if (input.remaining() != output.remaining()) { 53 } else if (input.remaining() % 4 != 0) { 55 } else if (output.remaining() % 4 != 0) { 57 } else if ((width * height * 4) != input.remaining()) { 60 } else if ((width * height * 4) != output.remaining()) {
|
/external/eigen/unsupported/test/ |
sparse_extra.cpp | 23 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.pop_back() 39 std::vector<Vector2i> remaining = nonzeroCoords; local [all...] |
/libcore/luni/src/main/java/java/nio/ |
CharBuffer.java | 169 * @throws IndexOutOfBoundsException if {@code index < 0} or {@code index >= remaining()}. 172 if (index < 0 || index >= remaining()) { 173 throw new IndexOutOfBoundsException("index=" + index + ", remaining()=" + remaining()); 181 * The remaining chars will be moved to the head of the buffer, 183 * {@code remaining()}; the limit is set to capacity; the mark is cleared. 192 * Compare the remaining chars of this buffer to another char 193 * buffer's remaining chars. 204 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining( 725 int remaining = remaining(); local [all...] |
DoubleBuffer.java | 125 * The remaining doubles will be moved to the head of the buffer, staring 126 * from position zero. Then the position is set to {@code remaining()}; the 136 * Compare the remaining doubles of this buffer to another double buffer's 137 * remaining doubles. 148 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() 149 : otherBuffer.remaining(); 165 return remaining() - otherBuffer.remaining(); [all...] |
FloatBuffer.java | 126 * The remaining floats will be moved to the head of the buffer, starting 127 * from position zero. Then the position is set to {@code remaining()}; the 137 * Compare the remaining floats of this buffer to another float buffer's 138 * remaining floats. 149 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() 150 : otherBuffer.remaining(); 166 return remaining() - otherBuffer.remaining(); [all...] |
IntBuffer.java | 122 * The remaining ints will be moved to the head of the buffer, starting from 123 * position zero. Then the position is set to {@code remaining()}; the 133 * Compares the remaining ints of this buffer to another int buffer's 134 * remaining ints. 145 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() 146 : otherBuffer.remaining(); 160 return remaining() - otherBuffer.remaining(); [all...] |
LongBuffer.java | 124 * The remaining longs will be moved to the head of the buffer, staring from 125 * position zero. Then the position is set to {@code remaining()}; the 135 * Compare the remaining longs of this buffer to another long buffer's 136 * remaining longs. 147 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() 148 : otherBuffer.remaining(); 162 return remaining() - otherBuffer.remaining(); [all...] |
ShortBuffer.java | 124 * The remaining shorts will be moved to the head of the buffer, starting 125 * from position zero. Then the position is set to {@code remaining()}; the 135 * Compare the remaining shorts of this buffer to another short buffer's 136 * remaining shorts. 147 int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() 148 : otherBuffer.remaining(); 162 return remaining() - otherBuffer.remaining(); [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/io/ |
MemoryDeferredOutputStream.java | 40 if (remaining() == 0) { 53 int remaining = remaining(); local 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/ |
draw_split_tmp.h | 74 * remaining = count - seg_start = first + N'' * incr. 76 * That is, remaining is implicitly trimmed. 100 const unsigned remaining = count - seg_start; local 102 if (remaining > seg_max) { 111 SEGMENT_SIMPLE(flags, start + seg_start, remaining); 112 seg_start += remaining; 122 const unsigned remaining = count - seg_start; local 124 if (remaining > seg_max) { 133 SEGMENT_LOOP(flags, start + seg_start, remaining, start); 134 seg_start += remaining; 145 const unsigned remaining = count - seg_start; local [all...] |
/external/google-breakpad/src/processor/ |
tokenize.cc | 52 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))) {
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
ByteArrayOutputStream.java | 152 int remaining = len; local 154 while (remaining > 0) { 155 int part = Math.min(remaining, currentBuffer.length - inBufferPos); 156 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part); 157 remaining -= part; 158 if (remaining > 0) { 250 int remaining = count; local 253 int c = Math.min(buf.length, remaining); 255 remaining -= c; 256 if (remaining == 0) 270 int remaining = count; local [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
MessageProtocol.java | 76 short dataLength = (short)(buffer.remaining() - 2); 110 while( buffer.remaining() > 0 ) { 123 else if( buffer.remaining() < 2 ) { 145 if( current.remaining() <= buffer.remaining() ) { 151 int extra = buffer.remaining() - current.remaining(); 152 buffer.limit( buffer.position() + current.remaining() );
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/ |
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/elfutils/src/tests/ |
dwfl-addr-sect.c | 61 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/ |
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;
|
/external/vixl/benchmarks/ |
bench-branch.cc | 71 int remaining = instructions % buffer_instruction_count; local 73 InstructionAccurateScope scope(&masm, remaining); 74 for (int i = 0; i < remaining; ++i) {
|
bench-dataop.cc | 68 unsigned remaining = instructions % buffer_instruction_count; local 70 InstructionAccurateScope scope(&masm, remaining); 71 for (unsigned i = 0; i < remaining; ++i) {
|
/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
|