Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/
DSplitTest.java91 String tokens[]; in testSplit1() local
93 tokens = p.split(input, 1); in testSplit1()
94 assertEquals(1, tokens.length); in testSplit1()
95 assertTrue(tokens[0].equals(input)); in testSplit1()
96 tokens = p.split(input, 2); in testSplit1()
97 assertEquals(2, tokens.length); in testSplit1()
98 assertEquals("poodle", tokens[0]); in testSplit1()
99 assertEquals("zoo", tokens[1]); in testSplit1()
100 tokens = p.split(input, 5); in testSplit1()
101 assertEquals(2, tokens.length); in testSplit1()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DAlgorithmDecomposer.java57 String[] tokens = pattern.split(transTocken); in decomposeImpl() local
59 for (String token : tokens) { in decomposeImpl()