Home
last modified time | relevance | path

Searched refs:env (Results 1 – 14 of 14) sorted by relevance

/bionic/libm/i387/
Dfenv.c142 fenv_t env; in fesetexceptflag() local
147 __fnstenv(&env); in fesetexceptflag()
148 env.__status &= ~excepts; in fesetexceptflag()
149 env.__status |= *flagp & excepts; in fesetexceptflag()
151 __fldenv(env); in fesetexceptflag()
196 fenv_t env; in feholdexcept() local
198 __fnstenv(&env); in feholdexcept()
199 *envp = env; in feholdexcept()
200 env.__status &= ~FE_ALL_EXCEPT; in feholdexcept()
201 env.__control |= FE_ALL_EXCEPT; in feholdexcept()
[all …]
/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_lrint.c51 fenv_t env; in fn() local
54 feholdexcept(&env); in fn()
58 feupdateenv(&env); in fn()
Ds_nearbyint.c51 fenv_t env; \
53 fegetenv(&env); \
55 fesetenv(&env); \
De_sqrtl.c83 fenv_t env; in sqrtl() local
101 feholdexcept(&env); in sqrtl()
144 fesetenv(&env); in sqrtl()
158 feupdateenv(&env); /* Restore env and raise inexact */ in sqrtl()
/bionic/libc/bionic/
Dlibc_init_common.cpp300 static void __sanitize_environment_variables(char** env) { in __sanitize_environment_variables() argument
301 char** src = env; in __sanitize_environment_variables()
302 char** dst = env; in __sanitize_environment_variables()
330 void __libc_init_AT_SECURE(char** env) { in __libc_init_AT_SECURE() argument
356 __sanitize_environment_variables(env); in __libc_init_AT_SECURE()
360 environ = __libc_shared_globals()->init_environ = env; in __libc_init_AT_SECURE()
Dspawn.cpp141 char* const env[], in posix_spawn() argument
142 int exec_fn(const char* path, char* const argv[], char* const env[])) { in posix_spawn()
159 exec_fn(path, argv, env ? env : environ); in posix_spawn()
169 const posix_spawnattr_t* attr, char* const argv[], char* const env[]) { in posix_spawn() argument
170 return posix_spawn(pid, path, actions, attr, argv, env, execve); in posix_spawn()
174 const posix_spawnattr_t* attr, char* const argv[], char* const env[]) { in posix_spawnp() argument
175 return posix_spawn(pid, file, actions, attr, argv, env, execvpe); in posix_spawnp()
Dmalloc_common_dynamic.cpp214 char* env = getenv(kHooksEnvEnable); in CheckLoadMallocHooks() local
215 if ((env == nullptr || env[0] == '\0' || env[0] == '0') && in CheckLoadMallocHooks()
225 char* env = getenv(kDebugEnvOptions); in CheckLoadMallocDebug() local
226 if (env == nullptr || env[0] == '\0') { in CheckLoadMallocDebug()
238 *options = env; in CheckLoadMallocDebug()
Dlibc_init_common.h45 extern int main(int argc, char** argv, char** env);
Dlibc_init_static.cpp177 const char* env = getenv(env_var_name); in get_config_from_env_or_sysprops() local
178 if (env && *env != '\0') { in get_config_from_env_or_sysprops()
179 strncpy(options, env, options_size); in get_config_from_env_or_sysprops()
/bionic/tests/
Ddl_test.cpp210 …std::string env = std::string("LD_PRELOAD=") + GetTestlibRoot() + "/ld_preload_test_helper_lib2.so… in TEST() local
214 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
295 std::string env = std::string("LD_CONFIG_FILE=") + config_file.path; in TEST() local
299 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
332 std::string env = std::string("LD_CONFIG_FILE=") + config_file.path; in TEST() local
337 eth.SetEnv({ env.c_str(), env2.c_str(), nullptr }); in TEST()
373 std::string env = std::string("LD_CONFIG_FILE=") + config_file.path; in TEST() local
377 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
Dutils.h227 void SetEnv(const std::vector<const char*>& env) { in SetEnv() argument
228 env_ = env; in SetEnv()
Ddlext_test.cpp2085 std::string env = "LD_LIBRARY_PATH=" + GetTestlibRoot(); in TEST() local
2086 eth.SetEnv({ env.c_str(), nullptr }); in TEST()
/bionic/libm/arm64/
Dfenv.c141 fenv_t env = { .__status = fpsr, .__control = fpcr }; in feholdexcept() local
142 *envp = env; in feholdexcept()
/bionic/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh129 env_setup+=( env LD_LIBRARY_PATH=$target_dir )