Home
last modified time | relevance | path

Searched refs:scope_ (Results 1 – 25 of 44) sorted by relevance

12

/third_party/gn/src/gn/
Dbinary_target_generator.cc71 RustValuesGenerator rustgen(target_, scope_, function_call_, err_); in DoRun()
78 SwiftValuesGenerator swiftgen(target_, scope_, err_); in DoRun()
85 ConfigValuesGenerator gen(&target_->config_values(), scope_, in DoRun()
86 scope_->GetSourceDir(), err_); in DoRun()
118 Err(scope_->GetValue(variables::kSources, true)->list_value()[i], in FillSources()
132 const Value* value = scope_->GetValue(variables::kCompleteStaticLib, true); in FillCompleteStaticLib()
143 const Value* value = scope_->GetValue(variables::kFriend, true); in FillFriends()
145 return ExtractListOfLabelPatterns(scope_->settings()->build_settings(), in FillFriends()
146 *value, scope_->GetSourceDir(), in FillFriends()
153 const Value* value = scope_->GetValue(variables::kOutputName, true); in FillOutputName()
[all …]
Dtarget_generator.cc38 scope_(scope), in TargetGenerator()
64 if (!Visibility::FillItemVisibility(target_, scope_, err_)) in Run()
173 return scope_->settings()->build_settings(); in GetBuildSettings()
177 const Value* value = scope_->GetValue(variables::kSources, true); in FillSources()
182 if (!ExtractListOfRelativeFiles(scope_->settings()->build_settings(), *value, in FillSources()
183 scope_->GetSourceDir(), &dest_sources, err_)) in FillSources()
190 const Value* value = scope_->GetValue(variables::kPublic, true); in FillPublic()
198 if (!ExtractListOfRelativeFiles(scope_->settings()->build_settings(), *value, in FillPublic()
199 scope_->GetSourceDir(), &dest_public, err_)) in FillPublic()
222 const Value* value = scope_->GetValue(variables::kData, true); in FillData()
[all …]
Daction_target_generator.cc74 ConfigValuesGenerator gen(&target_->config_values(), scope_, in DoRun()
75 scope_->GetSourceDir(), err_); in DoRun()
110 const Value* value = scope_->GetValue(variables::kScript, true); in FillScript()
118 SourceFile script_file = scope_->GetSourceDir().ResolveRelativeFile( in FillScript()
119 *value, err_, scope_->settings()->build_settings()->root_path_utf8()); in FillScript()
127 const Value* value = scope_->GetValue(variables::kArgs, true); in FillScriptArgs()
142 const Value* value = scope_->GetValue(variables::kResponseFileContents, true); in FillResponseFileContents()
157 const Value* value = scope_->GetValue(variables::kDepfile, true); in FillDepfile()
172 const Value* value = scope_->GetValue(variables::kPool, true); in FillPool()
177 Label::Resolve(scope_->GetSourceDir(), in FillPool()
[all …]
Dcreate_bundle_target_generator.cc83 const Value* value = scope_->GetValue(name, true); in FillBundleDir()
111 Value* value = scope_->GetMutableValue(variables::kXcodeExtraAttributes, in FillXcodeExtraAttributes()
140 const Value* value = scope_->GetValue(variables::kProductType, true); in FillProductType()
152 const Value* value = scope_->GetValue(variables::kPartialInfoPlist, true); in FillPartialInfoPlist()
159 const BuildSettings* build_settings = scope_->settings()->build_settings(); in FillPartialInfoPlist()
160 SourceFile path = scope_->GetSourceDir().ResolveRelativeFile( in FillPartialInfoPlist()
176 scope_->GetValue(variables::kXcodeTestApplicationName, true); in FillXcodeTestApplicationName()
189 const Value* value = scope_->GetValue(variables::kCodeSigningScript, true); in FillCodeSigningScript()
196 SourceFile script_file = scope_->GetSourceDir().ResolveRelativeFile( in FillCodeSigningScript()
197 *value, err_, scope_->settings()->build_settings()->root_path_utf8()); in FillCodeSigningScript()
[all …]
Dconfig_values_generator.cc82 scope_(scope), in ConfigValuesGenerator()
90 GetStringList(scope_, #name, config_values_, &ConfigValues::name, err_); in Run()
92 GetDirList(scope_, #name, config_values_, input_dir_, &ConfigValues::name, \ in Run()
115 const Value* inputs_value = scope_->GetValue(variables::kInputs, true); in Run()
117 ExtractListOfRelativeFiles(scope_->settings()->build_settings(), in Run()
123 const Value* libs_value = scope_->GetValue(variables::kLibs, true); in Run()
125 ExtractListOfLibs(scope_->settings()->build_settings(), *libs_value, in Run()
130 const Value* externs_value = scope_->GetValue(variables::kExterns, true); in Run()
132 ExtractListOfExterns(scope_->settings()->build_settings(), *externs_value, in Run()
137 GetFrameworksList(scope_, variables::kFrameworks, config_values_, in Run()
[all …]
Drust_values_generator.cc26 scope_(scope), in RustValuesGenerator()
69 const Value* value = scope_->GetValue(variables::kRustCrateName, true); in FillCrateName()
83 const Value* value = scope_->GetValue(variables::kRustCrateType, true); in FillCrateType()
133 const Value* value = scope_->GetValue(variables::kRustCrateRoot, true); in FillCrateRoot()
158 if (!ExtractRelativeFile(scope_->settings()->build_settings(), *value, in FillCrateRoot()
159 scope_->GetSourceDir(), &dest, err_)) in FillCrateRoot()
167 const Value* value = scope_->GetValue(variables::kRustAliasedDeps, true); in FillAliasedDeps()
178 Label::Resolve(scope_->GetSourceDir(), in FillAliasedDeps()
179 scope_->settings()->build_settings()->root_path_utf8(), in FillAliasedDeps()
180 ToolchainLabelForScope(scope_), pair.second, err_); in FillAliasedDeps()
Dscope_per_file_provider.cc53 scope_->settings()->toolchain_label().GetUserVisibleName(false)); in GetCurrentToolchain()
62 scope_->settings()->default_toolchain_label().GetUserVisibleName( in GetDefaultToolchain()
80 FilePathToUTF8(scope_->settings()->build_settings()->python_path())); in GetPythonPath()
89 scope_->settings()->build_settings()->build_dir())); in GetRootBuildDir()
98 BuildDirContext(scope_), BuildDirType::GEN))); in GetRootGenDir()
107 scope_, BuildDirType::TOOLCHAIN_ROOT))); in GetRootOutDir()
116 scope_, BuildDirType::GEN))); in GetTargetGenDir()
125 scope_, BuildDirType::OBJ))); in GetTargetOutDir()
Dgenerated_file_target_generator.cc62 const Value* value = scope_->GetValue(variables::kWriteValueContents, true); in FillContents()
86 scope_->GetValue(variables::kWriteOutputConversion, true); in FillOutputConversion()
100 const Value* value = scope_->GetValue(variables::kRebase, true); in FillRebase()
111 const BuildSettings* build_settings = scope_->settings()->build_settings(); in FillRebase()
112 SourceDir dir = scope_->GetSourceDir().ResolveRelativeDir( in FillRebase()
122 const Value* value = scope_->GetValue(variables::kDataKeys, true); in FillDataKeys()
142 const Value* value = scope_->GetValue(variables::kWalkKeys, true); in FillWalkKeys()
Dswift_values_generator.cc18 : target_(target), scope_(scope), err_(err) {} in SwiftValuesGenerator()
31 const Value* value = scope_->GetValue(variables::kSwiftBridgeHeader, true); in FillBridgeHeader()
39 if (!ExtractRelativeFile(scope_->settings()->build_settings(), *value, in FillBridgeHeader()
40 scope_->GetSourceDir(), &dest, err_)) in FillBridgeHeader()
48 const Value* value = scope_->GetValue(variables::kSwiftModuleName, true); in FillModuleName()
Dtest_with_scope.cc27 scope_(&settings_), in TestWithScope()
28 scope_progammatic_provider_(&scope_, true) { in TestWithScope()
36 scope_.set_item_collector(&items_); in TestWithScope()
57 input.parsed()->Execute(&scope_, err); in ExecuteSnippet()
84 return node->Execute(&scope_, err); in ExecuteExpression()
Dscope.h54 explicit ProgrammaticProvider(Scope* scope) : scope_(scope) { in ProgrammaticProvider()
55 scope_->AddProvider(this); in ProgrammaticProvider()
64 Scope* scope_;
Doperators.cc59 Scope* scope_; member in __anon01ce5cb40111::ValueDestination
69 scope_(nullptr), in ValueDestination()
82 scope_ = exec_scope; in Init()
147 scope_ = base->scope_value(); in Init()
154 return scope_->GetValue(name_token_->value(), true); in GetExistingValue()
163 Value* value = scope_->GetMutableValue(name_token_->value(), in GetExistingMutableValueIfExists()
168 scope_->MarkUnused(name_token_->value()); in GetExistingMutableValueIfExists()
178 return scope_->SetValue(name_token_->value(), std::move(value), set_node); in SetValue()
Dtest_with_scope.h38 Scope* scope() { return &scope_; } in scope()
77 Scope scope_; variable
Dswift_values_generator.h30 Scope* scope_; variable
Dconfig_values_generator.h31 Scope* scope_; variable
Drust_values_generator.h31 Scope* scope_; variable
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_extension_lite.cc49 scope_ = in ImmutableExtensionLiteGenerator()
52 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); in ImmutableExtensionLiteGenerator()
61 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, in Generate()
107 printer->Print("registry.add($scope$.$name$);\n", "scope", scope_, "name", in GenerateRegistrationCode()
Djava_extension.cc53 scope_ = in ImmutableExtensionGenerator()
56 scope_ = name_resolver_->GetImmutableClassName(descriptor_->file()); in ImmutableExtensionGenerator()
115 InitTemplateVars(descriptor_, scope_, kUseImmutableNames, name_resolver_, in Generate()
164 printer->Print("registry.add($scope$.$name$);\n", "scope", scope_, "name", in GenerateRegistrationCode()
Djava_extension_lite.h65 std::string scope_; variable
/third_party/mindspore/mindspore/core/ir/
Dscope.h63 scope_ = scope; in ScopeGuard()
66 ~ScopeGuard() { ScopeManager::GetInstance().LeaveScope(scope_); } in ~ScopeGuard()
69 ScopePtr scope_;
Dfunc_graph_cloner.h66 void set_scope(const ScopePtr &scope) { scope_ = scope; } in set_scope()
67 const ScopePtr scope() const { return scope_; } in scope()
112 ScopePtr scope_; variable
/third_party/node/src/tracing/
Dtrace_event.h337 : scope_(scope), raw_id_(raw_id) {} in WithScope()
339 const char* scope() const { return scope_; } in scope()
342 const char* scope_ = nullptr;
362 : scope_(scoped_id.scope()), raw_id_(scoped_id.raw_id()) {} in DontMangle()
363 const char* scope() const { return scope_; } in scope()
367 const char* scope_ = nullptr;
398 : scope_(maybe_scoped_id.scope()), raw_id_(maybe_scoped_id.raw_id()) {} in TraceID()
428 : scope_(scoped_id.scope()), raw_id_(scoped_id.raw_id()) {} in TraceID()
431 const char* scope() const { return scope_; } in scope()
434 const char* scope_ = nullptr;
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dgenerate_graph.cc147 scope_ = cnode_->scope(); in Init()
148 if (!scope_) { in Init()
153 virtual_input_node_->set_scope(scope_); in Init()
164 cnode->set_scope(scope_); in PushBack()
/third_party/boost/libs/unordered/test/helpers/
Dexception_test.hpp74 char const* scope_; member in test::scope_guard
79 : old_scope_(scope), scope_(name), dismissed_(false) in scope_guard()
81 scope = scope_; in scope_guard()
/third_party/boost/tools/quickbook/src/
Dstate.cpp149 state_save::state_save(quickbook::state& state_, scope_flags scope_) in state_save() argument
151 , scope(scope_) in state_save()

12