Lines Matching refs:m_variables
41 static std::map< std::string, std::string > m_variables;
44 // Adds all predefined standard build-time variables to the m_variables
53 PRE(m_variables.empty());
55 m_variables["atf_arch"] = atf_config_get("atf_arch");
56 m_variables["atf_build_cc"] = atf_config_get("atf_build_cc");
57 m_variables["atf_build_cflags"] = atf_config_get("atf_build_cflags");
58 m_variables["atf_build_cpp"] = atf_config_get("atf_build_cpp");
59 m_variables["atf_build_cppflags"] = atf_config_get("atf_build_cppflags");
60 m_variables["atf_build_cxx"] = atf_config_get("atf_build_cxx");
61 m_variables["atf_build_cxxflags"] = atf_config_get("atf_build_cxxflags");
62 m_variables["atf_confdir"] = atf_config_get("atf_confdir");
63 m_variables["atf_includedir"] = atf_config_get("atf_includedir");
64 m_variables["atf_libdir"] = atf_config_get("atf_libdir");
65 m_variables["atf_libexecdir"] = atf_config_get("atf_libexecdir");
66 m_variables["atf_machine"] = atf_config_get("atf_machine");
67 m_variables["atf_pkgdatadir"] = atf_config_get("atf_pkgdatadir");
68 m_variables["atf_shell"] = atf_config_get("atf_shell");
69 m_variables["atf_workdir"] = atf_config_get("atf_workdir");
71 POST(!m_variables.empty());
77 if (m_variables.empty())
81 return m_variables[varname];
87 if (m_variables.empty())
90 return m_variables;
96 if (m_variables.empty())
99 return m_variables.find(varname) != m_variables.end();
120 m_variables.clear();