Searched refs:ref (Results 1 - 22 of 22) sorted by relevance

/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstMethodHandle.java47 private final Constant ref; field in class:CstMethodHandle
54 * @param ref {@code non-null;} the referenced field or method constant
57 public static CstMethodHandle make(int type, Constant ref) { argument
59 if (!(ref instanceof CstFieldRef)) {
60 throw new IllegalArgumentException("ref has wrong type: " + ref.getClass());
63 if (!(ref instanceof CstBaseMethodRef)) {
64 throw new IllegalArgumentException("ref has wrong type: " + ref.getClass());
69 return new CstMethodHandle(type, ref);
78 CstMethodHandle(int type, Constant ref) argument
[all...]
H A DCstInvokeDynamic.java78 CstCallSiteRef ref = new CstCallSiteRef(this, references.size());
79 references.add(ref);
80 return ref;
/dalvik/dx/src/com/android/dx/dex/file/
H A DMethodHandleItem.java90 Constant ref = methodHandle.getRef();
93 return fieldIds.indexOf((CstFieldRef) ref);
95 if (ref instanceof CstInterfaceMethodRef) {
96 ref = ((CstInterfaceMethodRef)ref).toMethodRef();
99 return methodIds.indexOf((CstBaseMethodRef) ref);
H A DCodeItem.java43 private final CstMethodRef ref; field in class:CodeItem
69 * @param ref {@code non-null;} method that this code implements
76 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, argument
80 if (ref == null) {
81 throw new NullPointerException("ref == null");
92 this.ref = ref;
113 debugInfo = new DebugInfoItem(code, isStatic, ref);
138 return ref.toHuman();
147 return ref;
[all...]
H A DDebugInfoItem.java40 private final CstMethodRef ref; field in class:DebugInfoItem
42 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { argument
52 this.ref = ref;
77 "...while placing debug info for " + ref.toHuman());
145 DebugInfoDecoder.validateEncode(result, file, ref, code,
180 file, codeSize, regSize, isStatic, ref);
H A DFieldIdsSection.java118 * @param ref {@code non-null;} the reference to look up
121 public int indexOf(CstFieldRef ref) { argument
122 if (ref == null) {
123 throw new NullPointerException("ref == null");
128 FieldIdItem item = fieldIds.get(ref);
H A DMethodIdsSection.java118 * @param ref {@code non-null;} the reference to look up
121 public int indexOf(CstBaseMethodRef ref) { argument
122 if (ref == null) {
123 throw new NullPointerException("ref == null");
128 MethodIdItem item = methodIds.get(ref);
H A DDebugInfoDecoder.java102 * @param ref method descriptor of method this debug info is for
106 boolean isStatic, CstMethodRef ref, DexFile file) {
113 this.desc = ref.getPrototype();
425 * @param ref {@code non-null;} method whose info is being decoded
430 CstMethodRef ref, DalvCode code, boolean isStatic) {
439 isStatic, ref, file, pl, ll);
446 "while processing " + ref.toHuman());
451 int countRegisters, boolean isStatic, CstMethodRef ref,
455 isStatic, ref, file);
105 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, boolean isStatic, CstMethodRef ref, DexFile file) argument
429 validateEncode(byte[] info, DexFile file, CstMethodRef ref, DalvCode code, boolean isStatic) argument
450 validateEncode0(byte[] info, int codeSize, int countRegisters, boolean isStatic, CstMethodRef ref, DexFile file, PositionList pl, LocalList ll) argument
H A DDebugInfoEncoder.java114 * @param ref
118 boolean isStatic, CstMethodRef ref) {
122 this.desc = ref.getPrototype();
116 DebugInfoEncoder(PositionList positions, LocalList locals, DexFile file, int codeSize, int regSize, boolean isStatic, CstMethodRef ref) argument
/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DCodeItem.java52 private final CstMethodRef ref; field in class:CodeItem
78 * @param ref {@code non-null;} method that this code implements
85 public CodeItem(CstMethodRef ref, DalvCode code, boolean isStatic, argument
89 if (ref == null) {
90 throw new NullPointerException("ref == null");
101 this.ref = ref;
121 debugInfo = new DebugInfoItem(code, isStatic, ref);
146 return ref.toHuman();
155 return ref;
[all...]
H A DDebugInfoItem.java43 private final CstMethodRef ref; field in class:DebugInfoItem
45 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { argument
55 this.ref = ref;
80 "...while placing debug info for " + ref.toHuman());
148 DebugInfoDecoder.validateEncode(result, file, ref, code,
183 file, codeSize, regSize, isStatic, ref);
H A DFieldIdsSection.java119 * @param ref {@code non-null;} the reference to look up
122 public int indexOf(CstFieldRef ref) { argument
123 if (ref == null) {
124 throw new NullPointerException("ref == null");
129 FieldIdItem item = fieldIds.get(ref);
H A DMethodIdsSection.java119 * @param ref {@code non-null;} the reference to look up
122 public int indexOf(CstBaseMethodRef ref) { argument
123 if (ref == null) {
124 throw new NullPointerException("ref == null");
129 MethodIdItem item = methodIds.get(ref);
H A DDebugInfoDecoder.java91 * @param ref method descriptor of method this debug info is for
95 boolean isStatic, CstMethodRef ref, DexFile file) {
102 this.desc = ref.getPrototype();
420 * @param ref {@code non-null;} method whose info is being decoded
425 CstMethodRef ref, DalvCode code, boolean isStatic) {
434 isStatic, ref, file, pl, ll);
441 "while processing " + ref.toHuman());
446 int countRegisters, boolean isStatic, CstMethodRef ref,
450 isStatic, ref, file);
94 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, boolean isStatic, CstMethodRef ref, DexFile file) argument
424 validateEncode(byte[] info, DexFile file, CstMethodRef ref, DalvCode code, boolean isStatic) argument
445 validateEncode0(byte[] info, int codeSize, int countRegisters, boolean isStatic, CstMethodRef ref, DexFile file, PositionList pl, LocalList ll) argument
H A DDebugInfoEncoder.java106 * @param ref
110 boolean isStatic, CstMethodRef ref) {
114 this.desc = ref.getPrototype();
108 DebugInfoEncoder(PositionList positions, LocalList locals, DexFile file, int codeSize, int regSize, boolean isStatic, CstMethodRef ref) argument
/dalvik/tools/dexdeps/src/com/android/dexdeps/
H A DOutput.java105 ClassRef ref = classes[i];
107 out.println(descriptorToDot(ref.getName()));
120 FieldRef ref = fields[j];
122 out.println(descriptorToDot(ref.getDeclClassName()) +
123 "." + ref.getName() + " : " + ref.getTypeName());
137 MethodRef ref = methods[j];
139 out.println(descriptorToDot(ref.getDeclClassName()) +
140 "." + ref.getName() + " : " + ref
[all...]
/dalvik/dx/src/com/android/dx/cf/cst/
H A DConstantPoolParser.java341 final Constant ref;
347 ref = (CstFieldRef) parse0(constantIndex, wasUtf8);
351 ref = (CstMethodRef) parse0(constantIndex, wasUtf8);
355 ref = parse0(constantIndex, wasUtf8);
356 if (!(ref instanceof CstMethodRef
357 || ref instanceof CstInterfaceMethodRef)) {
359 "Unsupported ref constant type for MethodHandle "
360 + ref.getClass());
364 ref = (CstInterfaceMethodRef) parse0(constantIndex, wasUtf8);
371 cst = CstMethodHandle.make(methodHandleType, ref);
[all...]
/dalvik/dexgen/src/com/android/dexgen/dex/code/
H A DRopToDop.java351 CstFieldRef ref =
353 int basicType = ref.getBasicType();
364 CstFieldRef ref =
366 int basicType = ref.getBasicType();
377 CstFieldRef ref =
379 int basicType = ref.getBasicType();
390 CstFieldRef ref =
392 int basicType = ref.getBasicType();
/dalvik/dx/src/com/android/dx/dex/code/
H A DRopToDop.java530 CstFieldRef ref =
532 int basicType = ref.getBasicType();
543 CstFieldRef ref =
545 int basicType = ref.getBasicType();
556 CstFieldRef ref =
558 int basicType = ref.getBasicType();
569 CstFieldRef ref =
571 int basicType = ref.getBasicType();
/dalvik/dx/src/com/android/dx/cf/code/
H A DRopperMachine.java933 CstMethodRef ref = (CstMethodRef) cst;
953 if (ref.getDefiningClass().equals(method.getDefiningClass())) {
957 ref.getNat().equals(m.getNat())) {
965 if (ref.isSignaturePolymorphic()) {
981 CstMethodRef ref = (CstMethodRef) cst;
982 if (ref.isInstanceInit() ||
983 (ref.getDefiningClass().equals(method.getDefiningClass()))) {
/dalvik/dx/src/com/android/dx/dex/cf/
H A DCfTranslator.java178 for (CstCallSiteRef ref : cstInvokeDynamic.getReferences()) {
179 callSiteIds.intern(ref);
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 285 milliseconds