Home | History | Annotate | Download | only in test

Lines Matching full:setenv

2090 static void SetEnv(const char* name, const char* value) {
2115 setenv(name, value, 1);
2130 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "");
2139 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12345678987654321");
2142 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-12345678987654321");
2151 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "A1");
2154 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "12X");
2162 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "123");
2165 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "TEMP", "-321");
2229 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "123");
2231 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "UnsetVar", "-123");
2239 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "xxx");
2248 SetEnv(GTEST_FLAG_PREFIX_UPPER_ "VAR", "1234567891234567891234");
2272 SetEnv(index_var_, "");
2273 SetEnv(total_var_, "");
2283 SetEnv(index_var_, "");
2284 SetEnv(total_var_, "");
2292 SetEnv(index_var_, "0");
2293 SetEnv(total_var_, "1");
2303 SetEnv(index_var_, "4");
2304 SetEnv(total_var_, "22");
2308 SetEnv(index_var_, "8");
2309 SetEnv(total_var_, "9");
2313 SetEnv(index_var_, "0");
2314 SetEnv(total_var_, "9");
2325 SetEnv(index_var_, "4");
2326 SetEnv(total_var_, "4");
2329 SetEnv(index_var_, "4");
2330 SetEnv(total_var_, "-2");
2333 SetEnv(index_var_, "5");
2334 SetEnv(total_var_, "");
2337 SetEnv(index_var_, "");
2338 SetEnv(total_var_, "5");
6301 SetEnv("TERM", "xterm"); // TERM supports colors.
6305 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6311 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6326 SetEnv("TERM", "xterm"); // TERM supports colors.
6330 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6336 SetEnv("TERM", "xterm"); // TERM supports colors.
6351 SetEnv("TERM", "xterm"); // TERM supports colors.
6362 SetEnv("TERM", "dumb");
6365 SetEnv("TERM", "");
6368 SetEnv("TERM", "xterm");
6374 SetEnv("TERM", "dumb"); // TERM doesn't support colors.
6377 SetEnv("TERM", "emacs"); // TERM doesn't support colors.
6380 SetEnv("TERM", "vt100"); // TERM doesn't support colors.
6383 SetEnv("TERM", "xterm-mono"); // TERM doesn't support colors.
6386 SetEnv("TERM", "xterm"); // TERM supports colors.
6389 SetEnv("TERM", "xterm-color"); // TERM supports colors.
6392 SetEnv("TERM", "linux"); // TERM supports colors.