| /llvm-project-15.0.7/clang/tools/scan-build-py/lib/libear/ |
| H A D | ear.c | 103 char *const envp[]); 110 char *const envp[]); 157 return call_execve(path, argv, envp); in execve() 167 char *const *envp = bear_get_environment(); in execv() local 168 return call_execve(path, argv, envp); in execv() 175 return call_execvpe(file, argv, envp); in execvpe() 196 return call_exect(path, argv, envp); in exect() 211 char *const *envp = bear_get_environment(); in execl() local 283 char *const envp[]) { in call_execve() argument 297 char *const envp[]) { in call_execvpe() argument [all …]
|
| /llvm-project-15.0.7/libc/test/integration/loader/linux/ |
| H A D | args_test.cpp | 20 int main(int argc, char **argv, char **envp) { in main() argument 28 for (; *envp != nullptr; ++envp) { in main() 29 if (my_streq(*envp, "FRANCE=Paris")) in main() 31 if (my_streq(*envp, "GERMANY=Berlin")) in main()
|
| /llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/exec/ |
| H A D | main.c | 130 char *const envp[] = {"THIS=THAT", 0}; in call_execve() local 135 FORK(execve(compiler, argv, envp);) in call_execve() 170 char *const envp[] = {"THIS=THAT", 0}; in call_execvpe() local 175 FORK(execvpe(compiler, argv, envp);) in call_execvpe() 184 char *const envp[] = {"THIS=THAT", 0}; in call_exect() local 189 FORK(exect(compiler, argv, envp);) in call_exect() 221 char *const envp[] = {"THIS=THAT", 0}; in call_execle() local 226 FORK(execle(compiler, compiler, "-c", file, (char *)0, envp);) in call_execle()
|
| /llvm-project-15.0.7/clang/test/Analysis/cert/ |
| H A D | env31-c.c | 51 int main(int argc, char *argv[], char *envp[]) { in main() argument 52 char **e = envp; in main() 55 *envp; // no-warning in main() 64 *envp; in main()
|
| /llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/launch/ |
| H A D | main.c | 5 int main(int argc, char const *argv[], char const *envp[]) { in main() argument 8 for (int i=0; envp[i]; ++i) in main() 9 printf("env[%i] = \"%s\"\n", i, envp[i]); in main()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | cfenv | 47 int fegetenv(fenv_t* envp); 48 int feholdexcept(fenv_t* envp); 49 int fesetenv(const fenv_t* envp); 50 int feupdateenv(const fenv_t* envp);
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/x86_64/ |
| H A D | FEnvImpl.h | 464 static inline int get_env(fenv_t *envp) { in get_env() argument 465 internal::FPState *state = reinterpret_cast<internal::FPState *>(envp); in get_env() 509 static inline int set_env(const fenv_t *envp) { in set_env() argument 511 reinterpret_cast<const internal::FPState *>(envp); in set_env() 558 static inline int get_env(fenv_t *envp) { in get_env() argument 559 internal::FPState *state = reinterpret_cast<internal::FPState *>(envp); in get_env() 565 static inline int set_env(const fenv_t *envp) { in set_env() argument 573 if (envp == FE_DFL_ENV) { in set_env() 604 reinterpret_cast<const internal::FPState *>(envp); in set_env()
|
| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/ |
| H A D | exitcode.cpp | 84 char **envp = environ; in spawn_child() local 86 char **envp = *_NSGetEnviron(); in spawn_child() local 90 int err = posix_spawn(&pid, argv[0], nullptr, nullptr, argv, envp); in spawn_child()
|
| /llvm-project-15.0.7/libc/src/fenv/ |
| H A D | fesetenv.cpp | 15 LLVM_LIBC_FUNCTION(int, fesetenv, (const fenv_t *envp)) { 16 return fputil::set_env(envp);
|
| H A D | fegetenv.cpp | 15 LLVM_LIBC_FUNCTION(int, fegetenv, (fenv_t * envp)) { 16 return fputil::get_env(envp);
|
| H A D | feholdexcept.cpp | 17 LLVM_LIBC_FUNCTION(int, feholdexcept, (fenv_t * envp)) { 18 if (fputil::get_env(envp) != 0)
|
| H A D | feupdateenv.cpp | 17 LLVM_LIBC_FUNCTION(int, feupdateenv, (const fenv_t *envp)) { 19 if (fputil::set_env(envp) != 0)
|
| /llvm-project-15.0.7/flang/runtime/FortranMain/ |
| H A D | Fortran_main.c | 16 int main(int argc, const char *argv[], const char *envp[]) { in main() argument 17 RTNAME(ProgramStart)(argc, argv, envp); in main()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/dyld-exec-linux/ |
| H A D | main.cpp | 3 int main(int argc, const char *argv[], const char *envp[]) { in main() argument 12 execve(interpreter, (char *const *)exec_argv, (char *const *)envp); in main()
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/aarch64/ |
| H A D | FEnvImpl.h | 232 static inline int get_env(fenv_t *envp) { in get_env() argument 233 FEnv::FPState *state = reinterpret_cast<FEnv::FPState *>(envp); in get_env() 239 static inline int set_env(const fenv_t *envp) { in set_env() argument 240 if (envp == FE_DFL_ENV) { in set_env() 247 const FEnv::FPState *state = reinterpret_cast<const FEnv::FPState *>(envp); in set_env()
|
| H A D | fenv_darwin_impl.h | 259 static inline int get_env(fenv_t *envp) { in get_env() argument 260 FEnv::FPState *state = reinterpret_cast<FEnv::FPState *>(envp); in get_env() 266 static inline int set_env(const fenv_t *envp) { in set_env() argument 267 if (envp == FE_DFL_ENV) { in set_env() 274 const FEnv::FPState *state = reinterpret_cast<const FEnv::FPState *>(envp); in set_env()
|
| /llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/ |
| H A D | MachProcess.h | 88 pid_t LaunchForDebug(const char *path, char const *argv[], char const *envp[], 98 char const *envp[], 102 char const *argv[], char const *envp[], const char *working_directory, 116 char const *argv[], char const *envp[], 122 const char *path, char const *argv[], char const *envp[], bool no_stdio, 139 char const *envp[], bool no_stdio, bool disable_aslr, 143 char const *envp[], bool no_stdio,
|
| /llvm-project-15.0.7/flang/runtime/ |
| H A D | main.cpp | 30 void RTNAME(ProgramStart)(int argc, const char *argv[], const char *envp[]) { in RTNAME() 32 Fortran::runtime::executionEnvironment.Configure(argc, argv, envp); in RTNAME()
|
| H A D | environment.h | 34 void Configure(int argc, const char *argv[], const char *envp[]); 40 const char **envp{nullptr};
|
| /llvm-project-15.0.7/lldb/test/API/python_api/sbvalue_const_addrof/ |
| H A D | main.cpp | 22 int main (int argc, char const *argv[], char const *envp[]); 28 int main (int argc, char const *argv[], char const *envp[]) in main() argument
|
| /llvm-project-15.0.7/llvm/test/ExecutionEngine/MCJIT/ |
| H A D | 2003-08-21-EnvironmentTest.ll | 14 define i32 @main(i32 %argc.1, i8** %argv.1, i8** %envp.1) { 15 %tmp.2 = load i8*, i8** %envp.1 ; <i8*> [#uses=1]
|
| /llvm-project-15.0.7/lldb/source/Host/posix/ |
| H A D | ProcessLauncherPosixFork.cpp | 106 Environment::Envp envp; member 201 execve(info.argv[0], const_cast<char *const *>(info.argv), info.envp); in ChildFunc() 214 execve(info.argv[0], const_cast<char *const *>(info.argv), info.envp); in ChildFunc() 254 envp(FixupEnvironment(info.GetEnvironment())), in ForkLaunchInfo()
|
| /llvm-project-15.0.7/flang/examples/ |
| H A D | external-hello.cpp | 44 int main(int argc, const char *argv[], const char *envp[]) { in main() argument 45 RTNAME(ProgramStart)(argc, argv, envp); in main()
|
| /llvm-project-15.0.7/lldb/tools/darwin-debug/ |
| H A D | darwin-debug.cpp | 98 pid_t posix_spawn_for_debug(char *const *argv, char *const *envp, in posix_spawn_for_debug() argument 151 (char *const *)envp), in posix_spawn_for_debug() 160 int main(int argc, char *const *argv, char *const *envp, const char **apple) { in main() argument
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_posix.h | 67 fd_t internal_spawn(const char *argv[], const char *envp[], pid_t *pid); 103 char *const envp[]);
|