HomeSort by relevance Sort by last modified time
    Searched refs:Realm (Results 1 - 25 of 32) sorted by null

1 2

  /external/v8/test/mjsunit/
cross-realm-filtering.js 5 var realms = [Realm.current(), Realm.create()];
9 "(function () { Realm.eval(Realm.current(), 'throw Error()') })";
10 Realm.shared = {
11 thrower_0: Realm.eval(realms[0], thrower_script),
12 thrower_1: Realm.eval(realms[1], thrower_script),
18 Realm.shared.thrower_0(); \
20 Realm.shared.error_0 = e.stack; \
23 Realm.shared.thrower_1();
    [all...]
contextual-calls.js 28 var realms = [Realm.current(), Realm.create()];
29 globals = [Realm.global(0), Realm.global(1)];
30 Realm.shared = {}
33 Realm.shared[name] = value;
35 Realm.eval(realms[i], name + " = Realm.shared['" + name + "'];");
44 Realm.shared.results = [];
47 Realm.eval(realms[i],"
    [all...]
array-constructor-feedback.js 188 var contextB = Realm.create();
189 Realm.eval(contextB, "function bar2() { return new Array(); };");
190 Realm.eval(contextB, "bar2(); bar2();");
191 Realm.eval(contextB, "%OptimizeFunctionOnNextCall(bar2);");
192 Realm.eval(contextB, "bar2();");
193 assertFalse(Realm.eval(contextB, "bar2();") instanceof Array);
194 assertTrue(Realm.eval(contextB, "bar2() instanceof Array"));
array-feedback.js 191 var realmA = Realm.current();
192 var realmB = Realm.create();
202 var realmBArray = Realm.eval(realmB, "Array");
allocation-site-info.js 302 var realmA = Realm.current();
303 var realmB = Realm.create();
319 var realmBArray = Realm.eval(realmB, "Array");
  /external/jetty/src/java/org/eclipse/jetty/client/security/
SimpleRealmResolver.java 26 * Simple Realm Resolver.
27 * <p> A Realm Resolver that wraps a single realm.
33 private Realm _realm;
35 public SimpleRealmResolver( Realm realm )
37 _realm=realm;
40 public Realm getRealm( String realmName, HttpDestination destination, String path ) throws IOException
HashRealmResolver.java 29 private Map<String, Realm>_realmMap;
31 public void addSecurityRealm( Realm realm )
35 _realmMap = new HashMap<String, Realm>();
37 _realmMap.put( realm.getId(), realm ); local
40 public Realm getRealm( String realmName, HttpDestination destination, String path ) throws IOException
Realm.java 22 * Simple security realm interface.
24 public interface Realm
RealmResolver.java 27 public Realm getRealm( String realmName, HttpDestination destination, String path ) throws IOException;
BasicAuthentication.java 40 public BasicAuthentication(Realm realm) throws IOException
42 String authenticationString = "Basic " + B64Code.encode( realm.getPrincipal() + ":" + realm.getCredentials(), StringUtil.__ISO_8859_1);
DigestAuthentication.java 34 Realm securityRealm;
37 public DigestAuthentication(Realm realm, Map details)
39 this.securityRealm=realm;
51 buffer.append(", ").append("realm").append('=').append('"').append(String.valueOf(details.get("realm"))).append('"');
75 protected String newResponse(String cnonce, HttpExchange exchange, Realm securityRealm, Map details)
83 md.update(String.valueOf(details.get("realm")).getBytes(StringUtil.__ISO_8859_1));
116 protected String newCnonce(HttpExchange exchange, Realm securityRealm, Map details)
SecurityListener.java 175 Realm realm = realmResolver.getRealm( details.get("realm"), _destination, pathSpec ); // TODO work our realm correctly local
177 if ( realm == null )
179 LOG.warn( "Unknown Security Realm: " + details.get("realm") );
183 _destination.addAuthorization("/",new DigestAuthentication(realm,details));
188 _destination.addAuthorization(pathSpec,new BasicAuthentication(realm));
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
AuthMatch.java 5 * None means that there is a distinct mismatch, i.e. realm, method or parameter is defined
14 public static final int Realm = 0x04;
18 public static final int Exact = Realm | Method | Param;
29 if ((match & Realm) != 0) {
30 sb.append("Realm");
  /external/v8/test/mjsunit/bugs/
bug-proto.js 28 var realmA = Realm.current();
29 var realmB = Realm.create();
34 assertSame(this, Realm.global(realmA));
35 assertSame(Realm.eval(realmB, "this"), Realm.global(realmB));
36 assertFalse(this === Realm.global(realmB));
38 // The global object is not accessible cross-realm.
40 Realm.shared = this;
41 assertThrows("Realm.eval(realmB, 'x')");
42 assertSame(undefined, Realm.eval(realmB, "this.x"))
    [all...]
  /external/v8/test/mjsunit/regress/
regress-280531.js 28 var contextA = Realm.create();
29 var date1 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')");
31 var date2 = Realm.eval(contextA, "new Date('Thu, 29 Aug 2013 00:00:00 UTC')");
regress-cr-344285.js 33 Realm.eval(__v_2, "Realm.global(0).y = 1");
regress-crbug-243868.js 36 // Create an object with a constant function in another realm.
37 var realm = Realm.create(); variable
38 var realmObject = Realm.eval(realm, "function g() {}; var o = { val:g }; o;")
  /external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/
multi.py 21 >>> def authfunc(environ, realm, user):
22 ... return digest.digest_password(realm, user, user)
23 >>> multi.add_method('digest', digest.middleware, "Test Realm", authfunc)
  /external/v8/test/mjsunit/harmony/
proxies-function.js 748 var realms = [Realm.create(), Realm.create()];
749 Realm.shared = {};
751 Realm.eval(realms[0], "function f() { return this; };");
752 Realm.eval(realms[0], "Realm.shared.f = f;");
753 Realm.eval(realms[0], "Realm.shared.fg = this;");
754 Realm.eval(realms[1], "function g() { return this; };");
755 Realm.eval(realms[1], "Realm.shared.g = g;")
    [all...]
  /external/v8/test/mjsunit/es6/
symbols.js 484 var realm = Realm.create()
485 assertFalse(Symbol === Realm.eval(realm, "Symbol"))
486 assertFalse(Symbol.for === Realm.eval(realm, "Symbol.for"))
487 assertFalse(Symbol.keyFor === Realm.eval(realm, "Symbol.keyFor"))
488 assertSame(Symbol.create, Realm.eval(realm, "Symbol.create")
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
NAIRealmData.java 17 * The NAI Realm Data ANQP sub-element, IEEE802.11-2012 section 8.4.4.10 figure 8-418
34 String realm = Constants.getPrefixedString(payload, 1, utf8 ? local
37 String[] realms = realm.split(";");
64 for (String realm : mRealms) {
65 List<String> labels = Utils.splitDomain(realm);
67 realmMatch = AuthMatch.Realm;
74 // else there is a realm match and one or more EAP methods - check them.
97 sb.append(" NAI Realm(s)");
98 for (String realm : mRealms) {
99 sb.append(' ').append(realm);
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_urllib2.py 118 >>> add("Some Realm", "http://example.com/", "joe", "password")
119 >>> add("Some Realm", "http://example.com/ni", "ni", "ni")
125 >>> add("Some Realm", "http://c.example.com:3128", "3", "c")
126 >>> add("Some Realm", "d.example.com", "4", "d")
127 >>> add("Some Realm", "e.example.com:3128", "5", "e")
129 >>> mgr.find_user_password("Some Realm", "example.com")
131 >>> mgr.find_user_password("Some Realm", "http://example.com")
133 >>> mgr.find_user_password("Some Realm", "http://example.com/")
135 >>> mgr.find_user_password("Some Realm", "http://example.com/spam")
137 >>> mgr.find_user_password("Some Realm", "http://example.com/spam/spam"
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_urllib2.py 118 >>> add("Some Realm", "http://example.com/", "joe", "password")
119 >>> add("Some Realm", "http://example.com/ni", "ni", "ni")
125 >>> add("Some Realm", "http://c.example.com:3128", "3", "c")
126 >>> add("Some Realm", "d.example.com", "4", "d")
127 >>> add("Some Realm", "e.example.com:3128", "5", "e")
129 >>> mgr.find_user_password("Some Realm", "example.com")
131 >>> mgr.find_user_password("Some Realm", "http://example.com")
133 >>> mgr.find_user_password("Some Realm", "http://example.com/")
135 >>> mgr.find_user_password("Some Realm", "http://example.com/spam")
137 >>> mgr.find_user_password("Some Realm", "http://example.com/spam/spam"
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
HomeSP.java 117 else if ((authMatch & AuthMatch.Realm) == 0) {
118 // No realm match, return sp match as is.
122 // Realm match, promote sp match to roaming if necessary.
  /frameworks/base/wifi/java/android/net/wifi/passpoint/
WifiPasspointDmTree.java     [all...]

Completed in 619 milliseconds

1 2