Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/net/InetAddress/
DWhiteSpaceHostTest.java42 StringTokenizer tokenizer = new StringTokenizer(hosts, ";"); in testWhiteSpace() local
43 while (tokenizer.hasMoreTokens()) { in testWhiteSpace()
44 String hostname = tokenizer.nextToken(); in testWhiteSpace()
/libcore/luni/src/test/java/libcore/java/io/
DOldStreamTokenizerTest.java97 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data)); in test_harmonyRegressionTest() local
99 tokenizer.nextToken(); in test_harmonyRegressionTest()
103 String result = tokenizer.toString(); in test_harmonyRegressionTest()
115 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data)); in test_harmonyRegressionTest2() local
117 tokenizer.nextToken(); in test_harmonyRegressionTest2()
121 String result = tokenizer.toString(); in test_harmonyRegressionTest2()
DOldAndroidStreamTokenizerTest.java75 StreamTokenizer tokenizer = new StreamTokenizer(new ByteArrayInputStream(data)); in testStreamTokenizer() local
76 tokenizer.nextToken(); in testStreamTokenizer()
77 String result = tokenizer.toString(); in testStreamTokenizer()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DStreamTokenizerTest.java194 StreamTokenizer tokenizer = new StreamTokenizer( in test_nextToken() local
196 tokenizer.ordinaryChar('\n'); // make \n ordinary in test_nextToken()
197 tokenizer.eolIsSignificant(true); in test_nextToken()
198 assertTrue("Wrong token 2,1", tokenizer.nextToken() == '\n'); in test_nextToken()
199 assertTrue("Wrong token 2,2", tokenizer.nextToken() == '\n'); in test_nextToken()
200 assertEquals("Wrong token 2,3", '#', tokenizer.nextToken()); in test_nextToken()
389 StreamTokenizer tokenizer = new StreamTokenizer( in test_toString() local
391 tokenizer.nextToken(); in test_toString()
392 String result = tokenizer.toString(); in test_toString()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java849 StringTokenizer tokenizer = new StringTokenizer(header, ";"); in parseInternal() local
854 namevaluePair = tokenizer.nextToken(); in parseInternal()
875 while (tokenizer.hasMoreTokens()) { in parseInternal()
876 namevaluePair = tokenizer.nextToken(); in parseInternal()