Searched refs:LookupVariable (Results 1 – 6 of 6) sorted by relevance
/third_party/ninja/src/ |
D | eval_env.cc | 21 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()
|
D | eval_env.h | 29 virtual std::string LookupVariable(const std::string& var) = 0; 86 virtual std::string LookupVariable(const std::string& var);
|
D | manifest_parser_test.cc | 106 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()
|
D | graph.cc | 389 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()
|
D | build.cc | 761 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()
|
D | ninja.cc | 1320 build_dir_ = state_.bindings_.LookupVariable("builddir"); in EnsureBuildDirExists()
|