/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | SystemUtilsTests.cpp | 25 TEST(SystemUtilsTests, GetEnvironmentVar) { in TEST() argument 27 EXPECT_THAT(GetEnvironmentVar("NonexistentEnvironmentVar"), Pair("", false)); in TEST() 34 EXPECT_THAT(GetEnvironmentVar("EnvironmentVarForTest"), Pair("NewEnvironmentVarValue", true)); in TEST() 37 EXPECT_THAT(GetEnvironmentVar("EnvironmentVarForTest"), in TEST() 60 EXPECT_THAT(GetEnvironmentVar("ScopedEnvironmentVarForTest"), in TEST() 63 EXPECT_THAT(GetEnvironmentVar("ScopedEnvironmentVarForTest"), Pair("original", true)); in TEST() 68 EXPECT_THAT(GetEnvironmentVar("ScopedEnvironmentVarForTest"), in TEST() 71 EXPECT_THAT(GetEnvironmentVar("ScopedEnvironmentVarForTest"), Pair("original", true)); in TEST() 76 EXPECT_THAT(GetEnvironmentVar("ScopedEnvironmentVarForTest"), Pair("outer", true)); in TEST() 79 EXPECT_THAT(GetEnvironmentVar("ScopedEnvironmentVarForTest"), Pair("inner", true)); in TEST() [all …]
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | SystemUtils.cpp | 41 std::pair<std::string, bool> GetEnvironmentVar(const char* variableName) { in GetEnvironmentVar() function 74 std::pair<std::string, bool> GetEnvironmentVar(const char* variableName) { in GetEnvironmentVar() function 184 mOriginalValue(GetEnvironmentVar(variableName)), in ScopedEnvironmentVar() 200 mOriginalValue = GetEnvironmentVar(variableName); in Set()
|
D | SystemUtils.h | 25 std::pair<std::string, bool> GetEnvironmentVar(const char* variableName);
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | system_utils.cpp | 75 return GetEnvironmentVar(variableName); in GetEnvironmentVarOrUnCachedAndroidProperty() 81 std::string envVarString = GetEnvironmentVar(variableName); in GetBoolEnvironmentVar() 87 std::string oldValue = GetEnvironmentVar(variableName); in PrependPathToEnvironmentVar()
|
D | system_utils_unittest.cpp | 53 std::string readback = GetEnvironmentVar(kEnvVarName); in TEST() 59 readback = GetEnvironmentVar(kEnvVarName); in TEST()
|
D | system_utils_winuwp.cpp | 27 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
|
D | system_utils.h | 31 std::string GetEnvironmentVar(const char *variableName);
|
D | system_utils_win32.cpp | 26 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
|
D | system_utils_posix.cpp | 69 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
|
/third_party/skia/third_party/externals/angle2/src/common/vulkan/ |
D | vulkan_icd.cpp | 93 angle::GetEnvironmentVar(kANGLEPreferredDeviceEnv); in GetFilterForICD() 203 mPreviousICDEnv = angle::GetEnvironmentVar(kLoaderICDFilenamesEnv); in setICDEnvironment() 228 mPreviousCustomExtensionsEnv = angle::GetEnvironmentVar(kValidationLayersCustomSTypeListEnv); in setCustomExtensionsEnvironment()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | driver_utils.cpp | 287 if (!angle::GetEnvironmentVar("WAYLAND_DISPLAY").empty()) in IsWayland() 291 else if (angle::GetEnvironmentVar("XDG_SESSION_TYPE") == "wayland") in IsWayland() 295 else if (angle::GetEnvironmentVar("DESKTOP_SESSION").find("wayland") != in IsWayland()
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | system_utils_unittest.cpp | 89 std::string readback = GetEnvironmentVar(kEnvVarName); in TEST() 95 readback = GetEnvironmentVar(kEnvVarName); in TEST()
|
D | system_utils.cpp | 15 std::string oldValue = GetEnvironmentVar(variableName); in PrependPathToEnvironmentVar()
|
D | system_utils_unittest_helper.cpp | 21 std::string env = angle::GetEnvironmentVar(kRunAppTestEnvVarName); in main()
|
D | system_utils.h | 24 std::string GetEnvironmentVar(const char *variableName);
|
D | system_utils_posix.cpp | 97 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
|
D | system_utils_win.cpp | 114 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
|
/third_party/skia/third_party/externals/angle2/util/ |
D | test_utils_unittest_helper.cpp | 43 std::string env = angle::GetEnvironmentVar(kRunAppTestEnvVarName); in main()
|
/third_party/skia/third_party/externals/angle2/src/tests/util_tests/ |
D | PrintSystemInfoTest.cpp | 48 std::string previous_display = GetEnvironmentVar(kX11DisplayEnvVar); in TEST()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/util_tests/ |
D | PrintSystemInfoTest.cpp | 48 std::string previous_display = GetEnvironmentVar(kX11DisplayEnvVar); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/xcb/ |
D | DisplayVkXcb.cpp | 51 mHasXDisplay = !angle::GetEnvironmentVar("DISPLAY").empty(); in initialize()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/ |
D | TestSuite.cpp | 1115 std::string envShardIndex = angle::GetEnvironmentVar("GTEST_SHARD_INDEX"); in TestSuite() 1126 std::string envTotalShards = angle::GetEnvironmentVar("GTEST_TOTAL_SHARDS"); in TestSuite() 1143 if (GetEnvironmentVar(kPreferredDeviceEnvVar).empty()) in TestSuite() 1168 std::string tsanOptions = GetEnvironmentVar(kTSanOptionsEnvVar); in TestSuite() 1175 std::string ubsanOptions = GetEnvironmentVar(kUBSanOptionsEnvVar); in TestSuite() 1335 if (mModifiedPreferredDevice && !angle::GetEnvironmentVar(kPreferredDeviceEnvVar).empty()) in ~TestSuite()
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
D | global_state.cpp | 309 if (angle::GetEnvironmentVar("ANGLE_WAIT_FOR_DEBUGGER") == "1") in DllMain()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | AdapterDiscoveryTests.cpp | 192 if (GetEnvironmentVar("ANGLE_DEFAULT_PLATFORM").first.empty()) { in TEST()
|
/third_party/skia/third_party/externals/dawn/examples/ |
D | SampleUtils.cpp | 96 if (GetEnvironmentVar("ANGLE_DEFAULT_PLATFORM").first.empty()) { in CreateCppDawnDevice()
|