Searched refs:limits (Results 1 – 6 of 6) sorted by relevance
/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 | 326 public ChoiceFormat(double[] limits, String[] formats) { in ChoiceFormat() argument 327 setChoices(limits, formats); in ChoiceFormat() 344 public void setChoices(double[] limits, String formats[]) { in setChoices() argument 345 if (limits.length != formats.length) { in setChoices() 349 choiceLimits = Arrays.copyOf(limits, limits.length); in setChoices()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | MembershipKeyTest.java | 232 int limits = buffer.limit(); in test_unblockWithJoinWithoutSource() local 233 byte bytes[] = new byte[limits]; in test_unblockWithJoinWithoutSource() 234 buffer.get(bytes, 0, limits); in test_unblockWithJoinWithoutSource()
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | IntSliceOpTest.java | 154 List<Integer> limits = skips; in testSkipLimitOps() local 158 for (int limit : limits) { in testSkipLimitOps() 171 List<Integer> limits = sizes(data.size()); in testLimitOps() local 173 for (int limit : limits) { in testLimitOps()
|
D | SliceOpTest.java | 178 List<Integer> limits = skips; in testSkipLimitOps() local 182 for (int l : limits) { in testSkipLimitOps() 244 List<Integer> limits = sizes(data.size()); in testLimitOps() local 246 for (int l : limits) { in testLimitOps() 256 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);
|