/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{{please 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{{please include the header <cmath> or explicitly provide a declaration for 'std::abs'}} [all...] |
warn-absolute-value.cpp | 5 int abs(int); 21 int abs(int); 22 long int abs(long int); 23 long long int abs(long long int); 26 float abs(float); 27 double abs(double); 28 long double abs(long double); 31 double abs(T); 36 (void)std::abs(x); 38 (void)abs(x) [all...] |
/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;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestAbs.rs | 24 return abs(inValue); 28 return abs(inValue); 32 return abs(inValue); 36 return abs(inValue); 40 return abs(inValue); 44 return abs(inValue); 48 return abs(inValue); 52 return abs(inValue); 56 return abs(inValue); 60 return abs(inValue) [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);
|
/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));
|
/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;
|
/external/chromium_org/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/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/ |
ripseg.asm | 4 default abs 12 mov rbx, [abs es:foo] 13 mov rbx, [abs fs:foo] 14 mov rbx, [abs gs:foo] 17 ;mov rbx, [es:abs foo] 18 ;mov rbx, [fs:abs foo] 28 mov rbx, [abs es:foo] 29 mov rbx, [abs fs:foo] 30 mov rbx, [abs gs:foo] 33 ;mov rbx, [es:abs foo [all...] |
riprel2.asm | 3 default abs ; default abs, except for explicit rel 15 mov rax,[abs foo] 16 mov rbx,[abs foo] 17 mov rax,[abs dword foo] 18 mov rax,[abs qword foo] 30 mov rax,[abs es:foo] 31 mov rbx,[abs es:foo] 32 mov rax,[abs dword es:foo] 33 mov rax,[abs qword es:foo [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
CodePointUtils.java | 66 final int r = Math.abs(random.nextInt()); 88 final int count = 1 + (Math.abs(random.nextInt()) % 5) 89 + (Math.abs(random.nextInt()) % 5) 90 + (Math.abs(random.nextInt()) % 5) 91 + (Math.abs(random.nextInt()) % 5) 92 + (Math.abs(random.nextInt()) % 5) 93 + (Math.abs(random.nextInt()) % 5) 94 + (Math.abs(random.nextInt()) % 5) 95 + (Math.abs(random.nextInt()) % 5); 97 builder.appendCodePoint(codePointSet[Math.abs(random.nextInt()) % codePointSet.length]) [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
X86RelocationFunctions.h | 15 DECL_X86_32_APPLY_RELOC_FUNC(abs) \ 32 { &abs, 1, "R_386_32", 32 }, \ 51 { &abs, 20, "R_386_16", 16 }, \ 53 { &abs, 22, "R_386_8", 8 }, \ 82 DECL_X86_64_APPLY_RELOC_FUNC(abs) \ 91 { &abs, 1, "R_X86_64_64", 64 }, \ 100 { &abs, 10, "R_X86_64_32", 32 }, \ 102 { &abs, 12, "R_X86_64_16", 16 }, \ 104 { &abs, 14, "R_X86_64_8", 8 }, \
|
/external/vixl/examples/ |
abs.cc | 33 // int64_t abs(int64_t x) 54 Label abs; local 55 masm.Bind(&abs); 62 simulator.RunFrom(abs.target()); 63 printf("abs(%ld) = %ld\n", input_value, simulator.xreg(0));
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
abs.c | 31 static char sccsid[] = "@(#)abs.c 8.1 (Berkeley) 6/4/93"; 39 abs(j) function
|
/external/eigen/test/ |
nesting_ops.cpp | 22 VERIFY_IS_APPROX( (m.transpose() * m).diagonal().array().abs().sum(), (m.transpose() * m).diagonal().array().abs().sum() ); 24 VERIFY_IS_APPROX( (m.transpose() * m).array().abs().sum(), (m.transpose() * m).array().abs().sum() );
|
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/ |
chkder.h | 20 using std::abs; 36 temp = eps * abs(x[j]); 46 temp = abs(x[j]); 53 if (fvec[i] != 0. && fvecp[i] != 0. && abs(fvecp[i] - fvec[i]) >= epsf * abs(fvec[i])) 54 temp = eps * abs((fvecp[i] - fvec[i]) / eps - err[i]) / (abs(fvec[i]) + abs(fvecp[i]));
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
value.c | 50 value->abs = e; 68 value->abs = NULL; 85 value->abs = orig->abs ? yasm_expr_copy(orig->abs) : NULL; 102 if (value->abs) 103 yasm_expr_destroy(value->abs); 104 value->abs = NULL; 462 if (!value->abs) 465 value->abs = yasm_expr__level_tree(value->abs, 1, 1, 0, 0, NULL, NULL) [all...] |
/external/stlport/stlport/stl/ |
_cstdlib.h | 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function 121 # pragma function (abs) 124 //HP-UX native lib has abs() and div() functions in global namespace 131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function 143 # pragma intrinsic (abs) 151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function 154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function 158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function 164 * problem we provide all abs overload before the 'using' call [all...] |
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_cstdlib.h | 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function 121 # pragma function (abs) 124 //HP-UX native lib has abs() and div() functions in global namespace 131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function 143 # pragma intrinsic (abs) 151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function 154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function 158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function 164 * problem we provide all abs overload before the 'using' call [all...] |
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/stl/ |
_cstdlib.h | 113 inline int abs(int __x) { return _STLP_VENDOR_CSTD::abs(__x); } function 121 # pragma function (abs) 124 //HP-UX native lib has abs() and div() functions in global namespace 131 inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); } function 143 # pragma intrinsic (abs) 151 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return _STLP_VENDOR_CSTD::llabs(__x); } function 154 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return ::llabs(__x); } function 158 inline _STLP_LONG_LONG abs(_STLP_LONG_LONG __x) { return __x < 0 ? -__x : __x; } function 164 * problem we provide all abs overload before the 'using' call [all...] |