Lines Matching refs:SetEnv
463 setenv(("TZ"), time_zone, 1);
1622 static void SetEnv(const char* name, const char* value) {
1652 setenv(name, value, 1);
1667 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "");
1676 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12345678987654321");
1679 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-12345678987654321");
1688 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "A1");
1691 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12X");
1699 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "123");
1702 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-321");
1766 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "123");
1768 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "-123");
1776 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "xxx");
1785 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "1234567891234567891234");
1809 SetEnv(index_var_, "");
1810 SetEnv(total_var_, "");
1820 SetEnv(index_var_, "");
1821 SetEnv(total_var_, "");
1829 SetEnv(index_var_, "0");
1830 SetEnv(total_var_, "1");
1840 SetEnv(index_var_, "4");
1841 SetEnv(total_var_, "22");
1845 SetEnv(index_var_, "8");
1846 SetEnv(total_var_, "9");
1850 SetEnv(index_var_, "0");
1851 SetEnv(total_var_, "9");
1862 SetEnv(index_var_, "4");
1863 SetEnv(total_var_, "4");
1866 SetEnv(index_var_, "4");
1867 SetEnv(total_var_, "-2");
1870 SetEnv(index_var_, "5");
1871 SetEnv(total_var_, "");
1874 SetEnv(index_var_, "");
1875 SetEnv(total_var_, "5");
6466 SetEnv("TERM", "xterm"); // TERM supports colors.
6470 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6476 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6491 SetEnv("TERM", "xterm"); // TERM supports colors.
6495 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6501 SetEnv("TERM", "xterm"); // TERM supports colors.
6516 SetEnv("TERM", "xterm"); // TERM supports colors.
6527 SetEnv("TERM", "dumb");
6530 SetEnv("TERM", "");
6533 SetEnv("TERM", "xterm");
6539 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6542 SetEnv("TERM", "emacs"); // TERM doesn't support colors.
6545 SetEnv("TERM", "vt100"); // TERM doesn't support colors.
6548 SetEnv("TERM", "xterm-mono"); // TERM doesn't support colors.
6551 SetEnv("TERM", "xterm"); // TERM supports colors.
6554 SetEnv("TERM", "xterm-color"); // TERM supports colors.
6557 SetEnv("TERM", "xterm-256color"); // TERM supports colors.
6560 SetEnv("TERM", "screen"); // TERM supports colors.
6563 SetEnv("TERM", "screen-256color"); // TERM supports colors.
6566 SetEnv("TERM", "linux"); // TERM supports colors.
6569 SetEnv("TERM", "cygwin"); // TERM supports colors.