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

12345

/dalvik/vm/mterp/c/
H A DOP_THROW_VERIFICATION_ERROR.cpp4 ref = FETCH(1); /* class/field/method ref */
5 dvmThrowVerificationError(curMethod, vsrc1, ref);
H A DOP_CONST_CLASS.cpp6 ref = FETCH(1);
7 ILOGV("|const-class v%d class@0x%04x", vdst, ref);
8 clazz = dvmDexGetResolvedClass(methodClassDex, ref);
11 clazz = dvmResolveClass(curMethod->clazz, ref, true);
H A DOP_CONST_STRING.cpp6 ref = FETCH(1);
7 ILOGV("|const-string v%d string@0x%04x", vdst, ref);
8 strObj = dvmDexGetResolvedString(methodClassDex, ref);
11 strObj = dvmResolveString(curMethod->clazz, ref);
H A DOP_CHECK_CAST.cpp9 ref = FETCH(1); /* class to check against */
10 ILOGV("|check-cast v%d,class@0x%04x", vsrc1, ref);
18 clazz = dvmDexGetResolvedClass(methodClassDex, ref);
20 clazz = dvmResolveClass(curMethod->clazz, ref, false);
H A DOP_INSTANCE_OF.cpp8 ref = FETCH(1); /* class to check against */
9 ILOGV("|instance-of v%d,v%d,class@0x%04x", vdst, vsrc1, ref);
19 clazz = dvmDexGetResolvedClass(methodClassDex, ref);
22 clazz = dvmResolveClass(curMethod->clazz, ref, true);
H A DOP_NEW_INSTANCE.cpp9 ref = FETCH(1);
10 ILOGV("|new-instance v%d,class@0x%04x", vdst, ref);
11 clazz = dvmDexGetResolvedClass(methodClassDex, ref);
13 clazz = dvmResolveClass(curMethod->clazz, ref, false);
28 (!dvmDexGetResolvedClass(methodClassDex, ref))) {
H A DOP_EXECUTE_INLINE.cpp25 ref = FETCH(1); /* inline call "ref" */
28 vsrc1, ref, vdst);
51 if (!dvmPerformInlineOp4Dbg(arg0, arg1, arg2, arg3, &retval, ref))
54 if (!dvmPerformInlineOp4Std(arg0, arg1, arg2, arg3, &retval, ref))
H A DOP_EXECUTE_INLINE_RANGE.cpp9 ref = FETCH(1); /* inline call "ref" */
12 vsrc1, ref, vdst, vdst+vsrc1-1);
35 if (!dvmPerformInlineOp4Dbg(arg0, arg1, arg2, arg3, &retval, ref))
38 if (!dvmPerformInlineOp4Std(arg0, arg1, arg2, arg3, &retval, ref))
H A DOP_NEW_ARRAY.cpp11 ref = FETCH(1);
13 vdst, vsrc1, ref, (s4) GET_REGISTER(vsrc1));
19 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
21 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
H A DgotoTargets.cpp22 ref = FETCH(1); /* class ref */
29 vsrc1, ref, vdst, vdst+vsrc1-1);
34 vsrc1, ref, vdst, arg5);
40 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref);
42 arrayClass = dvmResolveClass(curMethod->clazz, ref, false);
114 ref = FETCH(1); /* method ref */
124 vsrc1, ref, vdst, vdst+vsrc1-1);
129 vsrc1 >> 4, ref, vds
[all...]
/dalvik/tests/036-finalizer/src/
H A DFinalizerTest.java3 import java.lang.ref.WeakReference;
H A DMain.java3 import java.lang.ref.WeakReference;
57 Object ref = wimp.get();
58 if (ref != null) {
59 s[0] = ref.toString();
/dalvik/tests/079-phantom/src/
H A DBitmap.java17 import java.lang.ref.ReferenceQueue;
18 import java.lang.ref.PhantomReference;
137 PhantomWrapper ref = (PhantomWrapper) mQueue.remove();
138 //System.out.println("dequeued ref " + ref.mNativeData +
139 // " - " + ref);
140 Bitmap.freeNativeStorage(ref.mNativeData);
141 //ref.clear();
/dalvik/vm/mterp/cstubs/
H A Dstubdefs.cpp12 u2 ref, vsrc1, vsrc2, vdst; \
16 (void)ref; (void)vsrc1; (void)vsrc2; (void)vdst; (void)inst; \
58 u4 ref; \
61 (void)ref; (void)vsrc1; (void)vsrc2; (void)vdst; (void)inst;
/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);
/dalvik/dx/src/com/android/dx/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.java41 private final CstMethodRef ref; field in class:DebugInfoItem
43 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { argument
53 this.ref = ref;
78 "...while placing debug info for " + ref.toHuman());
146 DebugInfoDecoder.validateEncode(result, file, ref, code,
181 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);
/dalvik/vm/
H A DReferenceTable.cpp81 ALOGE("Unable to expand ref table (from %d to %d %d-byte entries)",
269 const Object* ref = refs[idx]; local
270 if (ref == NULL) {
273 if (ref == kClearedJniWeakGlobal) {
277 if (ref->clazz == NULL) {
279 size_t size = dvmObjectSizeInHeap(ref);
280 ALOGW(" %5d: %p (raw) (%zd bytes)", idx, ref, size);
284 std::string className(dvmHumanReadableType(ref));
287 size_t elems = getElementCount(ref);
290 } else if (ref
[all...]
/dalvik/vm/mterp/out/
H A DInterpC-x86.cpp390 u2 ref, vsrc1, vsrc2, vdst; \
394 (void)ref; (void)vsrc1; (void)vsrc2; (void)vdst; (void)inst; \
436 u4 ref; \
439 (void)ref; (void)vsrc1; (void)vsrc2; (void)vdst; (void)inst;
1031 ref = FETCH(1); /* field ref */ \
1032 ILOGV("|iget%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
1036 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1038 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1055 ref
[all...]
H A DInterpC-mips.cpp390 u2 ref, vsrc1, vsrc2, vdst; \
394 (void)ref; (void)vsrc1; (void)vsrc2; (void)vdst; (void)inst; \
436 u4 ref; \
439 (void)ref; (void)vsrc1; (void)vsrc2; (void)vdst; (void)inst;
1031 ref = FETCH(1); /* field ref */ \
1032 ILOGV("|iget%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
1036 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1038 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1055 ref
[all...]
/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...]

Completed in 358 milliseconds

12345