/libcore/luni/src/main/java/java/io/ |
D | EmulatedFieldsForLoading.java | 98 public byte get(String name, byte defaultValue) throws IOException, in get() argument 100 return emulatedFields.get(name, defaultValue); in get() 121 public char get(String name, char defaultValue) throws IOException, in get() argument 123 return emulatedFields.get(name, defaultValue); in get() 144 public double get(String name, double defaultValue) throws IOException, in get() argument 146 return emulatedFields.get(name, defaultValue); in get() 167 public float get(String name, float defaultValue) throws IOException, in get() argument 169 return emulatedFields.get(name, defaultValue); in get() 190 public int get(String name, int defaultValue) throws IOException, in get() argument 192 return emulatedFields.get(name, defaultValue); in get() [all …]
|
D | EmulatedFields.java | 208 public byte get(String name, byte defaultValue) throws IllegalArgumentException { in get() argument 210 return slot.defaulted ? defaultValue : ((Byte) slot.fieldValue).byteValue(); in get() 228 public char get(String name, char defaultValue) throws IllegalArgumentException { in get() argument 230 return slot.defaulted ? defaultValue : ((Character) slot.fieldValue).charValue(); in get() 248 public double get(String name, double defaultValue) throws IllegalArgumentException { in get() argument 250 return slot.defaulted ? defaultValue : ((Double) slot.fieldValue).doubleValue(); in get() 268 public float get(String name, float defaultValue) throws IllegalArgumentException { in get() argument 270 return slot.defaulted ? defaultValue : ((Float) slot.fieldValue).floatValue(); in get() 288 public int get(String name, int defaultValue) throws IllegalArgumentException { in get() argument 290 return slot.defaulted ? defaultValue : ((Integer) slot.fieldValue).intValue(); in get() [all …]
|
D | ObjectInputStream.java | 169 public abstract boolean get(String name, boolean defaultValue) in get() argument 189 public abstract char get(String name, char defaultValue) in get() argument 209 public abstract byte get(String name, byte defaultValue) in get() argument 229 public abstract short get(String name, short defaultValue) in get() argument 249 public abstract int get(String name, int defaultValue) in get() argument 269 public abstract long get(String name, long defaultValue) in get() argument 289 public abstract float get(String name, float defaultValue) in get() argument 309 public abstract double get(String name, double defaultValue) in get() argument 329 public abstract Object get(String name, Object defaultValue) in get() argument
|
/libcore/json/src/test/java/org/json/ |
D | SelfUseTest.java | 55 @Override public boolean optBoolean(String key, boolean defaultValue) { 57 return super.optBoolean(key, defaultValue); 59 @Override public double optDouble(String key, double defaultValue) { 61 return super.optDouble(key, defaultValue); 63 @Override public int optInt(String key, int defaultValue) { 65 return super.optInt(key, defaultValue); 67 @Override public long optLong(String key, long defaultValue) { 69 return super.optLong(key, defaultValue); 71 @Override public String optString(String key, String defaultValue) { 73 return super.optString(key, defaultValue);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | AnnotationsTest.java | 79 assertEquals((byte) 5, defaultValue("a")); in testAnnotationDefaults() 80 assertEquals((short) 6, defaultValue("b")); in testAnnotationDefaults() 81 assertEquals(7, defaultValue("c")); in testAnnotationDefaults() 82 assertEquals(8L, defaultValue("d")); in testAnnotationDefaults() 83 assertEquals(9.0f, defaultValue("e")); in testAnnotationDefaults() 84 assertEquals(10.0, defaultValue("f")); in testAnnotationDefaults() 85 assertEquals('k', defaultValue("g")); in testAnnotationDefaults() 86 assertEquals(true, defaultValue("h")); in testAnnotationDefaults() 87 assertEquals(Breakfast.WAFFLES, defaultValue("i")); in testAnnotationDefaults() 88 assertEquals("@" + AnnotationA.class.getName() + "()", defaultValue("j").toString()); in testAnnotationDefaults() [all …]
|
/libcore/luni/src/main/java/java/lang/ |
D | Integer.java | 259 public static Integer getInteger(String string, int defaultValue) { in getInteger() argument 261 return valueOf(defaultValue); in getInteger() 265 return valueOf(defaultValue); in getInteger() 270 return valueOf(defaultValue); in getInteger() 288 public static Integer getInteger(String string, Integer defaultValue) { in getInteger() argument 290 return defaultValue; in getInteger() 294 return defaultValue; in getInteger() 299 return defaultValue; in getInteger()
|
D | Long.java | 245 public static Long getLong(String string, long defaultValue) { in getLong() argument 247 return valueOf(defaultValue); in getLong() 251 return valueOf(defaultValue); in getLong() 256 return valueOf(defaultValue); in getLong() 274 public static Long getLong(String string, Long defaultValue) { in getLong() argument 276 return defaultValue; in getLong() 280 return defaultValue; in getLong() 285 return defaultValue; in getLong()
|
D | System.java | 890 public static String getProperty(String name, String defaultValue) { in getProperty() argument 892 return systemProperties.getProperty(name, defaultValue); in getProperty()
|
/libcore/luni/src/main/java/java/util/logging/ |
D | FileHandler.java | 332 private boolean getBooleanProperty(String key, boolean defaultValue) { in getBooleanProperty() argument 335 return defaultValue; in getBooleanProperty() 337 boolean result = defaultValue; in getBooleanProperty() 347 private String getStringProperty(String key, String defaultValue) { in getStringProperty() argument 349 return property == null ? defaultValue : property; in getStringProperty() 353 private int getIntProperty(String key, int defaultValue) { in getIntProperty() argument 355 int result = defaultValue; in getIntProperty()
|
/libcore/luni/src/main/java/java/net/ |
D | URLConnection.java | 518 public long getHeaderFieldDate(String field, long defaultValue) { in getHeaderFieldDate() argument 521 return defaultValue; in getHeaderFieldDate() 526 return defaultValue; in getHeaderFieldDate() 541 public int getHeaderFieldInt(String field, int defaultValue) { in getHeaderFieldInt() argument 545 return defaultValue; in getHeaderFieldInt()
|
D | HttpURLConnection.java | 743 public long getHeaderFieldDate(String field, long defaultValue) { in getHeaderFieldDate() argument 744 return super.getHeaderFieldDate(field, defaultValue); in getHeaderFieldDate()
|
D | ProxySelectorImpl.java | 104 private int getSystemPropertyInt(String key, int defaultValue) { in getSystemPropertyInt() argument 112 return defaultValue; in getSystemPropertyInt()
|
/libcore/luni/src/main/java/java/util/ |
D | Properties.java | 176 public String getProperty(String name, String defaultValue) { in getProperty() argument 183 return defaultValue; in getProperty()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotationAccess.java | 466 public static int getInnerClassFlags(Class<?> c, int defaultValue) { in getInnerClassFlags() argument 475 return defaultValue; in getInnerClassFlags()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | R.java | 1513 public static final int defaultValue = 0; field in R
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |