Home
last modified time | relevance | path

Searched refs:envp (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java101 String [] envp = getEnv(); in test_execLjava_lang_StringLjava_lang_StringArray() local
103 checkExec(0, envp, null); in test_execLjava_lang_StringLjava_lang_StringArray()
129 Runtime.getRuntime().exec("", envp); in test_execLjava_lang_StringLjava_lang_StringArray()
139 String [] envp = getEnv(); in test_execLjava_lang_StringArrayLjava_lang_StringArray() local
141 checkExec(4, envp, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray()
176 Runtime.getRuntime().exec(new String[]{}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray()
185 Runtime.getRuntime().exec(new String[]{""}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray()
192 String [] envp = getEnv(); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() local
196 checkExec(2, envp, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
222 Runtime.getRuntime().exec("", envp, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java461 public Process exec(String command, String[] envp) throws IOException { in exec() argument
462 return exec(command, envp, null); in exec()
515 public Process exec(String command, String[] envp, File dir) in exec() argument
524 return exec(cmdarray, envp, dir); in exec()
601 public Process exec(String[] cmdarray, String[] envp) throws IOException { in exec() argument
602 return exec(cmdarray, envp, null); in exec()
689 public Process exec(String[] cmdarray, String[] envp, File dir) in exec() argument
692 .environment(envp) in exec()
DProcessBuilder.java353 ProcessBuilder environment(String[] envp) { in environment() argument
355 if (envp != null) { in environment()
356 environment = ProcessEnvironment.emptyEnvironment(envp.length); in environment()
359 for (String envstring : envp) { in environment()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DRuntime.java70 public java.lang.Process exec(java.lang.String command, java.lang.String[] envp) in exec() argument
76 java.lang.String command, java.lang.String[] envp, java.io.File dir) in exec() argument
85 public java.lang.Process exec(java.lang.String[] cmdarray, java.lang.String[] envp) in exec() argument
91 java.lang.String[] cmdarray, java.lang.String[] envp, java.io.File dir) in exec() argument
/libcore/ojluni/src/main/native/
DUNIXProcess_md.c553 const char *const envp[]) in execve_as_traditional_shell_script() argument
563 execve(argv[0], (char **) argv, (char **) envp); in execve_as_traditional_shell_script()
577 const char *const envp[]) in execve_with_shell_fallback() argument
581 execve(file, (char **) argv, (char **) envp); in execve_with_shell_fallback()
583 execve_as_traditional_shell_script(file, argv, envp); in execve_with_shell_fallback()
586 environ = (char **) envp; in execve_with_shell_fallback()
601 const char *const envp[]) in JDK_execvpe() argument
603 if (envp == NULL || (char **) envp == environ) { in JDK_execvpe()
614 execve_with_shell_fallback(file, argv, envp); in JDK_execvpe()
631 execve_with_shell_fallback(expanded_file, argv, envp); in JDK_execvpe()
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java462 @Override public void execve(String filename, String[] argv, String[] envp) in execve() argument
466 super.execve(filename, argv, envp); in execve()
DForwardingOs.java234 …ecve(String filename, String[] argv, String[] envp) throws ErrnoException { os.execve(filename, ar… in execve() argument
DOs.java172 public void execve(String filename, String[] argv, String[] envp) throws ErrnoException; in execve() argument
DLinux.java76 public native void execve(String filename, String[] argv, String[] envp) throws ErrnoException; in execve() argument
/libcore/luni/src/main/java/android/system/
DOs.java166 …(String filename, String[] argv, String[] envp) throws ErrnoException { Libcore.os.execve(filename… in execve() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1281 ExecStrings envp(env, javaEnvp); in Linux_execve() local
1282 TEMP_FAILURE_RETRY(execve(path.c_str(), argv.get(), envp.get())); in Linux_execve()