/dalvik/dx/src/com/android/dx/io/instructions/ |
D | BaseCodeCursor.java | 27 private int cursor; field in BaseCodeCursor 34 this.cursor = 0; in BaseCodeCursor() 38 public final int cursor() { in cursor() method in BaseCodeCursor 39 return cursor; in cursor() 44 int mapped = baseAddressMap.get(cursor); in baseAddressForCursor() 45 return (mapped >= 0) ? mapped : cursor; in baseAddressForCursor() 57 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() 58 array[cursor()] = codeUnit; in write()
|
D | ShortArrayCodeInput.java | 42 return cursor() < array.length; in hasMore() 48 int value = array[cursor()]; in read()
|
D | CodeCursor.java | 29 public int cursor(); in cursor() method
|
D | InstructionCodec.java | 116 int baseAddress = in.cursor() - 1; in FORMAT_10T() 125 int relativeTarget = insn.getTargetByte(out.cursor()); in FORMAT_10T() 133 int baseAddress = in.cursor() - 1; in FORMAT_20T() 143 short relativeTarget = insn.getTargetUnit(out.cursor()); in FORMAT_20T() 189 int baseAddress = in.cursor() - 1; in FORMAT_21T() 200 short relativeTarget = insn.getTargetUnit(out.cursor()); in FORMAT_21T() 320 int baseAddress = in.cursor() - 1; in FORMAT_22T() 332 short relativeTarget = insn.getTargetUnit(out.cursor()); in FORMAT_22T() 407 int baseAddress = in.cursor() - 1; in FORMAT_30T() 417 int relativeTarget = insn.getTarget(out.cursor()); in FORMAT_30T() [all …]
|
D | DecodedInstruction.java | 89 decoded[in.cursor()] = DecodedInstruction.decode(in); in decodeAll()
|
/dalvik/dx/src/com/android/dx/util/ |
D | ByteArrayAnnotatedOutput.java | 48 private int cursor; field in ByteArrayAnnotatedOutput 112 this.cursor = 0; in ByteArrayAnnotatedOutput() 141 byte[] result = new byte[cursor]; in toByteArray() 142 System.arraycopy(data, 0, result, 0, cursor); in toByteArray() 148 return cursor; in getCursor() 153 if (cursor != expectedCursor) { in assertCursor() 155 expectedCursor + "; actual value: " + cursor); in assertCursor() 161 int writeAt = cursor; in writeByte() 172 cursor = end; in writeByte() 177 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/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/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/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/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
|