/dalvik/dx/src/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 49 private int cursor; field in ByteArrayAnnotatedOutput 113 this.cursor = 0; in ByteArrayAnnotatedOutput() 142 byte[] result = new byte[cursor]; in toByteArray() 143 System.arraycopy(data, 0, result, 0, cursor); in toByteArray() 150 return cursor; in getCursor() 156 if (cursor != expectedCursor) { in assertCursor() 158 expectedCursor + "; actual value: " + cursor); in assertCursor() 165 int writeAt = cursor; in writeByte() 176 cursor = end; in writeByte() 182 int writeAt = cursor; in writeShort() [all …]
|
D | ByteArray.java | 291 private int cursor; field in ByteArray.MyInputStream 297 cursor = 0; in MyInputStream() 303 if (cursor >= size) { in read() 307 int result = getUnsignedByte0(cursor); in read() 308 cursor++; in read() 318 int maxLength = size - cursor; in read() 323 System.arraycopy(bytes, cursor + start, arr, offset, length); in read() 324 cursor += length; in read() 330 return size - cursor; in available() 335 mark = cursor; in mark() [all …]
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
D | ByteArrayAnnotatedOutput.java | 45 private int cursor; field in ByteArrayAnnotatedOutput 100 this.cursor = 0; in ByteArrayAnnotatedOutput() 129 byte[] result = new byte[cursor]; in toByteArray() 130 System.arraycopy(data, 0, result, 0, cursor); in toByteArray() 136 return cursor; in getCursor() 141 if (cursor != expectedCursor) { in assertCursor() 143 expectedCursor + "; actual value: " + cursor); in assertCursor() 149 int writeAt = cursor; in writeByte() 160 cursor = end; in writeByte() 165 int writeAt = cursor; in writeShort() [all …]
|
D | ByteArray.java | 294 private int cursor; field in ByteArray.MyInputStream 300 cursor = 0; in MyInputStream() 305 if (cursor >= size) { in read() 309 int result = getUnsignedByte0(cursor); in read() 310 cursor++; in read() 319 int maxLength = size - cursor; in read() 324 System.arraycopy(bytes, cursor + start, arr, offset, length); in read() 325 cursor += length; in read() 330 return size - cursor; in available() 334 mark = cursor; in mark() [all …]
|
/dalvik/dx/src/com/android/dx/io/instructions/ |
D | BaseCodeCursor.java | 27 private int cursor; field in BaseCodeCursor 34 this.cursor = 0; in BaseCodeCursor() 39 public final int cursor() { in cursor() method in BaseCodeCursor 40 return cursor; in cursor() 46 int mapped = baseAddressMap.get(cursor); in baseAddressForCursor() 47 return (mapped >= 0) ? mapped : cursor; in baseAddressForCursor() 60 cursor += amount; in advance()
|
D | ShortArrayCodeOutput.java | 45 int cursor = cursor(); in getArray() local 47 if (cursor == array.length) { in getArray() 51 short[] result = new short[cursor]; in getArray() 52 System.arraycopy(array, 0, result, 0, cursor); in getArray() 59 array[cursor()] = codeUnit; in write()
|
D | ShortArrayCodeInput.java | 43 return cursor() < array.length; in hasMore() 50 int value = array[cursor()]; in read()
|
D | CodeCursor.java | 29 public int cursor(); in cursor() method
|
D | InstructionCodec.java | 128 int baseAddress = in.cursor() - 1; in FORMAT_10T() 138 int relativeTarget = insn.getTargetByte(out.cursor()); in FORMAT_10T() 147 int baseAddress = in.cursor() - 1; in FORMAT_20T() 158 short relativeTarget = insn.getTargetUnit(out.cursor()); in FORMAT_20T() 209 int baseAddress = in.cursor() - 1; in FORMAT_21T() 221 short relativeTarget = insn.getTargetUnit(out.cursor()); in FORMAT_21T() 352 int baseAddress = in.cursor() - 1; in FORMAT_22T() 365 short relativeTarget = insn.getTargetUnit(out.cursor()); in FORMAT_22T() 447 int baseAddress = in.cursor() - 1; in FORMAT_30T() 458 int relativeTarget = insn.getTarget(out.cursor()); in FORMAT_30T() [all …]
|
D | DecodedInstruction.java | 89 decoded[in.cursor()] = DecodedInstruction.decode(in); in decodeAll()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | Section.java | 150 int cursor = out.getCursor(); in writeTo() local 153 fileOffset = cursor; in writeTo() 154 } else if (fileOffset != cursor) { in writeTo() 156 ", at " + cursor + in writeTo() 163 } else if (cursor != 0) { in writeTo()
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | Section.java | 149 int cursor = out.getCursor(); in writeTo() local 152 fileOffset = cursor; in writeTo() 153 } else if (fileOffset != cursor) { in writeTo() 155 ", at " + cursor + in writeTo() 162 } else if (cursor != 0) { in writeTo()
|
/dalvik/libdex/ |
D | DexProto.cpp | 484 pIterator->cursor = 0; in dexParameterIteratorInit() 497 int cursor = pIterator->cursor; in dexParameterIteratorNextIndex() local 500 if (cursor >= parameterCount) { in dexParameterIteratorNextIndex() 504 u4 idx = dexTypeListGetIdx(pIterator->parameters, cursor); in dexParameterIteratorNextIndex() 505 pIterator->cursor++; in dexParameterIteratorNextIndex()
|
D | DexProto.h | 206 int cursor; member
|