/dalvik/tests/046-reflect/src/ |
D | Main.java | 39 private void showStrings(Target instance) in showStrings() argument 47 one = (String) field.get(instance); in showStrings() 50 two = (String) field.get(instance); in showStrings() 53 three = (String) field.get(instance); in showStrings() 81 Target instance = new Target(); in run() local 91 boxval = (Integer) meth.invoke(instance, argList); in run() 96 meth.invoke(instance, (Object[]) null); in run() 101 meth.invoke(instance, (Object[]) null); in run() 119 String strVal = (String) field.get(instance); in run() 122 showStrings(instance); in run() [all …]
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/ |
D | TimezoneGetter.java | 25 private static TimezoneGetter instance; field in TimezoneGetter 33 return instance; in getInstance() 43 if (instance != null) { in setInstance() 46 instance = getter; in setInstance()
|
/dalvik/vm/oo/ |
D | TypeCheck.c | 224 static inline int isInstanceof(const ClassObject* instance, in isInstanceof() argument 228 return dvmImplements(instance, clazz); in isInstanceof() 229 } else if (dvmIsArrayClass(instance)) { in isInstanceof() 230 return isArrayInstanceOf(instance, clazz); in isInstanceof() 232 return dvmIsSubClass(instance, clazz); in isInstanceof() 241 int dvmInstanceofNonTrivial(const ClassObject* instance, in dvmInstanceofNonTrivial() argument 244 #define ATOMIC_CACHE_CALC isInstanceof(instance, clazz) in dvmInstanceofNonTrivial() 246 INSTANCEOF_CACHE_SIZE, instance, clazz); in dvmInstanceofNonTrivial()
|
D | TypeCheck.h | 28 int dvmInstanceofNonTrivial(const ClassObject* instance, 36 INLINE int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz) in dvmInstanceof() argument 38 if (instance == clazz) { in dvmInstanceof() 43 return dvmInstanceofNonTrivial(instance, clazz); in dvmInstanceof()
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
D | DeleteOnExit.java | 35 private static DeleteOnExit instance; field in DeleteOnExit 46 if (instance == null) { in getInstance() 47 instance = new DeleteOnExit(); in getInstance() 48 Runtime.getRuntime().addShutdownHook(instance); in getInstance() 51 return instance; in getInstance()
|
/dalvik/hit/src/com/android/hit/ |
D | RootObj.java | 54 Instance instance = state.findReference(mId); in getClassName() local 56 theClass = state.findClass(instance.mClassId); in getClassName() 68 Instance instance = null; in getSize() local 71 instance = mHeap.mState.findClass(mId); in getSize() 73 instance = mHeap.mState.findReference(mId); in getSize() 76 if (instance == null) { in getSize() 80 return instance.getSize(); in getSize()
|
D | ClassObj.java | 82 Instance instance = state.findReference(id); in resolveReferences() local 84 instance.addParent(this); in resolveReferences() 90 instance.getTypeName(), in resolveReferences() 91 instance.mHeap.mName, in resolveReferences() 127 public final void addInstance(Instance instance) { in addInstance() argument 128 mInstances.add(instance); in addInstance() 216 Instance instance = state.findReference(id); in visit() local 218 if (instance != null) { in visit() 219 instance.visit(resultSet, filter); in visit()
|
D | Heap.java | 91 public final void addInstance(long id, Instance instance) { in addInstance() argument 92 mInstances.put(id, instance); in addInstance() 137 for (Instance instance: theClass.mInstances) { in dumpSizes() 138 size += instance.getCompositeSize(); in dumpSizes() 154 for (Instance instance : mInstances.values()) { in resolveInstanceRefs() 155 ClassObj theClass = mClassesById.get(instance.mClassId); in resolveInstanceRefs() 169 theClass.addInstance(instance); in resolveInstanceRefs() 170 instance.resolveReferences(state); in resolveInstanceRefs()
|
D | ArrayInstance.java | 62 Instance instance = state.findReference(id); in resolveReferences() local 64 if (instance != null) { in resolveReferences() 65 instance.addParent(this); in resolveReferences() 118 Instance instance = state.findReference(id); in visit() local 120 if (instance != null) { in visit() 121 instance.visit(resultSet, filter); in visit()
|
D | Instance.java | 39 public boolean accept(Instance instance); in accept() argument 75 for (Instance instance: set) { in getCompositeSize() 76 size += instance.getSize(); in getCompositeSize()
|
D | ClassInstance.java | 71 Instance instance = state.findReference(id); in resolve() local 73 if (instance != null) { in resolve() 74 instance.addParent(this); in resolve() 131 Instance instance = state.findReference(id); in visit() local 133 if (instance != null) { in visit() 134 instance.visit(resultSet, filter); in visit()
|
D | State.java | 103 public final void addInstance(long id, Instance instance) { in addInstance() argument 104 mCurrentHeap.addInstance(id, instance); in addInstance() 113 Instance instance = heap.getInstance(id); in findReference() local 115 if (instance != null) { in findReference() 116 return instance; in findReference()
|
D | Queries.java | 219 for (Instance instance: newHeap.mInstances.values()) { in newInstances() 220 Instance oldInstance = oldHeap.getInstance(instance.mId); in newInstances() 229 || (instance.mClassId != oldInstance.mClassId)) { in newInstances() 230 resultList.add(instance); in newInstances()
|
/dalvik/libcore/xml/src/main/java/org/apache/harmony/xml/dom/ |
D | DOMImplementationImpl.java | 37 private static DOMImplementationImpl instance; field in DOMImplementationImpl 71 if (instance == null) { in getInstance() 72 instance = new DOMImplementationImpl(); in getInstance() 75 return instance; in getInstance()
|
/dalvik/tests/034-call-null/src/ |
D | Main.java | 11 Main instance = null; in main() local 12 instance.doStuff(); in main()
|
/dalvik/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParserFactory.java | 307 Object instance = null; in newInstance() local 312 instance = candidate.newInstance (); in newInstance() 318 if (instance instanceof XmlPullParser) { in newInstance() 322 if (instance instanceof XmlSerializer) { in newInstance() 326 if (instance instanceof XmlPullParserFactory) { in newInstance() 328 factory = (XmlPullParserFactory) instance; in newInstance()
|
/dalvik/libcore/luni-kernel/src/main/java/org/apache/harmony/kernel/vm/ |
D | LangAccess.java | 37 public static void setInstance(LangAccess instance) { in setInstance() argument 42 theInstance = instance; in setInstance()
|
/dalvik/dx/tests/066-dex-try-catch-rethrow/ |
D | expected.txt | 9 0009: new-instance v1, java.lang.RuntimeException 27 0008: new-instance v1, java.lang.RuntimeException 46 0009: new-instance v1, java.lang.RuntimeException 65 0008: new-instance v1, java.lang.RuntimeException 85 0009: new-instance v1, java.lang.RuntimeException
|
/dalvik/dx/tests/049-dex-instanceof/ |
D | expected.txt | 5 0002: instance-of v1, v1, Blort
|
/dalvik/tests/073-mismatched-field/ |
D | info.txt | 1 Test behavior when an instance field is overlapped (through separate
|
/dalvik/dx/tests/035-dex-instance-var/ |
D | info.txt | 4 just an instance variable.
|
/dalvik/dx/tests/038-dex-instance-method/ |
D | info.txt | 4 just an instance method.
|
/dalvik/tests/069-field-type/ |
D | info.txt | 2 inappropriate object type in an instance field. By compiling two
|
/dalvik/dx/tests/041-dex-abstract-method/ |
D | info.txt | 4 just an abstract instance method.
|
/dalvik/dx/tests/053-dex-instance-var-access/ |
D | info.txt | 2 instance variable access works.
|