/libcore/luni/src/test/java/libcore/java/text/ |
D | ChoiceFormatTest.java | 14 private final double[] limits = new double[] { 0, 1, 2, 3, 4 }; field in ChoiceFormatTest 23 ChoiceFormat format = new ChoiceFormat(limits, formats); in testConstructor_doubleArray_StringArray() 33 format.setChoices(limits, formats); in testSetChoices() 47 limits[2] = 1.2; in verifyChoiceFormatCopiesSuppliedArrays() 53 ChoiceFormat format = new ChoiceFormat(limits, formats); in testGetLimits() 65 ChoiceFormat format = new ChoiceFormat(limits, formats); in testGetFormats()
|
/libcore/ojluni/src/main/java/java/text/ |
D | ChoiceFormat.java | 333 public ChoiceFormat(double[] limits, String[] formats) { in ChoiceFormat() argument 334 setChoices(limits, formats); in ChoiceFormat() 353 public void setChoices(double[] limits, String formats[]) { in setChoices() argument 354 if (limits.length != formats.length) { in setChoices() 358 choiceLimits = Arrays.copyOf(limits, limits.length); in setChoices()
|
/libcore/ojluni/src/test/java/text/Format/ChoiceFormat/ |
D | Bug8001209.java | 39 double[] limits = {1,2,3,4,5,6,7}; in main() local 41 ChoiceFormat form = new ChoiceFormat(limits, dayOfWeekNames); in main()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | MembershipKeyTest.java | 233 int limits = buffer.limit(); in test_unblockWithJoinWithoutSource() local 234 byte[] bytes = new byte[limits]; in test_unblockWithJoinWithoutSource() 235 buffer.get(bytes, 0, limits); in test_unblockWithJoinWithoutSource()
|
/libcore/ojluni/src/test/java/text/Format/MessageFormat/ |
D | MessageRegression.java | 213 double[] limits = {1, 20}; in Test4104976() local 215 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4104976() 229 double[] limits = {1, 2, 3}; in Test4106659() local 233 cf = new ChoiceFormat(limits, formats); in Test4106659() 248 double[] limits = {3, 1, 2}; in Test4106660() local 250 ChoiceFormat cf = new ChoiceFormat(limits, formats); in Test4106660()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | IntSliceOpTest.java | 158 List<Integer> limits = skips; in testSkipLimitOps() local 162 for (int limit : limits) { in testSkipLimitOps() 176 List<Integer> limits = sizes(data.size()); in testLimitOps() local 178 for (int limit : limits) { in testLimitOps()
|
D | SliceOpTest.java | 181 List<Integer> limits = skips; in testSkipLimitOps() local 185 for (int l : limits) { in testSkipLimitOps() 249 List<Integer> limits = sizes(data.size()); in testLimitOps() local 251 for (int l : limits) { in testLimitOps() 261 for (int l : limits) { in testLimitOps()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | ChoiceFormatTest.java | 31 double[] limits = new double[] { 0, 1, ChoiceFormat.nextDouble(1), field in ChoiceFormatTest 37 ChoiceFormat f1 = new ChoiceFormat(limits, formats);
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset-X-Coder.java.template | 514 * limits will not be modified. 777 * limits will not be modified.
|