Home
last modified time | relevance | path

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

/bionic/tests/
Dtime_test.cpp87 setenv("TZ", "gmtime_stack_overflow_14313703", 1); in gmtime_no_stack_overflow_14313703_fn()
90 setenv("TZ", original_tz, 1); in gmtime_no_stack_overflow_14313703_fn()
119 setenv("TZ", "America/Los_Angeles", 1); in TEST()
128 setenv("TZ", "", 1); // Implies UTC. in TEST()
148 setenv("TZ", "America/Los_Angeles", 1); in TEST()
154 setenv("TZ", "UTC", 1); in TEST()
185 setenv("TZ", "UTC", 1); in TEST()
213 setenv("TZ", "America/Los_Angeles", 1); in TEST()
230 setenv("TZ", "UTC", 1); in TEST()
248 setenv("TZ", "UTC", 1); in TEST()
[all …]
Dunistd_test.cpp273 ASSERT_EQ(0, setenv("test-variable", "hello", 1)); in TEST()
287 EXPECT_EQ(-1, setenv(NULL, "value", 0)); in TEST()
289 EXPECT_EQ(-1, setenv(NULL, "value", 1)); in TEST()
291 EXPECT_EQ(-1, setenv("", "value", 0)); in TEST()
293 EXPECT_EQ(-1, setenv("", "value", 1)); in TEST()
295 EXPECT_EQ(-1, setenv("a=b", "value", 0)); in TEST()
297 EXPECT_EQ(-1, setenv("a=b", "value", 1)); in TEST()
301 TEST(UNISTD_TEST, setenv) { in TEST() argument
309 EXPECT_EQ(0, setenv("test-variable", a, 0)); in TEST()
313 EXPECT_EQ(0, setenv("test-variable", b, 0)); in TEST()
[all …]
Ddlfcn_test.cpp276 setenv("IFUNC_CHOICE", "set", 1); in TEST()
310 setenv("IFUNC_CHOICE", "set", 1); in TEST()
Dstdlib_test.cpp360 setenv("ENVIRONMENT_VARIABLE", "value", 1); in TestBug57421_child()
Dwchar_test.cpp543 setenv("TZ", "UTC", 1); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dsetenv.c90 setenv(const char *name, const char *value, int rewrite) in setenv() function
149 DEF_WEAK(setenv);
/bionic/tests/headers/posix/
Dstdlib_h.c121 FUNCTION(setenv, int (*f)(const char*, const char*, int)); in stdlib_h()
/bionic/libc/include/
Dstdlib.h59 int setenv(const char* __name, const char* __value, int __overwrite);
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp58 ASSERT_EQ(0, setenv("LIBC_HOOKS_ENABLE", "1", true)); in SetUp()
/bionic/libc/tools/
Dposix-2013.txt906 setenv
/bionic/libc/
Dlibc.arm64.map837 setenv;
Dlibc.x86_64.map837 setenv;
Dlibc.mips64.map837 setenv;
Dlibc.x86.map892 setenv;
Dlibc.mips.map894 setenv;
Dlibc.arm.map896 setenv;
Dlibc.map.txt921 setenv;
DAndroid.bp483 "upstream-openbsd/lib/libc/stdlib/setenv.c",