Home
last modified time | relevance | path

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

/bionic/tests/
Dtime_test.cpp92 setenv("TZ", "UTC+08:00:00", 1); in TEST()
100 setenv("TZ", "gmtime_stack_overflow_14313703", 1); in gmtime_no_stack_overflow_14313703_fn()
103 setenv("TZ", original_tz, 1); in gmtime_no_stack_overflow_14313703_fn()
132 setenv("TZ", "America/Los_Angeles", 1); in TEST()
141 setenv("TZ", "", 1); // Implies UTC. in TEST()
157 setenv("TZ", "America/Los_Angeles", 1); in TEST()
193 setenv("TZ", "UTC", 1); in TEST()
220 setenv("TZ", "Europe/London", 1); in TEST()
230 setenv("TZ", "UTC", 1); in TEST()
252 setenv("TZ", "UTC", 1); in TEST()
[all …]
Dunistd_test.cpp283 ASSERT_EQ(0, setenv("test-variable", "hello", 1)); in TEST()
299 EXPECT_EQ(-1, setenv(nullptr, "value", 0)); in TEST()
301 EXPECT_EQ(-1, setenv(nullptr, "value", 1)); in TEST()
304 EXPECT_EQ(-1, setenv("", "value", 0)); in TEST()
306 EXPECT_EQ(-1, setenv("", "value", 1)); in TEST()
308 EXPECT_EQ(-1, setenv("a=b", "value", 0)); in TEST()
310 EXPECT_EQ(-1, setenv("a=b", "value", 1)); in TEST()
314 TEST(UNISTD_TEST, setenv) { in TEST() argument
322 EXPECT_EQ(0, setenv("test-variable", a, 0)); in TEST()
326 EXPECT_EQ(0, setenv("test-variable", b, 0)); in TEST()
[all …]
Dstdlib_test.cpp438 setenv("ENVIRONMENT_VARIABLE", "value", 1); in TestBug57421_child()
511 setenv("PATH", td.path, 1); in TEST()
Ddlfcn_test.cpp270 setenv("IFUNC_CHOICE", "set", 1); in TEST()
304 setenv("IFUNC_CHOICE", "set", 1); in TEST()
Dwchar_test.cpp575 setenv("TZ", "UTC", 1); in TEST()
Dstdio_test.cpp146 setenv("TMPDIR", td.path, 1); in TEST()
2884 setenv("TMPDIR", "/my/tmp/dir", 1); in tempnam_test()
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dsetenv.c92 setenv(const char *name, const char *value, int rewrite) in setenv() function
153 DEF_WEAK(setenv);
/bionic/benchmarks/linker_relocation/
Dlinker_reloc_bench.cpp50 setenv("LD_LIBRARY_PATH", test_lib_dir.c_str(), 1); in BM_linker_relocation()
/bionic/tests/headers/posix/
Dstdlib_h.c121 FUNCTION(setenv, int (*f)(const char*, const char*, int)); in stdlib_h()
/bionic/libc/include/
Dstdlib.h55 int setenv(const char* _Nonnull __name, const char* _Nonnull __value, int __overwrite);
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp60 ASSERT_EQ(0, setenv("LIBC_HOOKS_ENABLE", "1", true)); in SetUp()
/bionic/libc/malloc_debug/tests/
Dmalloc_debug_system_tests.cpp256 ASSERT_EQ(0, setenv("LIBC_DEBUG_MALLOC_OPTIONS", debug_options, 1)); in InternalExec()
/bionic/libc/tools/
Dposix-2013.txt906 setenv
/bionic/libc/
Dlibc.map.txt921 setenv;
DAndroid.bp565 "upstream-openbsd/lib/libc/stdlib/setenv.c",
/bionic/tools/versioner/platforms/
Dlibc.map.txt921 setenv;
/bionic/benchmarks/linker_relocation/gen/
Dliblinker_reloc_bench_028.S6721 CALL(setenv)
Dliblinker_reloc_bench_000.S7550 CALL(setenv)