Home
last modified time | relevance | path

Searched refs:limits (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DChoiceFormatTest.java14 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/
DChoiceFormat.java326 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/
DMembershipKeyTest.java232 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/
DIntSliceOpTest.java154 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()
DSliceOpTest.java178 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/
DChoiceFormatTest.java31 double[] limits = new double[] { 0, 1, ChoiceFormat.nextDouble(1), field in ChoiceFormatTest
37 ChoiceFormat f1 = new ChoiceFormat(limits, formats);