Searched refs:abs (Results 76 - 100 of 801) sorted by relevance

1234567891011>>

/netbsd-current/games/hack/
H A Dhack.wizard.c169 if ((!tx && abs(ty) < BOLT_LIM) || (!ty && abs(tx) < BOLT_LIM)
170 || (abs(tx) == abs(ty) && abs(tx) < BOLT_LIM)) {
H A Dhack.terminfo.c201 if (abs(cury - y) <= 3 && abs(curx - x) <= 3)
203 else if ((x <= 3 && abs(cury - y) <= 3) ||
204 (!cursor_address && x < abs(curx - x)))
/netbsd-current/games/backgammon/backgammon/
H A Dextra.c204 odds(abs(b - i), 0, abs(board[b]));
205 if (abs(board[b]) == 1)
220 c = abs(i - l);
230 ct += abs(board[i]) * (36 - count());
H A Dmove.c435 op += abs(bar - i);
439 pt += abs(bar - i);
446 em = abs(home - em);
478 barmen = abs(board[home]);
527 n = barmen - abs(board[home]);
531 if (abs(chance - ch) + 25 * n > rnum(150))
541 if (abs(openmen - op) > 7 + rnum(12))
551 if (abs(endman - em) > rnum(2))
556 if (abs(frc - oldfrc) > rnum(2))
561 if (abs(
[all...]
/netbsd-current/sys/arch/arm/nxp/
H A Dimx_ccm_div.c98 if (abs(diff) < abs(best_diff)) {
100 best_diff = abs(diff);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/
H A DStack.cpp56 size_t StackUsage = (size_t)std::abs(StackDiff);
/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dpathstuff.cc228 gdb::unique_xmalloc_ptr<char> abs (gdb_abspath (xdg_cache_home));
229 return string_printf ("%s/gdb", abs.get ());
237 gdb::unique_xmalloc_ptr<char> abs (gdb_abspath (home));
238 return string_printf ("%s/" HOME_CACHE_DIR "/gdb", abs.get ());
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/i386/
H A Dx86-64-pcrel.d13 [ ]*[0-9a-f]+:[ ]+48 b8( 00){8}[ ]+mov(abs)?q?[ ]+\$(0x)?0,%rax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC64[ ]+xtrn\+(0x)?2
18 [ ]*[0-9a-f]+:[ ]+48 b8( 00){8}[ ]+mov(abs)?q?[ ]+\$(0x)?0,%rax[ ]*[0-9a-f]+:[ ]+R_X86_64_64[ ]+xtrn
H A Dx86-64-w64-pcrel.d14 [ ]*[0-9a-f]+:[ ]+48 b8 0a( 00){7}[ ]+mov(abs)?q?[ ]+\$(0x)?a,%rax[ ]*[0-9a-f]+:[ ]+R_X86_64_PC64[ ]+xtrn
19 [ ]*[0-9a-f]+:[ ]+48 b8( 00){8}[ ]+mov(abs)?q?[ ]+\$(0x)?0,%rax[ ]*[0-9a-f]+:[ ]+R_X86_64_64[ ]+xtrn
/netbsd-current/usr.bin/make/unit-tests/
H A Dvarmod-to-abs.mk1 # $NetBSD: varmod-to-abs.mk,v 1.6 2023/06/01 20:56:35 rillig Exp $
25 # expect+1: varmod-to-abs.mk
/netbsd-current/games/monop/
H A Dhouses.c167 (abs(result[0] - result[1]) > 1 ||
168 abs(result[0] - result[2]) > 1 ||
169 abs(result[1] - result[2]) > 1)) {
173 else if (mp->num_in == 2 && abs(result[0] - result[1]) > 1)
303 if (mp->num_in == 3 && (abs(temp[0] - temp[1]) > 1 ||
304 abs(temp[0] - temp[2]) > 1 || abs(temp[1] - temp[2]) > 1)) {
308 else if (mp->num_in == 2 && abs(temp[0] - temp[1]) > 1)
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dvasprintf.c52 total_width += abs (va_arg (ap, int));
62 total_width += abs (va_arg (ap, int));
/netbsd-current/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dvasprintf.c52 total_width += abs (va_arg (ap, int));
62 total_width += abs (va_arg (ap, int));
/netbsd-current/external/gpl3/gdb.old/dist/sim/testsuite/sim/bfin/
H A Dmdma-skel.h5 bu32 count = size >> (abs (mod) / 2);
7 switch (abs (mod))
/netbsd-current/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dvasprintf.c52 total_width += abs (va_arg (ap, int));
62 total_width += abs (va_arg (ap, int));
/netbsd-current/external/lgpl3/gmp/dist/mpq/
H A DMakefile.am36 abs.c aors.c canonicalize.c clear.c clears.c \
/netbsd-current/external/lgpl3/gmp/dist/tests/cxx/
H A Dt-ops2qf.cc65 ASSERT_ALWAYS(abs(T(7))==7);
66 ASSERT_ALWAYS(abs(T(-8))==8);
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/epiphany/
H A Dmodsi3.c37 a = abs (a);
38 b = abs (b);
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/epiphany/
H A Dmodsi3.c37 a = abs (a);
38 b = abs (b);
/netbsd-current/external/gpl3/gdb/dist/sim/testsuite/bfin/
H A Dmdma-skel.h6 bu32 count = size >> (abs (mod) / 2);
8 switch (abs (mod))
/netbsd-current/sys/dev/videomode/
H A Dpickmode.c81 diff = abs(mref - refresh);
171 rtemp = abs(refresh -
181 if (abs(abest - atemp) > (abest / 8) &&
182 abs(aspect - atemp) < abs(aspect - abest)) {
187 abs(abest - atemp) <= (abest / 8)) {
/netbsd-current/external/apache2/llvm/dist/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;
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/d30v/
H A Dopt.d10 0: 08801080 08803100 abs r1, r2 || abs r3, r4
12 10: 08801080 02901080 abs r1, r2 || notfg f1, f2
16 30: 08801080 88801080 abs r1, r2 -> abs r1, r2
19 48: 08801080 88801080 abs r1, r2 -> abs r1, r2
20 50: 00280000 08801080 bsr.s 0 \(50 <start\+0x50>\) || abs r1, r2
55 168: 00380000 08801080 jsr.s 0 <start> || abs r1, r2
56 170: 08801080 00f00000 abs r
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/readline/readline/
H A Dsearch.c51 #ifdef abs
52 # undef abs macro
54 #define abs(x) (((x) >= 0) ? (x) : -(x)) macro
602 return (rl_history_search_internal (abs (count), (count > 0) ? 1 : -1));
620 return (rl_history_search_internal (abs (count), (count > 0) ? -1 : 1));
639 return (rl_history_search_internal (abs (count), (count > 0) ? 1 : -1));
657 return (rl_history_search_internal (abs (count), (count > 0) ? -1 : 1));
/netbsd-current/external/gpl3/gdb/dist/readline/readline/
H A Dsearch.c51 #ifdef abs
52 # undef abs macro
54 #define abs(x) (((x) >= 0) ? (x) : -(x)) macro
639 return (rl_history_search_internal (abs (count), (count > 0) ? 1 : -1));
657 return (rl_history_search_internal (abs (count), (count > 0) ? -1 : 1));
676 return (rl_history_search_internal (abs (count), (count > 0) ? 1 : -1));
694 return (rl_history_search_internal (abs (count), (count > 0) ? -1 : 1));

Completed in 144 milliseconds

1234567891011>>