Home
last modified time | relevance | path

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

/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.java120 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/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/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java124 if (parser.nextToken() == XmlPullParser.END_DOCUMENT) { in parse()
295 token = parser.nextToken(); in parse()
321 token = parser.nextToken(); in parse()
329 token = parser.nextToken(); in parse()
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java824 String token = path.nextToken(); in node()
840 path.nextToken(); // Consume slash in node()
892 String token = path.nextToken(); in nodeExists()
903 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.java137 String items = eraTokens.nextToken().trim(); in getLocalGregorianCalendar()
145 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/java/net/
DHttpCookie.java863 namevaluePair = tokenizer.nextToken(); in parseInternal()
885 namevaluePair = tokenizer.nextToken(); in parseInternal()
DURLConnection.java1301 String packagePrefix = packagePrefixIter.nextToken().trim(); in lookupContentHandlerClassFor()
DURL.java1167 String packagePrefix = packagePrefixIter.nextToken().trim(); in getURLStreamHandler()
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java524 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();
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java395 ftp.changeDirectory(ParseUtil.decode(token.nextToken())); in cd()
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java359 parts[count++] = parser.nextToken().trim(); in tokenizeTransformation()
/libcore/xml/src/main/java/org/kxml2/io/
DKXmlParser.java316 public int nextToken() throws XmlPullParserException, IOException { in nextToken() method in KXmlParser
/libcore/luni/src/test/java/tests/java/sql/
DDatabaseMetaDataTest.java2400 String function = st.nextToken(); in escapedFunctions()