Home
last modified time | relevance | path

Searched refs:limits (Results 1 – 9 of 9) 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.java333 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/
DBug8001209.java39 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/
DMembershipKeyTest.java233 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/
DMessageRegression.java213 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/
DIntSliceOpTest.java158 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()
DSliceOpTest.java181 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/
DChoiceFormatTest.java31 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/
DCharset-X-Coder.java.template514 * limits will not be modified.
777 * limits will not be modified.