Home
last modified time | relevance | path

Searched refs:environ (Results 1 – 25 of 27) sorted by relevance

12

/bionic/libc/upstream-openbsd/lib/libc/stdlib/
Dsetenv.c35 extern char **environ;
58 environ[offset++] = str; in putenv()
61 for (P = &environ[offset];; ++P) in putenv()
69 for (P = environ; *P != NULL; P++) in putenv()
71 cnt = P - environ; in putenv()
75 if (lastenv != environ) in putenv()
76 memcpy(P, environ, cnt * sizeof(char *)); in putenv()
77 lastenv = environ = P; in putenv()
78 environ[cnt] = str; in putenv()
79 environ[cnt + 1] = NULL; in putenv()
[all …]
Dgetenv.c49 extern char **environ; in __findenv()
54 if (name == NULL || environ == NULL) in __findenv()
56 for (p = environ + *offset; (cp = *p) != NULL; ++p) { in __findenv()
61 *offset = p - environ; in __findenv()
Dsystem.c39 extern char **environ;
64 execve(_PATH_BSHELL, argp, environ); in system()
/bionic/libc/tools/
Dgenversion-scripts.py13 bionic_libc_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc")
14 bionic_libm_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libm")
15 bionic_libdl_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libdl")
27 bionic_libc_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc")
Dcheck-symbols.py10 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)
Dsymbols.py58 out_dir = os.environ['ANDROID_PRODUCT_OUT']
74 out_dir = os.environ['ANDROID_PRODUCT_OUT']
Dgenlibgcc_compat.py78 android_build_top_path = os.environ["ANDROID_BUILD_TOP"]
Dcheck-symbols-glibc.py30 toolchain = os.environ['ANDROID_TOOLCHAIN']
Dgensyscalls.py29 bionic_libc_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc")
Dposix-2013.txt198 environ
/bionic/libc/bionic/
Dclearenv.cpp33 char** e = environ; in clearenv()
Dlibc_init_common.cpp62 char** environ; variable
104 environ = args.envp; in __libc_init_common()
321 environ = args.envp; in __libc_init_AT_SECURE()
/bionic/libc/upstream-openbsd/lib/libc/gen/
Dexec.c43 extern char **environ;
68 return (execve(name, argv, environ)); in execl()
127 (void)execve(name, argv, environ); in execv()
249 return execvpe(name, argv, environ); in execvp()
/bionic/libc/kernel/tools/
Dutils.py33 if "ANDROID_BUILD_TOP" in os.environ:
34 return os.environ["ANDROID_BUILD_TOP"]
/bionic/tools/bionicbb/
Dbionicbb.py129 if os.environ.get('WERKZEUG_RUN_MAIN') == 'true':
/bionic/tests/
Dunistd_test.cpp337 extern char** environ; in TEST()
344 for (size_t i = 0; environ[i] != NULL; ++i) { in TEST()
345 old_environ.push_back(strdup(environ[i])); in TEST()
350 EXPECT_TRUE(environ == NULL || environ[0] == NULL); in TEST()
/bionic/libc/include/
Dunistd.h77 extern char** environ;
/bionic/libc/
Dlibc.mips64.map241 environ;
Dlibc.x86_64.map241 environ;
Dlibc.arm64.map241 environ;
Dlibc.x86.brillo.map308 environ;
Dlibc.mips.brillo.map310 environ;
Dlibc.arm.brillo.map312 environ;
Dlibc.mips.map310 environ;
Dlibc.x86.map308 environ;

12