Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/io/
DOldSequenceInputStreamTest.java159 Vector<InputStream> inputs = new Vector<>(); in test_readStackOVerflow() local
162 inputs.add(emptyInputStream); in test_readStackOVerflow()
165 SequenceInputStream sequenceInputStream = new SequenceInputStream(inputs.elements()); in test_readStackOVerflow()
169 sequenceInputStream = new SequenceInputStream(inputs.elements()); in test_readStackOVerflow()
174 Vector<InputStream> inputs = new Vector<>(); in createSequenceInputStreamWithGaps() local
176 inputs.add(emptyInputStream); in createSequenceInputStreamWithGaps()
177 inputs.add(simple1); in createSequenceInputStreamWithGaps()
178 inputs.add(emptyInputStream); in createSequenceInputStreamWithGaps()
179 inputs.add(simple2); in createSequenceInputStreamWithGaps()
180 inputs.add(emptyInputStream); in createSequenceInputStreamWithGaps()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DFloatTest.java571 String[] inputs = { in test_parseFloat_LString_MaxNormalBoundary() local
587 for (int i = 0; i < inputs.length; i++) { in test_parseFloat_LString_MaxNormalBoundary()
588 float actual = Float.parseFloat(inputs[i]); in test_parseFloat_LString_MaxNormalBoundary()
593 String errorMsg = i + "th input string is:<" + inputs[i] in test_parseFloat_LString_MaxNormalBoundary()
621 String inputs[] = { in test_parseFloat_LString_MinNormalBoundary() local
637 for (int i = 0; i < inputs.length; i++) { in test_parseFloat_LString_MinNormalBoundary()
638 float actual = Float.parseFloat(inputs[i]); in test_parseFloat_LString_MinNormalBoundary()
643 String errorMsg = i + "th input string is:<" + inputs[i] in test_parseFloat_LString_MinNormalBoundary()
671 String inputs[] = { in test_parseFloat_LString_MaxSubNormalBoundary() local
687 for (int i = 0; i < inputs.length; i++) { in test_parseFloat_LString_MaxSubNormalBoundary()
[all …]
DDoubleTest.java875 String[] inputs = { in test_parseDouble_LString_MaxNormalBoundary() local
908 for (int i = 0; i < inputs.length; i++) { in test_parseDouble_LString_MaxNormalBoundary()
909 double actual = Double.parseDouble(inputs[i]); in test_parseDouble_LString_MaxNormalBoundary()
914 String errorMsg = i + "th input string is:<" + inputs[i] in test_parseDouble_LString_MaxNormalBoundary()
939 String[] inputs = { in test_parseDouble_LString_MinNormalBoundary() local
972 for (int i = 0; i < inputs.length; i++) { in test_parseDouble_LString_MinNormalBoundary()
973 double actual = Double.parseDouble(inputs[i]); in test_parseDouble_LString_MinNormalBoundary()
978 String errorMsg = i + "th input string is:<" + inputs[i] in test_parseDouble_LString_MinNormalBoundary()
1003 String[] inputs = { in test_parseDouble_LString_MaxSubNormalBoundary() local
1036 for (int i = 0; i < inputs.length; i++) { in test_parseDouble_LString_MaxSubNormalBoundary()
[all …]
/libcore/ojluni/src/test/java/math/BigInteger/
DUnicodeConstructor.java54 final Object[][] inputs = { in testUnicodeConstructor() local
62 for (Object[] test : inputs) { in testUnicodeConstructor()
/libcore/ojluni/src/test/java/lang/invoke/
DRicochetTest.java233 int inputs = outputs - 1 + collects; in testIntCollects() local
234 if (inputs < 0) continue; in testIntCollects()
235 for (int pos = 0; pos + collects <= inputs; pos++) { in testIntCollects()
237 int[] args = new int[inputs]; in testIntCollects()
259 assert(mh.type().parameterCount() == inputs); in testIntCollects()
273 int inputs = outputs - 1 + collects; in testByteCollects() local
274 if (inputs < 0) continue; in testByteCollects()
275 for (int pos = 0; pos + collects <= inputs; pos++) { in testByteCollects()
277 byte[] args = new byte[inputs]; in testByteCollects()
299 assert(mh.type().parameterCount() == inputs); in testByteCollects()
/libcore/ojluni/src/test/java/util/regex/
DRegExTest.java4511 Map<Integer, List<String>> inputs = new HashMap<>(); in lineBreakWithQuantifier() local
4523 inputs.computeIfAbsent(len, l -> new ArrayList<>()).add(sb.toString()); in lineBreakWithQuantifier()
4544 for (String in : inputs.get(len)) { in lineBreakWithQuantifier()