Home
last modified time | relevance | path

Searched refs:LookupVariable (Results 1 – 6 of 6) sorted by relevance

/third_party/ninja/src/
Deval_env.cc21 string BindingEnv::LookupVariable(const string& var) { in LookupVariable() function in BindingEnv
26 return parent_->LookupVariable(var); in LookupVariable()
96 return parent_->LookupVariable(var); in LookupWithFallback()
107 result.append(env->LookupVariable(i->first)); in Evaluate()
Deval_env.h29 virtual std::string LookupVariable(const std::string& var) = 0;
86 virtual std::string LookupVariable(const std::string& var);
Dmanifest_parser_test.cc106 EXPECT_EQ("1", state.bindings_.LookupVariable("variable")); in TEST_F()
164 EXPECT_EQ("1/2", state.bindings_.LookupVariable("nested2")); in TEST_F()
208 EXPECT_EQ("bar\\baz", state.bindings_.LookupVariable("foo")); in TEST_F()
209 EXPECT_EQ("bar\\ baz", state.bindings_.LookupVariable("foo2")); in TEST_F()
216 EXPECT_EQ("not # a comment", state.bindings_.LookupVariable("foo")); in TEST_F()
227 EXPECT_EQ("$dollar", state.bindings_.LookupVariable("x")); in TEST_F()
935 EXPECT_EQ("inner", state.bindings_.LookupVariable("var")); in TEST_F()
Dgraph.cc389 virtual string LookupVariable(const string& var);
402 string EdgeEnv::LookupVariable(const string& var) { in LookupVariable() function in EdgeEnv
493 return env.LookupVariable(key); in GetBinding()
502 return env.LookupVariable("depfile"); in GetUnescapedDepfile()
507 return env.LookupVariable("dyndep"); in GetUnescapedDyndep()
512 return env.LookupVariable("rspfile"); in GetUnescapedRspfile()
Dbuild.cc761 std::string toolchain_whole_status = edge->env_->LookupVariable("toolchain_whole_status"); in GetContent()
764 return SplicingWholeContent(content, edge->env_->LookupVariable("whole-archive"), true); in GetContent()
766 return SplicingWholeContent(content, edge->env_->LookupVariable("no-whole-archive"), false); in GetContent()
Dninja.cc1320 build_dir_ = state_.bindings_.LookupVariable("builddir"); in EnsureBuildDirExists()