/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()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
D | DeleteOnExit.java | 34 private static DeleteOnExit instance; field in DeleteOnExit 45 if (instance == null) { in getInstance() 46 instance = new DeleteOnExit(); in getInstance() 47 Runtime.getRuntime().addShutdownHook(instance); in getInstance() 50 return instance; in getInstance()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ReflectionBenchmark.java | 78 C instance = new C(); in timeField_setInt() local 80 f.setInt(instance, 1); in timeField_setInt() 87 C instance = new C(); in timeField_getInt() local 89 f.getInt(instance); in timeField_getInt() 96 C instance = new C(); in timeMethod_invokeV() local 98 m.invoke(instance); in timeMethod_invokeV() 113 C instance = new C(); in timeMethod_invokeI() local 115 m.invoke(instance, 1); in timeMethod_invokeI() 122 C instance = new C(); in timeMethod_invokePreBoxedI() local 125 m.invoke(instance, one); in timeMethod_invokePreBoxedI() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DOMImplementationImpl.java | 37 private static DOMImplementationImpl instance; field in DOMImplementationImpl 80 if (instance == null) { in getInstance() 81 instance = new DOMImplementationImpl(); in getInstance() 84 return instance; in getInstance()
|
/libcore/xml/src/main/java/org/xmlpull/v1/ |
D | XmlPullParserFactory.java | 305 Object instance = null; in newInstance() local 310 instance = candidate.newInstance (); in newInstance() 316 if (instance instanceof XmlPullParser) { in newInstance() 320 if (instance instanceof XmlSerializer) { in newInstance() 324 if (instance instanceof XmlPullParserFactory) { in newInstance() 326 factory = (XmlPullParserFactory) instance; in newInstance()
|
/libcore/libdvm/src/main/java/java/lang/ |
D | ClassLoader.java | 744 private static BootClassLoader instance; field in BootClassLoader 748 if (instance == null) { in getInstance() 749 instance = new BootClassLoader(); in getInstance() 752 return instance; in getInstance()
|
/libcore/libart/src/main/java/java/lang/ |
D | ClassLoader.java | 764 private static BootClassLoader instance; field in BootClassLoader 768 if (instance == null) { in getInstance() 769 instance = new BootClassLoader(); in getInstance() 772 return instance; in getInstance()
|
/libcore/luni/src/main/java/java/lang/ |
D | ProcessManager.java | 335 private static final ProcessManager instance = new ProcessManager(); field in ProcessManager 339 return instance; in getInstance()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | OldAndroidClassTest.java | 33 Object instance = helloClass.newInstance(); in testNewInstance() local 34 assertNotNull(instance); in testNewInstance()
|
/libcore/luni/src/main/java/java/io/ |
D | ObjectOutputStream.java | 477 …private static native Object getFieldL(Object instance, Class<?> declaringClass, String fieldName,… in getFieldL() argument
|
/libcore/expectations/ |
D | brokentests.txt | 721 description: "this test assumes Integer.toString() always returns a new instance",
|