Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 471) sorted by relevance

12345678910>>...19

/freebsd/contrib/bc/tests/bc/
H A Dabs.txt1 abs(0)
2 abs(1)
3 abs(.289365)
4 abs(289.82937658)
5 abs(-19)
6 abs(-.2098180)
7 abs(-198289.1098376)
H A Dassignments.txt64 abs(i--)
65 abs(--i)
66 abs(++i)
67 abs(i++)
/freebsd/contrib/bc/gen/
H A Dlib2.bc69 p=abs(p)$
71 x=abs(x)
80 p=abs(p)$
82 x=abs(x)
89 n=abs(n)$
104 n=abs(n)$
105 k=abs(k)$
117 n=abs(n)$
118 r=abs(r)$
131 n=abs(
[all...]
/freebsd/contrib/bsddialog/lib/
H A Dmenubox.c94 int i, j, abs; in build_privatemenu() local
113 abs = 0; in build_privatemenu()
118 pritem = &m->pritems[abs]; in build_privatemenu()
121 m->pritems[abs].on = false; in build_privatemenu()
123 m->pritems[abs].on = onetrue ? false : item->on; in build_privatemenu()
124 if (m->pritems[abs].on) in build_privatemenu()
127 m->pritems[abs].on = item->on; in build_privatemenu()
144 abs++; in build_privatemenu()
194 static int getprev(struct privateitem *pritems, int abs) in getprev() argument
198 for (i = abs in getprev()
207 getnext(int npritems,struct privateitem * pritems,int abs) getnext() argument
224 int i, abs; getfirst_with_default() local
248 getfastnext(int menurows,int npritems,struct privateitem * pritems,int abs) getfastnext() argument
264 getfastprev(int menurows,struct privateitem * pritems,int abs) getfastprev() argument
280 getnextshortcut(int npritems,struct privateitem * pritems,int abs,wint_t key) getnextshortcut() argument
[all...]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstdlib.h101 # ifdef abs
102 # undef abs
113 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long abs(long __x) _NOEXCEPT { return __builtin_labs… in abs() function
114 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long long abs(long long __x) _NOEXCEPT { return __bu… in abs() function
117 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI float abs(float __lcpp_x) _NOEXCEPT { in abs() function
121 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double abs(double __lcpp_x) _NOEXCEPT { in abs() function
125 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long double abs(long double __lcpp_x) _NOEXCEPT { in abs() function
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3326-odroid-go3.dts46 abs-flat = <10>;
47 abs-fuzz = <10>;
48 abs-range = <180 800>;
54 abs-flat = <10>;
55 abs-fuzz = <10>;
56 abs-range = <180 800>;
62 abs-flat = <10>;
63 abs-fuzz = <10>;
64 abs-range = <180 800>;
70 abs-flat = <10>;
[all …]
H A Drk3326-odroid-go2.dts25 abs-flat = <10>;
26 abs-fuzz = <10>;
27 abs-range = <172 772>;
33 abs-flat = <10>;
34 abs-fuzz = <10>;
35 abs-range = <278 815>;
H A Drk3326-odroid-go2-v11.dts29 abs-flat = <10>;
30 abs-fuzz = <10>;
31 abs-range = <172 772>;
37 abs-flat = <10>;
38 abs-fuzz = <10>;
39 abs-range = <278 815>;
/freebsd/contrib/ntp/tests/libntp/
H A Drealpath.c65 char abs[512]; in test_DevLinks()
83 strlcpy(abs, resolved, sizeof(abs)); in test_DevLinks()
90 TEST_ASSERT_TRUE_MESSAGE(isValidAbsPath(abs), errMsg("could not validate '%s'", abs)); in test_DevLinks()
/freebsd/contrib/llvm-project/lld/Common/
H A DReproduce.cpp25 SmallString<128> abs = path; in relativeToRoot() local
26 if (fs::make_absolute(abs)) in relativeToRoot()
28 path::remove_dots(abs, /*remove_dot_dot=*/true); in relativeToRoot()
34 StringRef root = path::root_name(abs); in relativeToRoot()
40 path::append(res, path::relative_path(abs)); in relativeToRoot()
/freebsd/stand/uboot/arch/arm/
H A DMakefile.inc7 abs.ldscript:
13 ubldr: ${OBJS} abs.ldscript ${LDSCRIPT} ${DPADD}
14 ${CC} ${CFLAGS} -T abs.ldscript ${LDFLAGS} \
24 CLEANFILES+= abs.ldscript pie.ldscript ubldr ubldr.pie ubldr.bin
/freebsd/contrib/arm-optimized-routines/math/tools/
H A Dremez.jl230 if abs(M[j,i]) > bestval
427 threshold = abs(c-a) * 2^(-epsbits/2)
436 if abs(b-a) < abs(c-a)
447 while abs(c-a) > threshold
567 candidate = (abs(y), [(x,y)])
571 newscore = min(abs(y), oldscore)
740 if abs(e1-e0) <= threshold
758 while abs(e1-e0) > threshold
861 min_err = minimum([abs(y) for (x,y) = extrema])
862 max_err = maximum([abs(y) for (x,y) = extrema])
[all …]
/freebsd/lib/msun/tests/
H A Drem_test.c155 q = abs(q); in testl()
156 ATF_CHECK(q == (abs(expected_quo) & mask(q))); in testl()
177 q = abs(q); in testd()
178 ATF_CHECK(q == (abs(expected_quo) & mask(q))); in testd()
199 q = abs(q); in testf()
200 ATF_CHECK((q & mask(q)) == (abs(expected_quo) & mask(q))); in testf()
/freebsd/sys/dev/videomode/
H A Dpickmode.c78 diff = abs(mref - refresh); in pick_mode_by_ref()
168 rtemp = abs(refresh - in sort_modes()
178 if (abs(abest - atemp) > (abest / 8) && in sort_modes()
179 abs(aspect - atemp) < abs(aspect - abest)) { in sort_modes()
184 abs(abest - atemp) <= (abest / 8)) { in sort_modes()
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_input.c116 struct vtinput_absinfo abs; member
375 struct input_absinfo abs; in pci_vtinput_read_config_abs_info() local
376 if (ioctl(sc->vsc_fd, EVIOCGABS(sc->vsc_config.subsel), &abs) < 0) { in pci_vtinput_read_config_abs_info()
381 sc->vsc_config.u.abs.min = abs.minimum; in pci_vtinput_read_config_abs_info()
382 sc->vsc_config.u.abs.max = abs.maximum; in pci_vtinput_read_config_abs_info()
383 sc->vsc_config.u.abs.fuzz = abs.fuzz; in pci_vtinput_read_config_abs_info()
384 sc->vsc_config.u.abs.flat = abs.flat; in pci_vtinput_read_config_abs_info()
385 sc->vsc_config.u.abs.res = abs.resolution; in pci_vtinput_read_config_abs_info()
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_cabsl.cxx48 sum += std::abs(cld); in ATF_TEST_CASE_BODY()
51 sum += std::abs(cd); in ATF_TEST_CASE_BODY()
54 sum += std::abs(cf); in ATF_TEST_CASE_BODY()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArch.td82 // Expand la.global as la.abs
84 : SubtargetFeature<"la-global-with-abs", "HasLaGlobalWithAbs", "true",
85 "Expand la.global as la.abs">;
89 "Expand la.global as la.abs">;
91 // Expand la.local as la.abs
93 : SubtargetFeature<"la-local-with-abs", "HasLaLocalWithAbs", "true",
94 "Expand la.local as la.abs">;
98 "Expand la.local as la.abs">;
/freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h34 template <class _Tp> __DEVICE__ _Tp abs(const std::complex<_Tp> &__c) { in abs() function
60 return abs(__c.real()); in norm()
62 return abs(__c.imag()); in norm()
109 return std::complex<_Tp>(log(abs(__x)), arg(__x)); in log()
132 return polar(sqrt(abs(__x)), arg(__x) / _Tp(2)); in sqrt()
206 return std::complex<_Tp>(abs(__x.real()), __x.imag()); in acosh()
221 return std::complex<_Tp>(abs(__x.imag()), __x.real()); in acosh()
225 return std::complex<_Tp>(abs(__x.imag()), in acosh()
253 if (abs(__x.real()) == _Tp(1) && __x.imag() == _Tp(0)) { in atanh()
281 return std::complex<_Tp>(abs(__x.real()), _Tp(NAN)); in cosh()
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_z.c33 MARK abs; in ex_z() local
90 abs.lno = sp->lno; in ex_z()
91 abs.cno = sp->cno; in ex_z()
92 (void)mark_set(sp, ABSMARK1, &abs, 1); in ex_z()
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h26 __DEVICE__ long abs(long);
27 __DEVICE__ long long abs(long long);
28 __DEVICE__ double abs(double);
29 __DEVICE__ float abs(float);
30 __DEVICE__ int abs(int);
200 using ::abs;
/freebsd/sys/tools/sound/
H A Dfeeder_rate_mkfilter.awk52 function abs(x) function
355 printf(" %s0x%08x,", (v < 0) ? "-" : " ", abs(v));
369 if (abs(v) > abs(largest_interp))
371 printf(" %s0x%08x,", (v < 0) ? "-" : " ", abs(v));
484 scale = sprintf("(v) << %d", abs(s1));
778 v = ((Z_ONE - 1) * abs(largest_interp)) / INT32_MAX;
808 v = (Z_ONE - 1) * abs(largest_interp);
814 abs(zinterpunshift));
822 abs(Z_INTERP_UNSHIFT));
890 v = shr(Z_ONE - 1, Z_UNSHIFT) * abs(largest_interp);
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dhh_mm_ss.h57 __h_(chrono::duration_cast<chrono::hours>(chrono::abs(__d))), in hh_mm_ss()
58 __m_(chrono::duration_cast<chrono::minutes>(chrono::abs(__d) - hours())),
59 __s_(chrono::duration_cast<chrono::seconds>(chrono::abs(__d) - hours() - minutes())), in hh_mm_ss()
60 __f_(chrono::duration_cast<precision>(chrono::abs(__d) - hours() - minutes() - seconds())) {} in hh_mm_ss()
/freebsd/contrib/llvm-project/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h49 int16_t abs(int16_t);
52 int16_t2 abs(int16_t2);
55 int16_t3 abs(int16_t3);
58 int16_t4 abs(int16_t4);
63 half abs(half);
66 half2 abs(half2);
69 half3 abs(half3);
72 half4 abs(half4);
75 int abs(int);
77 int2 abs(int2);
[all …]
/freebsd/usr.bin/locate/locate/
H A Dutil.c234 i_min, abs(i) < abs(hi) ? i : hi, i_max); in getwm()
261 i_min, abs(word) < abs(hword) ? word : hword, i_max); in getwf()
/freebsd/sys/dev/usb/input/
H A Dwsp.c1054 abs(sc->pos_x[0] - sc->pos_x[1]), in wsp_intr_callback()
1055 abs(sc->pos_y[0] - sc->pos_y[1]))); in wsp_intr_callback()
1065 if (sc->distance < tun.max_double_tap_distance && abs(sc->dx_sum) < 5 && in wsp_intr_callback()
1066 abs(sc->dy_sum) < 5) in wsp_intr_callback()
1128 if (sc->distance < tun.max_double_tap_distance && abs(sc->dx_sum) < 5 && in wsp_intr_callback()
1129 abs(sc->dy_sum) < 5) { in wsp_intr_callback()
1199 abs(sc->dx_sum) < 1 && abs(sc->dy_sum) < 1 ) in wsp_intr_callback()
1215 if ((abs(sc->index[0]->rel_x) + abs(sc->index[0]->rel_y)) < in wsp_intr_callback()
1216 (abs(sc->index[1]->rel_x) + abs(sc->index[1]->rel_y)) && in wsp_intr_callback()
1222 if ((abs(sc->index[0]->rel_x) + abs(sc->index[0]->rel_y)) >= in wsp_intr_callback()
[all …]

12345678910>>...19