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

/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.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/vm/mterp/portable/
H A Dentry.c27 u2 ref; // 16-bit quantity fetched directly local
/dalvik/vm/alloc/
H A DHeapTable.c51 bool dvmHeapAddRefToLargeTable(LargeHeapRefTable **tableP, Object *ref) argument
56 assert(ref != NULL);
93 LOGE_HEAP("Can't allocate a new large ref table\n");
99 LOGE_HEAP("Can't initialize a new large ref table\n");
115 *table->refs.nextEntry++ = ref;
128 LOGE_HEAP("Can't allocate a new large ref table\n");
189 Object **ref, **lastRef; local
191 ref = table->refs.table;
193 while (ref < lastRef) {
194 dvmMarkObjectNonNull(*ref
[all...]
H A DVisitInlines.h33 Object **ref = BYTE_OFFSET(obj, offset); local
34 (*visitor)(ref, arg);
44 Object **ref = BYTE_OFFSET(obj, offset); local
45 (*visitor)(ref, arg);
157 Object **ref = BYTE_OFFSET(obj, offset); local
158 (*visitor)(ref, arg);
H A DMarkSweep.c416 static void enqueuePendingReference(Object *ref, Object **list) argument
420 assert(ref != NULL);
424 dvmSetFieldObject(ref, offset, ref);
425 *list = ref;
428 dvmSetFieldObject(ref, offset, head);
429 dvmSetFieldObject(*list, offset, ref);
439 Object *ref, *head; local
447 ref = *list;
452 ref
691 enqueueReference(Object *ref) argument
712 Object *ref, *referent; local
756 Object *ref, *referent; local
792 Object **ref; local
[all...]
H A DCopying.c1015 static bool isReferenceEnqueuable(const Object *ref) argument
1019 queue = dvmGetFieldObject(ref, gDvm.offJavaLangRefReference_queue);
1020 queueNext = dvmGetFieldObject(ref, gDvm.offJavaLangRefReference_queueNext);
1040 static void enqueueReference(Object *ref) argument
1042 assert(ref != NULL);
1043 assert(dvmGetFieldObject(ref, gDvm.offJavaLangRefReference_queue) != NULL);
1044 assert(dvmGetFieldObject(ref, gDvm.offJavaLangRefReference_queueNext) == NULL);
1045 if (!dvmHeapAddRefToLargeTable(&gDvm.gcHeap->referenceOperations, ref)) {
1071 Object *ref = *list; local
1072 JValue *field = dvmFieldPtr(ref, referentOffse
1106 Object *ref; local
1157 Object **ref; local
1312 Object **ref = (Object **)((u1 *)obj + offset); local
1321 Object **ref = (Object **)((u1 *)obj + offset); local
1574 Object **ref = table->refs.table; local
[all...]
/dalvik/vm/
H A DReferenceTable.c81 LOGE("Unable to expand ref table (from %d to %d %d-byte entries)\n",
236 Object* ref = refs[i]; local
237 if (ref->clazz == gDvm.classJavaLangClass) {
238 ClassObject* clazz = (ClassObject*) ref;
239 LOGW("%5d: %p cls=%s '%s' (%d bytes)\n", i, ref,
240 (refs[i] == NULL) ? "-" : ref->clazz->descriptor,
242 } else if (ref->clazz == NULL) {
244 LOGW("%5d: %p cls=(raw) (%d bytes)\n", i, ref, size);
246 LOGW("%5d: %p cls=%s (%d bytes)\n", i, ref,
247 (refs[i] == NULL) ? "-" : ref
[all...]
H A DIndirectRefTable.c432 Object* ref = refs[i]; local
433 if (ref->clazz == gDvm.classJavaLangClass) {
434 ClassObject* clazz = (ClassObject*) ref;
435 LOGW("%5d: %p cls=%s '%s' (%d bytes)\n", i, ref,
436 (refs[i] == NULL) ? "-" : ref->clazz->descriptor,
439 LOGW("%5d: %p cls=%s (%d bytes)\n", i, ref,
440 (refs[i] == NULL) ? "-" : ref->clazz->descriptor, size);
H A DJniInternal.h207 * The local ref tables associated with other threads are not included.
234 INLINE jobject dvmNormalizeWeakGlobalRef(jweak ref) { argument
235 return (jobject) ((u4) ref ^ WEAK_GLOBAL_XOR);
H A DCheckJni.c1477 static jobject Check_NewLocalRef(JNIEnv* env, jobject ref) argument
1480 CHECK_OBJECT(env, ref);
1482 result = BASE_ENV(env)->NewLocalRef(env, ref);
1688 /* "value" arg only used when type == ref */ \
1733 /* "value" arg only used when type == ref */ \
/dalvik/vm/interp/
H A DInterp.c1038 static char* classNameFromIndex(const Method* method, int ref, argument
1046 const DexFieldId* pFieldId = dexGetFieldId(pDvmDex->pDexFile, ref);
1047 ref = pFieldId->classIdx;
1050 const DexMethodId* pMethodId = dexGetMethodId(pDvmDex->pDexFile, ref);
1051 ref = pMethodId->classIdx;
1054 const char* className = dexStringByTypeIdx(pDvmDex->pDexFile, ref);
1074 static char* fieldNameFromIndex(const Method* method, int ref, argument
1084 LOGW("Expected ref type %d, got %d\n", VERIFY_ERROR_REF_FIELD, refType);
1088 pFieldId = dexGetFieldId(pDvmDex->pDexFile, ref);
1107 static char* methodNameFromIndex(const Method* method, int ref, argument
1153 dvmThrowVerificationError(const Method* method, int kind, int ref) argument
[all...]
/dalvik/vm/mterp/out/
H A DInterpC-portstd.c1045 ref = FETCH(1); /* field ref */ \
1046 ILOGV("|iget%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
1050 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1052 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1070 ref = FETCH(1); /* field offset */ \
1072 (_opname), vdst, vsrc1, ref); \
1076 SET_REGISTER##_regsize(vdst, dvmGetField##_ftype(obj, ref)); \
1077 ILOGV("+ IGETQ %d=0x%08llx", ref, \
1090 ref
1207 u2 ref; // 16-bit quantity fetched directly local
[all...]
H A DInterpC-portdbg.c1054 ref = FETCH(1); /* field ref */ \
1055 ILOGV("|iget%s v%d,v%d,field@0x%04x", (_opname), vdst, vsrc1, ref); \
1059 ifield = (InstField*) dvmDexGetResolvedField(methodClassDex, ref); \
1061 ifield = dvmResolveInstField(curMethod->clazz, ref); \
1079 ref = FETCH(1); /* field offset */ \
1081 (_opname), vdst, vsrc1, ref); \
1085 SET_REGISTER##_regsize(vdst, dvmGetField##_ftype(obj, ref)); \
1086 ILOGV("+ IGETQ %d=0x%08llx", ref, \
1099 ref
1457 u2 ref; // 16-bit quantity fetched directly local
[all...]
/dalvik/libnativehelper/include/nativehelper/
H A Djni.h574 jobject NewLocalRef(jobject ref) argument
575 { return functions->NewLocalRef(this, ref); }
1086 jobject group; /* global ref of a ThreadGroup object, or NULL */
/dalvik/dx/etc/
H A Djasmin.jarMETA-INF/ META-INF/MANIFEST.MF jas/ jas/AnnotDefAttr.class AnnotDefAttr.java package jas ...

Completed in 448 milliseconds