/openjdk7/jdk/src/share/classes/sun/security/jgss/wrapper/ |
H A D | NativeGSSContext.java | 82 private static Oid getMechFromSpNegoToken(byte[] token, argument 89 header = new GSSHeader(new ByteArrayInputStream(token)); 95 System.arraycopy(token, token.length-negTokenLen, 104 NegTokenTarg ntok = new NegTokenTarg(token); 160 // Need to add back the GSS header for a complete GSS token 175 // Must be unparsed GSS token or SPNEGO's NegTokenTarg token 283 // Only inspect the token when the permission check 332 // Only inspect token whe [all...] |
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11Key.java | 74 // token instance 75 final Token token; field in class:P11Key 86 // flags indicating whether the key is a token object, sensitive, extractable 95 this.token = session.token; 125 token.ensureValid(); 142 if (token.isValid() == false) { 170 if (token.isValid() == false) { 202 token.ensureValid(); 203 String s1 = token [all...] |
H A D | Secmod.java | 507 synchronized void setTrust(Token token, X509Certificate cert) { argument 511 attr = new TrustAttributes(token, cert, bytes, CKT_NETSCAPE_TRUSTED_DELEGATOR); 614 TrustAttributes(Token token, X509Certificate cert, Bytes bytes, long trustValue) { argument 617 session = token.getOpSession(); 633 handle = token.p11.C_CreateObject(session.id(), attrs); 642 token.releaseSession(session); 645 TrustAttributes(Token token, Session session, long handle) argument 655 token.p11.C_GetAttributeValue(session.id(), handle, attrs); 666 token.p11.C_GetAttributeValue(session.id(), handle, attrs); 727 Token token [all...] |
H A D | SunPKCS11.java | 88 private volatile Token token; field in class:SunPKCS11 93 return token; 357 + " but token only has " + slots.length + " slots"); 424 private P11Service service(Token token, int mechanism) { argument 426 (token, type, algorithm, className, aliases, mechanism); 703 // background thread that periodically checks for token insertion 704 // if no token is present. We need to do that in a separate thread because 760 TOKEN_PRESENT are false, when it can't access the token. 765 Token token = this.token; 770 uninitToken(Token token) argument 905 private final Token token; field in class:SunPKCS11.P11Service 909 P11Service(Token token, String type, String algorithm, String className, String[] al, long mechanism) argument [all...] |
H A D | Config.java | 149 // how often to test for token insertion, if no token is present 376 int token = nextToken(); 377 if (token == TT_EOF) { 380 if (token == TT_EOL) { 383 if (token != TT_WORD) { 384 throw excToken("Unexpected token:"); 496 int token = st.nextToken(); 498 return token; 502 int token 521 isCloseBraces(int token) argument [all...] |
H A D | P11KeyStore.java | 102 // (key type gets mangled if secret key is a token key) 120 private final Token token; field in class:P11KeyStore 128 // Map of unique keystore aliases to entries in the token 138 * The underlying token may contain multiple certs belonging to the 145 * share the same CKA_ID, and that the CKA_ID is unique across the token. 150 * unique across the entire token. 154 * that reside on the token. 266 private final long handle; // token object handle 275 P11KeyStore(Token token) { argument 276 this.token [all...] |
/openjdk7/jdk/test/sun/security/krb5/auto/ |
H A D | KDC.java | 1185 byte[] token = new byte[in.readInt()]; 1186 in.readFully(token); 1187 q.put(new Job(processMessage(token), socket, out)); 1227 byte[] token; // The received request at creation time and field in class:KDC.Job 1236 Job(byte[] token, Socket s, DataOutputStream out) { argument 1238 this.token = token; 1244 Job(byte[] token, DatagramSocket s2, DatagramPacket dp) { argument 1246 this.token = token; [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/compiler/ |
H A D | Parser.java | 1363 private String getTokenValue(String token) { argument 1364 final int start = token.indexOf('"'); 1365 final int stop = token.lastIndexOf('"'); 1366 return token.substring(start+1, stop); 1385 String token = (String)tokens.nextElement(); 1386 if (token.startsWith("href")) 1387 href = getTokenValue(token); 1388 else if (token.startsWith("media")) 1389 media = getTokenValue(token); 1390 else if (token [all...] |
/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Scanner.java | 105 * pattern, and then attempt to return the next token. Both <tt>hasNext</tt> 117 * will not pass the token that caused the exception, so that it may be 425 // A pattern for any token 912 // Returns true if a complete token or partial token is in the buffer. 913 // It is not necessary to find a complete token since a partial token 914 // means that there will be another token with or without more input. 932 * Returns a "complete token" that matches the specified pattern 934 * A token i 2084 processIntegerToken(String token) argument 2283 processFloatToken(String token) argument [all...] |
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | compilerOracle.cpp | 575 char token[1024]; local 578 while(c != EOF && pos < (int)(sizeof(token)-1)) { 580 token[pos++] = '\0'; 581 parse_from_line(token); 584 token[pos++] = c; 588 token[pos++] = '\0'; 589 parse_from_line(token); 595 char token[1024]; local 599 while (c != '\0' && pos < (int)(sizeof(token)-1)) { 601 token[po [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/ |
H A D | Krb5Context.java | 193 * GSS token during context establishment. 540 * call indicates that more calls are needed after the next token 543 * @param is contains the token received from the peer. On the 545 * @return any token required to be sent to the peer 547 * to send the token to its peer for processing. 554 InitialToken token = null; 682 token = new InitSecContextToken(this, tgt, serviceCreds); 683 apReq = ((InitSecContextToken)token).getKrbApReq(); 684 retVal = token.encode(); 695 // just validate the incoming token 1255 setSequencingAndReplayProps(MessageToken token, MessageProp prop) argument 1267 setSequencingAndReplayProps(MessageToken_v2 token, MessageProp prop) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/tools/ |
H A D | JarSigner.java | 123 boolean token = false; // token-based keystore field in class:JarSigner 425 token = true; 435 if (token && !nullStream) { 441 if (token && keypass != null) { 1607 if (token && storepass == null && !protectedPath 1611 } else if (!token && storepass == null && prompt) { 1837 if (!token && keypass == null) 1842 if (token) {
|
H A D | KeyTool.java | 146 private boolean token = false; field in class:KeyTool 580 token = true; 589 if (token && !nullStream) { 596 if (token && 607 if (token && (keyPass != null || newPass != null || destKeyPass != null)) { 1143 if (token) { 1401 } else if (!token && !protectedPath) { 1679 if (!token) { 1686 if (!token) { 3107 if (!token) { [all...] |
/openjdk7/jdk/src/share/demo/jvmti/heapTracker/ |
H A D | heapTracker.c | 850 char token[MAX_TOKEN_LENGTH]; local 861 /* Get the first token from the options string. */ 862 next = get_token(options, ",=", token, (int)sizeof(token)); 866 if ( strcmp(token,"help")==0 ) { 876 } else if ( strcmp(token,"maxDump")==0 ) { 884 } else if ( token[0]!=0 ) { 885 /* We got a non-empty token and we don't know what it is. */ 886 fatal_error("ERROR: Unknown option: %s\n", token); 888 /* Get the next token (return [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/ |
H A D | XPath.java | 156 protected void addToken(XPath.Tokens tokens, int token) 159 token == XPath.Tokens.EXPRTOKEN_ATSIGN || 160 token == XPath.Tokens.EXPRTOKEN_AXISNAME_ATTRIBUTE || 161 token == XPath.Tokens.EXPRTOKEN_NAMETEST_QNAME || 162 token == XPath.Tokens.EXPRTOKEN_OPERATOR_SLASH || 163 token == XPath.Tokens.EXPRTOKEN_PERIOD || 164 token == XPath.Tokens.EXPRTOKEN_NAMETEST_ANY || 165 token == XPath.Tokens.EXPRTOKEN_NAMETEST_NAMESPACE || 166 token == XPath.Tokens.EXPRTOKEN_OPERATOR_DOUBLE_SLASH || 167 token 948 getTokenString(int token) argument 961 addToken(int token) argument 1991 addToken(XPath.Tokens tokens, int token) argument [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/ |
H A D | Token.java | 517 Token token = null; field in class:Token.FixedStringContainer 530 if (prevToken == null || prevToken.isShorterThan(container.token)) { 531 prevToken = container.token; 535 container.token = prevToken; 553 container.token = null; 557 container.token = null; // ** 561 container.token = this; 1461 if (previous.type == CHAR) { // Replace previous token by STRING
|
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/ |
H A D | Parser.java | 137 // call scanner.getToken just in case the first token is 138 // such a directive. But match depends on the token 140 token = new Token (0); 141 tokenHistory.insert (token); // Initialize look back buffer <26jul1997daz>. 145 if (token.equals (Token.EOF)) 212 while (!token.equals (Token.EOF)) 285 switch (token.type) 307 if (token.type == Token.Interface) 311 Token.Interface }, token.type ) ; 318 if (token 3890 Token token; field in class:Parser [all...] |
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/ |
H A D | Metacity.java | 1872 String token = tokenizer.nextToken(); 1873 if (Character.isDigit(token.charAt(0))) { 1874 value = Float.parseFloat(token); 1876 Integer i = variables.get(token); 1878 i = (Integer)getFrameGeometry().get(token); 1881 logError(themeName, "Variable \"" + token + "\" not defined"); 1894 String token = null; field in class:Metacity.PeekableStringTokenizer 1903 if (token == null) { 1904 token = nextToken(); 1906 return token; [all...] |
/openjdk7/jdk/src/windows/classes/sun/nio/fs/ |
H A D | WindowsNativeDispatcher.java | 831 static native int GetTokenInformation(long token, int tokenInfoClass, argument 844 static native void AdjustTokenPrivileges(long token, long luid, int attributes) argument 860 static native boolean AccessCheck(long token, long securityInfo, int accessMask, argument
|
/openjdk7/jdk/src/windows/native/sun/nio/fs/ |
H A D | WindowsNativeDispatcher.c | 957 jclass this, jlong token, jint desiredAccess) 959 HANDLE hToken = (HANDLE)jlong_to_ptr(token); 976 jclass this, jlong thread, jlong token) 979 HANDLE hToken = (HANDLE)jlong_to_ptr(token); 987 jclass this, jlong token, jint tokenInfoClass, jlong tokenInfo, jint tokenInfoLength) 991 HANDLE hToken = (HANDLE)jlong_to_ptr(token); 1010 jclass this, jlong token, jlong luid, jint attributes) 1013 HANDLE hToken = (HANDLE)jlong_to_ptr(token); 1026 jclass this, jlong token, jlong securityInfo, jint accessMask, 1029 HANDLE hImpersonatedToken = (HANDLE)jlong_to_ptr(token); 956 Java_sun_nio_fs_WindowsNativeDispatcher_DuplicateTokenEx(JNIEnv* env, jclass this, jlong token, jint desiredAccess) argument 975 Java_sun_nio_fs_WindowsNativeDispatcher_SetThreadToken(JNIEnv* env, jclass this, jlong thread, jlong token) argument 986 Java_sun_nio_fs_WindowsNativeDispatcher_GetTokenInformation(JNIEnv* env, jclass this, jlong token, jint tokenInfoClass, jlong tokenInfo, jint tokenInfoLength) argument 1009 Java_sun_nio_fs_WindowsNativeDispatcher_AdjustTokenPrivileges(JNIEnv* env, jclass this, jlong token, jlong luid, jint attributes) argument 1025 Java_sun_nio_fs_WindowsNativeDispatcher_AccessCheck(JNIEnv* env, jclass this, jlong token, jlong securityInfo, jint accessMask, jint genericRead, jint genericWrite, jint genericExecute, jint genericAll) argument [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/parser/ |
H A D | JavacParser.java | 41 /** The parser maps a token sequence into an abstract syntax 185 /** Skip forward until a suitable stop token is found. 189 switch (S.token()) { 290 if (S.token() == EOF) { 317 /** If next input token matches given token, skip it, otherwise report 320 public void accept(Token token) { argument 321 if (S.token() == token) { 325 reportSyntaxError(S.prevEndPos(), "expected", token); 2852 prec(Token token) argument 2872 optag(Token token) argument 2944 unoptag(Token token) argument 2966 typetag(Token token) argument [all...] |
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/expr/ |
H A D | ExpressionParser.java | 196 sb.append(token); 206 sb.append(token); 943 push(LValue.makeThisObject(vm, frameGetter, token)); 983 push(pop().memberLValue(frameGetter, token.image)); 1000 push(LValue.makeInteger(vm, token)); 1004 push(LValue.makeFloat(vm, token)); 1008 push(LValue.makeCharacter(vm, token)); 1012 push(LValue.makeString(vm, token)); 1017 push(LValue.makeBoolean(vm, token)); 1021 push(LValue.makeNull(vm, token)); 3612 public Token token, jj_nt; field in class:ExpressionParser [all...] |
/openjdk7/hotspot/src/share/vm/adlc/ |
H A D | adlparse.cpp | 94 ident = get_ident(); // Get first token 631 char *token = get_ident(); local 632 if (token == NULL) { 636 if (strcmp(token,"int_def")==0) { int_def_parse(); } 637 // if (strcmp(token,"str_def")==0) { str_def_parse(); } 789 char *token = get_ident(); local 790 if (token == NULL) { 794 if (strcmp(token,"reg_def")==0) { reg_def_parse(); } 795 else if (strcmp(token,"reg_class")==0) { reg_class_parse(); } 796 else if (strcmp(token,"alloc_clas 824 char *token = get_ident(); local 972 char *token = get_ident(); local 1159 char *token = NULL; local 1190 char *token = get_ident(); local 1234 char *token = get_paren_expr("preserve_stack_slots"); local 2086 char *token = get_ident(); local 2431 char *token = NULL; local 2649 char *token = NULL; local 4011 char *token; // Identifier which may be opcode or operand local 4097 const char *token = NULL; local 4988 is_int_token(const char* token, int& intval) argument 5063 trim(char* &token) argument [all...] |
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | arguments.cpp | 871 char token[1024]; local 881 while(c != EOF && pos < (int)(sizeof(token)-1)) { 889 token[pos++] = c; 894 // token ends at newline, or at unquoted whitespace 896 token[pos] = '\0'; 897 logOption(token); 898 result &= process_argument(token, ignore_unrecognized, CONFIG_FILE); 899 build_jvm_flags(token); 909 token[pos++] = c; 915 token[po [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/compact/ |
H A D | CompactSyntax.java | 331 lastCommentSourceToken = token; 1846 {if (true) return sb.makeValue("", "token", s.getString(), getContext(), defaultNamespace, s.getLocation(), a);} 2655 jj_la = xla; jj_lastpos = jj_scanpos = token; 2662 jj_la = xla; jj_lastpos = jj_scanpos = token; 2669 jj_la = xla; jj_lastpos = jj_scanpos = token; 2676 jj_la = xla; jj_lastpos = jj_scanpos = token; 2683 jj_la = xla; jj_lastpos = jj_scanpos = token; 2690 jj_la = xla; jj_lastpos = jj_scanpos = token; 2697 jj_la = xla; jj_lastpos = jj_scanpos = token; 2704 jj_la = xla; jj_lastpos = jj_scanpos = token; 3100 public Token token; field in class:CompactSyntax [all...] |