Searched defs:instance (Results 1 - 10 of 10) sorted by relevance

/dalvik/vm/oo/
H A DTypeCheck.h28 extern "C" int dvmInstanceofNonTrivial(const ClassObject* instance,
32 * Determine whether "instance" is an instance of "clazz".
36 INLINE int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz) argument
38 if (instance == clazz) {
43 return dvmInstanceofNonTrivial(instance, clazz);
H A DTypeCheck.cpp57 * Determine whether "sub" is an instance of "clazz", where both of these
97 * See if "sub" is an instance of "clazz". This handles the
103 * The thing we might be an instance of has fewer dimensions. It
224 static inline int isInstanceof(const ClassObject* instance, argument
228 return dvmImplements(instance, clazz);
229 } else if (dvmIsArrayClass(instance)) {
230 return isArrayInstanceOf(instance, clazz);
232 return dvmIsSubClass(instance, clazz);
241 int dvmInstanceofNonTrivial(const ClassObject* instance, argument
244 #define ATOMIC_CACHE_CALC isInstanceof(instance, claz
[all...]
/dalvik/tests/080-oom-throw/src/
H A DMain.java47 static void confuseCompilerOptimization(InstanceMemEater instance) { argument
/dalvik/hit/src/com/android/hit/
H A DInstance.java26 // Id of the ClassObj of which this object is an instance
39 public boolean accept(Instance instance); argument
75 for (Instance instance: set) {
76 size += instance.getSize();
H A DState.java103 public final void addInstance(long id, Instance instance) { argument
104 mCurrentHeap.addInstance(id, instance);
113 Instance instance = heap.getInstance(id);
115 if (instance != null) {
116 return instance;
120 // Couldn't find an instance of a class, look for a class object
151 "+------------------ instance counts for heap: " + heap.mName);
H A DClassObj.java82 Instance instance = state.findReference(id);
84 instance.addParent(this);
90 instance.getTypeName(),
91 instance.mHeap.mName,
127 public final void addInstance(Instance instance) { argument
128 mInstances.add(instance);
216 Instance instance = state.findReference(id);
218 if (instance != null) {
219 instance.visit(resultSet, filter);
H A DHeap.java91 public final void addInstance(long id, Instance instance) { argument
92 mInstances.put(id, instance);
137 for (Instance instance: theClass.mInstances) {
138 size += instance.getCompositeSize();
150 * parent class definition objects. Then have each instance resolve
154 for (Instance instance : mInstances.values()) {
155 ClassObj theClass = mClassesById.get(instance.mClassId);
169 theClass.addInstance(instance);
170 instance.resolveReferences(state);
/dalvik/vm/compiler/codegen/x86/
H A DLowerObject.cpp35 int check_cast_nohelper(u2 vA, u4 tmp, bool instance, u2 vDest) { argument
57 if(instance) {
69 if(instance)
85 if(!instance) {
97 if(instance) {
113 if(instance) {
135 if(instance)
139 if(instance) {
143 if(instance)
149 if(instance)
169 common_check_cast_instance_of(u2 vA, u4 tmp, bool instance, u2 vDest) argument
[all...]
/dalvik/tests/046-reflect/src/
H A DMain.java46 private void showStrings(Target instance) argument
54 one = (String) field.get(instance);
57 two = (String) field.get(instance);
60 three = (String) field.get(instance);
68 Object instance = new otherpackage.Other();
72 meth.invoke(instance);
82 instance = otherpackage.Other.getInnerClassInstance();
83 target = instance.getClass();
87 meth.invoke(instance);
95 int x = field.getInt(instance);
[all...]
/dalvik/vm/native/
H A Ddalvik_system_VMRuntime.cpp84 * Callback function from the framework to indicate that a VM instance wants to
309 static void preloadDexCachesResolveField(DvmDex* pDvmDex, uint32_t fieldIdx, bool instance) { argument
322 if (!instance && !dvmIsClassInitialized(clazz)) {
327 if (instance) {

Completed in 267 milliseconds