Searched defs:token (Results 26 - 50 of 101) sorted by relevance

12345

/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/src/share/classes/sun/security/pkcs11/
H A DP11DHKeyFactory.java48 P11DHKeyFactory(Token token, String algorithm) { argument
49 super(token, algorithm);
112 token.ensureValid();
143 token.ensureValid();
180 attributes = token.getAttributes
184 session = token.getObjSession();
185 long keyID = token.p11.C_CreateObject(session.id(), attributes);
189 token.releaseSession(session);
202 attributes = token.getAttributes
206 session = token
[all...]
H A DP11DSAKeyFactory.java46 P11DSAKeyFactory(Token token, String algorithm) { argument
47 super(token, algorithm);
104 token.ensureValid();
136 token.ensureValid();
175 attributes = token.getAttributes
179 session = token.getObjSession();
180 long keyID = token.p11.C_CreateObject(session.id(), attributes);
184 token.releaseSession(session);
198 attributes = token.getAttributes
202 session = token
[all...]
H A DP11KeyAgreement.java51 // token instance
52 private final Token token; field in class:P11KeyAgreement
72 P11KeyAgreement(Token token, String algorithm, long mechanism) { argument
74 this.token = token;
86 privateKey = P11KeyFactory.convertKey(token, key, algorithm);
149 P11DHKeyFactory kf = new P11DHKeyFactory(token, "DH");
194 session = token.getOpSession();
199 attributes = token.getAttributes
201 long keyID = token
[all...]
H A DP11RSAKeyFactory.java48 P11RSAKeyFactory(Token token, String algorithm) { argument
49 super(token, algorithm);
112 token.ensureValid();
145 token.ensureValid();
198 attributes = token.getAttributes
202 session = token.getObjSession();
203 long keyID = token.p11.C_CreateObject(session.id(), attributes);
207 token.releaseSession(session);
220 attributes = token.getAttributes
224 session = 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...]
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 DP11Digest.java66 // token instance
67 private final Token token; field in class:P11Digest
93 P11Digest(Token token, String algorithm, long mechanism) { argument
95 this.token = token;
129 token.ensureValid();
133 if ((state != S_INIT) || (token.explicitCancel == false)) {
138 token.p11.C_DigestFinal(session.id(), buffer, 0, buffer.length);
147 token.ensureValid();
159 session = token
[all...]
H A DP11ECKeyFactory.java53 P11ECKeyFactory(Token token, String algorithm) { argument
54 super(token, algorithm);
147 token.ensureValid();
177 token.ensureValid();
211 if (!token.config.getUseEcX963Encoding()) {
228 attributes = token.getAttributes
232 session = token.getObjSession();
233 long keyID = token.p11.C_CreateObject(session.id(), attributes);
237 token.releaseSession(session);
249 attributes = token
[all...]
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 DSessionManager.java73 // token instance
74 private final Token token; field in class:SessionManager
76 // maximum number of sessions to open with this token
94 SessionManager(Token token) { argument
96 if (token.isWriteProtected()) {
98 n = token.tokenInfo.ulMaxSessionCount;
101 n = token.tokenInfo.ulMaxRwSessionCount;
110 this.token = token;
116 // supported by this 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/jdk/src/share/classes/sun/misc/
H A DExtensionInfo.java261 // Convert token into meaning number for comparision
265 // Convert token into meaning number for comparision
290 private int convertToken(String token) argument
292 if (token == null || token.equals(""))
298 int strLength = token.length();
307 int prIndex = token.indexOf("-");
310 int patchIndex = token.indexOf("_");
316 return Integer.parseInt(token) * 100;
328 prversion = Integer.parseInt(token
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DNegotiateAuthentication.java167 * return the first token.
168 * @returns the token
195 * @param token the token to be fed into <code>negotiator.nextToken()</code>
196 * @returns the token
198 * May happen if the input token is invalid.
200 private byte[] nextToken(byte[] token) throws IOException { argument
201 return negotiator.nextToken(token);
211 // 200 OK. The token can be fed into initSecContext() again to determine
/openjdk7/jaxws/src/share/jaf_classes/com/sun/activation/registries/
H A DMailcapTokenizer.java65 * preceeding it) is considered a token.
74 * Retrieve current token.
76 * @returns The current token value
83 * Get a String that describes the given token.
85 public static String nameForToken(int token) { argument
88 switch(token) {
116 * Retrieve current token value.
118 * @returns A String containing the current token value
124 * Process the next token.
126 * @returns the next token
[all...]
H A DMimeTypeFile.java257 * Returns the next token from this tokenizer.
259 * @return the next token from this tokenizer.
314 public void pushToken(String token) { argument
315 stack.addElement(token);
/openjdk7/jdk/src/windows/classes/sun/net/www/protocol/http/ntlm/
H A DNTLMAuthSequence.java74 public String getAuthHeader (String token) throws IOException { argument
79 if (token != null)
80 input = (new BASE64Decoder()).decodeBuffer(token);
/openjdk7/jdk/src/share/demo/jvmti/agent_util/
H A Dagent_util.c70 /* Get a token from a string (strtok is not MT-safe)
75 * Returns NULL if no token available or can't do the scan.
153 char token[1024]; local
160 next = get_token(list, ",", token, sizeof(token));
162 if ( covered_by_list_item(token, cname, mname) ) {
165 next = get_token(next, ",", token, sizeof(token));
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DRangeToken.java198 protected void mergeRanges(Token token) { argument
199 RangeToken tok = (RangeToken)token;
231 protected void subtractRanges(Token token) { argument
232 if (token.type == NRANGE) {
233 this.intersectRanges(token);
236 RangeToken tok = (RangeToken)token;
324 protected void intersectRanges(Token token) { argument
325 RangeToken tok = (RangeToken)token;
415 static Token complementRanges(Token token) { argument
416 if (token
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DType1Font.java394 String token = getSimpleToken(bb);
396 fontType = token;
400 while (bb.get() > ' '); // skip token
452 String res, token;
464 //as soon as we meet first non style token truncate
481 private boolean isStyleToken(String token) { argument
482 return styleNameTokes.contains(token);
599 /* Read simple token (sequence of non-whitespace characters)
/openjdk7/jdk/make/tools/src/build/tools/generatecharacter/
H A DSpecialCaseMap.java124 static int parseChar(String token) throws NumberFormatException { argument
125 return Integer.parseInt(token, 16);
128 static char[] parseCaseMap(String token ) throws NumberFormatException {
132 while(pos < token.length() ){
133 while(Character.isSpaceChar(token.charAt(pos++)));
136 while(pos < token.length() && !Character.isSpaceChar(token.charAt(pos))) pos++;
138 int ch = parseChar(token.substring(start,end));
151 static Locale parseLocale(String token) { argument
155 static String[] parseContext(String token) { argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wscompile/
H A DOptions.java97 public static Target parse(String token) { argument
98 if (token.equals("2.0"))
100 else if (token.equals("2.1"))
102 else if (token.equals("2.2"))
296 String token = requireArgument("-target", args, ++i);
297 target = Target.parse(token);
299 throw new BadCommandLineException(WscompileMessages.WSIMPORT_ILLEGAL_TARGET_VERSION(token));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DModelNode.java59 private XmlToken token; field in class:ModelNode.Type
61 Type(XmlToken token) { argument
62 this.token = token;
66 return token;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/scd/
H A DSCDParser.java403 public Token token, jj_nt; field in class:SCDParser
426 token = new Token();
438 token = new Token();
447 token = new Token();
456 token = new Token();
464 token = new Token();
472 token = new Token();
480 if ((oldToken = token).next != null) token = token
[all...]

Completed in 63 milliseconds

12345