Home | History | Annotate | Download | only in layers

Lines Matching refs:string

29 #include <string.h>
30 #include <string>
45 const char *getOption(const std::string &_option);
46 void setOption(const std::string &_option, const std::string &_val);
50 std::map<std::string, std::string> m_valueMap;
57 std::string getEnvironment(const char *variable) {
68 std::string output = buffer;
99 VK_LAYER_EXPORT VkFlags GetLayerOptionFlags(std::string _option, std::unordered_map<std::string, VkFlags> const &enum_data,
102 std::string option_list = g_configFileObj.getOption(_option.c_str());
105 // Find length of option string
112 const std::string option = option_list.substr(0, option_length);
175 const char *ConfigFile::getOption(const std::string &_option) {
176 std::map<std::string, std::string>::const_iterator it;
178 std::string envPath = getEnvironment("VK_LAYER_SETTINGS_PATH");
199 void ConfigFile::setOption(const std::string &_option, const std::string &_val) {
201 std::string envPath = getEnvironment("VK_LAYER_SETTINGS_PATH");
243 std::string optStr(option);
244 std::string valStr(value);