Lines Matching defs:SetEnv
1768 static void SetEnv(const char* name, const char* value) {
1797 setenv(name, value, 1);
1812 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "");
1821 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12345678987654321");
1824 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-12345678987654321");
1833 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "A1");
1836 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12X");
1844 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "123");
1847 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-321");
1911 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "123");
1913 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "-123");
1921 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "xxx");
1930 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "1234567891234567891234");
1954 SetEnv(index_var_, "");
1955 SetEnv(total_var_, "");
1965 SetEnv(index_var_, "");
1966 SetEnv(total_var_, "");
1974 SetEnv(index_var_, "0");
1975 SetEnv(total_var_, "1");
1985 SetEnv(index_var_, "4");
1986 SetEnv(total_var_, "22");
1990 SetEnv(index_var_, "8");
1991 SetEnv(total_var_, "9");
1995 SetEnv(index_var_, "0");
1996 SetEnv(total_var_, "9");
2007 SetEnv(index_var_, "4");
2008 SetEnv(total_var_, "4");
2011 SetEnv(index_var_, "4");
2012 SetEnv(total_var_, "-2");
2015 SetEnv(index_var_, "5");
2016 SetEnv(total_var_, "");
2019 SetEnv(index_var_, "");
2020 SetEnv(total_var_, "5");
6176 SetEnv("TERM", "xterm"); // TERM supports colors.
6180 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6186 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6201 SetEnv("TERM", "xterm"); // TERM supports colors.
6205 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6211 SetEnv("TERM", "xterm"); // TERM supports colors.
6226 SetEnv("TERM", "xterm"); // TERM supports colors.
6237 SetEnv("TERM", "dumb");
6240 SetEnv("TERM", "");
6243 SetEnv("TERM", "xterm");
6249 SetEnv
6252 SetEnv("TERM", "emacs"); // TERM doesn't support colors.
6255 SetEnv("TERM", "vt100"); // TERM doesn't support colors.
6258 SetEnv("TERM", "xterm-mono"); // TERM doesn't support colors.
6261 SetEnv("TERM", "xterm"); // TERM supports colors.
6264 SetEnv("TERM", "xterm-color"); // TERM supports colors.
6267 SetEnv("TERM", "linux"); // TERM supports colors.