/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/ |
H A D | loverload4.C | 4 inline char abs (char x) { return 0; } function 7 inline int abs (int x) { return 1; } function
|
H A D | c-inline.C | 6 inline double abs (double) { return 0.0; } function 7 inline short abs (short) { return 0; } function 10 inline int abs (int) { return 0; } // causes segfault - function
|
H A D | overload22.C | 5 inline double abs (double x) { return x;} function 6 inline int abs (int i) { return i; } function 16 abs(fn(f)); // gets bogus warning
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/ |
H A D | inline2.C | 10 if (std::abs (0.5-std::abs (foo-0.5)) < 1e-10) foo+=1;
|
/openbsd-current/lib/libc/stdlib/ |
H A D | abs.c | 1 /* $OpenBSD: abs.c,v 1.6 2015/09/13 08:31:47 guenther Exp $ */ 34 abs(int j) function 38 DEF_STRONG(abs); variable
|
/openbsd-current/lib/libc/arch/i386/stdlib/ |
H A D | abs.S | 35 ENTRY(abs) 41 END_STRONG(abs)
|
/openbsd-current/lib/libc/arch/sparc64/stdlib/ |
H A D | abs.S | 1 /* $OpenBSD: abs.S,v 1.5 2015/09/13 16:27:59 guenther Exp $ */ 2 /* $NetBSD: abs.S,v 1.1 1998/09/11 04:56:32 eeh Exp $ */ 36 * from: Header: abs.s,v 1.1 91/07/06 18:01:57 torek Exp 41 /* abs - int absolute value */ 44 ENTRY(abs) 48 END_STRONG(abs)
|
H A D | Makefile.inc | 3 SRCS+= abs.c div.c labs.c ldiv.c llabs.c
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | no-builtin-1.c | 4 /* { dg-options "-fno-builtin-abs" } */ 6 /* GCC normally handles abs and labs as built-in functions even without 7 optimization. So test that with -fno-builtin-abs, labs is so handled 8 but abs isn't. */ 12 extern int abs (int); 22 if (abs (0) != 0) 29 /* The labs call above should have been optimized, but the abs call 33 abs (int x) function
|
/openbsd-current/gnu/llvm/libcxx/include/ |
H A D | stdlib.h | 66 int abs( int j); 67 long abs( long j); 68 long long abs(long long j); // C++0X 99 // abs 101 #ifdef abs 102 # undef abs macro 113 _LIBCPP_NODISCARD_EXT inline _LIBCPP_INLINE_VISIBILITY long abs(long __x) _NOEXCEPT { 116 _LIBCPP_NODISCARD_EXT inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT { 122 _LIBCPP_NODISCARD_EXT inline _LIBCPP_INLINE_VISIBILITY float abs(float __lcpp_x) _NOEXCEPT { 126 _LIBCPP_NODISCARD_EXT inline _LIBCPP_INLINE_VISIBILITY double abs(doubl [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
H A D | builtin-abs-1.c | 1 /* Test for builtin abs, labs, llabs, imaxabs. */ 19 extern int abs (int); 39 if (abs (i0) != 0) 41 if (abs (0) != 0) 43 if (abs (i1) != 1) 45 if (abs (1) != 1) 47 if (abs (im1) != 1) 49 if (abs (-1) != 1) 51 if (abs (imin) != INT_MAX) 53 if (abs ( 127 abs (int x) function [all...] |
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/17_intro/ |
H A D | header_cstdlib.cc | 28 long a = std::abs(1L);
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/ |
H A D | valarray.cc | 40 double m = std::abs(b - c).max();
|
/openbsd-current/gnu/usr.bin/binutils-2.17/ld/emulparams/ |
H A D | armsymbian.sh | 8 TARGET2_TYPE=abs
|
/openbsd-current/lib/libc/arch/mips64/gen/ |
H A D | fabs.S | 45 abs.d $f0, $f12 # compute absolute value of x
|
/openbsd-current/gnu/llvm/lld/Common/ |
H A D | Reproduce.cpp | 25 SmallString<128> abs = path; local 26 if (fs::make_absolute(abs)) 28 path::remove_dots(abs, /*remove_dot_dot=*/true); 34 StringRef root = path::root_name(abs); 40 path::append(res, path::relative_path(abs));
|
/openbsd-current/lib/libcrypto/asn1/ |
H A D | a_bitstr.c | 92 asn1_abs_clear_unused_bits(ASN1_BIT_STRING *abs) argument 94 abs->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07); 98 asn1_abs_set_unused_bits(ASN1_BIT_STRING *abs, uint8_t unused_bits) argument 103 asn1_abs_clear_unused_bits(abs); 105 abs->flags |= ASN1_STRING_FLAG_BITS_LEFT | unused_bits; 245 ASN1_BIT_STRING *abs = NULL; local 269 if ((abs = ASN1_BIT_STRING_new()) == NULL) 272 abs->data = data; 273 abs->length = (int)data_len; 280 if (!asn1_abs_set_unused_bits(abs, unused_bit 302 ASN1_BIT_STRING *abs = NULL; local [all...] |
/openbsd-current/lib/librthread/ |
H A D | synch.h | 29 _twait(volatile uint32_t *p, int val, clockid_t clockid, const struct timespec *abs) argument 35 if (abs == NULL) { 44 if (!timespecisvalid(abs) || clock_gettime(clockid, &now)) 47 if (timespeccmp(abs, &now, <=)) 49 timespecsub(abs, &now, &rel);
|
/openbsd-current/lib/libc/thread/ |
H A D | synch.h | 29 _twait(volatile uint32_t *p, int val, clockid_t clockid, const struct timespec *abs) argument 35 if (abs == NULL) { 44 if (!timespecisvalid(abs) || WRAP(clock_gettime)(clockid, &now)) 47 if (timespeccmp(abs, &now, <=)) 49 timespecsub(abs, &now, &rel);
|
/openbsd-current/gnu/llvm/clang/lib/Headers/hlsl/ |
H A D | hlsl_intrinsics.h | 18 // abs builtins 21 int16_t abs(int16_t); 23 int16_t2 abs(int16_t2); 25 int16_t3 abs(int16_t3); 27 int16_t4 abs(int16_t4); 28 __attribute__((clang_builtin_alias(__builtin_elementwise_abs))) half abs(half); 30 half2 abs(half2); 32 half3 abs(half3); 34 half4 abs(half4); 37 __attribute__((clang_builtin_alias(__builtin_elementwise_abs))) int abs(in [all...] |
/openbsd-current/games/backgammon/common_source/ |
H A D | one.c | 41 n = abs(g[i] - p[i]); 65 if (abs(bar - g[i]) < 7) { 72 if (abs(home - g[i]) < 7 && abs(home - p[i]) > 6) { 114 return(abs(home - i)); 133 if (abs(g[i] - home) < 7 && abs(p[i] - home) > 6) { 145 if (abs(bar - g[i]) < 7) {
|
H A D | fancy.c | 129 n = abs(b); /* initialize n and pc */ 232 ov = abs(old); 233 nv = abs(new); 245 fixcol(r + inc * (nv - n * 5), nc, abs(ov - nv), ' ', inc); 247 fixcol(r + inc * (ov - o * 5), nc, abs(ov - nv), col, inc); 253 fixcol(r, c, abs(nv - 5), col, inc); 255 fixcol(r+inc*ov, c+1, abs(ov-5), col, inc); 257 fixcol(r, c, abs(ov - 5), ' ', inc); 259 fixcol(r+inc*nv, c+1, abs(nv-5), ' ', inc); 265 fixcol(r+inc*(ov-5), c, abs(o [all...] |
/openbsd-current/gnu/gcc/libstdc++-v3/include/tr1/ |
H A D | stdlib.h | 47 using std::tr1::abs;
|
/openbsd-current/gnu/usr.bin/perl/t/opbasic/ |
H A D | arith.t | 26 my $error = abs (($_[1] - $_[2]) / $_[1]); 48 # Give abs() a good work-out before using it in anger 49 tryeq $T++, abs(0), 0, 'abs(): 0 0'; 50 tryeq $T++, abs(1), 1, 'abs(): 1 1'; 51 tryeq $T++, abs(-1), 1, 'abs(): -1 1'; 52 tryeq $T++, abs(2147483647), 2147483647, 'abs() [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/ |
H A D | cp.t | 28 cmp_ok( abs($mtime - $now), '<=', 1, 'cp updated mtime' );
|