/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/ |
D | BaseDexBufferTest.java | 109 Assert.assertEquals(dexBuf.readUshort(0), 0x2211); in testReadUshort() 112 Assert.assertEquals(dexBuf.readUshort(0), 0); in testReadUshort() 115 Assert.assertEquals(dexBuf.readUshort(0), 0xffff); in testReadUshort() 118 Assert.assertEquals(dexBuf.readUshort(0), 0x8000); in testReadUshort() 121 Assert.assertEquals(dexBuf.readUshort(0), 0x7fff); in testReadUshort() 237 Assert.assertEquals(val & 0xFFFF, dexBuf.readUshort(0)); in testReadRandom() 238 Assert.assertEquals((val >> 8) & 0xFFFF, dexBuf.readUshort(1)); in testReadRandom() 239 Assert.assertEquals((val >> 16) & 0xFFFF, dexBuf.readUshort(2)); in testReadRandom()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
D | FieldIdItem.java | 57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() 60 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() 72 int classIndex = dexFile.readUshort(fieldOffset + CLASS_OFFSET); 75 int typeIndex = dexFile.readUshort(fieldOffset + TYPE_OFFSET);
|
D | MethodIdItem.java | 57 int classIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() 60 int protoIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() 72 int classIndex = dexFile.readUshort(methodOffset + CLASS_OFFSET); 75 int protoIndex = dexFile.readUshort(methodOffset + PROTO_OFFSET);
|
D | CodeItem.java | 91 int registers = reader.readUshort(); in makeAnnotator() 94 int inSize = reader.readUshort(); in makeAnnotator() 97 int outSize = reader.readUshort(); in makeAnnotator() 100 int triesCount = reader.readUshort(); in makeAnnotator() 167 reader.readUshort(); in makeAnnotator() 181 int instructionCount = reader.readUshort(); in makeAnnotator() 184 int handlerOffset = reader.readUshort(); in makeAnnotator()
|
D | MethodHandleItem.java | 57 int methodHandleType = dexFile.readUshort(out.getCursor()); in makeAnnotator() 61 int fieldOrMethodId = dexFile.readUshort(out.getCursor()); in makeAnnotator()
|
D | TypeListItem.java | 58 int typeIndex = dexFile.readUshort(out.getCursor()); in makeAnnotator() 94 int typeIndex = dexFile.readUshort(typeListOffset + 4 + i*2);
|
D | MapItem.java | 57 return dexFile.readUshort(offset + TYPE_OFFSET); in getType() 82 int itemType = dexFile.readUshort(out.getCursor()); in makeAnnotator()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/instruction/ |
D | DexBackedInstruction4rcc.java | 55 return dexFile.readUshort(instructionStart + 4); in getStartRegister() 62 dexFile.readUshort(instructionStart + 2)); in getReference() 73 dexFile.readUshort(instructionStart + 6)); in getReference2()
|
D | DexBackedInstruction32x.java | 47 @Override public int getRegisterA() { return dexFile.readUshort(instructionStart + 2); } in getRegisterA() 48 @Override public int getRegisterB() { return dexFile.readUshort(instructionStart + 4); } in getRegisterB()
|
D | DexBackedInstruction3rms.java | 53 return dexFile.readUshort(instructionStart + 4); in getStartRegister() 58 return dexFile.readUshort(instructionStart + 2); in getVtableIndex()
|
D | DexBackedInstruction3rmi.java | 53 return dexFile.readUshort(instructionStart + 4); in getStartRegister() 58 return dexFile.readUshort(instructionStart + 2); in getInlineIndex()
|
D | DexBackedInstruction3rc.java | 55 return dexFile.readUshort(instructionStart + 4); in getStartRegister() 62 dexFile.readUshort(instructionStart + 2)); in getReference()
|
D | DexBackedInstruction45cc.java | 83 dexFile.readUshort(instructionStart + 2)); in getReference() 94 dexFile.readUshort(instructionStart + 6)); in getReference2()
|
D | DexBackedUnknownInstruction.java | 49 opcode = dexFile.readUshort(instructionStart); in getOriginalOpcode()
|
D | DexBackedInstruction22x.java | 48 @Override public int getRegisterB() { return dexFile.readUshort(instructionStart + 2); } in getRegisterB()
|
D | DexBackedInstruction22cs.java | 60 return dexFile.readUshort(instructionStart + 2); in getFieldOffset()
|
D | DexBackedInstruction21c.java | 54 …return DexBackedReference.makeReference(dexFile, opcode.referenceType, dexFile.readUshort(instruct… in getReference()
|
D | DexBackedInstruction20bc.java | 56 …return DexBackedReference.makeReference(dexFile, referenceType, dexFile.readUshort(instructionStar… in getReference()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/reference/ |
D | DexBackedMethodReference.java | 58 return dexFile.getType(dexFile.readUshort(methodIdItemOffset + MethodIdItem.CLASS_OFFSET)); in getDefiningClass() 79 return dexFile.getType(dexFile.readUshort(paramListStart + 2*index)); in getParameterTypes() 97 dexFile.readUshort(methodIdItemOffset + MethodIdItem.PROTO_OFFSET));
|
D | DexBackedFieldReference.java | 52 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.CLASS_OFFSET)); in getDefiningClass() 64 return dexFile.getType(dexFile.readUshort(fieldIdItemOffset + FieldIdItem.TYPE_OFFSET)); in getType()
|
D | DexBackedMethodHandleReference.java | 56 return dexFile.readUshort(methodHandleOffset + MethodHandleItem.METHOD_HANDLE_TYPE_OFFSET); in getMethodHandleType() 62 … int memberIndex = dexFile.readUshort(methodHandleOffset + MethodHandleItem.MEMBER_ID_OFFSET); in getMemberReference()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
D | OatFile.java | 348 entrySize = readUshort(58); 349 entryCount = readUshort(60); 352 entrySize = readUshort(46); 353 entryCount = readUshort(48); 390 int index = readUshort(50); 513 public int getSectionIndex() { return readUshort(offset + 14); } 523 public int getSectionIndex() { return readUshort(offset + 6); }
|
D | DexBackedTryBlock.java | 59 return dexFile.readUshort(tryItemOffset + CodeItem.TryItem.CODE_UNIT_COUNT_OFFSET); in getCodeUnitCount() 66 … handlersStartOffset + dexFile.readUshort(tryItemOffset + CodeItem.TryItem.HANDLER_OFFSET)); in getExceptionHandlers()
|
D | BaseDexReader.java | 324 return dexBuf.readUshort(offset); in peekUshort() 327 public int readUshort() { in readUshort() method in BaseDexReader 329 int result = dexBuf.readUshort(offset); in readUshort() 377 public int readUshort(int offset) { return dexBuf.readUshort(offset); } in readUshort() method in BaseDexReader
|
D | DexBackedMethodImplementation.java | 65 @Override public int getRegisterCount() { return dexFile.readUshort(codeOffset); } in getRegisterCount() 100 final int triesSize = dexFile.readUshort(codeOffset + CodeItem.TRIES_SIZE_OFFSET);
|