Home
last modified time | relevance | path

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

/bionic/libm/arm64/
Dfenv.c54 int fegetenv(fenv_t* envp) { in fegetenv() argument
55 __get_fpcr(envp->__control); in fegetenv()
56 __get_fpsr(envp->__status); in fegetenv()
60 int fesetenv(const fenv_t* envp) { in fesetenv() argument
64 if (envp->__control != fpcr) { in fesetenv()
65 __set_fpcr(envp->__control); in fesetenv()
67 __set_fpsr(envp->__status); in fesetenv()
136 int feholdexcept(fenv_t* envp) { in feholdexcept() argument
142 *envp = env; in feholdexcept()
150 int feupdateenv(const fenv_t* envp) { in feupdateenv() argument
[all …]
/bionic/tests/
Dgtest_main.cpp38 int main(int argc, char** argv, char** envp) { in main() argument
41 g_envp = envp; in main()
43 return IsolateMain(argc, argv, envp); in main()
Ddlfcn_test.cpp72 extern "C" void ctor_function(int argc, char** argv, char** envp) __attribute__ ((constructor));
74 extern "C" void ctor_function(int argc, char** argv, char** envp) { in ctor_function() argument
78 g_ctor_envp = envp; in ctor_function()
/bionic/libm/amd64/
Dfenv.c264 fegetenv(fenv_t *envp) in fegetenv() argument
267 __asm__ __volatile__ ("fnstenv %0" : "=m" (*envp)); in fegetenv()
270 __asm__ __volatile__ ("stmxcsr %0" : "=m" (envp->__mxcsr)); in fegetenv()
280 __asm__ __volatile__ ("fldcw %0" : : "m" (envp->__x87.__control)); in fegetenv()
292 feholdexcept(fenv_t *envp) in feholdexcept() argument
297 __asm__ __volatile__ ("fnstenv %0" : "=m" (*envp)); in feholdexcept()
303 __asm__ __volatile__ ("stmxcsr %0" : "=m" (envp->__mxcsr)); in feholdexcept()
306 mxcsr = envp->__mxcsr; in feholdexcept()
327 fesetenv(const fenv_t *envp) in fesetenv() argument
330 __asm__ __volatile__ ("fldenv %0" : : "m" (*envp)); in fesetenv()
[all …]
/bionic/libc/bionic/
Dexec.cpp107 static int __exec_as_script(const char* buf, char* const* argv, char* const* envp) { in __exec_as_script() argument
115 return execve(__bionic_get_shell_path(), const_cast<char**>(script_argv), envp); in __exec_as_script()
118 int execvpe(const char* name, char* const* argv, char* const* envp) { in execvpe() argument
126 if (strchr(name, '/') && execve(name, argv, envp) == -1) { in execvpe()
127 if (errno == ENOEXEC) return __exec_as_script(name, argv, envp); in execvpe()
156 execve(buf, argv, envp); in execvpe()
165 return __exec_as_script(buf, argv, envp); in execvpe()
177 int fexecve(int fd, char* const* argv, char* const* envp) { in fexecve() argument
179 execve(FdPath(fd).c_str(), argv, envp); in fexecve()
Dlibc_init_common.h57 __LIBC_HIDDEN__ void __libc_init_AT_SECURE(char** envp);
Dlibc_init_dynamic.cpp138 args.envp)); in __libc_init()
Dlibc_init_static.cpp181 __libc_init_AT_SECURE(args.envp); in __real_libc_init()
202 exit(slingshot(args.argc, args.argv, args.envp)); in __real_libc_init()
/bionic/libm/i387/
Dfenv.c174 fegetenv(fenv_t *envp) in fegetenv() argument
178 __fnstenv(envp); in fegetenv()
183 __fldcw(envp->__control); in fegetenv()
186 envp->__mxcsr_hi = mxcsr >> 16; in fegetenv()
187 envp->__mxcsr_lo = mxcsr & 0xffff; in fegetenv()
193 feholdexcept(fenv_t *envp) in feholdexcept() argument
199 *envp = env; in feholdexcept()
206 envp->__mxcsr_hi = mxcsr >> 16; in feholdexcept()
207 envp->__mxcsr_lo = mxcsr & 0xffff; in feholdexcept()
216 feupdateenv(const fenv_t *envp) in feupdateenv() argument
[all …]
/bionic/libc/private/
DKernelArgumentBlock.h36 envp = argv + argc + 1; in KernelArgumentBlock()
40 char** p = envp; in KernelArgumentBlock()
62 char** envp; variable
/bionic/linker/
Dlinker_main.cpp304 __libc_init_AT_SECURE(args.envp);
682 g_envp = args.envp;
/bionic/libc/
DSECCOMP_WHITELIST_COMMON.TXT77 int execveat(int dirfd, const char* pathname, char* const* argv, char* const* envp, int flags) all