Home
last modified time | relevance | path

Searched refs:nextToken (Results 1 – 25 of 32) sorted by relevance

12

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DStreamTokenizerTest.java47 StreamTokenizer.TT_WORD, st.nextToken()); in test_ConstructorLjava_io_InputStream()
52 StreamTokenizer.TT_NUMBER, st.nextToken()); in test_ConstructorLjava_io_InputStream()
57 39, st.nextToken()); in test_ConstructorLjava_io_InputStream()
68 StreamTokenizer.TT_WORD, st.nextToken()); in test_ConstructorLjava_io_Reader()
73 StreamTokenizer.TT_NUMBER, st.nextToken()); in test_ConstructorLjava_io_Reader()
78 39, st.nextToken()); in test_ConstructorLjava_io_Reader()
91 47, st.nextToken()); in test_commentCharI()
93 .nextToken() == StreamTokenizer.TT_NUMBER in test_commentCharI()
96 st.nextToken() == 39 && st.sval.equals("h")); in test_commentCharI()
106 st.nextToken() == StreamTokenizer.TT_WORD in test_eolIsSignificantZ()
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidStreamTokenizerTest.java38 assertEquals(StreamTokenizer.TT_WORD, a.nextToken()); in testStreamTokenizer()
40 assertEquals(StreamTokenizer.TT_NUMBER, a.nextToken()); in testStreamTokenizer()
42 assertEquals(StreamTokenizer.TT_WORD, a.nextToken()); in testStreamTokenizer()
44 assertEquals(StreamTokenizer.TT_WORD, a.nextToken()); in testStreamTokenizer()
46 assertEquals(StreamTokenizer.TT_EOF, a.nextToken()); in testStreamTokenizer()
55 assertEquals(StreamTokenizer.TT_NUMBER, b.nextToken()); in testStreamTokenizer()
58 assertEquals(39, b.nextToken()); // ' in testStreamTokenizer()
60 assertEquals(10, b.nextToken()); // \n in testStreamTokenizer()
62 assertEquals(StreamTokenizer.TT_WORD, b.nextToken()); in testStreamTokenizer()
64 assertEquals(StreamTokenizer.TT_WORD, b.nextToken()); in testStreamTokenizer()
[all …]
DOldStreamTokenizerTest.java35 assertTrue("Wrong token 2,1", st.nextToken() == '\n'); in test_nextToken()
36 assertTrue("Wrong token 2,2", st.nextToken() == '\n'); in test_nextToken()
37 assertEquals("Wrong token 2,3", '#', st.nextToken()); in test_nextToken()
43 st.nextToken(); in test_nextToken()
59 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_WORD); in test_basicStringTokenizerMethods()
61 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_NUMBER); in test_basicStringTokenizerMethods()
63 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_WORD); in test_basicStringTokenizerMethods()
65 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_WORD); in test_basicStringTokenizerMethods()
67 Assert.assertTrue(a.nextToken() == StreamTokenizer.TT_EOF); in test_basicStringTokenizerMethods()
76 Assert.assertTrue(b.nextToken() == StreamTokenizer.TT_NUMBER); in test_basicStringTokenizerMethods()
[all …]
DStreamTokenizerTest.java29 st.nextToken(); in testLowerCase()
33 st.nextToken(); in testLowerCase()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DStringTokenizerTest.java119 st.nextToken(); in test_hasMoreTokens()
159 "This", st.nextToken()); in test_nextToken()
161 "is", st.nextToken()); in test_nextToken()
163 "a", st.nextToken()); in test_nextToken()
165 "test", st.nextToken()); in test_nextToken()
167 "String", st.nextToken()); in test_nextToken()
169 st.nextToken(); in test_nextToken()
185 "This", st.nextToken(" ")); in test_nextTokenLjava_lang_String()
187 " is a ", st.nextToken("tr")); in test_nextTokenLjava_lang_String()
189 "es", st.nextToken()); in test_nextTokenLjava_lang_String()
[all …]
DResourceBundleTest.java109 String path = tok.nextToken(); in test_getBundleLjava_lang_StringLjava_util_LocaleLjava_lang_ClassLoader()
/libcore/luni/src/test/java/libcore/xml/
DPullParserTest.java95 assertEquals(XmlPullParser.ENTITY_REF, parser.nextToken()); in testRegularNumericEntities()
174 assertEquals(XmlPullParser.START_TAG, parser.nextToken()); in testXmlDeclaration()
202 assertEquals(XmlPullParser.START_TAG, parser.nextToken()); in testCustomEntitiesUsingNextToken()
204 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testCustomEntitiesUsingNextToken()
206 assertEquals(XmlPullParser.ENTITY_REF, parser.nextToken()); in testCustomEntitiesUsingNextToken()
209 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testCustomEntitiesUsingNextToken()
253 assertEquals(XmlPullParser.START_TAG, parser.nextToken()); in testMissingEntitiesUsingNextToken()
254 assertEquals(XmlPullParser.ENTITY_REF, parser.nextToken()); in testMissingEntitiesUsingNextToken()
263 assertEquals(XmlPullParser.START_TAG, parser.nextToken()); in testEntityInAttributeUsingNextToken()
276 assertEquals(XmlPullParser.START_TAG, parser.nextToken()); in testMissingEntitiesInAttributesUsingNextWithRelaxed()
[all …]
DPullParserDtdTest.java169 assertEquals(XmlPullParser.DOCDECL, parser.nextToken()); in testStructuredEntityAndNextToken()
170 assertEquals(XmlPullParser.START_TAG, parser.nextToken()); in testStructuredEntityAndNextToken()
172 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testStructuredEntityAndNextToken()
174 assertEquals(XmlPullParser.ENTITY_REF, parser.nextToken()); in testStructuredEntityAndNextToken()
177 assertEquals(XmlPullParser.START_TAG, parser.nextToken()); in testStructuredEntityAndNextToken()
179 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testStructuredEntityAndNextToken()
181 assertEquals(XmlPullParser.COMMENT, parser.nextToken()); in testStructuredEntityAndNextToken()
183 assertEquals(XmlPullParser.END_TAG, parser.nextToken()); in testStructuredEntityAndNextToken()
185 assertEquals(XmlPullParser.TEXT, parser.nextToken()); in testStructuredEntityAndNextToken()
484 assertEquals(XmlPullParser.DOCDECL, parser.nextToken()); in testDoctypeWithNextToken()
[all …]
DXmlPullParserFactoryTest.java358 public int nextToken() throws XmlPullParserException, IOException { in nextToken() method in XmlPullParserFactoryTest.XmlPullParserStub
/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java334 public String nextToken() { in nextToken() method in StringTokenizer
370 public String nextToken(String delim) { in nextToken() method in StringTokenizer
377 return nextToken(); in nextToken()
407 return nextToken(); in nextElement()
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DNegotiateAuthentication.java157 incoming==null?firstToken():nextToken(incoming)); in setHeaders()
200 private byte[] nextToken(byte[] token) throws IOException { in nextToken() method in NegotiateAuthentication
201 return negotiator.nextToken(token); in nextToken()
DNegotiator.java75 public abstract byte[] nextToken(byte[] in) throws IOException; in nextToken() method in Negotiator
DDigestAuthentication.java131 if (st.nextToken().equalsIgnoreCase ("auth")) { in setQop()
/libcore/ojluni/src/main/java/java/io/
DStreamTokenizer.java525 public int nextToken() throws IOException { in nextToken() method in StreamTokenizer
727 return nextToken(); in nextToken()
731 return nextToken(); in nextToken()
737 return nextToken(); in nextToken()
748 return nextToken(); in nextToken()
/libcore/ojluni/src/main/java/sun/net/www/
DMimeTable.java319 String pair = tokenizer.nextToken();
335 value = tokenizer.nextToken().trim();
338 name = tokenizer.nextToken().trim();
371 extensions[i] = tokenizer.nextToken();
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java124 if (parser.nextToken() == XmlPullParser.END_DOCUMENT) { in parse()
294 token = parser.nextToken(); in parse()
320 token = parser.nextToken(); in parse()
328 token = parser.nextToken(); in parse()
/libcore/ojluni/src/main/java/sun/security/util/
DHostnameChecker.java279 if (!matchWildCards(nameSt.nextToken(), in matchAllWildcards()
280 templateSt.nextToken())) { in matchAllWildcards()
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java822 String token = path.nextToken(); in node()
838 path.nextToken(); // Consume slash in node()
890 String token = path.nextToken(); in nodeExists()
901 path.nextToken(); // Consume slash in nodeExists()
/libcore/xml/src/main/java/org/xmlpull/v1/
DXmlPullParser.java1026 int nextToken() in nextToken() method
/libcore/ojluni/src/main/java/sun/util/calendar/
DLocalGregorianCalendar.java148 String items = eraTokens.nextToken().trim(); in getLocalGregorianCalendar()
156 String item = itemTokens.nextToken(); in getLocalGregorianCalendar()
/libcore/ojluni/src/main/java/sun/net/spi/
DDefaultProxySelector.java245 … pool.add(st.nextToken().toLowerCase(), Boolean.TRUE); in select()
/libcore/ojluni/src/main/java/sun/net/www/protocol/https/
DHttpsClient.java154 v.addElement(tokenizer.nextToken()); in getCipherSuites()
178 v.addElement(tokenizer.nextToken()); in getProtocols()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java986 namevaluePair = tokenizer.nextToken(); in parseInternal()
1008 namevaluePair = tokenizer.nextToken(); in parseInternal()
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java523 cmdarray[i] = st.nextToken(); in exec()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java398 File f = new File(st.nextToken());
1015 String path = st.nextToken();

12