Searched refs:scope (Results 26 - 50 of 998) sorted by relevance

1234567891011>>

/external/chromium_org/tools/gn/
H A Dfunction_read_file.cc42 Value RunReadFile(Scope* scope, argument
55 const SourceDir& cur_dir = scope->GetSourceDir();
58 scope->settings()->build_settings()->GetFullPath(source_file);
71 return ConvertInputToValue(scope->settings(), file_contents, function,
H A Dfunction_set_defaults.cc8 #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, argument
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.
86 Scope* dest = scope->MakeTargetDefaults(target_type);
H A Dfunction_template.cc8 #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, argument
164 const Template* existing_template = scope->GetTemplate(template_name);
173 scope->AddTemplate(template_name, new Template(scope, function));
H A Dfunctions_target_unittest.cc7 #include "tools/gn/scope.h"
18 setup.scope()->set_item_collector(&item_collector);
26 good_input.parsed()->Execute(setup.scope(), &err);
37 source_set_input.parsed()->Execute(setup.scope(), &err);
48 component_input.parsed()->Execute(setup.scope(), &err);
H A Dcopy_target_generator.cc10 #include "tools/gn/scope.h"
14 Scope* scope,
17 : TargetGenerator(target, scope, function_call, err) {
13 CopyTargetGenerator(Target* target, Scope* scope, const FunctionCallNode* function_call, Err* err) argument
H A Dgroup_target_generator.cc11 Scope* scope,
14 : TargetGenerator(target, scope, function_call, err) {
9 GroupTargetGenerator( Target* target, Scope* scope, const FunctionCallNode* function_call, Err* err) argument
H A Dscope_per_file_provider_unittest.cc21 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);
H A Dconfig_values_generator.cc8 #include "tools/gn/scope.h"
17 Scope* scope,
22 const Value* value = scope->GetValue(var_name, true);
32 Scope* scope,
38 const Value* value = scope->GetValue(var_name, true);
43 ExtractListOfRelativeDirs(scope->settings()->build_settings(),
52 Scope* scope,
56 scope_(scope),
16 GetStringList( Scope* scope, const char* var_name, ConfigValues* config_values, std::vector<std::string>& (ConfigValues::* accessor)(), Err* err) argument
31 GetDirList( Scope* scope, const char* var_name, ConfigValues* config_values, const SourceDir input_dir, std::vector<SourceDir>& (ConfigValues::* accessor)(), Err* err) argument
50 ConfigValuesGenerator( ConfigValues* dest_values, Scope* scope, const SourceDir& input_dir, Err* err) argument
H A Dfunctions.h31 typedef Value (*SelfEvaluatingArgsFunction)(Scope* scope,
37 typedef Value (*GenericBlockFunction)(Scope* scope,
52 typedef Value (*NoBlockFunction)(Scope* scope,
60 Value RunAction(Scope* scope,
69 Value RunActionForEach(Scope* scope,
78 Value RunAssert(Scope* scope,
102 Value RunDeclareArgs(Scope* scope,
111 Value RunDefined(Scope* scope,
119 Value RunExecScript(Scope* scope,
127 Value RunExecutable(Scope* scope,
[all...]
H A Dscope_unittest.cc8 #include "tools/gn/scope.h"
14 bool HasStringValueEqualTo(const Scope* scope, argument
17 const Value* value = scope->GetValue(name);
38 // Add some values to the scope.
40 setup.scope()->SetValue("v", old_value, &assignment);
42 setup.scope()->SetValue(private_var_name, old_value, &assignment);
44 // Add some templates to the scope.
46 scoped_refptr<Template> templ(new Template(setup.scope(), &templ_definition));
47 setup.scope()->AddTemplate("templ", templ.get());
49 new Template(setup.scope(),
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-stepout-scope-part2.js30 // Check that the ScopeIterator can properly recreate the scope at
37 // Access scope details.
40 var scope = exec_state.frame().scope(i);
41 // assertTrue(scope.isScope());
42 scope.scopeType();
43 scope.scopeObject();
46 // Do steps until we reach the global scope again.
H A Ddebug-stepout-scope-part3.js30 // Check that the ScopeIterator can properly recreate the scope at
37 // Access scope details.
40 var scope = exec_state.frame().scope(i);
41 // assertTrue(scope.isScope());
42 scope.scopeType();
43 scope.scopeObject();
46 // Do steps until we reach the global scope again.
H A Ddebug-stepout-scope-part4.js30 // Check that the ScopeIterator can properly recreate the scope at
37 // Access scope details.
40 var scope = exec_state.frame().scope(i);
41 // assertTrue(scope.isScope());
42 scope.scopeType();
43 scope.scopeObject();
46 // Do steps until we reach the global scope again.
H A Ddebug-stepout-scope-part5.js30 // Check that the ScopeIterator can properly recreate the scope at
37 // Access scope details.
40 var scope = exec_state.frame().scope(i);
41 // assertTrue(scope.isScope());
42 scope.scopeType();
43 scope.scopeObject();
46 // Do steps until we reach the global scope again.
H A Ddebug-stepout-scope-part6.js30 // Check that the ScopeIterator can properly recreate the scope at
37 // Access scope details.
40 var scope = exec_state.frame().scope(i);
41 // assertTrue(scope.isScope());
42 scope.scopeType();
43 scope.scopeObject();
46 // Do steps until we reach the global scope again.
H A Ddebug-stepout-scope-part7.js30 // Check that the ScopeIterator can properly recreate the scope at
37 // Access scope details.
40 var scope = exec_state.frame().scope(i);
41 // assertTrue(scope.isScope());
42 scope.scopeType();
43 scope.scopeObject();
46 // Do steps until we reach the global scope again.
H A Ddebug-function-scopes.js45 // A copy of the scope types from mirror-debugger.js.
73 CheckScope(mirror.scope(0), { a: 4, b: 5 }, ScopeType.Closure);
74 CheckScope(mirror.scope(1), { w: 5, v: "Capybara" }, ScopeType.With);
75 CheckScope(mirror.scope(2), { y: 17, z: 22 }, ScopeType.Closure);
76 CheckScope(mirror.scope(3), { x: 5 }, ScopeType.Closure);
77 CheckScope(mirror.scope(4), {}, ScopeType.Global);
85 CheckScope(mirror.scope(0), {}, ScopeType.Global);
104 CheckScope(mirror.scope(0), { visible2: 20 }, ScopeType.Closure);
105 CheckScope(mirror.scope(1), { visible1: 10 }, ScopeType.Closure);
106 CheckScope(mirror.scope(
[all...]
/external/iproute2/ip/
H A Droutel24 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/
H A Davrule_block.c4 * 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) argument
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
155 scope_datum_t *scope = local
[all...]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScopeTest.java71 * check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope
74 IdentityScope scope = new IdentityScopeStub("my scope");
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();
88 assertNotNull(scope);
89 assertEquals(name, scope.getClass().getName());
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DObjC.stg252 <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
[all...]
/external/chromium_org/third_party/polymer/components-chromium/core-animated-pages/transitions/
H A Dhero-transition-extracted.js14 go: function(scope, options) {
26 scope._heroes.forEach(function(h) {
40 if (!scope._heroes.length) {
45 prepare: function(scope, options) {
49 if (scope._heroes && scope._heroes.length) {
50 this.ensureComplete(scope);
52 scope._heroes = [];
118 scope._heroes.push(h);
141 ensureComplete: function(scope) {
[all...]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DActionAnalysis.g76 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
[all...]
/external/clang/lib/ARCMigrate/
H A DTransAutoreleasePool.cpp12 // 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
153 PoolScope &scope = *scpI; local
208 PoolScope &scope = Scopes.back(); local
254 NameReferenceChecker(ASTContext &ctx, PoolScope &scope, SourceLocation &referenceLoc, SourceLocation &declarationLoc) argument
296 handlePoolScope(PoolScope &scope, CompoundStmt *compoundS) argument
[all...]
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-schedule.cc23 HandleAndZoneScope scope; local
24 Schedule schedule(scope.main_zone());
32 HandleAndZoneScope scope; local
33 Graph graph(scope.main_zone());
37 Schedule schedule(scope.main_zone());
53 HandleAndZoneScope scope; local
55 Schedule schedule(scope.main_zone());
72 HandleAndZoneScope scope; local
73 Schedule schedule(scope.main_zone());
79 Graph graph(scope
102 HandleAndZoneScope scope; local
116 HandleAndZoneScope scope; local
130 HandleAndZoneScope scope; local
[all...]

Completed in 1745 milliseconds

1234567891011>>