/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 | 441 public boolean optBoolean(@Nullable String name, boolean fallback) { in optBoolean() argument 444 return result != null ? result : fallback; in optBoolean() 475 public double optDouble(@Nullable String name, double fallback) { in optDouble() argument 478 return result != null ? result : fallback; in optDouble() 509 public int optInt(@Nullable String name, int fallback) { in optInt() argument 512 return result != null ? result : fallback; in optInt() 548 public long optLong(@Nullable String name, long fallback) { in optLong() argument 551 return result != null ? result : fallback; in optLong() 581 @NonNull public String optString(@Nullable String name, @NonNull String fallback) { in optString() argument 584 return result != null ? result : fallback; in optString()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 741 public static char maybeStripMarkers(String symbol, char fallback) { in maybeStripMarkers() argument 753 return fallback; in maybeStripMarkers() 762 return fallback; in maybeStripMarkers()
|
/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/lang/invoke/ |
D | Transformers.java | 178 EmulatedStackFrame fallback = EmulatedStackFrame.create(handler.type()); in transform() 181 fallback.setReference(0, th); in transform() 186 emulatedStackFrame.copyRangeTo(fallback, handlerArgsRange, in transform() 190 handler.invoke(fallback); in transform() 191 fallback.copyReturnValueTo(emulatedStackFrame); in transform() 206 private final MethodHandle fallback; field in Transformers.GuardWithTest 210 public GuardWithTest(MethodHandle test, MethodHandle target, MethodHandle fallback) { in GuardWithTest() argument 215 this.fallback = fallback; in GuardWithTest() 232 fallback.invoke(emulatedStackFrame); in transform()
|
D | MethodHandles.java | 3411 MethodHandle fallback) { in guardWithTest() argument 3414 MethodType ftype = fallback.type(); in guardWithTest() 3429 return new Transformers.GuardWithTest(test, target, fallback); in guardWithTest()
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
D | MethodHandles.java | 144 MethodHandle fallback) { return null; } in guardWithTest() argument
|
/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() 1762 final MethodHandle fallback = in testGuardWithTestMultiThreaded() local 1765 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 | 1345 …description: "java.util.logging: Android introduced config fallback behavior in LogManager.readCon… 1413 …malFormatSymbolsTest#test_getInstance_unknown_or_invalid_locale assumes fallback to locale other t…
|