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.java180 int token = parser.getEventType(); in parse() local
188 while (token != endToken && token != XmlPullParser.END_DOCUMENT) { in parse()
189 if (token == XmlPullParser.PROCESSING_INSTRUCTION) { in parse()
203 } else if (token == XmlPullParser.DOCDECL) { in parse()
209 } else if (token == XmlPullParser.COMMENT) { in parse()
217 } else if (token == XmlPullParser.IGNORABLE_WHITESPACE) { in parse()
224 appendText(document, node, token, parser.getText()); in parse()
226 } else if (token == XmlPullParser.TEXT || token == XmlPullParser.CDSECT) { in parse()
232 appendText(document, node, token, parser.getText()); in parse()
233 } 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/java/util/prefs/
DAbstractPreferences.java822 String token = path.nextToken(); in node() local
823 if (token.equals("/")) // Check for consecutive slashes in node()
826 AbstractPreferences child = kidCache.get(token); in node()
828 if (token.length() > MAX_NAME_LENGTH) in node()
830 "Node name " + token + " too long"); in node()
831 child = childSpi(token); in node()
834 kidCache.put(token, child); in node()
890 String token = path.nextToken(); in nodeExists() local
891 if (token.equals("/")) // Check for consecutive slashes in nodeExists()
894 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()
1694 String token = findPatternInBuffer(pattern, horizon); in findWithinHorizon() local
1695 if (token != null) { in findWithinHorizon()
[all …]
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java566 private void verifyTimestamp(TimestampToken token, byte[] signature) in verifyTimestamp() argument
570 MessageDigest.getInstance(token.getHashAlgorithm().getName()); in verifyTimestamp()
572 if (!Arrays.equals(token.getHashedMessage(), md.digest(signature))) { in verifyTimestamp()
574 token.getSerialNumber() + ") generated on " + token.getDate() + in verifyTimestamp()
581 token.getSerialNumber() + ") generated on " + token.getDate()); in verifyTimestamp()
DDisabledAlgorithmConstraints.java176 for (String token : tokens) { in decomposes()
177 if (token == null || token.length() == 0) { in decomposes()
181 elements.add(token); in decomposes()
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DNegotiateAuthentication.java200 private byte[] nextToken(byte[] token) throws IOException { in nextToken() argument
201 return negotiator.nextToken(token); in nextToken()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java384 StringTokenizer token = new StringTokenizer(path, "/"); in cd() local
385 while (token.hasMoreTokens()) { in cd()
386 ftp.changeDirectory(ParseUtil.decode(token.nextToken())); in cd()