Searched refs:environ (Results 1 – 20 of 20) sorted by relevance
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
D | setenv.c | 57 environ[offset++] = str; in putenv() 60 for (P = &environ[offset];; ++P) in putenv() 68 if (environ != NULL) { in putenv() 69 for (P = environ; *P != NULL; P++) in putenv() 71 cnt = P - environ; in putenv() 76 if (lastenv != environ && environ != NULL) in putenv() 77 memcpy(P, environ, cnt * sizeof(char *)); in putenv() 78 lastenv = environ = P; in putenv() 79 environ[cnt] = str; in putenv() 80 environ[cnt + 1] = NULL; in putenv() [all …]
|
D | getenv.c | 52 if (name == NULL || environ == NULL) in __findenv() 54 for (p = environ + *offset; (cp = *p) != NULL; ++p) { in __findenv() 59 *offset = p - environ; in __findenv()
|
/bionic/libc/bionic/ |
D | exec.cpp | 45 extern "C" char** environ; 69 char** argp = (variant == ExecLE) ? va_arg(ap, char**) : environ; in __execl() 101 return execve(name, argv, environ); in execv() 105 return execvpe(name, argv, environ); in execvp()
|
D | environ.cpp | 35 char** environ; variable
|
D | libc_init_common.cpp | 105 environ = __libc_shared_globals()->init_environ; in __libc_init_common() 345 environ = __libc_shared_globals()->init_environ = env; in __libc_init_AT_SECURE()
|
D | clearenv.cpp | 33 char** e = environ; in clearenv()
|
D | system.cpp | 62 const_cast<char**>(argv), environ)) != 0) { in system()
|
D | spawn.cpp | 159 exec_fn(path, argv, env ? env : environ); in posix_spawn()
|
/bionic/libc/tools/ |
D | check-symbols.py | 10 toolchain = os.environ['ANDROID_TOOLCHAIN'] 31 …path = '%s/development/ndk/platforms/android-%s/arch-%s/symbols/%s.so.%s.txt' % (os.environ['ANDRO… 45 so_file = '%s/system/%s/%s.so' % (os.environ['ANDROID_PRODUCT_OUT'], lib_dir, library)
|
D | symbols.py | 58 out_dir = os.environ['ANDROID_PRODUCT_OUT'] 74 out_dir = os.environ['ANDROID_PRODUCT_OUT']
|
D | check-symbols-glibc.py | 30 toolchain = os.environ['ANDROID_TOOLCHAIN']
|
D | posix-2013.txt | 198 environ
|
/bionic/benchmarks/spawn/ |
D | spawn_benchmark.cpp | 39 extern char** environ; 45 environ)) { in BM_spawn_test()
|
/bionic/libc/kernel/tools/ |
D | utils.py | 33 if "ANDROID_BUILD_TOP" in os.environ: 37 root = os.environ["ANDROID_BUILD_TOP"] 40 return os.environ["ANDROID_BUILD_TOP"]
|
D | update_all.py | 80 libc_root = '%s/bionic/libc/' % os.environ['ANDROID_BUILD_TOP']
|
/bionic/tests/ |
D | unistd_test.cpp | 357 extern char** environ; in TEST() 364 for (size_t i = 0; environ[i] != nullptr; ++i) { in TEST() 365 old_environ.push_back(strdup(environ[i])); in TEST() 370 EXPECT_TRUE(environ == nullptr || environ[0] == nullptr); in TEST()
|
/bionic/libc/include/ |
D | unistd.h | 76 extern char** environ;
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 306 environ; # var
|
/bionic/libc/ |
D | libc.map.txt | 306 environ; # var
|
D | Android.bp | 1028 "bionic/environ.cpp",
|