Home
last modified time | relevance | path

Searched refs:splits (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DStringTest.java425 String[] splits = "test\0message\0\0\0\0\0\0".split("\0", -1); in testSplit_trailingSeparators() local
426 assertEquals("test", splits[0]); in testSplit_trailingSeparators()
427 assertEquals("message", splits[1]); in testSplit_trailingSeparators()
428 assertEquals("", splits[2]); in testSplit_trailingSeparators()
429 assertEquals("", splits[3]); in testSplit_trailingSeparators()
430 assertEquals("", splits[4]); in testSplit_trailingSeparators()
431 assertEquals("", splits[5]); in testSplit_trailingSeparators()
432 assertEquals("", splits[6]); in testSplit_trailingSeparators()
433 assertEquals("", splits[7]); in testSplit_trailingSeparators()
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DStreamSpliteratorTest.java68 int splits = 0; field in StreamSpliteratorTest.ProxyNoExactSizeSpliterator
80 splits++; in trySplit()
128 splits++; in trySplit()
169 splits++; in trySplit()
211 splits++; in trySplit()
272 Assert.assertTrue(psp.splits > 0, in testSplitting()
368 Assert.assertTrue(psp.splits > 0, in testIntSplitting()
461 Assert.assertTrue(psp.splits > 0, in testLongSplitting()
554 Assert.assertTrue(psp.splits > 0, in testDoubleSplitting()
/libcore/ojluni/src/main/java/sun/security/ssl/
DCipherSuite.java429 String[] splits = transformation.split("/"); in BulkCipher() local
430 this.algorithm = splits[0]; in BulkCipher()
432 splits.length <= 1 ? false : "CBC".equalsIgnoreCase(splits[1]); in BulkCipher()
445 String[] splits = transformation.split("/"); in BulkCipher() local
446 this.algorithm = splits[0]; in BulkCipher()
448 splits.length <= 1 ? false : "CBC".equalsIgnoreCase(splits[1]); in BulkCipher()
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
DSpliteratorTestHelper.java488 List<T> splits = new ArrayList<>(); in testSplitUntilNull() local
489 Consumer<T> c = boxingAdapter.apply(splits::add); in testSplitUntilNull()
492 asserter.assertContents(splits, exp, isOrdered); in testSplitUntilNull()
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/
DSpliteratorTestHelper.java488 List<T> splits = new ArrayList<>(); in testSplitUntilNull() local
489 Consumer<T> c = boxingAdapter.apply(splits::add); in testSplitUntilNull()
492 asserter.assertContents(splits, exp, isOrdered); in testSplitUntilNull()