HomeSort by relevance Sort by last modified time
    Searched refs:abs (Results 1 - 25 of 2832) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Sema/
warn-absolute-value-header.c 4 int abs(int);
12 (void)abs(i);
14 // Remove abs call
15 (void)abs(u);
17 // expected-note@-2{{remove the call to 'abs' since unsigned values cannot be negative}}
23 (void)abs(ll);
24 // expected-warning@-1{{absolute value function 'abs' given an argument of type 'long long' but has parameter of type 'int' which may cause truncation of value}}
27 (void)abs(f);
28 // expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating point type}}
31 (void)abs(d)
    [all...]
  /external/clang/test/SemaCXX/
warn-absolute-value-header.cpp 5 int abs(int);
10 int abs(int);
11 float abs(float);
16 (void)abs(d);
17 // expected-warning@-1{{using integer absolute value function 'abs' when argument is of floating point type}}
18 // expected-note@-2{{use function 'std::abs' instead}}
19 // expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'}}
20 // CHECK: fix-it:"{{.*}}":{[[@LINE-4]]:9-[[@LINE-4]]:12}:"std::abs"
24 // expected-note@-2{{use function 'std::abs' instead}}
25 // expected-note@-3{{include the header <cmath> or explicitly provide a declaration for 'std::abs'}}
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/mips/
abs.s 1 # Source file used to test the abs macro.
3 abs $4
4 abs $4,$5
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic6x/
insns-bad-2.s 5 abs .L1 a15,a15
6 abs .L1 a31,a15
7 abs .L1 a15,a31
8 abs .L2X a15,b31
9 abs .L2X a31,b15
11 abs .L1 a15,a15
12 abs .L1 a31,a15
13 abs .L1 a15,a31
14 abs .L2X a15,b31
15 abs .L2X a31,b1
    [all...]
insns-predicate.s 6 [a0] abs .L1 a2,a3
7 || [A0] abs .L2 b4,b5
8 [!a0] abs .L1 a6,a7
9 [!A0] abs .L2 b8,b9
10 [b0] abs .L1 a10,a11
11 [B0] abs .L2 b12,b13
12 [!b0] abs .L1 a14,a15
13 [!B0] abs .L2 b16,b17
14 [a1] abs .L1 a18,a19
15 [!A1] abs .L2 b20,b2
    [all...]
insns-predicate.d 10 0+00 <[^>]*> c1880359[ \t]+\[a0\] abs \.L1 a2,a3
11 0+04 <[^>]*> c290035a[ \t]+\|\| \[a0\] abs \.L2 b4,b5
12 0+08 <[^>]*> d3980358[ \t]+\[!a0\] abs \.L1 a6,a7
13 0+0c <[^>]*> d4a0035a[ \t]+\[!a0\] abs \.L2 b8,b9
14 0+10 <[^>]*> 25a80358[ \t]+\[b0\] abs \.L1 a10,a11
15 0+14 <[^>]*> 26b0035a[ \t]+\[b0\] abs \.L2 b12,b13
16 0+18 <[^>]*> 37b80358[ \t]+\[!b0\] abs \.L1 a14,a15
17 0+1c <[^>]*> 38c0035a[ \t]+\[!b0\] abs \.L2 b16,b17
18 0+20 <[^>]*> 89c80358[ \t]+\[a1\] abs \.L1 a18,a19
19 0+24 <[^>]*> 9ad0035a[ \t]+\[!a1\] abs \.L2 b20,b2
    [all...]
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/d30v/
align.s 6 abs r21,r42
8 abs r21,r42
10 abs r21,r42
12 abs r21,r42
18 abs r21,r42
26 abs r21,r42
align.d 10 0: 08815a80 00f00000 abs r21, r42 || nop
11 8: 08815a80 00f00000 abs r21, r42 || nop
12 10: 08815a80 00f00000 abs r21, r42 || nop
13 18: 00f00000 00f00000 abs r21, r42 || nop
14 20: 08815a80 00f00000 abs r21, r42 || nop
15 28: 08815a80 00f00000 abs r21, r42 || nop
16 30: 08815a80 00f00000 abs r21, r42 || nop
  /external/eigen/doc/snippets/
Cwise_abs.cpp 2 cout << v.abs() << endl;
MatrixBase_array_const.cpp 2 cout << "the absolute values:" << endl << v.array().abs() << endl;
3 cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl;
  /bionic/libc/upstream-openbsd/lib/libc/stdlib/
abs.c 1 /* $OpenBSD: abs.c,v 1.5 2005/08/08 08:05:36 espie Exp $ */
34 abs(int j) function
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/
pcrel.s 0 abs = 0x1234
12 jmp abs
24 jmp abs - abs
25 jmp ext - abs
26 jmp weak - abs
27 jmp comm - abs
28 jmp loc - abs
29 jmp glob - abs
30 jmp abs2 - abs
1 abs = 0x1234 define
    [all...]
absrel.s 0 abs = 0x1234
12 mov abs, %eax
24 mov abs - abs, %eax
25 mov ext - abs, %eax
26 mov weak - abs, %eax
27 mov comm - abs, %eax
28 mov loc - abs, %eax
29 mov glob - abs, %eax
30 mov abs2 - abs, %ea
1 abs = 0x1234 define
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
TestAbs.rs 24 return abs(inV);
28 return abs(inV);
32 return abs(inV);
36 return abs(inV);
40 return abs(inV);
44 return abs(inV);
48 return abs(inV);
52 return abs(inV);
56 return abs(inV);
60 return abs(inV)
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static/d/
T_invoke_static_1.java 22 return Math.abs(-1234567);
T_invoke_static_19.java 22 return Math.abs(-1234567);
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_static_range/d/
T_invoke_static_range_1.java 22 return Math.abs(-1234567);
T_invoke_static_range_19.java 22 return Math.abs(-1234567);
  /external/opencv3/3rdparty/openexr/IlmImf/
ImfFramesPerSecond.cpp 60 if (abs (double (fps) - double (fps_23_976())) < e)
63 if (abs (double (fps) - double (fps_29_97())) < e)
66 if (abs (double (fps) - double (fps_47_952())) < e)
69 if (abs (double (fps) - double (fps_59_94())) < e)
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/rx/
abs.d 9 0: 7e 20 abs r0
10 2: 7e 2f abs r15
11 4: fc 0f 00 abs r0, r0
12 7: fc 0f 0f abs r0, r15
13 a: fc 0f f0 abs r15, r0
14 d: fc 0f ff abs r15, r15
  /art/test/455-checker-gvn/src/
Main.java 65 // The intermediate call to abs() does not kill
68 int abs = Math.abs(mul1); local
70 return abs + mul2;
84 // Here, the two calls to abs() themselves can be replaced with just one.
85 int abs1 = Math.abs(x);
86 int abs2 = Math.abs(x);
  /cts/tests/tests/uirendering/src/android/uirendering/cts/util/
CompareUtils.java 10 int diff = Math.abs(Color.red(color) - Color.red(expectedColor))
11 + Math.abs(Color.green(color) - Color.green(expectedColor))
12 + Math.abs(Color.blue(color) - Color.blue(expectedColor));
24 return Math.abs(Color.red(color) - average) <= threshold
25 && Math.abs(Color.green(color) - average) <= threshold
26 && Math.abs(Color.blue(color) - average) <= threshold;
  /external/v8/test/mjsunit/
math-abs.js 36 assertEquals(0, Math.abs(0));
37 assertEquals(0, Math.abs(zero()));
38 assertEquals(0, Math.abs(-0));
39 assertEquals(Infinity, Math.abs(Infinity));
40 assertEquals(Infinity, Math.abs(-Infinity));
41 assertEquals(NaN, Math.abs(NaN));
42 assertEquals(NaN, Math.abs(-NaN));
43 assertEquals('Infinity', Math.abs(Number('+Infinity')).toString());
44 assertEquals('Infinity', Math.abs(Number('-Infinity')).toString());
45 assertEquals('NaN', Math.abs(NaN).toString())
    [all...]
  /external/eigen/doc/examples/
Tutorial_ArrayClass_cwise_other.cpp 13 cout << "a.abs() =" << endl
14 << a.abs() << endl;
15 cout << "a.abs().sqrt() =" << endl
16 << a.abs().sqrt() << endl;
17 cout << "a.min(a.abs().sqrt()) =" << endl
18 << a.min(a.abs().sqrt()) << endl;
  /packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
CodePointUtils.java 75 final int r = Math.abs(random.nextInt());
104 final int count = 1 + (Math.abs(random.nextInt()) % 5)
105 + (Math.abs(random.nextInt()) % 5)
106 + (Math.abs(random.nextInt()) % 5)
107 + (Math.abs(random.nextInt()) % 5)
108 + (Math.abs(random.nextInt()) % 5)
109 + (Math.abs(random.nextInt()) % 5)
110 + (Math.abs(random.nextInt()) % 5)
111 + (Math.abs(random.nextInt()) % 5);
113 builder.appendCodePoint(codePointSet[Math.abs(random.nextInt()) % codePointSet.length])
    [all...]

Completed in 1316 milliseconds

1 2 3 4 5 6 7 8 91011>>