Home
last modified time | relevance | path

Searched refs:setenv (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/third_party/benchmark/test/
Dcommandlineflags_gtest.cc12 int setenv(const char* name, const char* value, int overwrite) { in setenv() function
33 ASSERT_EQ(setenv("IN_ENV", "0", 1), 0); in TEST()
37 ASSERT_EQ(setenv("IN_ENV", "N", 1), 0); in TEST()
41 ASSERT_EQ(setenv("IN_ENV", "n", 1), 0); in TEST()
45 ASSERT_EQ(setenv("IN_ENV", "NO", 1), 0); in TEST()
49 ASSERT_EQ(setenv("IN_ENV", "No", 1), 0); in TEST()
53 ASSERT_EQ(setenv("IN_ENV", "no", 1), 0); in TEST()
57 ASSERT_EQ(setenv("IN_ENV", "F", 1), 0); in TEST()
61 ASSERT_EQ(setenv("IN_ENV", "f", 1), 0); in TEST()
65 ASSERT_EQ(setenv("IN_ENV", "FALSE", 1), 0); in TEST()
[all …]
/third_party/libffi/testsuite/lib/
Dtarget-libpath.exp59 setenv GCC_EXEC_PREFIX "$GCC_EXEC_PREFIX"
127 setenv LD_LIBRARY_PATH "$ld_library_path:$orig_ld_library_path"
129 setenv LD_LIBRARY_PATH "$ld_library_path"
132 setenv LD_RUN_PATH "$ld_library_path:$orig_ld_run_path"
134 setenv LD_RUN_PATH "$ld_library_path"
141 setenv SHLIB_PATH "$ld_library_path:$orig_shlib_path"
143 setenv SHLIB_PATH "$ld_library_path"
146 setenv LD_LIBRARYN32_PATH "$ld_library_path:$orig_ld_libraryn32_path"
148 setenv LD_LIBRARYN32_PATH "$ld_library_path:$orig_ld_library_path"
150 setenv LD_LIBRARYN32_PATH "$ld_library_path"
[all …]
/third_party/musl/libc-test/src/functionalext/time/
Dstrftime_ext.c39 setenv("TZ", handlerChar, 1); in strftime_0100()
67 setenv("TZ", handlerChar, 1); in strftime_0200()
94 setenv("TZ", handlerChar, 1); in strftime_0300()
120 setenv("TZ", handlerChar, 1); in strftime_0400()
146 setenv("TZ", handlerChar, 1); in strftime_0500()
172 setenv("TZ", handlerChar, 1); in strftime_0600()
198 setenv("TZ", handlerChar, 1); in strftime_0700()
Dmktime.c39 setenv("TZ", handlerChar, 1); in mktime_0100()
65 setenv("TZ", handlerChar, 1); in mktime64_0100()
Dctime.c39 setenv("TZ", handlerChar, 1); in ctime_0100()
65 setenv("TZ", handlerChar, 1); in ctime64_0100()
Ddifftime.c39 setenv("TZ", handlerChar, 1); in difftime_0100()
65 setenv("TZ", handlerChar, 1); in difftime64_0100()
Dtimegm.c40 setenv("TZ", handlerChar, 1); in timegm_0100()
67 setenv("TZ", handlerChar, 1); in timegm_time64_0100()
/third_party/musl/libc-test/src/functional/
Denv.c38 if (setenv("TEST", "2", 0)) in main()
45 if (setenv("TEST", "3", 0)) in main()
50 if (setenv("TEST", "3", 1)) in main()
56 if ((r=setenv("","",0)) != -1 || errno != EINVAL) in main()
/third_party/mesa3d/src/util/tests/cache/
Dcache_test.c203 setenv("MESA_GLSL_CACHE_DISABLE", "true", 1); in test_disk_cache_create()
219 setenv("MESA_GLSL_CACHE_DISABLE", "false", 1); in test_disk_cache_create()
241 setenv("XDG_CACHE_HOME", CACHE_TEST_TMP "/xdg-cache-home", 1); in test_disk_cache_create()
269 setenv("MESA_GLSL_CACHE_DIR", CACHE_TEST_TMP "/mesa-glsl-cache-dir", 1); in test_disk_cache_create()
309 setenv("MESA_GLSL_CACHE_DISABLE", "false", 1); in test_put_and_get()
352 setenv("MESA_GLSL_CACHE_MAX_SIZE", "1K", 1); in test_put_and_get()
415 setenv("MESA_GLSL_CACHE_MAX_SIZE", "1M", 1); in test_put_and_get()
487 setenv("MESA_GLSL_CACHE_DISABLE", "false", 1); in test_put_key_and_get_key()
543 setenv("MESA_GLSL_CACHE_DISABLE", "false", 1); in test_put_and_get_between_instances()
618 setenv("MESA_DISK_CACHE_SINGLE_FILE", "true", 1); in test_single_file_cache()
[all …]
/third_party/musl/libc-test/src/regression/
Dputenv-doublefree.c9 setenv("A", "1", 1); in main()
10 setenv("A", "2", 1); in main()
13 setenv("A", "4", 1); in main()
/third_party/toybox/lib/
Denv.c115 setenv("PATH", _PATH_DEFPATH, 1); in reset_env()
116 setenv("HOME", p->pw_dir, 1); in reset_env()
117 setenv("SHELL", p->pw_shell, 1); in reset_env()
118 setenv("USER", p->pw_name, 1); in reset_env()
119 setenv("LOGNAME", p->pw_name, 1); in reset_env()
/third_party/toybox/porting/liteos_a/toys/posix/
Ddate.c73 setenv("TZ", new_tz, 1); in parse_date()
79 if (old_tz) setenv("TZ", old_tz, 1); in parse_date()
121 setenv("TZ", "UTC", 1); in date_main()
165 if (tz) setenv("TZ", tz, 1); in date_main()
/third_party/toybox/toys/posix/
Ddate.c76 setenv("TZ", new_tz, 1); in parse_date()
82 if (old_tz) setenv("TZ", old_tz, 1); in parse_date()
124 setenv("TZ", "UTC", 1); in date_main()
168 if (tz) setenv("TZ", tz, 1); in date_main()
/third_party/boost/libs/nowide/src/
Dcstdlib.cpp24 int setenv(const char* key, const char* value, int overwrite) in setenv() function
26 return ::setenv(key, value, overwrite); in setenv()
73 int setenv(const char* key, const char* value, int overwrite) in setenv() function
/third_party/musl/libc-test/src/functionalext/locale/
Dsetlocale.c75 setenv(envforlocale[i], "en-US", 1); in setlocale_0200()
112 setenv(envforlocale[i], "da_DK", 1); in setlocale_0400()
158 setenv(envforlocale[i], "ar_QA", 1); in setlocale_0600()
/third_party/musl/libc-test/src/functionalext/supplement/locale/
Dsetlocale_sup.c68 setenv(envforlocale[i], "en-US", 1); in setlocale_0200()
105 setenv(envforlocale[i], "da_DK", 1); in setlocale_0400()
151 setenv(envforlocale[i], "ar_QA", 1); in setlocale_0600()
/third_party/openssl/test/
Dconf_include_test.c136 if (!TEST_int_eq(setenv("FNORD", "123", 1), 0) in test_check_null_numbers()
166 setenv("FNORD", max, 1); in test_check_overflow()
174 setenv("FNORD", max, 1); in test_check_overflow()
/third_party/musl/libc-test/src/functionalext/supplement/process/
Dexecvp.c52 setenv("ls", " ", 1); in execvp_0200()
54 setenv("ls", buff, 1); in execvp_0200()
/third_party/curl/tests/data/
Dtest20327 <setenv>
30 </setenv>
Dtest28830 <setenv>
32 </setenv>
Dtest116234 <setenv>
37 </setenv>
Dtest71129 <setenv>
31 </setenv>
Dtest126532 <setenv>
35 </setenv>
Dtest145931 <setenv>
33 </setenv>
/third_party/toybox/toys/pending/
Dtcpsvd.c364 setenv("PROTO", TT.udp ?"UDP" :"TCP", 1); in tcpsvd_main()
365 setenv("PROTOLOCALADDR", server, 1); in tcpsvd_main()
366 setenv("PROTOREMOTEADDR", client, 1); in tcpsvd_main()
368 setenv("PROTOLOCALHOST", serv, 1); in tcpsvd_main()
369 setenv("PROTOREMOTEHOST", clie, 1); in tcpsvd_main()
374 setenv("TCPCONCURRENCY", max_c, 1); //Not valid for udp in tcpsvd_main()

12345678910>>...15