/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstMethodHandle.java | 47 private final Constant ref; field in CstMethodHandle 57 public static CstMethodHandle make(int type, Constant ref) { in make() argument 59 if (!(ref instanceof CstFieldRef)) { in make() 60 throw new IllegalArgumentException("ref has wrong type: " + ref.getClass()); in make() 63 if (!(ref instanceof CstBaseMethodRef)) { in make() 64 throw new IllegalArgumentException("ref has wrong type: " + ref.getClass()); in make() 69 return new CstMethodHandle(type, ref); in make() 78 private CstMethodHandle(int type, Constant ref) { in CstMethodHandle() argument 80 this.ref = ref; in CstMethodHandle() 89 return ref; in getRef() [all …]
|
D | CstInvokeDynamic.java | 78 CstCallSiteRef ref = new CstCallSiteRef(this, references.size()); in addReference() local 79 references.add(ref); in addReference() 80 return ref; in addReference()
|
/dalvik/opcode-gen/ |
D | bytecode.txt | 64 # type-ref 65 # string-ref 66 # method-ref 67 # field-ref 71 # method-and-proto-ref 72 # call-site-ref 73 # method-handle-ref 74 # proto-ref 117 op 1a const-string 21c y string-ref continue|throw 118 op 1b const-string/jumbo 31c y string-ref continue|throw [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | CodeItem.java | 43 private final CstMethodRef ref; field in CodeItem 76 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, in CodeItem() argument 80 if (ref == null) { in CodeItem() 92 this.ref = ref; in CodeItem() 113 debugInfo = new DebugInfoItem(code, isStatic, ref); in addContents() 138 return ref.toHuman(); in toHuman() 147 return ref; in getRef() 158 out.println(ref.toHuman() + ":"); in debugPrint() 237 out.annotate(0, offsetString() + ' ' + ref.toHuman()); in writeTo0() 297 "instructions for " + ref.toHuman()); in writeCodes() [all …]
|
D | MethodHandleItem.java | 90 Constant ref = methodHandle.getRef(); in getTargetIndex() local 93 return fieldIds.indexOf((CstFieldRef) ref); in getTargetIndex() 95 if (ref instanceof CstInterfaceMethodRef) { in getTargetIndex() 96 ref = ((CstInterfaceMethodRef)ref).toMethodRef(); in getTargetIndex() 99 return methodIds.indexOf((CstBaseMethodRef) ref); in getTargetIndex()
|
D | DebugInfoItem.java | 40 private final CstMethodRef ref; field in DebugInfoItem 42 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { in DebugInfoItem() argument 52 this.ref = ref; in DebugInfoItem() 77 "...while placing debug info for " + ref.toHuman()); in place0() 145 DebugInfoDecoder.validateEncode(result, file, ref, code, in encode() 180 file, codeSize, regSize, isStatic, ref); in encode0()
|
D | FieldIdsSection.java | 121 public int indexOf(CstFieldRef ref) { in indexOf() argument 122 if (ref == null) { in indexOf() 128 FieldIdItem item = fieldIds.get(ref); in indexOf()
|
D | MethodIdsSection.java | 121 public int indexOf(CstBaseMethodRef ref) { in indexOf() argument 122 if (ref == null) { in indexOf() 128 MethodIdItem item = methodIds.get(ref); in indexOf()
|
D | DebugInfoDecoder.java | 106 boolean isStatic, CstMethodRef ref, DexFile file) { in DebugInfoDecoder() argument 113 this.desc = ref.getPrototype(); in DebugInfoDecoder() 430 CstMethodRef ref, DalvCode code, boolean isStatic) { in validateEncode() argument 439 isStatic, ref, file, pl, ll); in validateEncode() 446 "while processing " + ref.toHuman()); in validateEncode() 451 int countRegisters, boolean isStatic, CstMethodRef ref, in validateEncode0() argument 455 isStatic, ref, file); in validateEncode0()
|
D | DebugInfoEncoder.java | 118 boolean isStatic, CstMethodRef ref) { in DebugInfoEncoder() argument 122 this.desc = ref.getPrototype(); in DebugInfoEncoder()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | CodeItem.java | 52 private final CstMethodRef ref; field in CodeItem 85 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, in CodeItem() argument 89 if (ref == null) { in CodeItem() 101 this.ref = ref; in CodeItem() 121 debugInfo = new DebugInfoItem(code, isStatic, ref); in addContents() 146 return ref.toHuman(); in toHuman() 155 return ref; in getRef() 166 out.println(ref.toHuman() + ":"); in debugPrint() 244 out.annotate(0, offsetString() + ' ' + ref.toHuman()); in writeTo0() 304 "instructions for " + ref.toHuman()); in writeCodes() [all …]
|
D | DebugInfoItem.java | 43 private final CstMethodRef ref; field in DebugInfoItem 45 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { in DebugInfoItem() argument 55 this.ref = ref; in DebugInfoItem() 80 "...while placing debug info for " + ref.toHuman()); in place0() 148 DebugInfoDecoder.validateEncode(result, file, ref, code, in encode() 183 file, codeSize, regSize, isStatic, ref); in encode0()
|
D | MethodIdsSection.java | 122 public int indexOf(CstBaseMethodRef ref) { in indexOf() argument 123 if (ref == null) { in indexOf() 129 MethodIdItem item = methodIds.get(ref); in indexOf()
|
D | FieldIdsSection.java | 122 public int indexOf(CstFieldRef ref) { in indexOf() argument 123 if (ref == null) { in indexOf() 129 FieldIdItem item = fieldIds.get(ref); in indexOf()
|
D | DebugInfoDecoder.java | 95 boolean isStatic, CstMethodRef ref, DexFile file) { in DebugInfoDecoder() argument 102 this.desc = ref.getPrototype(); in DebugInfoDecoder() 425 CstMethodRef ref, DalvCode code, boolean isStatic) { in validateEncode() argument 434 isStatic, ref, file, pl, ll); in validateEncode() 441 "while processing " + ref.toHuman()); in validateEncode() 446 int countRegisters, boolean isStatic, CstMethodRef ref, in validateEncode0() argument 450 isStatic, ref, file); in validateEncode0()
|
D | DebugInfoEncoder.java | 110 boolean isStatic, CstMethodRef ref) { in DebugInfoEncoder() argument 114 this.desc = ref.getPrototype(); in DebugInfoEncoder()
|
/dalvik/tools/dexdeps/src/com/android/dexdeps/ |
D | Output.java | 105 ClassRef ref = classes[i]; in printClassRefs() local 107 out.println(descriptorToDot(ref.getName())); in printClassRefs() 120 FieldRef ref = fields[j]; in printFieldRefs() local 122 out.println(descriptorToDot(ref.getDeclClassName()) + in printFieldRefs() 123 "." + ref.getName() + " : " + ref.getTypeName()); in printFieldRefs() 137 MethodRef ref = methods[j]; in printMethodRefs() local 139 out.println(descriptorToDot(ref.getDeclClassName()) + in printMethodRefs() 140 "." + ref.getName() + " : " + ref.getDescriptor()); in printMethodRefs()
|
/dalvik/dx/src/com/android/dx/cf/cst/ |
D | ConstantPoolParser.java | 341 final Constant ref; in parse0() local 347 ref = (CstFieldRef) parse0(constantIndex, wasUtf8); in parse0() 351 ref = (CstMethodRef) parse0(constantIndex, wasUtf8); in parse0() 355 ref = parse0(constantIndex, wasUtf8); in parse0() 356 if (!(ref instanceof CstMethodRef in parse0() 357 || ref instanceof CstInterfaceMethodRef)) { in parse0() 360 + ref.getClass()); in parse0() 364 ref = (CstInterfaceMethodRef) parse0(constantIndex, wasUtf8); in parse0() 371 cst = CstMethodHandle.make(methodHandleType, ref); in parse0()
|
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
D | RopToDop.java | 351 CstFieldRef ref = in dopFor() local 353 int basicType = ref.getBasicType(); in dopFor() 364 CstFieldRef ref = in dopFor() local 366 int basicType = ref.getBasicType(); in dopFor() 377 CstFieldRef ref = in dopFor() local 379 int basicType = ref.getBasicType(); in dopFor() 390 CstFieldRef ref = in dopFor() local 392 int basicType = ref.getBasicType(); in dopFor()
|
/dalvik/dx/src/com/android/dx/dex/code/ |
D | RopToDop.java | 530 CstFieldRef ref = in dopFor() local 532 int basicType = ref.getBasicType(); in dopFor() 543 CstFieldRef ref = in dopFor() local 545 int basicType = ref.getBasicType(); in dopFor() 556 CstFieldRef ref = in dopFor() local 558 int basicType = ref.getBasicType(); in dopFor() 569 CstFieldRef ref = in dopFor() local 571 int basicType = ref.getBasicType(); in dopFor()
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | RopperMachine.java | 933 CstMethodRef ref = (CstMethodRef) cst; in jopToRopOpcode() local 953 if (ref.getDefiningClass().equals(method.getDefiningClass())) { in jopToRopOpcode() 957 ref.getNat().equals(m.getNat())) { in jopToRopOpcode() 965 if (ref.isSignaturePolymorphic()) { in jopToRopOpcode() 981 CstMethodRef ref = (CstMethodRef) cst; in jopToRopOpcode() local 982 if (ref.isInstanceInit() || in jopToRopOpcode() 983 (ref.getDefiningClass().equals(method.getDefiningClass()))) { in jopToRopOpcode()
|
/dalvik/dx/src/com/android/dx/dex/cf/ |
D | CfTranslator.java | 178 for (CstCallSiteRef ref : cstInvokeDynamic.getReferences()) { in translate0() 179 callSiteIds.intern(ref); in translate0()
|
/dalvik/dx/etc/ |
D | jasmin.jar | META-INF/
META-INF/MANIFEST.MF
jas/
jas/AnnotDefAttr.class
AnnotDefAttr ... |