/external/libnl-headers/netlink/route/ |
rtnl.h | 27 * Mask specying the size of each realm part 33 * Extract FROM realm from a realms field 35 #define RTNL_REALM_FROM(realm) ((realm) >> 16) 38 * Extract TO realm from a realms field 40 #define RTNL_REALM_TO(realm) ((realm) & RTNL_REALM_MASK)
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
HttpAuthDatabaseTest.java | 38 String realm = "testrealm"; local 42 String[] result = instance.getHttpAuthUsernamePassword(host, realm); 45 instance.setHttpAuthUsernamePassword(host, realm, userName, password); 46 result = instance.getHttpAuthUsernamePassword(host, realm); 52 instance.setHttpAuthUsernamePassword(host, realm, userName, newPassword); 53 result = instance.getHttpAuthUsernamePassword(host, realm); 59 instance.setHttpAuthUsernamePassword(host, realm, newUserName, newPassword); 60 result = instance.getHttpAuthUsernamePassword(host, realm); 65 instance.setHttpAuthUsernamePassword(host, realm, null, password); 66 result = instance.getHttpAuthUsernamePassword(host, realm); [all...] |
/external/chromium/net/base/ |
auth.cc | 16 this->realm == that.realm);
|
/external/chromium_org/net/http/ |
http_auth_handler_basic.cc | 20 // Parses a realm from an auth challenge, and converts to UTF8-encoding. 21 // Returns whether the realm is invalid or the parameters are invalid. 23 // Note that if a realm was not specified, we will default it to ""; 24 // so specifying 'Basic realm=""' is equivalent to 'Basic'. 27 // production of challenge that realm is required. 30 // include a realm (see http://crbug.com/20984.) 32 // The over-the-wire realm is encoded as ISO-8859-1 (aka Latin-1). 34 // TODO(cbentzel): Realm may need to be decoded using RFC 2047 rules as 37 std::string* realm) { 38 CHECK(realm); 80 std::string realm; local [all...] |
http_auth_cache.h | 20 // For each (origin, realm, scheme) triple the cache stores a 24 // - the last auth handler used (contains realm and authentication scheme) 25 // - the list of paths which used this realm 26 // Entries can be looked up by either (origin, realm, scheme) or (origin, path). 37 // The case-sensitive realm string of the challenge. 38 const std::string realm() const { function in class:net::HttpAuthCache::Entry 72 // Adds a path defining the realm's protection space. If the path is 76 // Returns true if |dir| is contained within the realm's protection 97 // List of paths that define the realm's protection space. 111 // Find the realm entry on server |origin| for realm |realm| an [all...] |
http_auth_cache.cc | 70 // Performance: O(n), where n is the number of realm entries. 72 const std::string& realm, 76 // Linear scan through the realm entries. 78 if (it->origin() == origin && it->realm() == realm && 82 return NULL; // No realm entry found. 85 // Performance: O(n*m), where n is the number of realm entries, m is the number 86 // of path entries per realm. Both n amd m are expected to be small; m is 101 // Linear scan through the realm entries. 114 const std::string& realm, [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/ |
OkAuthenticator.java | 55 private final String realm; field in class:OkAuthenticator.Challenge 57 public Challenge(String scheme, String realm) { 59 this.realm = realm; 69 return realm; 75 && ((Challenge) o).realm.equals(realm); 79 return scheme.hashCode() + 31 * realm.hashCode(); 83 return scheme + " realm=\"" + realm + "\"" [all...] |
/external/apache-http/src/org/apache/http/auth/ |
AuthScope.java | 39 * a port number, a realm name and an authentication scheme name which 61 * The <tt>null</tt> value represents any realm. 71 * Default scope matching any host, port, realm and authentication scheme. 80 /** The realm the credentials apply to. */ 81 private final String realm; field in class:AuthScope 90 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and 99 * @param realm the realm the credentials apply to. May be set 101 * any realm. 107 final String realm, final String scheme [all...] |
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
AccountManager.java | 13 * @param realm - the realm that is being challenged for which a credential should be 18 UserCredentials getCredentials(ClientTransaction challengedTransaction, String realm);
|
SecureAccountManager.java | 12 * @param realm - the realm that is being challenged for which a credential should be 17 UserCredentialHash getCredentialHash(ClientTransaction challengedTransaction, String realm);
|
/external/ppp/pppd/plugins/radius/ |
radrealms.c | 6 * allows selection of alternate set of servers based on the user's realm. 44 char *realm; local 55 realm = strrchr(user, '@'); 57 if (realm) { 58 info("Looking up servers for realm '%s'", realm); 60 info("Looking up servers for DEFAULT realm"); 62 if (realm) { 63 if (*(++realm) == '\0') { 64 realm = NULL [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
HttpAuthHandlerTest.java | 59 String realm; field in class:HttpAuthHandlerTest.ProceedHttpAuthClient 76 HttpAuthHandler handler, String host, String realm) { 82 this.realm = realm; 90 String realm; field in class:HttpAuthHandlerTest.CancelHttpAuthClient 98 HttpAuthHandler handler, String host, String realm) { 99 this.realm = realm; 112 assertEquals(CtsTestServer.AUTH_REALM, client.realm); 124 assertEquals(CtsTestServer.AUTH_REALM, client.realm); [all...] |
/external/chromium/net/http/ |
http_auth_handler_basic.cc | 17 // Note that if a realm was not specified, we will default it to ""; 18 // so specifying 'Basic realm=""' is equivalent to 'Basic'. 21 // production of challenge that realm is required. 24 // include a realm (see http://crbug.com/20984.) 40 // Extract the realm (may be missing). 41 std::string realm; local 43 if (LowerCaseEqualsASCII(parameters.name(), "realm")) 44 realm = parameters.value(); 50 realm_ = realm; 58 // is for a different realm, then indicate the realm change 60 std::string realm; local [all...] |
http_auth_cache.h | 21 // For each (origin, realm, scheme) triple the cache stores a 25 // - the last auth handler used (contains realm and authentication scheme) 26 // - the list of paths which used this realm 27 // Entries can be looked up by either (origin, realm, scheme) or (origin, path). 42 // Find the realm entry on server |origin| for realm |realm| and 45 // |realm| - case sensitive realm string. 49 const std::string& realm, 120 const std::string realm() const { function in class:net::HttpAuthCache::Entry [all...] |
/external/chromium_org/components/auto_login_parser/ |
auto_login_parser.cc | 21 bool MatchRealm(const std::string& realm, RealmRestriction restriction) { 24 return realm == "com.google"; 57 if (pair.first == "realm") { 60 local_params.realm = unescaped_value; 67 if (local_params.realm.empty() || local_params.args.empty())
|
auto_login_parser_unittest.cc | 16 return header.realm.empty() && header.account.empty() && 23 "realm=com.google&" 30 ASSERT_EQ("com.google", header_data.realm); 37 "realm=com.microsoft&" 59 "realm=com.google&" 69 "realm=com.google&" 74 ASSERT_EQ("com.google", header_data.realm); 80 "realm=com.microsoft&" 87 ASSERT_EQ("com.microsoft", header_data.realm);
|
auto_login_parser.h | 25 // "realm" string from x-auto-login (e.g. "com.google"). 26 std::string realm; member in struct:auto_login_parser::HeaderData
|
/external/chromium_org/third_party/WebKit/ManualTests/blackberry/ |
http-auth-private-mode-changed.php | 12 header('WWW-Authenticate: Basic realm="My Realm"');
|
/external/iproute2/misc/ |
rtacct.c | 159 int realm; local 171 , "Realm", "BytesTo", "PktsTo", "BytesFrom", "PktsFrom"); 183 for (realm=0; realm<256; realm++) { 188 if (!(rmap[realm>>5] & (1<<(realm&0x1f)))) 191 val = &kern_db->val[realm*4]; 192 rate = &kern_db->rate[realm*4]; 202 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4) 221 int k, realm; local 492 __u32 realm; local [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/ |
DataReductionProxySettings.java | 135 * Returns true if the host and realm (as passed in to Tab.onReceivedHttpAuthRequest()) are such 137 * hosts, and the realm must be prefixed with the authentication realm string used by the data 140 * @param realm The authentication realm. 141 * @return True if host and realm can be authenticated. 143 public boolean isAcceptableAuthChallenge(String host, String realm) { 144 return nativeIsAcceptableAuthChallenge(mNativeDataReductionProxySettings, host, realm); 151 * @param realm The authentication realm [all...] |
/external/chromium_org/chrome/browser/ui/android/infobars/ |
auto_login_infobar_delegate_android.h | 32 const std::string& realm() const { return params_.header.realm; } function in class:AutoLoginInfoBarDelegateAndroid
|
/external/chromium_org/components/autofill/core/common/ |
password_form_fill_data.h | 26 std::string realm; member in struct:autofill::UsernamesCollectionKey 31 std::string realm; member in struct:autofill::PasswordAndRealm 35 // struct are only set when the password's realm differs from the realm of the 46 // The signon realm of the preferred user/pass pair.
|
/external/chromium_org/net/base/ |
auth.cc | 17 this->realm == that.realm);
|
/external/chromium/chrome/browser/ui/login/ |
login_prompt_unittest.cc | 16 auth_info->realm = L"WallyWorld";
|
/external/chromium_org/chrome/browser/ui/login/ |
login_prompt_unittest.cc | 15 auth_info->realm = "WallyWorld";
|