Home
last modified time | relevance | path

Searched refs:token (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/locale/
DStringTokenIterator.java38 private String token; field in StringTokenIterator
55 return token; in first()
59 return token; in current()
78 token = text.substring(start, end); in next()
81 token = null; in next()
84 return token; in next()
97 token = text.substring(start, end); in setStart()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java181 int token = parser.getEventType(); in parse() local
189 while (token != endToken && token != XmlPullParser.END_DOCUMENT) { in parse()
190 if (token == XmlPullParser.PROCESSING_INSTRUCTION) { in parse()
204 } else if (token == XmlPullParser.DOCDECL) { in parse()
210 } else if (token == XmlPullParser.COMMENT) { in parse()
218 } else if (token == XmlPullParser.IGNORABLE_WHITESPACE) { in parse()
225 appendText(document, node, token, parser.getText()); in parse()
227 } else if (token == XmlPullParser.TEXT || token == XmlPullParser.CDSECT) { in parse()
233 appendText(document, node, token, parser.getText()); in parse()
234 } else if (token == XmlPullParser.ENTITY_REF) { in parse()
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DZygoteHooks.java35 private static long token; field in ZygoteHooks
120 token = nativePreFork(); in preFork()
141 nativePostForkChild(token, runtimeFlags, isSystemServer, isZygote, instructionSet); in postForkChild()
166 private static native void nativePostForkChild(long token, int runtimeFlags, in nativePostForkChild() argument
/libcore/ojluni/src/main/java/sun/security/util/
DAlgorithmDecomposer.java59 for (String token : tokens) { in decomposeImpl()
60 if (token == null || token.length() == 0) { in decomposeImpl()
64 elements.add(token); in decomposeImpl()
/libcore/ojluni/src/main/java/java/util/prefs/
DAbstractPreferences.java831 String token = path.nextToken(); in node() local
832 if (token.equals("/")) // Check for consecutive slashes in node()
835 AbstractPreferences child = kidCache.get(token); in node()
837 if (token.length() > MAX_NAME_LENGTH) in node()
839 "Node name " + token + " too long"); in node()
840 child = childSpi(token); in node()
843 kidCache.put(token, child); in node()
899 String token = path.nextToken(); in nodeExists() local
900 if (token.equals("/")) // Check for consecutive slashes in nodeExists()
903 AbstractPreferences child = kidCache.get(token); in nodeExists()
[all …]
/libcore/ojluni/src/main/java/java/util/
DScanner.java1385 String token = getCompleteTokenInBuffer(null); in next() local
1386 if (token != null) { in next()
1389 return token; in next()
1499 String token = getCompleteTokenInBuffer(pattern); in next() local
1500 if (token != null) { in next()
1503 return token; in next()
1619 String token = findPatternInBuffer(separatorPattern(), 0); in findInLine() local
1620 if (token != null) { in findInLine()
1702 String token = findPatternInBuffer(pattern, horizon); in findWithinHorizon() local
1703 if (token != null) { in findWithinHorizon()
[all …]
/libcore/ojluni/src/main/java/sun/security/pkcs/
DSignerInfo.java618 private void verifyTimestamp(TimestampToken token) in verifyTimestamp() argument
620 String digestAlgname = token.getHashAlgorithm().getName(); in verifyTimestamp()
631 if (!Arrays.equals(token.getHashedMessage(), in verifyTimestamp()
635 token.getSerialNumber() + ") generated on " + token.getDate() + in verifyTimestamp()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java406 StringTokenizer token = new StringTokenizer(path, "/"); in cd() local
407 while (token.hasMoreTokens()) { in cd()
408 ftp.changeDirectory(ParseUtil.decode(token.nextToken())); in cd()
/libcore/ojluni/annotations/hiddenapi/sun/security/pkcs/
DSignerInfo.java151 private void verifyTimestamp(sun.security.timestamp.TimestampToken token) in verifyTimestamp() argument