/dalvik/vm/mterp/c/ |
H A D | OP_INVOKE_OBJECT_INIT_RANGE.cpp | 3 Object* obj; local 6 obj = GET_REGISTER_AS_OBJECT(vsrc1); 8 if (!checkForNullExportPC(obj, fp, pc)) 16 if (IS_CLASS_FLAG_SET(obj->clazz, CLASS_ISFINALIZABLE)) { 18 dvmSetFinalizable(obj);
|
H A D | OP_MONITOR_ENTER.cpp | 3 Object* obj; local 8 obj = (Object*)GET_REGISTER(vsrc1); 9 if (!checkForNullExportPC(obj, fp, pc)) 11 ILOGV("+ locking %p %s", obj, obj->clazz->descriptor); 13 dvmLockObject(self, obj);
|
H A D | OP_MONITOR_EXIT.cpp | 3 Object* obj; local 10 obj = (Object*)GET_REGISTER(vsrc1); 11 if (!checkForNull(obj)) { 22 ILOGV("+ unlocking %p %s", obj, obj->clazz->descriptor); 23 if (!dvmUnlockObject(self, obj)) {
|
H A D | OP_THROW.cpp | 3 Object* obj; local 14 obj = (Object*) GET_REGISTER(vsrc1); 15 if (!checkForNull(obj)) { 20 dvmSetException(self, obj);
|
H A D | OP_APUT_OBJECT.cpp | 4 Object* obj; local 20 obj = (Object*) GET_REGISTER(vdst); 21 if (obj != NULL) { 22 if (!checkForNull(obj)) 24 if (!dvmCanPutArrayElement(obj->clazz, arrayObj->clazz)) { 26 obj->clazz->descriptor, obj, 28 dvmThrowArrayStoreExceptionIncompatibleElement(obj->clazz, arrayObj->clazz);
|
H A D | OP_CHECK_CAST.cpp | 4 Object* obj; local 12 obj = (Object*)GET_REGISTER(vsrc1); 13 if (obj != NULL) { 15 if (!checkForNull(obj)) 24 if (!dvmInstanceof(obj->clazz, clazz)) { 25 dvmThrowClassCastException(obj->clazz, clazz);
|
H A D | OP_INSTANCE_OF.cpp | 4 Object* obj; local 11 obj = (Object*)GET_REGISTER(vsrc1); 12 if (obj == NULL) { 16 if (!checkForNullExportPC(obj, fp, pc)) 26 SET_REGISTER(vdst, dvmInstanceof(obj->clazz, clazz));
|
/dalvik/tests/003-omnibus-opcodes/src/ |
H A D | UnresTest2.java | 8 static boolean checkCasts(Object obj) { argument 12 UnresClass un = (UnresClass) obj; 18 foo = obj instanceof UnresClass;
|
/dalvik/tests/024-illegal-access/src/ |
H A D | CheckInstanceof.java | 21 public static void main(Object obj) { argument 22 if (obj instanceof otherpkg.Package)
|
/dalvik/vm/alloc/ |
H A D | WriteBarrier.h | 29 INLINE void dvmWriteBarrierField(const Object *obj, void *addr) argument 31 dvmMarkCard(obj); 37 INLINE void dvmWriteBarrierObject(const Object *obj) argument 39 dvmMarkCard(obj); 47 INLINE void dvmWriteBarrierArray(const ArrayObject *obj, argument 50 dvmMarkCard((Object *)obj);
|
H A D | HeapBitmapInlines.h | 20 static unsigned long dvmHeapBitmapSetAndReturnObjectBit(HeapBitmap *hb, const void *obj) __attribute__((used)); 21 static void dvmHeapBitmapSetObjectBit(HeapBitmap *hb, const void *obj) __attribute__((used)); 22 static void dvmHeapBitmapClearObjectBit(HeapBitmap *hb, const void *obj) __attribute__((used)); 27 static unsigned long _heapBitmapModifyObjectBit(HeapBitmap *hb, const void *obj, argument 30 const uintptr_t offset = (uintptr_t)obj - hb->base; 35 assert((uintptr_t)obj >= hb->base); 38 if ((uintptr_t)obj > hb->max) { 39 hb->max = (uintptr_t)obj; 56 * Sets the bit corresponding to <obj>, and returns the previous value 58 * <obj> i 63 dvmHeapBitmapSetAndReturnObjectBit(HeapBitmap *hb, const void *obj) argument 73 dvmHeapBitmapSetObjectBit(HeapBitmap *hb, const void *obj) argument 81 dvmHeapBitmapClearObjectBit(HeapBitmap *hb, const void *obj) argument 93 dvmHeapBitmapIsObjectBitSet(const HeapBitmap *hb, const void *obj) argument [all...] |
H A D | Verify.cpp | 30 Object *obj = *(Object **)pObj; local 32 if (lookingFor != NULL && lookingFor == obj) { 41 static void dumpReferencesCallback(Object *obj, void *arg) argument 43 if (obj == (Object *)arg) { 46 dvmVisitObject(dumpReferencesVisitor, obj, &arg); 48 ALOGD("Found %p in the heap @ %p", arg, obj); 49 dvmDumpObject(obj); 60 Object *obj = *(Object **)ptr; local 62 if (obj == lookingFor) { 70 static void dumpReferences(const Object *obj) argument 83 Object *obj; local 108 dvmVerifyObject(const Object *obj) argument 121 verifyBitmapCallback(Object *obj, void *arg) argument [all...] |
H A D | Visit.cpp | 25 void dvmVisitObject(Visitor *visitor, Object *obj, void *arg) argument 28 assert(obj != NULL); 29 assert(obj->clazz != NULL); 30 visitObject(visitor, obj, arg);
|
H A D | VisitInlines.h | 23 static void visitFields(Visitor *visitor, Object *obj, void *arg) argument 26 assert(obj != NULL); 27 assert(obj->clazz != NULL); 28 if (obj->clazz->refOffsets != CLASS_WALK_SUPER) { 29 size_t refOffsets = obj->clazz->refOffsets; 33 Object **ref = (Object **)BYTE_OFFSET(obj, offset); 38 for (ClassObject *clazz = obj->clazz; 44 Object **ref = (Object **)BYTE_OFFSET(obj, offset); 83 static void visitClassObject(Visitor *visitor, Object *obj, void *arg) argument 88 assert(obj ! 111 visitArrayObject(Visitor *visitor, Object *obj, void *arg) argument 130 visitDataObject(Visitor *visitor, Object *obj, void *arg) argument 143 visitReferenceObject(Visitor *visitor, Object *obj, void *arg) argument 157 visitObject(Visitor *visitor, Object *obj, void *arg) argument [all...] |
H A D | HeapBitmap.cpp | 78 * Return true iff <obj> is within the range of pointers that this 82 bool dvmHeapBitmapCoversAddress(const HeapBitmap *hb, const void *obj) argument 85 if (obj != NULL) { 86 const uintptr_t offset = (uintptr_t)obj - hb->base; 111 Object* obj = (Object *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); local 112 (*callback)(obj, arg); 147 Object *obj = (Object *)(ptrBase + shift * HB_OBJECT_ALIGNMENT); local 148 (*callback)(obj, finger, arg);
|
/dalvik/tests/031-class-attributes/src/ |
H A D | ClassAttrs.java | 76 public static String getSignatureAttribute(Object obj) { argument 79 if (obj instanceof AccessibleObject) { 95 return (String) method.invoke(obj);
|
/dalvik/tests/064-field-access/src/ |
H A D | Main.java | 41 * Get the field specified by "field" from "obj". 51 public Object getValue(Field field, Object obj, char type, argument 58 result = new Boolean(field.getBoolean(obj)); 61 result = new Byte(field.getByte(obj)); 64 result = new Short(field.getShort(obj)); 67 result = new Character(field.getChar(obj)); 70 result = new Integer(field.getInt(obj)); 73 result = new Long(field.getLong(obj)); 76 result = new Float(field.getFloat(obj)); 79 result = new Double(field.getDouble(obj)); 283 getValue(Field field, Object obj, char type, Class expectedException) argument [all...] |
/dalvik/tests/088-monitor-verification/src/ |
H A D | Main.java | 179 private void doNothing(Object obj) {} argument
|
/dalvik/vm/hprof/ |
H A D | Hprof.cpp | 197 Object *obj; local 202 obj = *(Object **)addr; 203 if (obj == NULL) { 209 hprofMarkRootObject(ctx, obj, 0); 217 static void hprofBitmapCallback(Object *obj, void *arg) 219 assert(obj != NULL); 222 hprofDumpHeapObject(ctx, obj);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | FixedSizeList.java | 210 * @param obj {@code null-ok;} the value to store 212 protected final void set0(int n, Object obj) { argument 216 arr[n] = obj;
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | FixedSizeList.java | 210 * @param obj {@code null-ok;} the value to store 212 protected final void set0(int n, Object obj) { argument 216 arr[n] = obj;
|
/dalvik/tests/044-proxy/src/ |
H A D | WrappedThrow.java | 181 public WTInvocationHandler(Object obj) { argument 182 mObj = obj;
|
/dalvik/vm/native/ |
H A D | InternalNative.cpp | 150 * Verify that "obj" is non-null and is an instance of "clazz". 155 bool dvmVerifyObjectInClass(Object* obj, ClassObject* clazz) { argument 157 if (obj == NULL) { 159 } else if (!dvmInstanceof(obj->clazz, clazz)) { 168 std::string actualClassName(dvmHumanReadableType(obj));
|
/dalvik/vm/ |
H A D | Debugger.h | 88 Object* obj; /* not used for ClassType.InvokeMethod */ member in struct:DebugInvokeReq
|
H A D | IndirectRefTable.cpp | 61 IndirectRef IndirectRefTable::add(u4 cookie, Object* obj) argument 67 assert(obj != NULL); 68 assert(dvmIsHeapAddress(obj)); 86 assert(slot->obj != NULL); 87 while ((--slot)->obj != NULL) { 127 slot->obj = obj; 167 Object* obj = table_[index].obj; local 168 if (obj 186 findObject(const Object* obj, int bottomIndex, int topIndex, const IndirectRefSlot* table) argument [all...] |