Searched defs:ref (Results 1 - 21 of 21) sorted by relevance

/dalvik/vm/mterp/portable/
H A Dentry.cpp20 u4 ref; // 16 or 32-bit quantity fetched directly local
/dalvik/dexgen/src/com/android/dexgen/dex/file/
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 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 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 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/dx/src/com/android/dx/dex/file/
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 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 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 DDebugInfoDecoder.java92 * @param ref method descriptor of method this debug info is for
96 boolean isStatic, CstMethodRef ref, DexFile file) {
103 this.desc = ref.getPrototype();
414 * @param ref {@code non-null;} method whose info is being decoded
419 CstMethodRef ref, DalvCode code, boolean isStatic) {
428 isStatic, ref, file, pl, ll);
435 "while processing " + ref.toHuman());
440 int countRegisters, boolean isStatic, CstMethodRef ref,
444 isStatic, ref, file);
95 DebugInfoDecoder(byte[] encoded, int codesize, int regSize, boolean isStatic, CstMethodRef ref, DexFile file) argument
418 validateEncode(byte[] info, DexFile file, CstMethodRef ref, DalvCode code, boolean isStatic) argument
439 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/vm/alloc/
H A DVisitInlines.h33 Object **ref = (Object **)BYTE_OFFSET(obj, offset); local
34 (*visitor)(ref, arg);
44 Object **ref = (Object **)BYTE_OFFSET(obj, offset); local
45 (*visitor)(ref, arg);
150 Object **ref = (Object **)BYTE_OFFSET(obj, offset); local
151 (*visitor)(ref, arg);
H A DMarkSweep.cpp227 Object *ref = dvmGetFieldObject(obj, offset); local
228 markObject(ref, ctx);
238 Object *ref = ((JValue *)addr)->l; local
239 markObject(ref, ctx);
365 static void enqueuePendingReference(Object *ref, Object **list) argument
367 assert(ref != NULL);
371 dvmSetFieldObject(ref, offset, ref);
372 *list = ref;
375 dvmSetFieldObject(ref, offse
390 Object *ref; local
653 enqueueReference(Object *ref) argument
675 Object *ref = dequeuePendingReference(list); local
711 Object *ref = dequeuePendingReference(list); local
737 Object *ref = dequeuePendingReference(list); local
[all...]
/dalvik/vm/
H A DInitRefs.cpp45 static struct { ClassObject** ref; const char* name; } classes[] = { member in struct:__anon23
146 for (i = 0; classes[i].ref != NULL; i++) {
147 if (!initClassReference(classes[i].ref, classes[i].name)) {
266 { "Ljava/lang/ref/FinalizerReference;", infoFinalizerReference },
373 "Ljava/lang/ref/FinalizerReference;", "add", "(Ljava/lang/Object;)V" },
379 "Ljava/lang/ref/ReferenceQueue;", "add", "(Ljava/lang/ref/Reference;)V" },
449 dvmFindSystemClass("Ljava/lang/ref/FinalizerReference;");
499 if (strcmp(classReference->descriptor, "Ljava/lang/ref/Reference;") != 0) {
504 "pendingNext", "Ljava/lang/ref/Referenc
[all...]
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...]
H A DCheckJni.cpp296 * If jobj is a weak global ref whose referent has been cleared,
1438 static jobject Check_NewLocalRef(JNIEnv* env, jobject ref) { argument
1439 CHECK_JNI_ENTRY(kFlag_Default, "EL", env, ref);
1440 return CHECK_JNI_EXIT("L", baseEnv(env)->NewLocalRef(env, ref));
1539 /* "value" arg only used when type == ref */ \
1547 /* "value" arg only used when type == ref */ \
/dalvik/vm/interp/
H A DInterp.cpp1299 static std::string classNameFromIndex(const Method* method, int ref, argument
1305 const DexFieldId* pFieldId = dexGetFieldId(pDvmDex->pDexFile, ref);
1306 ref = pFieldId->classIdx;
1309 const DexMethodId* pMethodId = dexGetMethodId(pDvmDex->pDexFile, ref);
1310 ref = pMethodId->classIdx;
1313 const char* className = dexStringByTypeIdx(pDvmDex->pDexFile, ref);
1329 static std::string fieldNameFromIndex(const Method* method, int ref, argument
1333 ALOGW("Expected ref type %d, got %d", VERIFY_ERROR_REF_FIELD, refType);
1338 const DexFieldId* pFieldId = dexGetFieldId(pDvmDex->pDexFile, ref);
1354 static std::string methodNameFromIndex(const Method* method, int ref, argument
1390 dvmThrowVerificationError(const Method* method, int kind, int ref) argument
[all...]
/dalvik/vm/mterp/out/
H A 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
1131 u4 ref; // 16 or 32-bit quantity fetched directly local
[all...]
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 383 milliseconds