/external/chromium_org/tools/gn/ |
function_get_label_info.cc | 84 Value RunGetLabelInfo(Scope* scope, 94 Label label = Label::Resolve(scope->GetSourceDir(), 95 ToolchainLabelForScope(scope), args[0], err); 113 GetGenDirForSourceDir(scope->settings(), label.dir())); 118 scope->settings()->default_toolchain_label() == toolchain_label; 120 GetToolchainGenDir(scope->settings()->build_settings(), 125 GetOutputDirForSourceDir(scope->settings(), label.dir())); 130 scope->settings()->default_toolchain_label() == toolchain_label; 132 GetToolchainOutputDir(scope->settings()->build_settings() [all...] |
copy_target_generator.h | 15 Scope* scope,
|
function_read_file.cc | 42 Value RunReadFile(Scope* scope, 55 const SourceDir& cur_dir = scope->GetSourceDir(); 58 scope->settings()->build_settings()->GetFullPath(source_file); 71 return ConvertInputToValue(scope->settings(), file_contents, function,
|
function_set_defaults.cc | 8 #include "tools/gn/scope.h" 22 " set_default's block will be copied into the current scope.\n" 25 " If a variable with that name is already in scope, the build will fail\n" 43 Value RunSetDefaults(Scope* scope, 67 if (scope->GetTargetDefaults(target_type)) { 79 Scope block_scope(scope); 84 // Now copy the values set on the scope we made into the free-floating one 85 // (with no containing scope) used to hold the target defaults [all...] |
function_template.cc | 8 #include "tools/gn/scope.h" 34 " currently in scope with the code in the template block. When the\n" 95 " # scope).\n" 97 " # Access the scope defined by the invoker via the implicit\n" 148 Value RunTemplate(Scope* scope, 164 const Template* existing_template = scope->GetTemplate(template_name); 173 scope->AddTemplate(template_name, new Template(scope, function));
|
group_target_generator.h | 15 Scope* scope,
|
parse_tree_unittest.cc | 8 #include "tools/gn/scope.h" 29 Value result = accessor.Execute(setup.scope(), &err); 33 // Define a as a Scope. It should still fail because b isn't defined. 35 setup.scope()->SetValue("a", 36 Value(NULL, scoped_ptr<Scope>(new Scope(setup.scope()))), NULL); 37 result = accessor.Execute(setup.scope(), &err); 44 setup.scope()->GetMutableValue("a", false)->scope_value()->SetValue( 46 result = accessor.Execute(setup.scope(), &err) [all...] |
scope_per_file_provider_unittest.cc | 21 Scope scope(test.settings()); 22 scope.set_source_dir(SourceDir("//source/")); 23 ScopePerFileProvider provider(&scope, true); 42 Scope scope(&settings); 43 scope.set_source_dir(SourceDir("//source/")); 44 ScopePerFileProvider provider(&scope, true);
|
function_toolchain.cc | 9 #include "tools/gn/scope.h" 19 // the toolchain property on a scope. 22 // Reads the given string from the scope (if present) and puts the result into 24 bool ReadString(Scope& scope, const char* var, std::string* dest, Err* err) { 25 const Value* v = scope.GetValue(var, true); 89 Value RunToolchain(Scope* scope, 94 if (!EnsureNotProcessingImport(function, scope, err) || 95 !EnsureNotProcessingBuildConfig(function, scope, err) [all...] |
functions.h | 20 class Scope; 31 typedef Value (*SelfEvaluatingArgsFunction)(Scope* scope, 37 typedef Value (*GenericBlockFunction)(Scope* scope, 48 Scope* block_scope, 52 typedef Value (*NoBlockFunction)(Scope* scope, 60 Value RunAction(Scope* scope, [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
PlainTextRange.cpp | 60 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRange(const ContainerNode& scope) const 62 return createRangeFor(scope, ForGeneric); 65 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRangeForSelection(const ContainerNode& scope) const 67 return createRangeFor(scope, ForSelection); 70 PassRefPtrWillBeRawPtr<Range> PlainTextRange::createRangeFor(const ContainerNode& scope, GetRangeFor getRangeFor) const 74 RefPtrWillBeRawPtr<Range> resultRange = scope.document().createRange(); 84 TextIterator it(rangeOfContents(const_cast<ContainerNode*>(&scope)).get(), behaviorFlags); 109 scope.document().updateLayoutIgnorePendingStylesheets(); 162 PlainTextRange PlainTextRange::create(const Node& scope, const Range& range) 172 if (range.startContainer() != &scope && !range.startContainer()->isDescendantOf(&scope) [all...] |
PlainTextRange.h | 52 PassRefPtrWillBeRawPtr<Range> createRange(const ContainerNode& scope) const; 53 PassRefPtrWillBeRawPtr<Range> createRangeForSelection(const ContainerNode& scope) const; 55 static PlainTextRange create(const Node& scope, const Range&); 61 PassRefPtrWillBeRawPtr<Range> createRangeFor(const ContainerNode& scope, GetRangeFor) const;
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
IdentityScopeStub.java | 57 * @param scope 60 public IdentityScopeStub(String name, IdentityScope scope) 62 super(name, scope); 124 * Sets the system's identity scope 126 * @param scope 128 public static void mySetSystemScope(IdentityScope scope) { 130 IdentityScope.setSystemScope(scope);
|
/external/iproute2/ip/ |
routel | 24 scope="" 40 echo "$network $via $src $proto $scope $dev $table" 44 printf(format,"target","","gateway","source","proto","scope","dev","tbl"); 55 scope=$5; 58 printf(format,network,mask,via,src,proto,scope,dev,table);
|
/external/libsepol/src/ |
avrule_block.c | 4 * or global scope) for a policy module. 69 ebitmap_init(&decl->required.scope[i]); 70 ebitmap_init(&decl->declared.scope[i]); 77 static void scope_index_destroy(scope_index_t * scope) 80 if (scope == NULL) { 84 ebitmap_destroy(scope->scope + i); 86 for (i = 0; i < scope->class_perms_len; i++) { 87 ebitmap_destroy(scope->class_perms_map + i); 89 free(scope->class_perms_map) 155 scope_datum_t *scope = local [all...] |
/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);
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
WorkerConsole.h | 50 static PassRefPtrWillBeRawPtr<WorkerConsole> create(WorkerGlobalScope* scope) 52 return adoptRefWillBeNoop(new WorkerConsole(scope));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
IdentityScopeTest.java | 71 * check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope 74 IdentityScope scope = new IdentityScopeStub("my scope"); local 75 is = new IdentityScopeStub("Aleksei Semenov", scope); 78 assertEquals(scope.getName(), is.getScope().getName()); 85 String name = Security.getProperty("system.scope"); 87 IdentityScope scope = IdentityScope.getSystemScope(); local 88 assertNotNull(scope); 89 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...] |