Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 103) sorted by relevance

12345

/sysdeps/ieee754/ldbl-128ibm/
A Ds_llrintl.c73 res = hi + lo; in __llrintl()
82 hi = res; in __llrintl()
91 return res; in __llrintl()
94 res -= 1; in __llrintl()
96 res += 1; in __llrintl()
101 res -= 1; in __llrintl()
103 res += 1; in __llrintl()
104 return res; in __llrintl()
109 res += 1; in __llrintl()
114 res -= 1; in __llrintl()
[all …]
A Ds_lrintl.c32 long res, hi, lo; in __lrintl() local
97 hi = res; in __lrintl()
106 return res; in __lrintl()
109 res -= 1UL; in __lrintl()
111 res += 1UL; in __lrintl()
116 res -= 1UL; in __lrintl()
118 res += 1UL; in __lrintl()
119 return res; in __lrintl()
124 res += 1UL; in __lrintl()
129 res -= 1UL; in __lrintl()
[all …]
A Ds_llroundl.c31 long long res, hi, lo; in __llroundl() local
69 res = hi + lo; in __llroundl()
78 hi = res; in __llroundl()
81 res += 1; in __llroundl()
85 if (xl > 0.0 || (xl == 0.0 && res >= 0)) in __llroundl()
86 res += 1; in __llroundl()
90 res -= 1; in __llroundl()
94 if (xl < 0.0 || (xl == 0.0 && res <= 0)) in __llroundl()
95 res -= 1; in __llroundl()
98 if (__glibc_unlikely (((~(hi ^ (res - hi)) & (res ^ hi)) < 0))) in __llroundl()
[all …]
A Ds_lroundl.c31 long res, hi, lo; in __lroundl() local
87 if (__glibc_unlikely (((~(hi ^ lo) & (res ^ hi)) < 0))) in __lroundl()
93 hi = res; in __lroundl()
96 res += 1UL; in __lroundl()
100 if (xl > 0.0 || (xl == 0.0 && res >= 0)) in __lroundl()
101 res += 1UL; in __lroundl()
105 res -= 1UL; in __lroundl()
109 if (xl < 0.0 || (xl == 0.0 && res <= 0)) in __lroundl()
110 res -= 1UL; in __lroundl()
113 if (__glibc_unlikely (((~(hi ^ (res - hi)) & (res ^ hi)) < 0))) in __lroundl()
[all …]
/sysdeps/unix/sysv/linux/
A Dnot-errno.h28 int res; in __access_noerrno() local
30 res = INTERNAL_SYSCALL_CALL (access, pathname, mode); in __access_noerrno()
32 res = INTERNAL_SYSCALL_CALL (faccessat, AT_FDCWD, pathname, mode); in __access_noerrno()
34 if (INTERNAL_SYSCALL_ERROR_P (res)) in __access_noerrno()
35 return INTERNAL_SYSCALL_ERRNO (res); in __access_noerrno()
42 int res; in __kill_noerrno() local
43 res = INTERNAL_SYSCALL_CALL (kill, pid, sig); in __kill_noerrno()
44 if (INTERNAL_SYSCALL_ERROR_P (res)) in __kill_noerrno()
45 return INTERNAL_SYSCALL_ERRNO (res); in __kill_noerrno()
A Dgetpriority.c37 int res; in __getpriority() local
39 res = INLINE_SYSCALL (getpriority, 2, (int) which, who); in __getpriority()
40 if (res >= 0) in __getpriority()
41 res = PZERO - res; in __getpriority()
42 return res; in __getpriority()
A Dlseek.c31 static inline off_t lseek_overflow (loff_t res) in lseek_overflow() argument
33 off_t retval = (off_t) res; in lseek_overflow()
34 if (retval == res) in lseek_overflow()
45 loff_t res; in __lseek() local
48 (long) offset, &res, whence); in __lseek()
49 return rc ?: lseek_overflow (res); in __lseek()
A Dclock_getres.c29 __clock_getres64 (clockid_t clock_id, struct __timespec64 *res) in __clock_getres64() argument
38 r = INLINE_VSYSCALL (clock_getres_time64, 2, clock_id, res); in __clock_getres64()
40 r = INLINE_SYSCALL_CALL (clock_getres_time64, clock_id, res); in __clock_getres64()
53 if (r == 0 && res != NULL) in __clock_getres64()
54 *res = valid_timespec_to_timespec64 (ts32); in __clock_getres64()
64 __clock_getres (clockid_t clock_id, struct timespec *res) in libc_hidden_def()
70 if (retval == 0 && res != NULL) in libc_hidden_def()
71 *res = valid_timespec64_to_timespec (ts64); in libc_hidden_def()
A Dsched_getaffinity.c35 int res = INLINE_SYSCALL (sched_getaffinity, 3, pid, in libc_hidden_proto() local
37 if (res != -1) in libc_hidden_proto()
40 memset ((char *) cpuset + res, '\0', cpusetsize - res); in libc_hidden_proto()
42 res = 0; in libc_hidden_proto()
44 return res; in libc_hidden_proto()
A Dposix_fallocate.c29 int res = INTERNAL_SYSCALL_CALL (fallocate, fd, 0, in posix_fallocate() local
31 if (! INTERNAL_SYSCALL_ERROR_P (res)) in posix_fallocate()
33 if (INTERNAL_SYSCALL_ERRNO (res) != EOPNOTSUPP) in posix_fallocate()
34 return INTERNAL_SYSCALL_ERRNO (res); in posix_fallocate()
/sysdeps/ieee754/dbl-64/
A De_sqrt.c63 double y, t, del, res, res1, hy, z, zz, s; in __ieee754_sqrt()
85 res = y + del; in __ieee754_sqrt()
86 if (res == (res + 1.002 * ((y - res) + del))) in __ieee754_sqrt()
87 ret = res * c.x; in __ieee754_sqrt()
90 res1 = res + 1.5 * ((y - res) + del); in __ieee754_sqrt()
91 EMULV (res, res1, z, zz); /* (z+zz)=res*res1 */ in __ieee754_sqrt()
92 res = ((((z - s) + zz) < 0) ? max (res, res1) : in __ieee754_sqrt()
93 min (res, res1)); in __ieee754_sqrt()
94 ret = res * c.x; in __ieee754_sqrt()
111 ret = (res + 0x1p-1022) * c.x; in __ieee754_sqrt()
[all …]
/sysdeps/mips/
A Dtst-mode-switch-2.c53 int res = pthread_barrier_wait (&barr_ready); in thread_function() local
55 if (res != 0 && res != PTHREAD_BARRIER_SERIAL_THREAD) in thread_function()
69 res = pthread_barrier_wait (&barr_cont); in thread_function()
71 if (res != 0 && res != PTHREAD_BARRIER_SERIAL_THREAD) in thread_function()
125 int res = pthread_barrier_wait (&barr_ready); in do_test() local
127 if (res != 0 && res != PTHREAD_BARRIER_SERIAL_THREAD) in do_test()
136 res = pthread_barrier_wait (&barr_cont); in do_test()
138 if (res != 0 && res != PTHREAD_BARRIER_SERIAL_THREAD) in do_test()
/sysdeps/posix/
A Dclock_getres.c28 realtime_getres (struct timespec *res) in realtime_getres() argument
37 res->tv_sec = 0; in realtime_getres()
38 res->tv_nsec = 1000000000 / clk_tck; in realtime_getres()
48 __clock_getres (clockid_t clock_id, struct timespec *res) in __clock_getres() argument
55 retval = realtime_getres (res); in __clock_getres()
/sysdeps/unix/sysv/linux/mips/mips64/n32/
A Dlseek.c26 off64_t res = __lseek64 (fd, offset, whence); in __lseek() local
27 if (res != (off_t) res) in __lseek()
32 return (off_t) res; in __lseek()
/sysdeps/i386/fpu/
A Ds_logbl.c10 long double res; in __logbl() local
13 "fstp %%st" : "=t" (res) : "0" (x)); in __logbl()
14 return res; in __logbl()
A Ds_significandl.c9 long double res; in __significandl() local
12 "fstp %%st(1)" : "=t" (res) : "0" (x)); in __significandl()
13 return res; in __significandl()
A De_acosl.c12 long double res; in __ieee754_acosl() local
25 : "=t" (res) : "0" (x) : "st(1)"); in __ieee754_acosl()
26 return res; in __ieee754_acosl()
A Ds_atanl.c11 long double res; in __atanl() local
15 : "=t" (res) : "0" (x)); in __atanl()
17 return res; in __atanl()
/sysdeps/riscv/rv64/rvf/
A Ds_llroundf.c25 int64_t res; in __llroundf() local
26 asm ("fcvt.l.s %0, %1, rmm" : "=r" (res) : "f" (x)); in __llroundf()
27 return res; in __llroundf()
A Ds_lrintf.c26 int64_t res; in __lrintf() local
27 asm ("fcvt.l.s %0, %1" : "=r" (res) : "f" (x)); in __lrintf()
28 return res; in __lrintf()
A Ds_lroundf.c26 int64_t res; in __lroundf() local
27 asm ("fcvt.l.s %0, %1, rmm" : "=r" (res) : "f" (x)); in __lroundf()
28 return res; in __lroundf()
/sysdeps/riscv/rv32/rvd/
A Ds_lrint.c26 int32_t res; in __lrint() local
27 asm ("fcvt.w.d %0, %1" : "=r" (res) : "f" (x)); in __lrint()
28 return res; in __lrint()
A Ds_lround.c26 int32_t res; in __lround() local
27 asm ("fcvt.w.d %0, %1, rmm" : "=r" (res) : "f" (x)); in __lround()
28 return res; in __lround()
/sysdeps/riscv/rv32/rvf/
A Ds_lrintf.c26 int32_t res; in __lrintf() local
27 asm ("fcvt.w.s %0, %1" : "=r" (res) : "f" (x)); in __lrintf()
28 return res; in __lrintf()
A Ds_lroundf.c26 int32_t res; in __lroundf() local
27 asm ("fcvt.w.s %0, %1, rmm" : "=r" (res) : "f" (x)); in __lroundf()
28 return res; in __lroundf()

Completed in 25 milliseconds

12345