Searched refs:token (Results 1 - 25 of 192) sorted by relevance

12345678

/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DStylesheetPIHandler.java158 String token = "";
162 token = tokenizer.nextToken();
166 (token.equals(" ") || token.equals("\t") || token.equals("=")))
169 String name = token;
172 token = tokenizer.nextToken();
174 (token.equals(" " ) || token.equals("\t") || token
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/
H A DSpecVersion.java48 public static SpecVersion parse(String token) { argument
49 if(token.equals("2.0"))
51 if(token.equals("2.1"))
53 if(token.equals("2.2"))
/openjdk7/jdk/test/java/io/StreamTokenizer/
H A DReset.java43 int token = scan.nextToken();
44 if (token != '[') {
46 ("Test failed: should get token [, but get " + token);
H A DComment.java63 String token = st.sval;
64 if (token == null) {
67 if ((token.compareTo("Error1") == 0) && slashStarCommentFlag) {
70 if ((token.compareTo("Error2") == 0) && slashStarCommentFlag) {
73 if ((token.compareTo("Error3") == 0) && slashSlashCommentFlag) {
76 if ((token.compareTo("Error4") == 0) && slashCommentFlag) {
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/
H A DPreprocessor.java100 token = t;
108 switch (token.type)
131 token = scanner.getToken ();
143 token = scanner.getToken ();
157 ParseException.warning (scanner, Util.getMessage ("Preprocessor.unknown", token.name));
164 token = scanner.getToken ();
186 return token;
198 if (token.type == Token.StringLiteral)
200 else if (token.type == Token.LessThan)
205 throw ParseException.syntaxError (scanner, expected, token
1428 Token token; field in class:Preprocessor
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/
H A DContentModelState.java35 * Each time a token is reduced a new state is created.
171 * token is illegal at this point in the content model.
172 * @return next state after reducing a token
174 public ContentModelState advance(Object token) { argument
177 if (model.first(token)) {
179 new ContentModelState(model, next, value + 1)).advance(token);
183 return next.advance(token);
191 if (model.first(token)) {
192 return new ContentModelState(model.content, this).advance(token);
195 return next.advance(token);
[all...]
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DSaslGSS.java98 byte[] token = new byte[0];
102 token = sc.initSecContext(token, 0, token.length);
103 token = ss.evaluateResponse(token);
104 token = sc.unwrap(token, 0, token.length, new MessageProp(0, false));
105 token[
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DClassType.java41 private ClassType(String token) { argument
42 this.declarationToken = token;
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyFactory.java47 // token instance
48 final Token token; field in class:P11KeyFactory
53 P11KeyFactory(Token token, String algorithm) { argument
55 this.token = token;
60 * Convert an arbitrary key of algorithm into a P11Key of token.
63 static P11Key convertKey(Token token, Key key, String algorithm) argument
65 return (P11Key)token.getKeyFactory(algorithm).engineTranslateKey(key);
71 token.ensureValid();
85 // first translate into a key of this token, i
[all...]
H A DP11TlsPrfGenerator.java57 // token instance
58 private final Token token; field in class:P11TlsPrfGenerator
70 P11TlsPrfGenerator(Token token, String algorithm, long mechanism) argument
73 this.token = token;
93 p11Key = P11SecretKeyFactory.convertKey(token, key, null);
126 session = token.getOpSession();
127 token.p11.C_SignInit
129 token.p11.C_SignUpdate(session.id(), 0, label, 0, label.length);
130 token
[all...]
H A DSession.java49 // token instance
50 final Token token; field in class:Session
65 Session(Token token, long id) { argument
66 this.token = token;
70 sessionRef = new SessionRef(this, id, token);
90 if (token.isPresent(this.id) == false) {
105 token.sessionManager.demoteObjSession(this);
156 private Token token; field in class:SessionRef
158 SessionRef(Session session, long id, Token token) { argument
[all...]
H A DP11ECDHKeyAgreement.java46 // token instance
47 private final Token token; field in class:P11ECDHKeyAgreement
64 P11ECDHKeyAgreement(Token token, String algorithm, long mechanism) { argument
66 this.token = token;
78 privateKey = P11KeyFactory.convertKey(token, key, "EC");
124 session = token.getOpSession();
131 attributes = token.getAttributes
133 long keyID = token.p11.C_DeriveKey(session.id(),
139 token
[all...]
H A DP11KeyGenerator.java46 // token instance
47 private final Token token; field in class:P11KeyGenerator
74 * @param token token which provides this mechanism.
81 static int checkKeySize(long keyGenMech, int keySize, Token token) argument
107 info = token.getMechanismInfo(keyGenMech);
149 P11KeyGenerator(Token token, String algorithm, long mechanism) argument
152 this.token = token;
162 (token
[all...]
H A DP11TlsRsaPremasterSecretGenerator.java51 // token instance
52 private final Token token; field in class:P11TlsRsaPremasterSecretGenerator
62 P11TlsRsaPremasterSecretGenerator(Token token, String algorithm, long mechanism) argument
65 this.token = token;
95 session = token.getObjSession();
96 CK_ATTRIBUTE[] attributes = token.getAttributes
98 long keyID = token.p11.C_GenerateKey
106 token.releaseSession(session);
H A DP11Mac.java47 * composite various operations if the token only supports part of the
69 // token instance
70 private final Token token; field in class:P11Mac
96 P11Mac(Token token, String algorithm, long mechanism) argument
99 this.token = token;
136 token.ensureValid();
143 token.ensureValid();
148 if ((session == null) || (token.explicitCancel == false)) {
152 token
[all...]
H A DP11SecretKeyFactory.java49 // token instance
50 private final Token token; field in class:P11SecretKeyFactory
55 P11SecretKeyFactory(Token token, String algorithm) { argument
57 this.token = token;
109 static P11Key convertKey(Token token, Key key, String algo) argument
111 return convertKey(token, key, algo, null);
119 static P11Key convertKey(Token token, Key key, String algo, argument
122 token.ensureValid();
147 if (p11Key.token
188 createKey(Token token, byte[] encoded, String algorithm, long keyType, CK_ATTRIBUTE[] extraAttrs) argument
[all...]
H A DP11SecureRandom.java42 * instance per PKCS#11 token instance. It is created on demand and cached
55 // token instance
56 private final Token token; field in class:P11SecureRandom
86 P11SecureRandom(Token token) { argument
87 this.token = token;
97 session = token.getOpSession();
98 token.p11.C_SeedRandom(session.id(), seed);
117 token.releaseSession(session);
182 session = token
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DVersionUtil.java81 String token = tokenizer.nextToken();
83 // first token is major version and must not have "_"
84 canonicalVersion[0] = Integer.parseInt(token);
87 token = tokenizer.nextToken();
88 if (token.indexOf(DASH_DELIM) == -1) {
90 canonicalVersion[1] = Integer.parseInt(token);
94 new StringTokenizer(token, DASH_DELIM);
103 token = tokenizer.nextToken();
104 if (token.indexOf(DASH_DELIM) == -1) {
106 canonicalVersion[2] = Integer.parseInt(token);
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DGUI.java161 String token = argv[i];
162 if (token.equals("-dbgtrace")) {
170 } else if (token.equals("-X")) {
178 token.equals("-v") || token.startsWith("-v:") || // -v[:...]
179 token.startsWith("-verbose") || // -verbose[:...]
180 token.startsWith("-D") ||
182 token.startsWith("-X") ||
185 token.equals("-noasyncgc") || token
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/wspolicy/
H A DXmlToken.java59 for (XmlToken token : XmlToken.values()) {
60 if (token.toString().equals(name)) {
61 return token;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/
H A DLexer.java33 * characters and Unicode escapes into a token sequence.
51 * Returns the documentation string of the current token.
56 * Return the last character position of the current token.
101 * Return the name of an identifier or token for the current token.
106 * Read token.
111 * Return the current token's position: a 0-based
118 * Return the last character position of the previous token.
123 * Return the radix of a numeric literal token.
128 * The value of a literal token, recorde
136 Token token(); method in interface:Lexer
141 token(Token token) argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/javazic/
H A DRuleRec.java147 * token for the "FROM" field and the rest.
154 String token = tokens.nextToken();
156 rec.fromYear = Integer.parseInt(token);
159 if ("min".equals(token) || "minimum".equals(token)) {
161 } else if ("max".equals(token) || "maximum".equals(token)) {
164 Main.panic("invalid year value: "+token);
169 token = tokens.nextToken();
172 rec.toYear = Integer.parseInt(token);
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/dtdparser/
H A DXmlNames.java117 * This method returns true if the identifier is a "name token"
123 * @param token the string being tested
125 public static boolean isNmtoken(String token) { argument
126 int length = token.length();
129 if (!XmlChars.isNameChar(token.charAt(i)))
136 * This method returns true if the identifier is a "name token" as
141 * @param token the string being tested
144 public static boolean isNCNmtoken(String token) { argument
145 return isNmtoken(token) && token
[all...]
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DStringTokenIterator.java38 private String token; field in class:StringTokenIterator
55 return token;
59 return token;
78 token = text.substring(start, end);
81 token = null;
84 return token;
97 token = text.substring(start, end);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/api/impl/
H A DNameConverter.java45 String toClassName( String token );
53 String toInterfaceName( String token );
61 String toPropertyName( String token );
69 String toConstantName( String token );
76 String toVariableName( String token );
102 public String toInterfaceName( String token ) {
103 return toClassName(token);
113 public String toConstantName( String token ) {
114 return super.toConstantName(token);
175 // get the token an
192 removeIllegalIdentifierChars(String token) argument
[all...]

Completed in 120 milliseconds

12345678