Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 952) sorted by relevance

12345678910>>...39

/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/seq/
Denum.hpp31 # define BOOST_PP_SEQ_ENUM_1(x) x argument
32 # define BOOST_PP_SEQ_ENUM_2(x) x, BOOST_PP_SEQ_ENUM_1 argument
33 # define BOOST_PP_SEQ_ENUM_3(x) x, BOOST_PP_SEQ_ENUM_2 argument
34 # define BOOST_PP_SEQ_ENUM_4(x) x, BOOST_PP_SEQ_ENUM_3 argument
35 # define BOOST_PP_SEQ_ENUM_5(x) x, BOOST_PP_SEQ_ENUM_4 argument
36 # define BOOST_PP_SEQ_ENUM_6(x) x, BOOST_PP_SEQ_ENUM_5 argument
37 # define BOOST_PP_SEQ_ENUM_7(x) x, BOOST_PP_SEQ_ENUM_6 argument
38 # define BOOST_PP_SEQ_ENUM_8(x) x, BOOST_PP_SEQ_ENUM_7 argument
39 # define BOOST_PP_SEQ_ENUM_9(x) x, BOOST_PP_SEQ_ENUM_8 argument
40 # define BOOST_PP_SEQ_ENUM_10(x) x, BOOST_PP_SEQ_ENUM_9 argument
[all …]
/ndk/sources/android/support/src/
Dmath_support.c54 __attribute__((weak)) long double acosl(long double x) { return acos((double)x); } in acosl() argument
55 __attribute__((weak)) long double asinl(long double x) { return asin((double)x); } in asinl() argument
56 __attribute__((weak)) long double atanl(long double x) { return atan((double)x); } in atanl() argument
57 __attribute__((weak)) long double atan2l(long double x, long double y) { return atan2((double)x, (d… in atan2l() argument
58 __attribute__((weak)) long double cosl(long double x) { return cos((double)x); } in cosl() argument
59 __attribute__((weak)) long double coshl(long double x) { return cosh((double)x); } in coshl() argument
60 __attribute__((weak)) long double expl(long double x) { return exp((double)x); } in expl() argument
61 __attribute__((weak)) long double fmodl(long double x, long double y) { return fmod((double)x, (dou… in fmodl() argument
62 __attribute__((weak)) long double powl(long double x, long double y) { return pow((double)x, (doubl… in powl() argument
63 __attribute__((weak)) long double sinl(long double x) { return sin((double)x); } in sinl() argument
[all …]
/ndk/sources/android/support/tests/
Dmath_unittest.cc16 double x = 2.0; in TEST() local
17 EXPECT_EQ(x, nexttoward(x, (long double)x)); in TEST()
18 EXPECT_GT(x, nexttoward(x, (long double)(x * 2.))); in TEST()
19 EXPECT_LT(x, nexttoward(x, (long double)(x - 1.0))); in TEST()
23 float x = 2.0; in TEST() local
24 EXPECT_EQ(x, nexttowardf(x, (long double)x)); in TEST()
25 EXPECT_GT(x, nexttowardf(x, (long double)(x * 2.))); in TEST()
26 EXPECT_LT(x, nexttowardf(x, (long double)(x - 1.0))); in TEST()
30 long double x = 2.0; in TEST() local
31 EXPECT_EQ(x, nexttowardl(x, x)); in TEST()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.submatch/re.submatch.op/
Dcompare.pass.cpp221 test(const std::basic_string<CharT>& x, const std::basic_string<CharT>& y) in test() argument
226 sm1.first = x.begin(); in test()
227 sm1.second = x.end(); in test()
233 assert((sm1 == sm2) == (x == y)); in test()
234 assert((sm1 != sm2) == (x != y)); in test()
235 assert((sm1 < sm2) == (x < y)); in test()
236 assert((sm1 > sm2) == (x > y)); in test()
237 assert((sm1 <= sm2) == (x <= y)); in test()
238 assert((sm1 >= sm2) == (x >= y)); in test()
239 assert((x == sm2) == (x == y)); in test()
[all …]
/ndk/sources/host-tools/make-3.81/tests/scripts/options/
Ddash-W8 a.x: b.x
9 a.x b.x: ; echo >> $@
11 '', "echo >> b.x\necho >> a.x");
15 run_make_test(undef, '', "#MAKE#: `a.x' is up to date.");
17 # Now run it with -W b.x: should rebuild a.x
19 run_make_test(undef, '-W b.x', 'echo >> a.x');
21 # Put the timestamp for a.x into the future; it should still be remade.
23 utouch(1000, 'a.x');
24 run_make_test(undef, '', "#MAKE#: `a.x' is up to date.");
25 run_make_test(undef, '-W b.x', 'echo >> a.x');
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/ibm/
Dsupport.h22 #define __builtin_popcount(x) __popcnt4(x) argument
23 #define __builtin_popcountll(x) __popcnt8(x) argument
25 #define __builtin_popcountl(x) __builtin_popcountll(x) argument
27 #define __builtin_popcountl(x) __builtin_popcount(x) argument
31 #define __builtin_ctz(x) __cnttz4(x) argument
32 #define __builtin_ctzll(x) __cnttz8(x) argument
34 #define __builtin_ctzl(x) __builtin_ctzll(x) argument
36 #define __builtin_ctzl(x) __builtin_ctz(x) argument
40 #define __builtin_clz(x) __cntlz4(x) argument
41 #define __builtin_clzll(x) __cntlz8(x) argument
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dnum_put_float.cpp31 #define todigit(x) ((x)+'0') argument
130 static inline bool _Stl_is_nan_or_inf(double x) in _Stl_is_nan_or_inf() argument
132 { return !isfinite(x); } in _Stl_is_nan_or_inf()
134 { return !finite(x); }
136 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); } in _Stl_is_neg_nan() argument
137 static inline bool _Stl_is_inf(double x) { return isinf(x); } in _Stl_is_inf() argument
139 static inline bool _Stl_is_neg_inf(double x) { return isinf(x) && x < 0; } in _Stl_is_neg_inf() argument
143 static inline bool _Stl_is_nan_or_inf(double x) { return IsNANorINF(x); } in _Stl_is_nan_or_inf() argument
144 static inline bool _Stl_is_inf(double x) { return IsNANorINF(x) && IsINF(x); } in _Stl_is_inf() argument
145 static inline bool _Stl_is_neg_inf(double x) { return (IsINF(x)) && (x < 0.0); } in _Stl_is_neg_inf() argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.collate/locale.collate.byname/
Dtransform.pass.cpp31 std::string x("1234"); in main() local
33 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
36 std::wstring x(L"1234"); in main() local
38 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
44 std::string x("1234"); in main() local
46 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
49 std::wstring x(L"1234"); in main() local
51 assert(f.transform(x.data(), x.data() + x.size()) != x); in main()
57 std::string x("1234"); in main() local
59 assert(f.transform(x.data(), x.data() + x.size()) == x); in main()
[all …]
/ndk/sources/host-tools/nawk-20071023/
Dparse.c34 Node *x; in nodealloc() local
36 x = (Node *) malloc(sizeof(Node) + (n-1)*sizeof(Node *)); in nodealloc()
37 if (x == NULL) in nodealloc()
39 x->nnext = NULL; in nodealloc()
40 x->lineno = lineno; in nodealloc()
41 return(x); in nodealloc()
52 Node *x; in node1() local
54 x = nodealloc(1); in node1()
55 x->nobj = a; in node1()
56 x->narg[0]=b; in node1()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/
Dmax.pass.cpp21 test(const T& a, const T& b, const T& x) in test() argument
23 assert(&std::max(a, b) == &x); in test()
29 int x = 0; in main() local
31 test(x, y, x); in main()
32 test(y, x, y); in main()
35 int x = 0; in main() local
37 test(x, y, y); in main()
38 test(y, x, y); in main()
41 int x = 1; in main() local
43 test(x, y, x); in main()
[all …]
Dminmax.pass.cpp21 test(const T& a, const T& b, const T& x, const T& y) in test() argument
24 assert(&p.first == &x); in test()
31 int x = 0; in main() local
33 test(x, y, x, y); in main()
34 test(y, x, y, x); in main()
37 int x = 0; in main() local
39 test(x, y, x, y); in main()
40 test(y, x, x, y); in main()
43 int x = 1; in main() local
45 test(x, y, y, x); in main()
[all …]
Dmin.pass.cpp21 test(const T& a, const T& b, const T& x) in test() argument
23 assert(&std::min(a, b) == &x); in test()
29 int x = 0; in main() local
31 test(x, y, x); in main()
32 test(y, x, y); in main()
35 int x = 0; in main() local
37 test(x, y, x); in main()
38 test(y, x, x); in main()
41 int x = 1; in main() local
43 test(x, y, y); in main()
[all …]
Dmin_comp.pass.cpp23 test(const T& a, const T& b, C c, const T& x) in test() argument
25 assert(&std::min(a, b, c) == &x); in test()
31 int x = 0; in main() local
33 test(x, y, std::greater<int>(), x); in main()
34 test(y, x, std::greater<int>(), y); in main()
37 int x = 0; in main() local
39 test(x, y, std::greater<int>(), y); in main()
40 test(y, x, std::greater<int>(), y); in main()
43 int x = 1; in main() local
45 test(x, y, std::greater<int>(), x); in main()
[all …]
Dminmax_comp.pass.cpp23 test(const T& a, const T& b, C c, const T& x, const T& y) in test() argument
26 assert(&p.first == &x); in test()
34 int x = 0; in main() local
36 test(x, y, std::greater<int>(), x, y); in main()
37 test(y, x, std::greater<int>(), y, x); in main()
40 int x = 0; in main() local
42 test(x, y, std::greater<int>(), y, x); in main()
43 test(y, x, std::greater<int>(), y, x); in main()
46 int x = 1; in main() local
48 test(x, y, std::greater<int>(), x, y); in main()
[all …]
Dmax_comp.pass.cpp23 test(const T& a, const T& b, C c, const T& x) in test() argument
25 assert(&std::max(a, b, c) == &x); in test()
31 int x = 0; in main() local
33 test(x, y, std::greater<int>(), x); in main()
34 test(y, x, std::greater<int>(), y); in main()
37 int x = 0; in main() local
39 test(x, y, std::greater<int>(), x); in main()
40 test(y, x, std::greater<int>(), x); in main()
43 int x = 1; in main() local
45 test(x, y, std::greater<int>(), y); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
Dmath_win32.h43 _LIBCPP_ALWAYS_INLINE bool isgreater( double x, double y ) in isgreater() argument
45 if(_fpclass(x) == _FPCLASS_SNAN || _fpclass(y) == _FPCLASS_SNAN) return false; in isgreater()
46 else return x > y; in isgreater()
49 _LIBCPP_ALWAYS_INLINE bool isgreaterequal( double x, double y ) in isgreaterequal() argument
51 if(_fpclass(x) == _FPCLASS_SNAN || _fpclass(y) == _FPCLASS_SNAN) return false; in isgreaterequal()
52 else return x >= y; in isgreaterequal()
55 _LIBCPP_ALWAYS_INLINE bool isless( double x, double y ) in isless() argument
57 if(_fpclass(x) == _FPCLASS_SNAN || _fpclass(y) == _FPCLASS_SNAN) return false; in isless()
58 else return x < y; in isless()
61 _LIBCPP_ALWAYS_INLINE bool islessequal( double x, double y ) in islessequal() argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/atomics/atomics.types.generic/
Dbool.pass.cpp77 bool x = obj; in main() local
78 assert(obj.compare_exchange_weak(x, false) == true); in main()
80 assert(x == true); in main()
81 assert(obj.compare_exchange_weak(x, true, in main()
84 assert(x == false); in main()
86 x = true; in main()
87 assert(obj.compare_exchange_weak(x, false, in main()
91 assert(x == true); in main()
92 x = true; in main()
94 assert(obj.compare_exchange_strong(x, false) == true); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
Dexp.pass.cpp23 test(const std::complex<T>& c, std::complex<T> x) in test() argument
25 assert(exp(c) == x); in test()
37 const unsigned N = sizeof(x) / sizeof(x[0]); in test_edges()
40 std::complex<double> r = exp(x[i]); in test_edges()
41 if (x[i].real() == 0 && x[i].imag() == 0) in test_edges()
45 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
47 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
52 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
57 else if (std::isinf(x[i].real()) && x[i].real() > 0 && x[i].imag() == 0) in test_edges()
62 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
[all …]
Dlog.pass.cpp23 test(const std::complex<T>& c, std::complex<T> x) in test() argument
25 assert(log(c) == x); in test()
38 const unsigned N = sizeof(x) / sizeof(x[0]); in test_edges()
41 std::complex<double> r = log(x[i]); in test_edges()
42 if (x[i].real() == 0 && x[i].imag() == 0) in test_edges()
44 if (std::signbit(x[i].real())) in test_edges()
48 if (std::signbit(x[i].imag())) in test_edges()
58 assert(std::signbit(x[i].imag()) == std::signbit(r.imag())); in test_edges()
61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
65 if (x[i].imag() > 0) in test_edges()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/
Dsign.hpp28 inline int signbit_impl(T x, native_tag const&) in signbit_impl() argument
30 return (std::signbit)(x); in signbit_impl()
35 inline int signbit_impl(T x, generic_tag<true> const&) in signbit_impl() argument
37 return x < 0; in signbit_impl()
41 inline int signbit_impl(T x, generic_tag<false> const&) in signbit_impl() argument
43 return x < 0; in signbit_impl()
47 inline int signbit_impl(T x, ieee_copy_all_bits_tag const&) in signbit_impl() argument
52 traits::get_bits(x,a); in signbit_impl()
57 inline int signbit_impl(T x, ieee_copy_leading_bits_tag const&) in signbit_impl() argument
62 traits::get_bits(x,a); in signbit_impl()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/
DEmplaceable.h32 Emplaceable(Emplaceable&& x) in Emplaceable() argument
33 : int_(x.int_), double_(x.double_) in Emplaceable()
34 {x.int_ = 0; x.double_ = 0;} in Emplaceable()
35 Emplaceable& operator=(Emplaceable&& x)
36 {int_ = x.int_; x.int_ = 0;
37 double_ = x.double_; x.double_ = 0;
40 bool operator==(const Emplaceable& x) const
41 {return int_ == x.int_ && double_ == x.double_;}
42 bool operator<(const Emplaceable& x) const
43 {return int_ < x.int_ || (int_ == x.int_ && double_ < x.double_);}
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/
Drv_value.pass.cpp63 int x[6] = {0}; in main() local
65 c1.push_back(Ptr(x+i)); in main()
68 c2.push_back(Ptr(x+i)); in main()
69 insert3at(c2, c2.begin(), Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main()
70 test(std::move(c1), 0, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
73 c1.push_back(Ptr(x+i)); in main()
76 c2.push_back(Ptr(x+i)); in main()
77 insert3at(c2, c2.begin()+1, Ptr(x+3), Ptr(x+4), Ptr(x+5)); in main()
78 test(std::move(c1), 1, Ptr(x+3), Ptr(x+4), Ptr(x+5), c2); in main()
81 c1.push_back(Ptr(x+i)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/fstreams/ofstream.assign/
Dnonmember_swap.pass.cpp37 double x = 0; in main() local
38 fs >> x; in main()
39 assert(x == 3.25); in main()
40 fs >> x; in main()
41 assert(x == 4.5); in main()
46 double x = 0; in main() local
47 fs >> x; in main()
48 assert(x == 4.5); in main()
49 fs >> x; in main()
50 assert(x == 3.25); in main()
[all …]
Dmember_swap.pass.cpp36 double x = 0; in main() local
37 fs >> x; in main()
38 assert(x == 3.25); in main()
39 fs >> x; in main()
40 assert(x == 4.5); in main()
45 double x = 0; in main() local
46 fs >> x; in main()
47 assert(x == 4.5); in main()
48 fs >> x; in main()
49 assert(x == 3.25); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/
Dtree_left_rotate.pass.cpp33 Node x; in test1() local
35 root.__left_ = &x; in test1()
36 x.__left_ = 0; in test1()
37 x.__right_ = &y; in test1()
38 x.__parent_ = &root; in test1()
41 y.__parent_ = &x; in test1()
42 std::__tree_left_rotate(&x); in test1()
47 assert(y.__left_ == &x); in test1()
49 assert(x.__parent_ == &y); in test1()
50 assert(x.__left_ == 0); in test1()
[all …]

12345678910>>...39