Home
last modified time | relevance | path

Searched refs:enable_env_var (Results 1 – 3 of 3) sorted by relevance

/third_party/vulkan-loader/tests/
Dloader_layer_tests.cpp50 const char* enable_env_var = "ENABLE_ME"; in TEST() local
57 .set_enable_environment(enable_env_var)), in TEST()
68 set_env_var(enable_env_var, "0"); in TEST()
72 set_env_var(enable_env_var, "1"); in TEST()
75 remove_env_var(enable_env_var); in TEST()
86 set_env_var(enable_env_var, "1"); in TEST()
90 remove_env_var(enable_env_var); in TEST()
1406 const char* enable_env_var = "ENABLE_ME"; in TEST() local
1413 .set_enable_environment(enable_env_var)), in TEST()
1421 set_env_var(enable_env_var, "1"); in TEST()
[all …]
/third_party/vulkan-loader/loader/
Dloader_common.h144 struct loader_name_value enable_env_var; member
Dloader.c910 if (prop->enable_env_var.name[0] == 0) { in loader_implicit_layer_is_enabled()
914 env_value = loader_getenv(prop->enable_env_var.name, inst); in loader_implicit_layer_is_enabled()
915 if (env_value && !strcmp(prop->enable_env_var.value, env_value)) { in loader_implicit_layer_is_enabled()
2401 …strncpy(props->enable_env_var.name, enable_environment->child->string, sizeof(props->enable_env_va… in loader_read_layer_json()
2402 props->enable_env_var.name[sizeof(props->enable_env_var.name) - 1] = '\0'; in loader_read_layer_json()
2403 …strncpy(props->enable_env_var.value, enable_environment->child->valuestring, sizeof(props->enable_… in loader_read_layer_json()
2404 props->enable_env_var.value[sizeof(props->enable_env_var.value) - 1] = '\0'; in loader_read_layer_json()