/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
IdentityScopeStub.java | 56 * @param scope 59 public IdentityScopeStub(String name, IdentityScope scope) 61 super(name, scope); 117 * Sets the system's identity scope 118 * @param scope 120 public static void mySetSystemScope(IdentityScope scope) { 122 IdentityScope.setSystemScope(scope);
|
IdentityStub.java | 59 * @param scope 63 public IdentityStub(String name, IdentityScope scope) 65 super(name, scope);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
IdentityScopeTest.java | 70 * check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope 73 IdentityScope scope = new IdentityScopeStub("my scope"); local 74 is = new IdentityScopeStub("Aleksei Semenov", scope); 77 assertEquals(scope.getName(), is.getScope().getName()); 84 String name = Security.getProperty("system.scope"); 86 IdentityScope scope = IdentityScope.getSystemScope(); local 87 assertNotNull(scope); 88 assertEquals(name, scope.getClass().getName());
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
IdentityScopeTest.java | 75 * check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope 78 IdentityScope scope = new IdentityScopeStub("my scope"); local 79 is = new IdentityScopeStub("Aleksei Semenov", scope); 82 assertEquals(scope.getName(), is.getScope().getName()); 89 String name = Security.getProperty("system.scope"); 91 IdentityScope scope = IdentityScope.getSystemScope(); local 92 assertNotNull(scope); 93 assertEquals(name, scope.getClass().getName()); 102 // default implementation is specified by security property system.scope [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
ObjC.stg | 252 <rule.ruleDescriptor:{ruleDescriptor | <returnScopeInterface(scope=ruleDescriptor.returnScope)>}>}> 306 <returnScopeImplementation(scope=ruleDescriptor.returnScope)>}> 562 <scopes:{it | <if(it.isDynamicGlobalScope)><globalAttributeScopeInterface(scope=it)><endif>}> 565 <rule.ruleDescriptor:{ ruleDescriptor | <ruleAttributeScopeInterface(scope=ruleDescriptor.ruleScope)>}>}> 567 <rules:{rule |<rule.ruleDescriptor:{ ruleDescriptor | <returnScopeInterface(scope=ruleDescriptor.returnScope)>}>}> 572 <rules:{rule | <rule.ruleDescriptor.ruleScope:ruleAttributeScopeDecl(scope=rule.ruleDescriptor.ruleScope)>}> 574 <scopes:{it | <if(it.isDynamicGlobalScope)><globalAttributeScopeMemVar(scope=it)><endif>}><\n> 670 <scopes:{it | <if(it.isDynamicGlobalScope)><globalAttributeScopeImplementation(scope=it)><endif>}> 674 <rule.ruleDescriptor:{ ruleDescriptor | <ruleAttributeScopeImplementation(scope=ruleDescriptor.ruleScope)>}>}> 677 <rules:{rule | <rule.ruleDescriptor:{ ruleDescriptor | <returnScopeImplementation(scope=ruleDescriptor.returnScope)>}>} [all...] |
/libcore/luni/src/main/java/java/security/ |
Identity.java | 41 private IdentityScope scope; field in class:Identity 63 * the scope of this {@code Identity}. 67 * @param scope 71 * in the specified scope. 73 public Identity(String name, IdentityScope scope) 76 if (scope != null) { 77 scope.addIdentity(this); 78 this.scope = scope; 221 return scope; [all...] |
/external/chromium_org/v8/test/webkit/ |
exception-with-handler-inside-eval-with-dynamic-scope.js | 24 description('This test makes sure stack unwinding works correctly when it occurs inside an eval contained in a dynamic scope.'); 27 var test = "outer scope"; 28 with({test:"inner scope"}) { 29 eval("try { throw ''; } catch (e) { result = test; shouldBe('result', '\"inner scope\"'); }"); 31 eval("try { with({test:'innermost scope'}) throw ''; } catch (e) { result = test; shouldBe('result', '\"inner scope\"'); }"); 33 eval("with ({test:'innermost scope'}) try { throw ''; } catch (e) { result = test; shouldBe('result', '\"innermost scope\"'); }"); 35 with ({test:'innermost scope'}) eval("try { throw ''; } catch (e) { result = test; shouldBe('result', '\"innermost scope\"'); }"); [all...] |
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
ActionAnalysis.g | 76 AttributeScope scope = null; 81 scope = enclosingRule.getLocalAttributeScope($y.text); 90 scope = refdRule.getLocalAttributeScope($y.text); 98 scope = refdRule.getLocalAttributeScope($y.text); 101 if ( scope!=null && 102 (scope.isPredefinedRuleScope||scope.isPredefinedLexerRuleScope) ) 121 AttributeScope scope = enclosingRule.getLocalAttributeScope($ID.text); 122 if ( scope!=null && 123 (scope.isPredefinedRuleScope||scope.isPredefinedLexerRuleScope) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintJob.java | 31 import com.android.tools.lint.detector.api.Scope; 97 EnumSet<Scope> scope = null; local 104 scope = Scope.ALL; 109 scope = EnumSet.of(Scope.MANIFEST); 111 scope = Scope.RESOURCE_FILE_SCOPE; 114 if (scope != null) [all...] |
/external/clang/lib/ARCMigrate/ |
TransAutoreleasePool.cpp | 12 // Calls to NSAutoreleasePools will be rewritten as an @autorelease scope. 23 // - There is not a corresponding -release/-drain in the same scope 25 // - There is a variable that is declared inside the intended @autorelease scope 98 PoolScope &scope = *scpI; local 99 clearRefsIn(*scope.Begin, info.Refs); 100 clearRefsIn(*scope.End, info.Refs); 101 clearRefsIn(scope.Releases.begin(), scope.Releases.end(), info.Refs); 122 PoolScope &scope = *scpI; local 123 clearUnavailableDiags(*scope.Begin) 153 PoolScope &scope = *scpI; local 208 PoolScope &scope = Scopes.back(); local [all...] |
/external/v8/test/cctest/ |
test-func-name-inference.cc | 54 v8::HandleScope scope; local 57 v8::HandleScope scope; local 113 v8::HandleScope scope; local 125 v8::HandleScope scope; local 137 v8::HandleScope scope; local 151 v8::HandleScope scope; local 165 v8::HandleScope scope; local 181 v8::HandleScope scope; local 199 v8::HandleScope scope; local 217 v8::HandleScope scope; local 231 v8::HandleScope scope; local 247 v8::HandleScope scope; local 260 v8::HandleScope scope; local 275 v8::HandleScope scope; local 288 v8::HandleScope scope; local 304 v8::HandleScope scope; local 318 v8::HandleScope scope; local 334 v8::HandleScope scope; local 353 v8::HandleScope scope; local 368 v8::HandleScope scope; local 386 v8::HandleScope scope; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
C.stg | 191 #define SCOPE_TYPE(scope) p<name>_##scope##_SCOPE 192 #define SCOPE_STACK(scope) p<name>_##scope##Stack 193 #define SCOPE_TOP(scope) ctx->p<name>_##scope##Top 194 #define SCOPE_SIZE(scope) ctx->p<name>_##scope##Stack_limit 195 #define SCOPE_INSTANCE(scope, i) (ctx->SCOPE_STACK(scope)->get(ctx->SCOPE_STACK(scope),i) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ScriptObject.cpp | 67 ScriptScope scope(scriptState); 68 scope.global()->Set(v8::String::NewSymbol(name), toV8(value, v8::Handle<v8::Object>(), scriptState->isolate())); 69 return scope.success(); 74 ScriptScope scope(scriptState); 75 v8::Local<v8::Value> v8Value = scope.global()->Get(v8::String::NewSymbol(name));
|
/external/chromium_org/tools/gn/ |
operators.cc | 10 #include "tools/gn/scope.h" 18 // Applies the sources assignment filter from the given scope to each element 21 void AppendFilteredSourcesToValue(const Scope* scope, 24 const PatternList* filter = scope->GetSourcesAssignmentFilter(); 95 Value ExecuteEquals(Scope* scope, 100 const Value* old_value = scope->GetValue(left.value(), false); 102 if (scope->IsSetButUnused(left.value())) { 112 err->AppendSubErr(Err(*scope->GetValue(left.value()) [all...] |
operators.h | 11 class Scope; 25 Value ExecuteUnaryOperator(Scope* scope, 29 Value ExecuteBinaryOperator(Scope* scope,
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
content_settings_store.h | 73 ExtensionPrefsScope scope); 77 ExtensionPrefsScope scope); 83 ExtensionPrefsScope scope) const; 89 ExtensionPrefsScope scope); 122 ExtensionPrefsScope scope); 126 ExtensionPrefsScope scope) const;
|
/external/chromium_org/v8/test/cctest/ |
test-func-name-inference.cc | 104 v8::HandleScope scope(CcTest::isolate()); 116 v8::HandleScope scope(CcTest::isolate()); 128 v8::HandleScope scope(CcTest::isolate()); 142 v8::HandleScope scope(CcTest::isolate()); 156 v8::HandleScope scope(CcTest::isolate()); 172 v8::HandleScope scope(CcTest::isolate()); 190 v8::HandleScope scope(CcTest::isolate()); 208 v8::HandleScope scope(CcTest::isolate()); 222 v8::HandleScope scope(CcTest::isolate()); 238 v8::HandleScope scope(CcTest::isolate()) [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
IdentityStub.java | 56 * @param scope 59 public IdentityStub(String name, IdentityScope scope) 61 super(name, scope);
|
/external/chromium_org/remoting/client/plugin/ |
pepper_token_fetcher.cc | 23 const std::string& scope, 27 plugin_->FetchThirdPartyToken(token_url, host_public_key_, scope,
|
/frameworks/base/core/java/com/android/server/net/ |
BaseNetworkObserver.java | 39 public void addressUpdated(String address, String iface, int flags, int scope) { 44 public void addressRemoved(String address, String iface, int flags, int scope) {
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
Java.stg | 366 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)> 367 <returnScope(scope=ruleDescriptor.returnScope)> 801 ruleRef(rule,label,elementIndex,args,scope) ::= << 803 <if(label)><label>=<endif><if(scope)><scope:delegateName()>.<endif><rule.name>(<args; separator=", ">);<\n> 809 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= << 810 <ruleRef(rule,label,elementIndex,args,scope)> 820 lexerRuleRef(rule,label,args,elementIndex,scope) ::= << 825 <if(scope)><scope:delegateName()>.<endif>m<rule.name>(<args; separator=", ">); <checkRuleBacktrackFailure() [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
Python.stg | 113 <scopes:{it|<if(it.isDynamicGlobalScope)><globalAttributeScope(scope=it)><endif>}> 233 <scopes:{it|<if(it.isDynamicGlobalScope)><globalAttributeScopeClass(scope=it)><endif>}> 238 <rules:{it|<ruleAttributeScopeClass(scope=it.ruleDescriptor.ruleScope)>}> 260 <scopes:{it | <if(it.isDynamicGlobalScope)><globalAttributeScopeStack(scope=it)><endif>}> 261 <rules:{it | <ruleAttributeScopeStack(scope=it.ruleDescriptor.ruleScope)>}> 403 <returnScope(scope=ruleDescriptor.returnScope)> 883 ruleRef(rule,label,elementIndex,args,scope) ::= << 885 <if(label)><label> = <endif>self.<if(scope)><scope:delegateName()>.<endif><rule.name>(<args; separator=", ">)<\n> 890 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= < [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLStyleElement.cpp | 145 ContainerNode* scope = scoped ? parentNode() : containingShadowRoot(); 146 if (!scope) 148 if (!scope->isElementNode() && !scope->isShadowRoot()) { 154 scope->registerScopedHTMLStyleChild(); 158 void HTMLStyleElement::unregisterWithScopingNode(ContainerNode* scope) 164 ASSERT(scope); 165 if (scope) { 166 ASSERT(scope->hasScopedHTMLStyleChild()); 167 scope->unregisterScopedHTMLStyleChild() 193 ContainerNode* scope = 0; local 205 StyleElement::removedFromDocument(document(), this, scope); local [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ActionScript.stg | 68 <scopes:{<if(it.isDynamicGlobalScope)><globalAttributeScope(scope=it)><endif>}> 189 <scopes:{<if(it.isDynamicGlobalScope)><globalAttributeScope(scope=it)><endif>}> 214 public function <ruleDescriptor.name>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):<returnType()> \{ <if(ruleDescriptor.hasReturnValue)>return <endif><ruleDescriptor.grammar:delegateName()>.<ruleDescriptor.name>(<ruleDescriptor.parameterScope.attributes:{a|<a.name>}; separator=", ">); \}}; separator="\n"> 256 public final function <ruleName>_fragment(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):void { 316 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)> 319 public final function <ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):<returnType()> { 447 public final function m<ruleName>(<ruleDescriptor.parameterScope:parameterScope(scope=it)>):void { 741 ruleRef(rule,label,elementIndex,args,scope) ::= << 743 <if(label)><label>=<endif><if(scope)><scope:delegateName()>.<endif><rule.name>(<args; separator=", ">);<\n [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
Scala.stg | 343 <ruleAttributeScope(scope=ruleDescriptor.ruleScope)> 344 <returnScope(scope=ruleDescriptor.returnScope)> 787 ruleRef(rule,label,elementIndex,args,scope) ::= << 789 <if(label)><label>=<endif><if(scope)><scope:delegateName()>.<endif><rule.name>(<args; separator=", ">)<\n> 795 ruleRefAndListLabel(rule,label,elementIndex,args,scope) ::= << 806 lexerRuleRef(rule,label,args,elementIndex,scope) ::= << 811 <if(scope)><scope:delegateName()>.<endif>m<rule.name>(<args; separator=", ">) 817 <if(scope)><scope:delegateName()>.<endif>m<rule.name>(<args; separator=", "> [all...] |