/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatSymbolsTest.java | 194 final char fallback = 'F'; in testMaybeStripMarkers() local 195 assertEquals(fallback, DecimalFormatSymbols.maybeStripMarkers("", fallback)); in testMaybeStripMarkers() 196 assertEquals(fallback, DecimalFormatSymbols.maybeStripMarkers("XY", fallback)); in testMaybeStripMarkers() 197 assertEquals(fallback, DecimalFormatSymbols.maybeStripMarkers("" + ltr, fallback)); in testMaybeStripMarkers() 198 assertEquals(fallback, DecimalFormatSymbols.maybeStripMarkers("" + rtl, fallback)); in testMaybeStripMarkers() 199 assertEquals(fallback, DecimalFormatSymbols.maybeStripMarkers("" + alm, fallback)); in testMaybeStripMarkers() 200 assertEquals(fallback, in testMaybeStripMarkers() 201 DecimalFormatSymbols.maybeStripMarkers("X" + ltr + rtl + alm + "Y", fallback)); in testMaybeStripMarkers() 202 assertEquals(fallback, in testMaybeStripMarkers() 203 DecimalFormatSymbols.maybeStripMarkers("" + ltr + rtl + alm, fallback)); in testMaybeStripMarkers() [all …]
|
/libcore/json/src/test/java/libcore/org/json/ |
D | SelfUseTest.java | 95 @Override public boolean optBoolean(int index, boolean fallback) { 97 return super.optBoolean(index, fallback); 99 @Override public double optDouble(int index, double fallback) { 101 return super.optDouble(index, fallback); 103 @Override public long optLong(int index, long fallback) { 105 return super.optLong(index, fallback); 107 @Override public String optString(int index, String fallback) { 109 return super.optString(index, fallback); 111 @Override public int optInt(int index, int fallback) { 113 return super.optInt(index, fallback);
|
/libcore/json/src/main/java/org/json/ |
D | JSONArray.java | 349 public boolean optBoolean(int index, boolean fallback) { in optBoolean() argument 352 return result != null ? result : fallback; in optBoolean() 383 public double optDouble(int index, double fallback) { in optDouble() argument 386 return result != null ? result : fallback; in optDouble() 417 public int optInt(int index, int fallback) { in optInt() argument 420 return result != null ? result : fallback; in optInt() 451 public long optLong(int index, long fallback) { in optLong() argument 454 return result != null ? result : fallback; in optLong() 484 public String optString(int index, String fallback) { in optString() argument 487 return result != null ? result : fallback; in optString()
|
D | JSONObject.java | 439 public boolean optBoolean(@Nullable String name, boolean fallback) { in optBoolean() argument 442 return result != null ? result : fallback; in optBoolean() 473 public double optDouble(@Nullable String name, double fallback) { in optDouble() argument 476 return result != null ? result : fallback; in optDouble() 507 public int optInt(@Nullable String name, int fallback) { in optInt() argument 510 return result != null ? result : fallback; in optInt() 546 public long optLong(@Nullable String name, long fallback) { in optLong() argument 549 return result != null ? result : fallback; in optLong() 579 @NonNull public String optString(@Nullable String name, @NonNull String fallback) { in optString() argument 582 return result != null ? result : fallback; in optString()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | Transformers.java | 188 EmulatedStackFrame fallback = EmulatedStackFrame.create(handler.type()); in transform() 191 fallback.setReference(0, th); in transform() 197 fallback, in transform() 203 invokeFromTransform(handler, fallback); in transform() 204 fallback.copyReturnValueTo(emulatedStackFrame); in transform() 281 private final MethodHandle fallback; field in Transformers.GuardWithTest 285 GuardWithTest(MethodHandle test, MethodHandle target, MethodHandle fallback) { in GuardWithTest() argument 290 this.fallback = fallback; in GuardWithTest() 311 invokeFromTransform(fallback, emulatedStackFrame); in transform() 3124 private final MethodHandle fallback; field in Transformers.TableSwitch [all …]
|
D | MethodHandles.java | 4072 MethodHandle fallback) { in guardWithTest() argument 4075 MethodType ftype = fallback.type(); in guardWithTest() 4090 return new Transformers.GuardWithTest(test, target, fallback); in guardWithTest() 5708 public static MethodHandle tableSwitch(MethodHandle fallback, MethodHandle... targets) { in tableSwitch() argument 5709 Objects.requireNonNull(fallback); in tableSwitch() 5712 MethodType type = tableSwitchChecks(fallback, targets); in tableSwitch() 5715 return new Transformers.TableSwitch(type, fallback, targets); in tableSwitch()
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | DecimalFormatSymbols.java | 220 public static char maybeStripMarkers(java.lang.String symbol, char fallback) { in maybeStripMarkers() argument
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 986 public static char maybeStripMarkers(String symbol, char fallback) { 998 return fallback; 1007 return fallback;
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 144 MethodHandle fallback) { return null; } in guardWithTest() argument
|
/libcore/ojluni/src/test/java/lang/invoke/ |
D | MethodHandlesGeneralTest.java | 1372 …MethodHandle fallback = PRIVATE.findStatic(MethodHandlesTest.class, "fallbackIfNotEquals", MethodT… in testGuardWithTest() local 1380 fallback = changeArgTypes(fallback, argClass); in testGuardWithTest() 1386 fallback = addTrailingArgs(fallback, nargs, argClass); in testGuardWithTest() 1405 MethodHandle mh = MethodHandles.guardWithTest(test1, target, fallback); in testGuardWithTest()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleCombinersTest.java | 266 … final MethodHandle fallback = MethodHandles.lookup().findStatic(MethodHandleCombinersTest.class, in testGuardWithTest() local 269 MethodHandle adapter = MethodHandles.guardWithTest(test, target, fallback); in testGuardWithTest() 1789 final MethodHandle fallback = in testGuardWithTestMultiThreaded() local 1792 MethodHandle adapter = MethodHandles.guardWithTest(test, target, fallback); in testGuardWithTestMultiThreaded()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/ |
D | MethodHandles.java | 341 java.lang.invoke.MethodHandle fallback) { in guardWithTest() argument
|
/libcore/expectations/ |
D | knownfailures.txt | 1340 …description: "java.util.logging: Android introduced config fallback behavior in LogManager.readCon… 1408 …malFormatSymbolsTest#test_getInstance_unknown_or_invalid_locale assumes fallback to locale other t…
|