Home
last modified time | relevance | path

Searched refs:token (Results 1 – 8 of 8) 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.java28 private long token; field in ZygoteHooks
52 token = nativePreFork(); in preFork()
61 nativePostForkChild(token, debugFlags, isSystemServer, instructionSet); in postForkChild()
76 private static native void nativePostForkChild(long token, int debugFlags, 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.java824 String token = path.nextToken(); in node() local
825 if (token.equals("/")) // Check for consecutive slashes in node()
828 AbstractPreferences child = kidCache.get(token); in node()
830 if (token.length() > MAX_NAME_LENGTH) in node()
832 "Node name " + token + " too long"); in node()
833 child = childSpi(token); in node()
836 kidCache.put(token, child); in node()
892 String token = path.nextToken(); in nodeExists() local
893 if (token.equals("/")) // Check for consecutive slashes in nodeExists()
896 AbstractPreferences child = kidCache.get(token); in nodeExists()
[all …]
/libcore/ojluni/src/main/java/java/util/
DScanner.java1379 String token = getCompleteTokenInBuffer(null); in next() local
1380 if (token != null) { in next()
1383 return token; in next()
1493 String token = getCompleteTokenInBuffer(pattern); in next() local
1494 if (token != null) { in next()
1497 return token; in next()
1613 String token = findPatternInBuffer(separatorPattern(), 0); in findInLine() local
1614 if (token != null) { in findInLine()
1696 String token = findPatternInBuffer(pattern, horizon); in findWithinHorizon() local
1697 if (token != null) { in findWithinHorizon()
[all …]
/libcore/ojluni/src/main/java/sun/security/pkcs/
DSignerInfo.java597 private void verifyTimestamp(TimestampToken token) in verifyTimestamp() argument
599 String digestAlgname = token.getHashAlgorithm().getName(); in verifyTimestamp()
610 if (!Arrays.equals(token.getHashedMessage(), in verifyTimestamp()
614 token.getSerialNumber() + ") generated on " + token.getDate() + in verifyTimestamp()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java393 StringTokenizer token = new StringTokenizer(path, "/"); in cd() local
394 while (token.hasMoreTokens()) { in cd()
395 ftp.changeDirectory(ParseUtil.decode(token.nextToken())); in cd()