Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 112) sorted by relevance

12345

/dalvik/vm/mterp/c/
DOP_NEW_INSTANCE.cpp9 ref = FETCH(1); in HANDLE_OPCODE()
10 ILOGV("|new-instance v%d,class@0x%04x", vdst, ref); in HANDLE_OPCODE()
11 clazz = dvmDexGetResolvedClass(methodClassDex, ref); in HANDLE_OPCODE()
13 clazz = dvmResolveClass(curMethod->clazz, ref, false); in HANDLE_OPCODE()
28 (!dvmDexGetResolvedClass(methodClassDex, ref))) { in HANDLE_OPCODE()
DOP_CONST_STRING.cpp6 ref = FETCH(1); in HANDLE_OPCODE()
7 ILOGV("|const-string v%d string@0x%04x", vdst, ref); in HANDLE_OPCODE()
8 strObj = dvmDexGetResolvedString(methodClassDex, ref); in HANDLE_OPCODE()
11 strObj = dvmResolveString(curMethod->clazz, ref); in HANDLE_OPCODE()
DOP_CONST_CLASS.cpp6 ref = FETCH(1); in HANDLE_OPCODE()
7 ILOGV("|const-class v%d class@0x%04x", vdst, ref); in HANDLE_OPCODE()
8 clazz = dvmDexGetResolvedClass(methodClassDex, ref); in HANDLE_OPCODE()
11 clazz = dvmResolveClass(curMethod->clazz, ref, true); in HANDLE_OPCODE()
DgotoTargets.cpp22 ref = FETCH(1); /* class ref */ in GOTO_TARGET()
29 vsrc1, ref, vdst, vdst+vsrc1-1); in GOTO_TARGET()
34 vsrc1, ref, vdst, arg5); in GOTO_TARGET()
40 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref); in GOTO_TARGET()
42 arrayClass = dvmResolveClass(curMethod->clazz, ref, false); in GOTO_TARGET()
114 ref = FETCH(1); /* method ref */ in GOTO_TARGET()
124 vsrc1, ref, vdst, vdst+vsrc1-1); in GOTO_TARGET()
129 vsrc1 >> 4, ref, vdst, vsrc1 & 0x0f); in GOTO_TARGET()
140 baseMethod = dvmDexGetResolvedMethod(methodClassDex, ref); in GOTO_TARGET()
142 baseMethod = dvmResolveMethod(curMethod->clazz, ref,METHOD_VIRTUAL); in GOTO_TARGET()
[all …]
DOP_CHECK_CAST.cpp9 ref = FETCH(1); /* class to check against */ in HANDLE_OPCODE()
10 ILOGV("|check-cast v%d,class@0x%04x", vsrc1, ref); in HANDLE_OPCODE()
18 clazz = dvmDexGetResolvedClass(methodClassDex, ref); in HANDLE_OPCODE()
20 clazz = dvmResolveClass(curMethod->clazz, ref, false); in HANDLE_OPCODE()
DOP_INSTANCE_OF.cpp8 ref = FETCH(1); /* class to check against */ in HANDLE_OPCODE()
9 ILOGV("|instance-of v%d,v%d,class@0x%04x", vdst, vsrc1, ref); in HANDLE_OPCODE()
19 clazz = dvmDexGetResolvedClass(methodClassDex, ref); in HANDLE_OPCODE()
22 clazz = dvmResolveClass(curMethod->clazz, ref, true); in HANDLE_OPCODE()
DOP_EXECUTE_INLINE.cpp25 ref = FETCH(1); /* inline call "ref" */ in HANDLE_OPCODE()
28 vsrc1, ref, vdst); in HANDLE_OPCODE()
51 if (!dvmPerformInlineOp4Dbg(arg0, arg1, arg2, arg3, &retval, ref)) in HANDLE_OPCODE()
54 if (!dvmPerformInlineOp4Std(arg0, arg1, arg2, arg3, &retval, ref)) in HANDLE_OPCODE()
DOP_EXECUTE_INLINE_RANGE.cpp9 ref = FETCH(1); /* inline call "ref" */ in HANDLE_OPCODE()
12 vsrc1, ref, vdst, vdst+vsrc1-1); in HANDLE_OPCODE()
35 if (!dvmPerformInlineOp4Dbg(arg0, arg1, arg2, arg3, &retval, ref)) in HANDLE_OPCODE()
38 if (!dvmPerformInlineOp4Std(arg0, arg1, arg2, arg3, &retval, ref)) in HANDLE_OPCODE()
DOP_NEW_ARRAY.cpp11 ref = FETCH(1); in HANDLE_OPCODE()
13 vdst, vsrc1, ref, (s4) GET_REGISTER(vsrc1)); in HANDLE_OPCODE()
19 arrayClass = dvmDexGetResolvedClass(methodClassDex, ref); in HANDLE_OPCODE()
21 arrayClass = dvmResolveClass(curMethod->clazz, ref, false); in HANDLE_OPCODE()
DOP_THROW_VERIFICATION_ERROR.cpp4 ref = FETCH(1); /* class/field/method ref */
5 dvmThrowVerificationError(curMethod, vsrc1, ref);
Dopcommon.cpp515 ref = FETCH(1); /* field ref */ \
516 ILOGV("|iget%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
520 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
522 ifield = dvmResolveInstField(curMethod->clazz, ref); \
539 ref = FETCH(1); /* field offset */ \
541 (_opname), vdst, vsrc1, ref); \
545 SET_REGISTER##_regsize(vdst, dvmGetField##_ftype(obj, ref)); \
546 ILOGV("+ IGETQ %d=0x%08llx", ref, \
559 ref = FETCH(1); /* field ref */ \
560 ILOGV("|iput%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
[all …]
/dalvik/vm/mterp/out/
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 = FETCH(1); /* field offset */ \
1057 (_opname), vdst, vsrc1, ref); \
[all …]
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 = FETCH(1); /* field offset */ \
1057 (_opname), vdst, vsrc1, ref); \
[all …]
DInterpC-allstubs.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 = FETCH(1); /* field offset */ \
1057 (_opname), vdst, vsrc1, ref); \
[all …]
DInterpC-portable.cpp977 ref = FETCH(1); /* field ref */ \
978 ILOGV("|iget%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
982 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
984 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1001 ref = FETCH(1); /* field offset */ \
1003 (_opname), vdst, vsrc1, ref); \
1007 SET_REGISTER##_regsize(vdst, dvmGetField##_ftype(obj, ref)); \
1008 ILOGV("+ IGETQ %d=0x%08llx", ref, \
1021 ref = FETCH(1); /* field ref */ \
1022 ILOGV("|iput%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
[all …]
/dalvik/opcode-gen/
Dbytecode.txt63 # type-ref
64 # string-ref
65 # method-ref
66 # field-ref
112 op 1a const-string 21c y string-ref continue|throw
113 op 1b const-string/jumbo 31c y string-ref continue|throw
114 op 1c const-class 21c y type-ref continue|throw
117 op 1f check-cast 21c y type-ref continue|throw
118 op 20 instance-of 22c y type-ref continue|throw
120 op 22 new-instance 21c y type-ref continue|throw
[all …]
/dalvik/vm/alloc/
DMarkSweep.cpp227 Object *ref = dvmGetFieldObject(obj, offset); in scanFields() local
228 markObject(ref, ctx); in scanFields()
238 Object *ref = ((JValue *)addr)->l; in scanFields() local
239 markObject(ref, ctx); in scanFields()
365 static void enqueuePendingReference(Object *ref, Object **list) in enqueuePendingReference() argument
367 assert(ref != NULL); in enqueuePendingReference()
371 dvmSetFieldObject(ref, offset, ref); in enqueuePendingReference()
372 *list = ref; in enqueuePendingReference()
375 dvmSetFieldObject(ref, offset, head); in enqueuePendingReference()
376 dvmSetFieldObject(*list, offset, ref); in enqueuePendingReference()
[all …]
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DCodeItem.java52 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 …]
DDebugInfoItem.java43 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()
/dalvik/dx/src/com/android/dx/dex/file/
DCodeItem.java52 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 …]
DDebugInfoItem.java41 private final CstMethodRef ref; field in DebugInfoItem
43 public DebugInfoItem(DalvCode code, boolean isStatic, CstMethodRef ref) { in DebugInfoItem() argument
53 this.ref = ref; in DebugInfoItem()
78 "...while placing debug info for " + ref.toHuman()); in place0()
146 DebugInfoDecoder.validateEncode(result, file, ref, code, in encode()
181 file, codeSize, regSize, isStatic, ref); in encode0()
/dalvik/vm/
DReferenceTable.cpp269 const Object* ref = refs[idx]; in dvmDumpReferenceTableContents() local
270 if (ref == NULL) { in dvmDumpReferenceTableContents()
273 if (ref == kClearedJniWeakGlobal) { in dvmDumpReferenceTableContents()
277 if (ref->clazz == NULL) { in dvmDumpReferenceTableContents()
279 size_t size = dvmObjectSizeInHeap(ref); in dvmDumpReferenceTableContents()
280 ALOGW(" %5d: %p (raw) (%zd bytes)", idx, ref, size); in dvmDumpReferenceTableContents()
284 std::string className(dvmHumanReadableType(ref)); in dvmDumpReferenceTableContents()
287 size_t elems = getElementCount(ref); in dvmDumpReferenceTableContents()
290 } else if (ref->clazz == gDvm.classJavaLangString) { in dvmDumpReferenceTableContents()
292 reinterpret_cast<const StringObject*>(ref); in dvmDumpReferenceTableContents()
[all …]
/dalvik/tools/dexdeps/src/com/android/dexdeps/
DOutput.java105 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/vm/mterp/cstubs/
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/tests/036-finalizer/src/
DMain.java3 import java.lang.ref.WeakReference;
57 Object ref = wimp.get(); in wimpString()
58 if (ref != null) { in wimpString()
59 s[0] = ref.toString(); in wimpString()

12345