Home
last modified time | relevance | path

Searched refs:GetEnvironmentVar (Results 1 – 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DSystemUtilsTests.cpp25 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/
DSystemUtils.cpp41 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()
DSystemUtils.h25 std::pair<std::string, bool> GetEnvironmentVar(const char* variableName);
/third_party/skia/third_party/externals/angle2/src/common/
Dsystem_utils.cpp75 return GetEnvironmentVar(variableName); in GetEnvironmentVarOrUnCachedAndroidProperty()
81 std::string envVarString = GetEnvironmentVar(variableName); in GetBoolEnvironmentVar()
87 std::string oldValue = GetEnvironmentVar(variableName); in PrependPathToEnvironmentVar()
Dsystem_utils_unittest.cpp53 std::string readback = GetEnvironmentVar(kEnvVarName); in TEST()
59 readback = GetEnvironmentVar(kEnvVarName); in TEST()
Dsystem_utils_winuwp.cpp27 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
Dsystem_utils.h31 std::string GetEnvironmentVar(const char *variableName);
Dsystem_utils_win32.cpp26 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
Dsystem_utils_posix.cpp69 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
/third_party/skia/third_party/externals/angle2/src/common/vulkan/
Dvulkan_icd.cpp93 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/
Ddriver_utils.cpp287 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/
Dsystem_utils_unittest.cpp89 std::string readback = GetEnvironmentVar(kEnvVarName); in TEST()
95 readback = GetEnvironmentVar(kEnvVarName); in TEST()
Dsystem_utils.cpp15 std::string oldValue = GetEnvironmentVar(variableName); in PrependPathToEnvironmentVar()
Dsystem_utils_unittest_helper.cpp21 std::string env = angle::GetEnvironmentVar(kRunAppTestEnvVarName); in main()
Dsystem_utils.h24 std::string GetEnvironmentVar(const char *variableName);
Dsystem_utils_posix.cpp97 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
Dsystem_utils_win.cpp114 std::string GetEnvironmentVar(const char *variableName) in GetEnvironmentVar() function
/third_party/skia/third_party/externals/angle2/util/
Dtest_utils_unittest_helper.cpp43 std::string env = angle::GetEnvironmentVar(kRunAppTestEnvVarName); in main()
/third_party/skia/third_party/externals/angle2/src/tests/util_tests/
DPrintSystemInfoTest.cpp48 std::string previous_display = GetEnvironmentVar(kX11DisplayEnvVar); in TEST()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/util_tests/
DPrintSystemInfoTest.cpp48 std::string previous_display = GetEnvironmentVar(kX11DisplayEnvVar); in TEST()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/linux/xcb/
DDisplayVkXcb.cpp51 mHasXDisplay = !angle::GetEnvironmentVar("DISPLAY").empty(); in initialize()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DTestSuite.cpp1115 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/
Dglobal_state.cpp309 if (angle::GetEnvironmentVar("ANGLE_WAIT_FOR_DEBUGGER") == "1") in DllMain()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DAdapterDiscoveryTests.cpp192 if (GetEnvironmentVar("ANGLE_DEFAULT_PLATFORM").first.empty()) { in TEST()
/third_party/skia/third_party/externals/dawn/examples/
DSampleUtils.cpp96 if (GetEnvironmentVar("ANGLE_DEFAULT_PLATFORM").first.empty()) { in CreateCppDawnDevice()

12