Searched refs:LookupVariable (Results 1 – 5 of 5) sorted by relevance
19 string BindingEnv::LookupVariable(const string& var) { in LookupVariable() function in BindingEnv24 return parent_->LookupVariable(var); in LookupVariable()94 return parent_->LookupVariable(var); in LookupWithFallback()105 result.append(env->LookupVariable(i->first)); in Evaluate()
30 virtual string LookupVariable(const string& var) = 0;87 virtual string LookupVariable(const string& var);
329 virtual string LookupVariable(const string& var);342 string EdgeEnv::LookupVariable(const string& var) { in LookupVariable() function in EdgeEnv411 return env.LookupVariable(key); in GetBinding()420 return env.LookupVariable("depfile"); in GetUnescapedDepfile()425 return env.LookupVariable("dyndep"); in GetUnescapedDyndep()430 return env.LookupVariable("rspfile"); in GetUnescapedRspfile()
104 EXPECT_EQ("1", state.bindings_.LookupVariable("variable")); in TEST_F()162 EXPECT_EQ("1/2", state.bindings_.LookupVariable("nested2")); in TEST_F()206 EXPECT_EQ("bar\\baz", state.bindings_.LookupVariable("foo")); in TEST_F()207 EXPECT_EQ("bar\\ baz", state.bindings_.LookupVariable("foo2")); in TEST_F()214 EXPECT_EQ("not # a comment", state.bindings_.LookupVariable("foo")); in TEST_F()225 EXPECT_EQ("$dollar", state.bindings_.LookupVariable("x")); in TEST_F()934 EXPECT_EQ("inner", state.bindings_.LookupVariable("var")); in TEST_F()
1179 build_dir_ = state_.bindings_.LookupVariable("builddir"); in EnsureBuildDirExists()