Lines Matching refs:setenv
1828 static void SetEnv(const char* name, const char* value) {
1857 setenv(name, value, 1);
1872 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "");
1881 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12345678987654321");
1884 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-12345678987654321");
1893 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "A1");
1896 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12X");
1904 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "123");
1907 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-321");
1971 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "123");
1973 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "-123");
1981 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "xxx");
1990 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "1234567891234567891234");
2014 SetEnv(index_var_, "");
2015 SetEnv(total_var_, "");
2025 SetEnv(index_var_, "");
2026 SetEnv(total_var_, "");
2034 SetEnv(index_var_, "0");
2035 SetEnv(total_var_, "1");
2045 SetEnv(index_var_, "4");
2046 SetEnv(total_var_, "22");
2050 SetEnv(index_var_, "8");
2051 SetEnv(total_var_, "9");
2055 SetEnv(index_var_, "0");
2056 SetEnv(total_var_, "9");
2067 SetEnv(index_var_, "4");
2068 SetEnv(total_var_, "4");
2071 SetEnv(index_var_, "4");
2072 SetEnv(total_var_, "-2");
2075 SetEnv(index_var_, "5");
2076 SetEnv(total_var_, "");
2079 SetEnv(index_var_, "");
2080 SetEnv(total_var_, "5");
6392 SetEnv("TERM", "xterm"); // TERM supports colors.
6396 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6402 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6417 SetEnv("TERM", "xterm"); // TERM supports colors.
6421 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6427 SetEnv("TERM", "xterm"); // TERM supports colors.
6442 SetEnv("TERM", "xterm"); // TERM supports colors.
6453 SetEnv("TERM", "dumb");
6456 SetEnv("TERM", "");
6459 SetEnv("TERM", "xterm");
6465 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6468 SetEnv("TERM", "emacs"); // TERM doesn't support colors.
6471 SetEnv("TERM", "vt100"); // TERM doesn't support colors.
6474 SetEnv("TERM", "xterm-mono"); // TERM doesn't support colors.
6477 SetEnv("TERM", "xterm"); // TERM supports colors.
6480 SetEnv("TERM", "xterm-color"); // TERM supports colors.
6483 SetEnv("TERM", "xterm-256color"); // TERM supports colors.
6486 SetEnv("TERM", "screen"); // TERM supports colors.
6489 SetEnv("TERM", "linux"); // TERM supports colors.
6492 SetEnv("TERM", "cygwin"); // TERM supports colors.