/glibc-2.36/sysdeps/riscv/rvf/ |
D | fenv_private.h | 53 libc_feholdexcept_riscv (fenv_t *envp) in libc_feholdexcept_riscv() argument 55 asm volatile ("csrrc %0, fcsr, %1" : "=r" (*envp) : "i" (FE_ALL_EXCEPT)); in libc_feholdexcept_riscv() 73 libc_feholdexcept_setround_riscv (fenv_t *envp, int round) in libc_feholdexcept_setround_riscv() argument 75 libc_feholdexcept_riscv (envp); in libc_feholdexcept_setround_riscv() 94 libc_fesetenv_riscv (const fenv_t *envp) in libc_fesetenv_riscv() argument 96 long int env = (long int) envp - (long int) FE_DFL_ENV; in libc_fesetenv_riscv() 98 env = *envp; in libc_fesetenv_riscv() 111 libc_feupdateenv_test_riscv (const fenv_t *envp, int ex) in libc_feupdateenv_test_riscv() argument 113 fenv_t env = *envp; in libc_feupdateenv_test_riscv() 124 libc_feupdateenv_riscv (const fenv_t *envp) in libc_feupdateenv_riscv() argument [all …]
|
/glibc-2.36/sysdeps/aarch64/fpu/ |
D | fenv_private.h | 26 libc_feholdexcept_aarch64 (fenv_t *envp) in libc_feholdexcept_aarch64() argument 35 envp->__fpcr = fpcr; in libc_feholdexcept_aarch64() 36 envp->__fpsr = fpsr; in libc_feholdexcept_aarch64() 73 libc_feholdexcept_setround_aarch64 (fenv_t *envp, int round) in libc_feholdexcept_setround_aarch64() argument 82 envp->__fpcr = fpcr; in libc_feholdexcept_setround_aarch64() 83 envp->__fpsr = fpsr; in libc_feholdexcept_setround_aarch64() 116 libc_fesetenv_aarch64 (const fenv_t *envp) in libc_fesetenv_aarch64() argument 122 new_fpcr = envp->__fpcr; in libc_fesetenv_aarch64() 127 _FPU_SETFPSR (envp->__fpsr); in libc_fesetenv_aarch64() 138 libc_feupdateenv_test_aarch64 (const fenv_t *envp, int ex) in libc_feupdateenv_test_aarch64() argument [all …]
|
D | fesetenv.c | 23 __fesetenv (const fenv_t *envp) in __fesetenv() argument 33 if ((envp != FE_DFL_ENV) && (envp != FE_NOMASK_ENV)) in __fesetenv() 36 fpcr_new = envp->__fpcr; in __fesetenv() 41 _FPU_SETFPSR (envp->__fpsr); in __fesetenv() 49 if (envp == FE_DFL_ENV) in __fesetenv()
|
D | feupdateenv.c | 23 __feupdateenv (const fenv_t *envp) in __feupdateenv() argument 36 if ((envp != FE_DFL_ENV) && (envp != FE_NOMASK_ENV)) in __feupdateenv() 38 fpcr_new = envp->__fpcr; in __feupdateenv() 39 fpsr_new = envp->__fpsr | excepts; in __feupdateenv() 56 if (envp == FE_DFL_ENV) in __feupdateenv()
|
/glibc-2.36/sysdeps/csky/fpu/ |
D | fenv_private.h | 27 libc_feholdexcept_vfp (fenv_t *envp) in libc_feholdexcept_vfp() argument 32 envp->__fpcr = fpcr; in libc_feholdexcept_vfp() 35 envp->__fpsr = fpsr; in libc_feholdexcept_vfp() 61 libc_feholdexcept_setround_vfp (fenv_t *envp, int round) in libc_feholdexcept_setround_vfp() argument 66 envp->__fpcr = fpcr; in libc_feholdexcept_setround_vfp() 69 envp->__fpsr = fpsr; in libc_feholdexcept_setround_vfp() 81 libc_feholdsetround_vfp (fenv_t *envp, int round) in libc_feholdsetround_vfp() argument 86 envp->__fpcr = fpcr; in libc_feholdsetround_vfp() 94 libc_feresetround_vfp (fenv_t *envp) in libc_feresetround_vfp() argument 101 round = (envp->__fpcr ^ fpcr) & FE_DOWNWARD; in libc_feresetround_vfp() [all …]
|
D | fesetenv.c | 23 __fesetenv (const fenv_t *envp) in __fesetenv() argument 34 if (envp == FE_DFL_ENV) in __fesetenv() 39 else if (envp == FE_NOMASK_ENV) in __fesetenv() 46 fpcr |= envp->__fpcr & ~_FPU_RESERVED; in __fesetenv() 47 fpsr |= envp->__fpsr & ~_FPU_FPSR_RESERVED; in __fesetenv()
|
/glibc-2.36/sysdeps/mach/hurd/i386/ |
D | init-first.c | 53 posixland_init (int argc, char **argv, char **envp) in posixland_init() argument 77 __environ = envp; in posixland_init() 82 __init_misc (argc, argv, envp); in posixland_init() 90 char **envp = &argv[argc + 1]; in init1() local 93 while (*envp) in init1() 94 ++envp; in init1() 95 d = (void *) ++envp; in init1() 141 char **envp = &argv[argc + 1]; in init() local 148 __environ = envp; in init() 153 while (*envp) in init() [all …]
|
/glibc-2.36/sysdeps/s390/fpu/ |
D | fenv_private.h | 27 libc_feholdexcept_s390 (fenv_t *envp) in libc_feholdexcept_s390() argument 33 envp->__fpc = fpc; in libc_feholdexcept_s390() 59 libc_feholdexcept_setround_s390 (fenv_t *envp, int r) in libc_feholdexcept_setround_s390() argument 64 envp->__fpc = fpc; in libc_feholdexcept_setround_s390() 108 libc_fesetenv_s390 (const fenv_t *envp) in libc_fesetenv_s390() argument 110 _FPU_SETCW (envp->__fpc); in libc_fesetenv_s390() 118 libc_feupdateenv_test_s390 (const fenv_t *envp, int ex) in libc_feupdateenv_test_s390() argument 135 fpu_control_t fpc_new = envp->__fpc; in libc_feupdateenv_test_s390() 154 libc_feupdateenv_s390 (const fenv_t *envp) in libc_feupdateenv_s390() argument 156 libc_feupdateenv_test_s390 (envp, 0); in libc_feupdateenv_s390() [all …]
|
/glibc-2.36/sysdeps/arm/ |
D | fenv_private.h | 26 libc_feholdexcept_vfp (fenv_t *envp) in libc_feholdexcept_vfp() argument 31 envp->__cw = fpscr; in libc_feholdexcept_vfp() 51 libc_feholdexcept_setround_vfp (fenv_t *envp, int round) in libc_feholdexcept_setround_vfp() argument 56 envp->__cw = fpscr; in libc_feholdexcept_setround_vfp() 65 libc_feholdsetround_vfp (fenv_t *envp, int round) in libc_feholdsetround_vfp() argument 70 envp->__cw = fpscr; in libc_feholdsetround_vfp() 78 libc_feresetround_vfp (fenv_t *envp) in libc_feresetround_vfp() argument 85 round = (envp->__cw ^ fpscr) & _FPU_MASK_RM; in libc_feresetround_vfp() 102 libc_fesetenv_vfp (const fenv_t *envp) in libc_fesetenv_vfp() argument 107 new_fpscr = envp->__cw; in libc_fesetenv_vfp() [all …]
|
D | fesetenv.c | 25 __fesetenv (const fenv_t *envp) in __fesetenv() argument 35 if ((envp != FE_DFL_ENV) && (envp != FE_NOMASK_ENV)) in __fesetenv() 38 new_fpscr = envp->__cw; in __fesetenv() 49 new_fpscr |= (envp == FE_DFL_ENV) ? _FPU_DEFAULT : _FPU_IEEE; in __fesetenv()
|
D | feupdateenv.c | 25 __feupdateenv (const fenv_t *envp) in __feupdateenv() argument 37 if ((envp != FE_DFL_ENV) && (envp != FE_NOMASK_ENV)) in __feupdateenv() 40 new_fpscr = envp->__cw | excepts; in __feupdateenv() 55 new_fpscr |= (envp == FE_DFL_ENV) ? _FPU_DEFAULT : _FPU_IEEE; in __feupdateenv()
|
/glibc-2.36/sysdeps/x86_64/fpu/ |
D | fesetenv.c | 30 __fesetenv (const fenv_t *envp) in __fesetenv() argument 41 if (envp == FE_DFL_ENV) in __fesetenv() 62 else if (envp == FE_NOMASK_ENV) in __fesetenv() 92 temp.__control_word |= (envp->__control_word in __fesetenv() 97 temp.__status_word |= envp->__status_word & FE_ALL_EXCEPT_X86; in __fesetenv() 98 temp.__eip = envp->__eip; in __fesetenv() 99 temp.__cs_selector = envp->__cs_selector; in __fesetenv() 100 temp.__opcode = envp->__opcode; in __fesetenv() 101 temp.__data_offset = envp->__data_offset; in __fesetenv() 102 temp.__data_selector = envp->__data_selector; in __fesetenv() [all …]
|
D | feholdexcpt.c | 22 __feholdexcept (fenv_t *envp) in __feholdexcept() argument 31 : "=m" (*envp), "=m" (envp->__mxcsr)); in __feholdexcept() 34 mxcsr = (envp->__mxcsr | 0x1f80) & ~0x3f; in __feholdexcept()
|
/glibc-2.36/posix/ |
D | execvpe.c | 39 maybe_script_execute (const char *file, char *const argv[], char *const envp[]) in maybe_script_execute() argument 67 __execve (new_argv[0], new_argv, envp); in maybe_script_execute() 71 __execvpe_common (const char *file, char *const argv[], char *const envp[], in __execvpe_common() argument 84 __execve (file, argv, envp); in __execvpe_common() 87 maybe_script_execute (file, argv, envp); in __execvpe_common() 136 __execve (buffer, argv, envp); in __execvpe_common() 143 maybe_script_execute (buffer, argv, envp); in __execvpe_common() 188 __execvpe (const char *file, char *const argv[], char *const envp[]) in __execvpe() argument 190 return __execvpe_common (file, argv, envp, true); in __execvpe() 196 __execvpex (const char *file, char *const argv[], char *const envp[]) in weak_alias() [all …]
|
/glibc-2.36/hurd/ |
D | hurdstartup.c | 55 char **argv, **envp; in _hurd_startup() local 103 envp = &argv[argc + 1]; in _hurd_startup() 105 while (envp[envc]) in _hurd_startup() 130 envp = &argv[argc + 1]; in _hurd_startup() 131 __argz_extract (env, envlen, envp); in _hurd_startup() 149 else if ((void *) &envp[envc + 1] == argv[0]) in _hurd_startup() 158 char *envp[envc + 1]; in _hurd_startup() member 166 envp = args->envp; in _hurd_startup() 170 struct hurd_startup_data *d = (void *) &envp[envc + 1]; in _hurd_startup()
|
/glibc-2.36/sysdeps/m68k/fpu/ |
D | feholdexcpt.c | 22 __feholdexcept (fenv_t *envp) in __feholdexcept() argument 28 __asm__ ("fmove%.l %/fpcr,%0" : "=dm" (envp->__control_register)); in __feholdexcept() 29 __asm__ ("fmove%.l %/fpsr,%0" : "=dm" (envp->__status_register)); in __feholdexcept() 30 __asm__ ("fmove%.l %/fpiar,%0" : "=dm" (envp->__instruction_address)); in __feholdexcept() 32 __asm__ ("fmovem%.l %/fpcr/%/fpsr/%/fpiar,%0" : "=m" (*envp)); in __feholdexcept() 36 fpsr = envp->__status_register & ~FE_ALL_EXCEPT; in __feholdexcept() 39 fpcr = envp->__control_register & ~(FE_ALL_EXCEPT << 6); in __feholdexcept()
|
D | fegetenv.c | 22 __fegetenv (fenv_t *envp) in __fegetenv() argument 25 __asm__ ("fmove%.l %/fpcr,%0" : "=dm" (envp->__control_register)); in __fegetenv() 26 __asm__ ("fmove%.l %/fpsr,%0" : "=dm" (envp->__status_register)); in __fegetenv() 27 __asm__ ("fmove%.l %/fpiar,%0" : "=dm" (envp->__instruction_address)); in __fegetenv() 29 __asm__ ("fmovem%.l %/fpcr/%/fpsr/%/fpiar,%0" : "=m" (*envp)); in __fegetenv()
|
D | fesetenv.c | 22 __fesetenv (const fenv_t *envp) in __fesetenv() argument 40 if (envp == FE_DFL_ENV) in __fesetenv() 42 else if (envp == FE_NOMASK_ENV) in __fesetenv() 46 temp.__control_register |= (envp->__control_register in __fesetenv() 48 temp.__status_register |= envp->__status_register & FE_ALL_EXCEPT; in __fesetenv()
|
/glibc-2.36/sysdeps/i386/fpu/ |
D | fesetenv.c | 33 __fesetenv (const fenv_t *envp) in __fesetenv() argument 46 if (envp == FE_DFL_ENV) in __fesetenv() 53 else if (envp == FE_NOMASK_ENV) in __fesetenv() 66 temp.__control_word |= (envp->__control_word in __fesetenv() 71 temp.__status_word |= envp->__status_word & FE_ALL_EXCEPT_X86; in __fesetenv() 86 if (envp == FE_DFL_ENV) in __fesetenv() 98 else if (envp == FE_NOMASK_ENV) in __fesetenv() 113 mxcsr = envp->__eip; in __fesetenv()
|
/glibc-2.36/sysdeps/loongarch/ |
D | math_private.h | 38 libc_feholdexcept_loongarch (fenv_t *envp) in libc_feholdexcept_loongarch() argument 44 envp->__fp_control_register = cw; in libc_feholdexcept_loongarch() 74 libc_feholdexcept_setround_loongarch (fenv_t *envp, int round) in libc_feholdexcept_setround_loongarch() argument 80 envp->__fp_control_register = cw; in libc_feholdexcept_setround_loongarch() 101 libc_fesetenv_loongarch (fenv_t *envp) in libc_fesetenv_loongarch() argument 108 _FPU_SETCW (envp->__fp_control_register); in libc_fesetenv_loongarch() 115 libc_feupdateenv_test_loongarch (fenv_t *envp, int excepts) in libc_feupdateenv_test_loongarch() argument 128 temp |= envp->__fp_control_register | (temp << CAUSE_SHIFT); in libc_feupdateenv_test_loongarch() 140 libc_feupdateenv_loongarch (fenv_t *envp) in libc_feupdateenv_loongarch() argument 142 libc_feupdateenv_test_loongarch (envp, 0); in libc_feupdateenv_loongarch()
|
/glibc-2.36/sysdeps/mips/fpu/ |
D | fenv_private.h | 35 libc_feholdexcept_mips (fenv_t *envp) in libc_feholdexcept_mips() argument 41 envp->__fp_control_register = cw; in libc_feholdexcept_mips() 71 libc_feholdexcept_setround_mips (fenv_t *envp, int round) in libc_feholdexcept_setround_mips() argument 77 envp->__fp_control_register = cw; in libc_feholdexcept_setround_mips() 98 libc_fesetenv_mips (fenv_t *envp) in libc_fesetenv_mips() argument 105 _FPU_SETCW (envp->__fp_control_register); in libc_fesetenv_mips() 112 libc_feupdateenv_test_mips (fenv_t *envp, int excepts) in libc_feupdateenv_test_mips() argument 125 temp |= envp->__fp_control_register | (temp << CAUSE_SHIFT); in libc_feupdateenv_test_mips() 137 libc_feupdateenv_mips (fenv_t *envp) in libc_feupdateenv_mips() argument 139 libc_feupdateenv_test_mips (envp, 0); in libc_feupdateenv_mips()
|
/glibc-2.36/sysdeps/powerpc/fpu/ |
D | fenv_private.h | 38 libc_feholdexcept_setround_ppc (fenv_t *envp, int r) in libc_feholdexcept_setround_ppc() argument 42 old.fenv = *envp = fegetenv_register (); in libc_feholdexcept_setround_ppc() 52 __libc_femergeenv_ppc (const fenv_t *envp, unsigned long long old_mask, in __libc_femergeenv_ppc() argument 57 new.fenv = *envp; in __libc_femergeenv_ppc() 85 libc_fesetenv_ppc (const fenv_t *envp) in libc_fesetenv_ppc() argument 88 __libc_femergeenv_ppc (envp, 0LL, -1LL); in libc_fesetenv_ppc() 92 libc_feresetround_ppc (fenv_t *envp) in libc_feresetround_ppc() argument 94 fenv_union_t new = { .fenv = *envp }; in libc_feresetround_ppc() 99 libc_feupdateenv_test_ppc (fenv_t *envp, int ex) in libc_feupdateenv_test_ppc() argument 101 return __libc_femergeenv_ppc (envp, ~FPSCR_CONTROL_MASK, in libc_feupdateenv_test_ppc()
|
/glibc-2.36/sysdeps/sparc/fpu/ |
D | fesetenv.c | 24 __fesetenv (const fenv_t *envp) in __fesetenv() argument 32 if (envp == FE_DFL_ENV) in __fesetenv() 35 envp = &dummy; in __fesetenv() 37 else if (envp == FE_NOMASK_ENV) in __fesetenv() 40 envp = &dummy; in __fesetenv() 43 __fenv_ldfsr (*envp); in __fesetenv()
|
/glibc-2.36/sysdeps/hppa/fpu/ |
D | feupdateenv.c | 23 __feupdateenv (const fenv_t *envp) in __feupdateenv() argument 33 if ((envp != FE_DFL_ENV) && (envp != FE_NOMASK_ENV)) in __feupdateenv() 35 memcpy(&temp, envp, sizeof (fenv_t)); in __feupdateenv() 40 if (envp == FE_DFL_ENV) in __feupdateenv() 44 if (envp == FE_NOMASK_ENV) in __feupdateenv()
|
/glibc-2.36/elf/ |
D | dl-tunables.c | 68 get_next_env (char **envp, char **name, size_t *namelen, char **val, in get_next_env() argument 71 while (envp != NULL && *envp != NULL) in get_next_env() 73 char **prev = envp; in get_next_env() 74 char *envline = *envp++; in get_next_env() 89 return envp; in get_next_env() 278 __tunables_init (char **envp) in __tunables_init() argument 283 char **prev_envp = envp; in __tunables_init() 287 while ((envp = get_next_env (envp, &envname, &len, &envval, in __tunables_init() 342 envp = prev_envp; in __tunables_init()
|