/openbsd-current/gnu/gcc/libstdc++-v3/include/c/ |
H A D | std_cmath.h | 44 #undef abs macro 85 abs(double __x) function in namespace:std 89 abs(float __x) function in namespace:std 93 abs(long double __x) function in namespace:std
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c/ |
H A D | std_cmath.h | 44 #undef abs macro 85 abs(double __x) function in namespace:std 89 abs(float __x) function in namespace:std 93 abs(long double __x) function in namespace:std
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | alarm.t | 34 ok( abs($diff - 3) <= 1, " right time (waited $diff secs for 3-sec alarm)" ); 54 ok( abs($diff - 3) <= 1, " right time (waited $diff secs for 3-sec alarm)" );
|
H A D | exp.t | 97 cmp_ok(abs(sin($pi_2) - 1), '<', 1e-9, 'sin(pi/2) == 1'); 98 cmp_ok(abs(sin(-1 * $pi_2) - -1), '<', 1e-9, 'sin(-pi/2) == -1'); 104 cmp_ok(abs(cos($pi_2)), '<', 1e-9, 'cos(pi/2) == 0'); 105 cmp_ok(abs(cos(-1 * $pi_2)), '<', 1e-9, 'cos(-pi/2) == 0');
|
/openbsd-current/lib/libc/thread/ |
H A D | rthread_cond.c | 72 const struct timespec *abs) 106 error = _twait(&cond->seq, seq, clock, abs); 134 const struct timespec *abs) 145 if (abs == NULL || abs->tv_nsec < 0 || abs->tv_nsec >= 1000000000) 148 return (_rthread_cond_timedwait(cond, mutexp, abs)); 71 _rthread_cond_timedwait(pthread_cond_t cond, pthread_mutex_t *mutexp, const struct timespec *abs) argument 133 pthread_cond_timedwait(pthread_cond_t *condp, pthread_mutex_t *mutexp, const struct timespec *abs) argument
|
H A D | rthread_mutex.c | 97 const struct timespec *abs) 116 if (type == PTHREAD_MUTEX_STRICT_NP && abs == NULL) 121 abs) != ETIMEDOUT) 137 const struct timespec *abs, int timed) 167 error = _rthread_mutex_trylock(mutex, trywait, abs); 192 error = _twait(&mutex->lock, CONTENDED, CLOCK_REALTIME, abs); 214 pthread_mutex_timedlock(pthread_mutex_t *mutexp, const struct timespec *abs) argument 216 return (_rthread_mutex_timedlock(mutexp, 0, abs, 1)); 96 _rthread_mutex_trylock(pthread_mutex_t mutex, int trywait, const struct timespec *abs) argument 136 _rthread_mutex_timedlock(pthread_mutex_t *mutexp, int trywait, const struct timespec *abs, int timed) argument
|
/openbsd-current/games/backgammon/common_source/ |
H A D | odds.c | 85 place = abs(25 - b - i); 86 menstuck = abs(board[b]); 89 diff = abs(j - i);
|
/openbsd-current/gnu/llvm/clang/lib/Headers/ |
H A D | __clang_hip_stdlib.h | 26 int abs(int __x) { function
|
/openbsd-current/lib/librthread/ |
H A D | rthread_rwlock.c | 116 const struct timespec *abs, int timed) 151 abs); 169 const struct timespec *abs) 171 return (_rthread_rwlock_timedrdlock(rwlockp, 0, abs, 1)); 193 const struct timespec *abs, int timed) 228 abs); 245 const struct timespec *abs) 247 return (_rthread_rwlock_timedwrlock(rwlockp, 0, abs, 1)); 115 _rthread_rwlock_timedrdlock(pthread_rwlock_t *rwlockp, int trywait, const struct timespec *abs, int timed) argument 168 pthread_rwlock_timedrdlock(pthread_rwlock_t *rwlockp, const struct timespec *abs) argument 192 _rthread_rwlock_timedwrlock(pthread_rwlock_t *rwlockp, int trywait, const struct timespec *abs, int timed) argument 244 pthread_rwlock_timedwrlock(pthread_rwlock_t *rwlockp, const struct timespec *abs) argument
|
/openbsd-current/games/sail/ |
H A D | misc.c | 46 #define distance(x,y) (abs(x) >= abs(y) ? abs(x) + abs(y)/2 : abs(y) + abs(x)/2) 116 dr = abs(dr); 117 dc = abs(dc);
|
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/hexagon/ |
H A D | divdi3.S | 28 r1:0 = abs(r1:0) 29 r3:2 = abs(r3:2)
|
H A D | moddi3.S | 27 r1:0 = abs(r1:0) 28 r3:2 = abs(r3:2)
|
H A D | modsi3.S | 27 r2 = abs(r0) 28 r1 = abs(r1)
|
/openbsd-current/lib/libc/stdlib/ |
H A D | Makefile.inc | 20 SRCS+= abs.S div.S labs.S ldiv.S 23 SRCS+= abs.c div.c labs.c ldiv.c 25 SRCS+= abs.c div.c labs.c ldiv.c 28 MAN+= a64l.3 abort.3 abs.3 alloca.3 atexit.3 atof.3 atoi.3 atol.3 atoll.3 \
|
/openbsd-current/gnu/gcc/libstdc++-v3/include/c_std/ |
H A D | std_cstdlib.h | 76 #undef abs 110 using ::abs; 143 abs(long __i) { return labs(__i); } 174 abs(long long __x) { return __x >= 0 ? __x : -__x; } 209 using ::__gnu_cxx::abs;
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/c_std/ |
H A D | std_cstdlib.h | 56 #undef abs macro 90 using ::abs; 119 abs(long __i) { return labs(__i); } function in namespace:std 149 abs(long long __x) { return __x >= 0 ? __x : -__x; } function in namespace:__gnu_cxx 186 using __gnu_cxx::abs;
|
/openbsd-current/games/backgammon/backgammon/ |
H A D | extra.c | 185 odds(abs(b - i), 0, abs(board[b])); 186 if (abs(board[b]) == 1) 201 c = abs(i - l); 211 ct += abs(board[i]) * (36 - count());
|
/openbsd-current/games/hack/ |
H A D | hack.wizard.c | 161 if((!tx && abs(ty) < BOLT_LIM) || (!ty && abs(tx) < BOLT_LIM) 162 || (abs(tx) == abs(ty) && abs(tx) < BOLT_LIM)){
|
H A D | hack.termcap.c | 171 if(abs(cury-y) <= 3 && abs(curx-x) <= 3) 173 else if((x <= 3 && abs(cury-y)<= 3) || (!CM && x<abs(curx-x))) {
|
/openbsd-current/include/ |
H A D | stdlib.h | 88 * Some header files may define an abs macro. 91 #ifdef abs 92 #undef abs macro 93 #warning abs macro collides with abs() prototype, undefining 98 int abs(int);
|
/openbsd-current/gnu/usr.bin/binutils/opcodes/ |
H A D | h8500-dis.c | 118 int abs = 0; local 176 abs = 183 abs = (buffer[byte] << 8) | (buffer[byte + 1]); 186 abs = (buffer[byte]); 295 func (stream, "@0x%0x:24", abs); 298 func (stream, "@0x%0x:16", abs & 0xffff); 301 func (stream, "@0x%0x:8", abs & 0xff);
|
/openbsd-current/gnu/usr.bin/binutils-2.17/opcodes/ |
H A D | h8500-dis.c | 98 int abs = 0; local 155 abs = 162 abs = (buffer[byte] << 8) | (buffer[byte + 1]); 165 abs = (buffer[byte]); 266 func (stream, "@0x%0x:24", abs); 269 func (stream, "@0x%0x:16", abs & 0xffff); 272 func (stream, "@0x%0x:8", abs & 0xff);
|
/openbsd-current/gnu/gcc/fixincludes/tests/base/ |
H A D | math.h | 61 extern "C" int abs(int);
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
H A D | complex_value.cc | 43 double d6 = abs(c);
|
/openbsd-current/gnu/llvm/clang/lib/Basic/ |
H A D | Stack.cpp | 55 size_t StackUsage = (size_t)std::abs(StackDiff);
|