/external/clang/tools/scan-build-py/libear/ |
D | ear.c | 70 static char const **bear_update_environment(char *const envp[], bear_env_t *env); 106 char *const envp[]); 113 char *const envp[]); 121 char *const envp[]); 128 char *const envp[restrict]); 135 char *const envp[restrict]); 161 int execve(const char *path, char *const argv[], char *const envp[]) { in execve() argument 163 return call_execve(path, argv, envp); in execve() 173 char * const * envp = bear_get_environment(); in execv() local 174 return call_execve(path, argv, envp); in execv() [all …]
|
/external/openssh/openbsd-compat/ |
D | setproctitle.c | 74 char **envp = environ; in compat_init_setproctitle() local 87 for (i = 0; envp[i] != NULL; i++) in compat_init_setproctitle() 90 environ = envp; /* put it back */ in compat_init_setproctitle() 102 for (i = 0; envp[i] != NULL; i++) { in compat_init_setproctitle() 103 if (lastargv + 1 == envp[i]) in compat_init_setproctitle() 104 lastargv = envp[i] + strlen(envp[i]); in compat_init_setproctitle() 115 for (i = 0; envp[i] != NULL; i++) in compat_init_setproctitle() 116 environ[i] = strdup(envp[i]); in compat_init_setproctitle()
|
/external/autotest/client/site_tests/platform_PrinterPpds/ |
D | log_reader.py | 160 envp = dict() 183 envp[regexp.group(1)] = regexp.group(2) 208 self._results[key] = (result,envp,argv,filters) 212 self, printer_name, envp, argv, filters, argument 232 envp['PPD'] = path_ppd 233 envp['HOME'] = path_workdir 234 envp['TMPDIR'] = path_workdir 244 for name, value in envp.iteritems(): 303 envp = self._results[key][1] 305 if len(envp) > 0 and len(argv) > 0: [all …]
|
/external/minijail/ |
D | libminijailpreload.c | 32 static void unset_in_env(char **envp, const char *name) in unset_in_env() argument 35 for (i = 0; envp[i]; i++) in unset_in_env() 36 if (!strncmp(envp[i], name, strlen(name))) in unset_in_env() 37 envp[i][0] = '\0'; in unset_in_env() 47 static int fake_main(int argc, char **argv, char **envp) in fake_main() argument 78 unset_in_env(envp, kLdPreloadEnvVar); in fake_main() 84 return real_main(argc, argv, envp); in fake_main()
|
/external/strace/tests/ |
D | execve.c | 46 static const char * const envp[] = { variable 58 char ** const tail_envp = tail_memdup(envp, sizeof(envp)); in main() 72 , q_envp[0], q_envp[1], envp[2], envp[3], envp[4], in main() 73 (char *) tail_envp + sizeof(envp) in main()
|
D | execveat.c | 51 static const char * const envp[] = { variable 63 const char ** const tail_envp = tail_memdup(envp, sizeof(envp)); in main() 77 q_envp[0], q_envp[1], envp[2], envp[3], envp[4], in main() 78 (char *) tail_envp + sizeof(envp), in main()
|
/external/strace/tests-mx32/ |
D | execve.c | 46 static const char * const envp[] = { variable 58 char ** const tail_envp = tail_memdup(envp, sizeof(envp)); in main() 72 , q_envp[0], q_envp[1], envp[2], envp[3], envp[4], in main() 73 (char *) tail_envp + sizeof(envp) in main()
|
D | execveat.c | 51 static const char * const envp[] = { variable 63 const char ** const tail_envp = tail_memdup(envp, sizeof(envp)); in main() 77 q_envp[0], q_envp[1], envp[2], envp[3], envp[4], in main() 78 (char *) tail_envp + sizeof(envp), in main()
|
/external/strace/tests-m32/ |
D | execve.c | 46 static const char * const envp[] = { variable 58 char ** const tail_envp = tail_memdup(envp, sizeof(envp)); in main() 72 , q_envp[0], q_envp[1], envp[2], envp[3], envp[4], in main() 73 (char *) tail_envp + sizeof(envp) in main()
|
D | execveat.c | 51 static const char * const envp[] = { variable 63 const char ** const tail_envp = tail_memdup(envp, sizeof(envp)); in main() 77 q_envp[0], q_envp[1], envp[2], envp[3], envp[4], in main() 78 (char *) tail_envp + sizeof(envp), in main()
|
/external/clang/tools/scan-build-py/tests/functional/exec/ |
D | main.c | 131 char *const envp[] = {"THIS=THAT", 0}; in call_execve() local 136 FORK(execve(compiler, argv, envp);) in call_execve() 171 char *const envp[] = {"THIS=THAT", 0}; in call_execvpe() local 176 FORK(execvpe(compiler, argv, envp);) in call_execvpe() 185 char *const envp[] = {"THIS=THAT", 0}; in call_exect() local 190 FORK(exect(compiler, argv, envp);) in call_exect() 222 char *const envp[] = {"THIS=THAT", 0}; in call_execle() local 227 FORK(execle(compiler, compiler, "-c", file, (char *)0, envp);) in call_execle()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_Exec.java | 36 public static Object[] runJava(List<String> args, String[] envp, in runJava() argument 55 return run(executable, args, envp, displayOutput); in runJava() 61 public static Object[] run(String command, List<String> args, String[] envp, in run() argument 64 Object[] arr = exec(command, args, envp, displayOutput); in run() 106 String[] envp, boolean displayOutput) in execJava() argument 109 execJavaCommon(args, classpath, envp, displayOutput, false); in execJava() 157 String[] envp, in execJavaCommon() argument 207 return exec(executable, execArgs, envp, displayOutput); in execJavaCommon() 211 String[] envp, in exec() argument 232 envp); in exec()
|
/external/ipsec-tools/ |
D | setup.c | 613 static char *get_env(char * const *envp, char *key) in get_env() argument 616 while (*envp && (strncmp(*envp, key, length) || (*envp)[length] != '=')) { in get_env() 617 ++envp; in get_env() 619 return *envp ? &(*envp)[length + 1] : ""; in get_env() 623 extern const char *android_hook(char **envp); 625 int privsep_script_exec(char *script, int name, char * const *envp) in privsep_script_exec() argument 637 struct sockaddr *addr4 = str2saddr(get_env(envp, "INTERNAL_ADDR4"), in privsep_script_exec() 639 struct sockaddr *local = str2saddr(get_env(envp, "LOCAL_ADDR"), in privsep_script_exec() 640 get_env(envp, "LOCAL_PORT")); in privsep_script_exec() 641 struct sockaddr *remote = str2saddr(get_env(envp, "REMOTE_ADDR"), in privsep_script_exec() [all …]
|
D | main.c | 103 const char *android_hook(char **envp) in android_hook() argument 109 while (*envp && strncmp(*envp, "INTERNAL_WINS4_LIST=", 20)) { in android_hook() 110 ++envp; in android_hook() 112 if (!*envp) { in android_hook() 120 sprintf(*envp, "INTERFACE=%s", ifr.ifr_name); in android_hook()
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | Program.cpp | 27 const char** envp, in ExecuteAndWait() argument 33 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteAndWait() 42 const char** envp, in ExecuteNoWait() argument 47 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg); in ExecuteNoWait()
|
/external/llvm/lib/Support/ |
D | Program.cpp | 30 int sys::ExecuteAndWait(StringRef Program, const char **args, const char **envp, in ExecuteAndWait() argument 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait() 50 const char **envp, const StringRef **redirects, in ExecuteNoWait() argument 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Program.cpp | 30 int sys::ExecuteAndWait(StringRef Program, const char **args, const char **envp, in ExecuteAndWait() argument 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait() 50 const char **envp, const StringRef **redirects, in ExecuteNoWait() argument 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
|
/external/swiftshader/third_party/LLVM/tools/llvm-ld/ |
D | llvm-ld.cpp | 166 static char ** CopyEnv(char ** const envp) { in CopyEnv() argument 169 for (entries = 0; envp[entries] != NULL; entries++) in CopyEnv() 186 while (envp[entries] != NULL) { in CopyEnv() 187 size_t len = strlen(envp[entries]) + 1; in CopyEnv() 189 memcpy(newenv[entries], envp[entries], len); in CopyEnv() 211 static void RemoveEnv(const char * name, char ** const envp) { in RemoveEnv() argument 212 for (unsigned index=0; envp[index] != NULL; index++) { in RemoveEnv() 214 char *p = strchr (envp[index], '='); in RemoveEnv() 222 if (!strcmp(name, envp[index])) in RemoveEnv() 223 *envp[index] = '\0'; in RemoveEnv() [all …]
|
/external/python/cpython3/Modules/ |
D | _posixsubprocess.c | 400 char *const envp[], in child_exec() argument 513 if (envp) { in child_exec() 514 execve(executable, argv, envp); in child_exec() 571 char *const *exec_array, *const *argv = NULL, *const *envp = NULL; in subprocess_fork_exec() local 661 envp = _PySequence_BytesToCharpArray(env_list); in subprocess_fork_exec() 662 if (!envp) in subprocess_fork_exec() 703 child_exec(exec_array, argv, envp, cwd, in subprocess_fork_exec() 721 if (envp) in subprocess_fork_exec() 722 _Py_FreeCharPArray(envp); in subprocess_fork_exec() 745 if (envp) in subprocess_fork_exec() [all …]
|
/external/linux-kselftest/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 37 int main(int argc, char **argv, char **envp) in main() argument 45 long get_syscall(char **envp) in get_syscall() argument 48 while (*envp++ != NULL) in get_syscall() 50 for (auxv = (void *)envp; auxv->a_type != AT_NULL; auxv++) in get_syscall() 413 int main(int argc, char **argv, char **envp) in main() argument 433 syscall_addr = get_syscall(envp); in main()
|
/external/libcxx/include/ |
D | cfenv | 48 int fegetenv(fenv_t* envp); 49 int feholdexcept(fenv_t* envp); 50 int fesetenv(const fenv_t* envp); 51 int feupdateenv(const fenv_t* envp);
|
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/ |
D | FieldAnnotationsTestCase.java | 139 final ElementValuePair envp = a.getElementValuePairs()[0]; in checkAnnotationEntry() local 141 + envp.getNameString(), elementname in checkAnnotationEntry() 142 .equals(envp.getNameString())); in checkAnnotationEntry() 144 + envp.getValue().stringifyValue(), elementvalue.equals(envp in checkAnnotationEntry()
|
/external/ipsec-tools/src/racoon/ |
D | privsep.c | 379 char **envp = NULL; in privsep_init() local 417 envp = racoon_malloc((envc + 1) * sizeof(char *)); in privsep_init() 418 if (envp == NULL) { in privsep_init() 424 bzero(envp, (envc + 1) * sizeof(char *)); in privsep_init() 441 envp[i++] = bufs[count]; in privsep_init() 447 script, name, envp); in privsep_init() 454 if ((unsafe_env(envp) == 0) && in privsep_init() 457 (void)script_exec(script, name, envp); in privsep_init() 463 racoon_free(envp); in privsep_init() 780 privsep_script_exec(script, name, envp) in privsep_script_exec() argument [all …]
|
/external/iproute2/tc/ |
D | e_bpf.c | 46 char **envp; in bpf_num_env_entries() local 49 for (num = 0, envp = environ; *envp != NULL; envp++) in bpf_num_env_entries()
|
/external/clang/examples/clang-interpreter/ |
D | main.cpp | 53 static int Execute(std::unique_ptr<llvm::Module> Mod, char *const *envp) { in Execute() argument 77 return EE->runFunctionAsMain(EntryFn, Args, envp); in Execute() 80 int main(int argc, const char **argv, char * const *envp) { in main() argument 168 Res = Execute(std::move(Module), envp); in main()
|