Lines Matching +refs:val +refs:value
78 is_in(const std::string& value, const std::vector< std::string >& v)
80 return std::find(v.begin(), v.end(), value) != v.end();
91 got_conf(const std::string& name, const std::string& val)
93 m_calls.push_back("got_conf(" + name + ", " + val + ")");
97 got_prop(const std::string& name, const std::string& val)
99 m_calls.push_back("got_prop(" + name + ", " + val + ")");
190 "conf: var7 = \"This is a long value.\"\n"
203 "got_conf(var7, This is a long value.)",
232 "prop: var7 = \"This is a long value.\"\n"
245 "got_prop(var7, This is a long value.)",
445 "prop: foo = \"Correct value\" # With comment.\n"
455 "got_prop(foo, Correct value)",
502 config_vars["config-var-1"] = "value 1";