Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 1020) sorted by relevance

12345678910>>...41

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/c.math/
Dcmath.pass.cpp26 static_assert((std::is_same<decltype(std::abs((float)0)), float>::value), ""); in test_abs()
27 static_assert((std::is_same<decltype(std::abs((double)0)), double>::value), ""); in test_abs()
28 static_assert((std::is_same<decltype(std::abs((long double)0)), long double>::value), ""); in test_abs()
34 static_assert((std::is_same<decltype(std::acos((float)0)), float>::value), ""); in test_acos()
35 static_assert((std::is_same<decltype(std::acos((bool)0)), double>::value), ""); in test_acos()
36 static_assert((std::is_same<decltype(std::acos((unsigned short)0)), double>::value), ""); in test_acos()
37 static_assert((std::is_same<decltype(std::acos((int)0)), double>::value), ""); in test_acos()
38 static_assert((std::is_same<decltype(std::acos((unsigned int)0)), double>::value), ""); in test_acos()
39 static_assert((std::is_same<decltype(std::acos((long)0)), double>::value), ""); in test_acos()
40 static_assert((std::is_same<decltype(std::acos((unsigned long)0)), double>::value), ""); in test_acos()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.traits/
Dvalue.pass.cpp26 assert(t.value(c, 8) == -1); in main()
27 assert(t.value(c, 10) == -1); in main()
28 assert(t.value(c, 16) == -1); in main()
32 assert(t.value(c, 8) == c - '0'); in main()
33 assert(t.value(c, 10) == c - '0'); in main()
34 assert(t.value(c, 16) == c - '0'); in main()
38 assert(t.value(c, 8) == -1); in main()
39 assert(t.value(c, 10) == c - '0'); in main()
40 assert(t.value(c, 16) == c - '0'); in main()
44 assert(t.value(c, 8) == -1); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dmath_h.pass.cpp20 static_assert((std::is_same<decltype(acos((double)0)), double>::value), ""); in test_acos()
21 static_assert((std::is_same<decltype(acosf(0)), float>::value), ""); in test_acos()
22 static_assert((std::is_same<decltype(acosl(0)), long double>::value), ""); in test_acos()
28 static_assert((std::is_same<decltype(asin((double)0)), double>::value), ""); in test_asin()
29 static_assert((std::is_same<decltype(asinf(0)), float>::value), ""); in test_asin()
30 static_assert((std::is_same<decltype(asinl(0)), long double>::value), ""); in test_asin()
36 static_assert((std::is_same<decltype(atan((double)0)), double>::value), ""); in test_atan()
37 static_assert((std::is_same<decltype(atanf(0)), float>::value), ""); in test_atan()
38 static_assert((std::is_same<decltype(atanl(0)), long double>::value), ""); in test_atan()
44 static_assert((std::is_same<decltype(atan2((double)0, (double)0)), double>::value), ""); in test_atan2()
[all …]
Dstdlib_h.pass.cpp42 static_assert((std::is_same<decltype(atof("")), double>::value), ""); in main()
43 static_assert((std::is_same<decltype(atoi("")), int>::value), ""); in main()
44 static_assert((std::is_same<decltype(atol("")), long>::value), ""); in main()
45 static_assert((std::is_same<decltype(atoll("")), long long>::value), ""); in main()
46 static_assert((std::is_same<decltype(getenv("")), char*>::value), ""); in main()
47 static_assert((std::is_same<decltype(strtod("", endptr)), double>::value), ""); in main()
48 static_assert((std::is_same<decltype(strtof("", endptr)), float>::value), ""); in main()
49 static_assert((std::is_same<decltype(strtold("", endptr)), long double>::value), ""); in main()
50 static_assert((std::is_same<decltype(strtol("", endptr,0)), long>::value), ""); in main()
51 static_assert((std::is_same<decltype(strtoll("", endptr,0)), long long>::value), ""); in main()
[all …]
Dwchar_h.pass.cpp45 static_assert((std::is_same<decltype(fwprintf(fp, L"")), int>::value), ""); in main()
46 static_assert((std::is_same<decltype(fwscanf(fp, L"")), int>::value), ""); in main()
47 static_assert((std::is_same<decltype(swprintf(ws, s, L"")), int>::value), ""); in main()
48 static_assert((std::is_same<decltype(swscanf(L"", L"")), int>::value), ""); in main()
49 static_assert((std::is_same<decltype(vfwprintf(fp, L"", va)), int>::value), ""); in main()
50 static_assert((std::is_same<decltype(vfwscanf(fp, L"", va)), int>::value), ""); in main()
51 static_assert((std::is_same<decltype(vswprintf(ws, s, L"", va)), int>::value), ""); in main()
52 static_assert((std::is_same<decltype(vswscanf(L"", L"", va)), int>::value), ""); in main()
53 static_assert((std::is_same<decltype(vwprintf(L"", va)), int>::value), ""); in main()
54 static_assert((std::is_same<decltype(vwscanf(L"", va)), int>::value), ""); in main()
[all …]
Dstdio_h.pass.cpp90 static_assert((std::is_same<decltype(remove("")), int>::value), ""); in main()
91 static_assert((std::is_same<decltype(rename("","")), int>::value), ""); in main()
92 static_assert((std::is_same<decltype(tmpfile()), FILE*>::value), ""); in main()
93 static_assert((std::is_same<decltype(tmpnam(cp)), char*>::value), ""); in main()
94 static_assert((std::is_same<decltype(fclose(fp)), int>::value), ""); in main()
95 static_assert((std::is_same<decltype(fflush(fp)), int>::value), ""); in main()
96 static_assert((std::is_same<decltype(fopen("", "")), FILE*>::value), ""); in main()
97 static_assert((std::is_same<decltype(freopen("", "", fp)), FILE*>::value), ""); in main()
98 static_assert((std::is_same<decltype(setbuf(fp,cp)), void>::value), ""); in main()
99 static_assert((std::is_same<decltype(vfprintf(fp,"",va)), int>::value), ""); in main()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/type_traits/
Dis_class.hpp65 BOOST_STATIC_CONSTANT(bool, value =
68 ::boost::type_traits::ice_not< ::boost::is_union<T>::value >::value
69 >::value)
81 BOOST_STATIC_CONSTANT(bool, value =
84 ::boost::type_traits::ice_not< ::boost::is_union<T>::value >::value
85 >::value)
97 BOOST_STATIC_CONSTANT(bool, value =
99 ::boost::type_traits::ice_not< ::boost::is_union<T>::value >::value,
100 ::boost::type_traits::ice_not< ::boost::is_scalar<T>::value >::value,
101 ::boost::type_traits::ice_not< ::boost::is_array<T>::value >::value,
[all …]
Dis_enum.hpp46 BOOST_STATIC_CONSTANT(bool, value =
48 ::boost::is_class<T>::value
49 , ::boost::is_union<T>::value
50 >::value));
59 BOOST_STATIC_CONSTANT(bool, value = false);
67 … bool, value = sizeof(is_class_or_union_tester(0)) == sizeof(::boost::type_traits::yes_type));
72 … bool, value = sizeof(is_class_or_union_tester<T>(0)) == sizeof(::boost::type_traits::yes_type));
90 BOOST_STATIC_CONSTANT(bool, value = false);
117 ::boost::is_arithmetic<T>::value
118 , ::boost::is_reference<T>::value
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/comparisons/
Dtransparent.pass.cpp21 static const bool value = sizeof(__test<_Tp>(0)) == 1; member
28 static_assert ( !is_transparent<std::less<int>>::value, "" ); in main()
29 static_assert ( !is_transparent<std::less<std::string>>::value, "" ); in main()
30 static_assert ( is_transparent<std::less<void>>::value, "" ); in main()
31 static_assert ( is_transparent<std::less<>>::value, "" ); in main()
33 static_assert ( !is_transparent<std::less_equal<int>>::value, "" ); in main()
34 static_assert ( !is_transparent<std::less_equal<std::string>>::value, "" ); in main()
35 static_assert ( is_transparent<std::less_equal<void>>::value, "" ); in main()
36 static_assert ( is_transparent<std::less_equal<>>::value, "" ); in main()
38 static_assert ( !is_transparent<std::equal_to<int>>::value, "" ); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/arithmetic.operations/
Dtransparent.pass.cpp21 static const bool value = sizeof(__test<_Tp>(0)) == 1; member
28 static_assert ( !is_transparent<std::plus<int>>::value, "" ); in main()
29 static_assert ( !is_transparent<std::plus<std::string>>::value, "" ); in main()
30 static_assert ( is_transparent<std::plus<void>>::value, "" ); in main()
31 static_assert ( is_transparent<std::plus<>>::value, "" ); in main()
33 static_assert ( !is_transparent<std::minus<int>>::value, "" ); in main()
34 static_assert ( !is_transparent<std::minus<std::string>>::value, "" ); in main()
35 static_assert ( is_transparent<std::minus<void>>::value, "" ); in main()
36 static_assert ( is_transparent<std::minus<>>::value, "" ); in main()
38 static_assert ( !is_transparent<std::multiplies<int>>::value, "" ); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.types/
Dallocator_pointers.pass.cpp40 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer()
41 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer()
42 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer()
43 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer()
44 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer()
45 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer()
47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer()
48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer()
49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer()
50 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/
Dallocator_pointers.pass.cpp40 static_assert(std::is_same<bool, decltype( vp == vp)>::value, ""); in test_pointer()
41 static_assert(std::is_same<bool, decltype( vp != vp)>::value, ""); in test_pointer()
42 static_assert(std::is_same<bool, decltype( vp > vp)>::value, ""); in test_pointer()
43 static_assert(std::is_same<bool, decltype( vp >= vp)>::value, ""); in test_pointer()
44 static_assert(std::is_same<bool, decltype( vp < vp)>::value, ""); in test_pointer()
45 static_assert(std::is_same<bool, decltype( vp <= vp)>::value, ""); in test_pointer()
47 static_assert(std::is_same<bool, decltype( vp == cvp)>::value, ""); in test_pointer()
48 static_assert(std::is_same<bool, decltype(cvp == vp)>::value, ""); in test_pointer()
49 static_assert(std::is_same<bool, decltype( vp != cvp)>::value, ""); in test_pointer()
50 static_assert(std::is_same<bool, decltype(cvp != vp)>::value, ""); in test_pointer()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dcstdint.hpp396 # define INT8_C(value) value##i8 argument
399 # define INT16_C(value) value##i16 argument
402 # define INT32_C(value) value##i32 argument
405 # define INT64_C(value) value##i64 argument
409 # define UINT8_C(value) static_cast<unsigned char>(value##u) argument
411 # define UINT8_C(value) value##ui8 argument
414 # define UINT16_C(value) value##ui16 argument
417 # define UINT32_C(value) value##ui32 argument
420 # define UINT64_C(value) value##ui64 argument
423 # define INTMAX_C(value) value##i64 argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.rel/
Dis_convertible.pass.cpp19 static_assert((std::is_convertible<T, U>::value), ""); in test_is_convertible()
20 static_assert((std::is_convertible<const T, U>::value), ""); in test_is_convertible()
21 static_assert((std::is_convertible<T, const U>::value), ""); in test_is_convertible()
22 static_assert((std::is_convertible<const T, const U>::value), ""); in test_is_convertible()
28 static_assert((!std::is_convertible<T, U>::value), ""); in test_is_not_convertible()
29 static_assert((!std::is_convertible<const T, U>::value), ""); in test_is_not_convertible()
30 static_assert((!std::is_convertible<T, const U>::value), ""); in test_is_not_convertible()
31 static_assert((!std::is_convertible<const T, const U>::value), ""); in test_is_not_convertible()
103 static_assert((!std::is_convertible<Array, Array&>::value), ""); in main()
104 static_assert(( std::is_convertible<Array, const Array&>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.runtime/
Dcstdlib.pass.cpp42 static_assert((std::is_same<decltype(std::atof("")), double>::value), ""); in main()
43 static_assert((std::is_same<decltype(std::atoi("")), int>::value), ""); in main()
44 static_assert((std::is_same<decltype(std::atol("")), long>::value), ""); in main()
45 static_assert((std::is_same<decltype(std::atoll("")), long long>::value), ""); in main()
46 static_assert((std::is_same<decltype(std::getenv("")), char*>::value), ""); in main()
47 static_assert((std::is_same<decltype(std::strtod("", endptr)), double>::value), ""); in main()
48 static_assert((std::is_same<decltype(std::strtof("", endptr)), float>::value), ""); in main()
49 static_assert((std::is_same<decltype(std::strtold("", endptr)), long double>::value), ""); in main()
50 static_assert((std::is_same<decltype(std::strtol("", endptr,0)), long>::value), ""); in main()
51 static_assert((std::is_same<decltype(std::strtoll("", endptr,0)), long long>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
Dcwchar.pass.cpp45 static_assert((std::is_same<decltype(std::fwprintf(fp, L"")), int>::value), ""); in main()
46 static_assert((std::is_same<decltype(std::fwscanf(fp, L"")), int>::value), ""); in main()
47 static_assert((std::is_same<decltype(std::swprintf(ws, s, L"")), int>::value), ""); in main()
48 static_assert((std::is_same<decltype(std::swscanf(L"", L"")), int>::value), ""); in main()
49 static_assert((std::is_same<decltype(std::vfwprintf(fp, L"", va)), int>::value), ""); in main()
50 static_assert((std::is_same<decltype(std::vfwscanf(fp, L"", va)), int>::value), ""); in main()
51 static_assert((std::is_same<decltype(std::vswprintf(ws, s, L"", va)), int>::value), ""); in main()
52 static_assert((std::is_same<decltype(std::vswscanf(L"", L"", va)), int>::value), ""); in main()
53 static_assert((std::is_same<decltype(std::vwprintf(L"", va)), int>::value), ""); in main()
54 static_assert((std::is_same<decltype(std::vwscanf(L"", va)), int>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/
Dcommon_type.pass.cpp18 static_assert((std::is_same<std::common_type<int>::type, int>::value), ""); in main()
19 static_assert((std::is_same<std::common_type<char>::type, char>::value), ""); in main()
21 static_assert((std::is_same<std::common_type_t<int>, int>::value), ""); in main()
22 static_assert((std::is_same<std::common_type_t<char>, char>::value), ""); in main()
25 static_assert((std::is_same<std::common_type< int>::type, int>::value), ""); in main()
26 static_assert((std::is_same<std::common_type<const int>::type, int>::value), ""); in main()
27 static_assert((std::is_same<std::common_type< volatile int>::type, int>::value), ""); in main()
28 static_assert((std::is_same<std::common_type<const volatile int>::type, int>::value), ""); in main()
30 static_assert((std::is_same<std::common_type<int, int>::type, int>::value), ""); in main()
31 static_assert((std::is_same<std::common_type<int, const int>::type, int>::value), ""); in main()
[all …]
Daligned_storage.pass.cpp21 static_assert(std::is_same<std::aligned_storage_t<10, 1>, T1>::value, "" ); in main()
23 static_assert(std::alignment_of<T1>::value == 1, ""); in main()
29 static_assert(std::is_same<std::aligned_storage_t<10, 2>, T1>::value, "" ); in main()
31 static_assert(std::alignment_of<T1>::value == 2, ""); in main()
37 static_assert(std::is_same<std::aligned_storage_t<10, 4>, T1>::value, "" ); in main()
39 static_assert(std::alignment_of<T1>::value == 4, ""); in main()
45 static_assert(std::is_same<std::aligned_storage_t<10, 8>, T1>::value, "" ); in main()
47 static_assert(std::alignment_of<T1>::value == 8, ""); in main()
53 static_assert(std::is_same<std::aligned_storage_t<10, 16>, T1>::value, "" ); in main()
55 static_assert(std::alignment_of<T1>::value == 16, ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/file.streams/c.files/
Dcstdio.pass.cpp91 static_assert((std::is_same<decltype(std::remove("")), int>::value), ""); in main()
92 static_assert((std::is_same<decltype(std::rename("","")), int>::value), ""); in main()
93 static_assert((std::is_same<decltype(std::tmpfile()), std::FILE*>::value), ""); in main()
94 static_assert((std::is_same<decltype(std::tmpnam(cp)), char*>::value), ""); in main()
95 static_assert((std::is_same<decltype(std::fclose(fp)), int>::value), ""); in main()
96 static_assert((std::is_same<decltype(std::fflush(fp)), int>::value), ""); in main()
97 static_assert((std::is_same<decltype(std::fopen("", "")), std::FILE*>::value), ""); in main()
98 static_assert((std::is_same<decltype(std::freopen("", "", fp)), std::FILE*>::value), ""); in main()
99 static_assert((std::is_same<decltype(std::setbuf(fp,cp)), void>::value), ""); in main()
100 static_assert((std::is_same<decltype(std::vfprintf(fp,"",va)), int>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/bitwise.operations/
Dtransparent.pass.cpp21 static const bool value = sizeof(__test<_Tp>(0)) == 1; member
28 static_assert ( !is_transparent<std::bit_and<int>>::value, "" ); in main()
29 static_assert ( !is_transparent<std::bit_and<std::string>>::value, "" ); in main()
30 static_assert ( is_transparent<std::bit_and<void>>::value, "" ); in main()
31 static_assert ( is_transparent<std::bit_and<>>::value, "" ); in main()
33 static_assert ( !is_transparent<std::bit_or<int>>::value, "" ); in main()
34 static_assert ( !is_transparent<std::bit_or<std::string>>::value, "" ); in main()
35 static_assert ( is_transparent<std::bit_or<void>>::value, "" ); in main()
36 static_assert ( is_transparent<std::bit_or<>>::value, "" ); in main()
38 static_assert ( !is_transparent<std::bit_xor<int>>::value, "" ); in main()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/
Dsequence_traits.hpp93 BOOST_STATIC_CONSTANT(bool, value=(
98 enum { value = false };
100 BOOST_STATIC_CONSTANT(bool, value=false);
105 typedef mpl::bool_<has_native_replace<T>::value> type;
121 BOOST_STATIC_CONSTANT(bool, value=(
126 enum { value = false };
128 BOOST_STATIC_CONSTANT(bool, value=false);
132 typedef mpl::bool_<has_stable_iterators<T>::value> type;
148 BOOST_STATIC_CONSTANT(bool, value=(
153 enum { value = false };
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/
Dtypes.pass.cpp37 static_assert((std::is_same<C::reference, T&>::value), ""); in main()
38 static_assert((std::is_same<C::const_reference, const T&>::value), ""); in main()
39 static_assert((std::is_same<C::iterator, T*>::value), ""); in main()
40 static_assert((std::is_same<C::const_iterator, const T*>::value), ""); in main()
41 static_assert((std::is_same<C::pointer, T*>::value), ""); in main()
42 static_assert((std::is_same<C::const_pointer, const T*>::value), ""); in main()
43 static_assert((std::is_same<C::size_type, std::size_t>::value), ""); in main()
44 static_assert((std::is_same<C::difference_type, std::ptrdiff_t>::value), ""); in main()
45 …static_assert((std::is_same<C::reverse_iterator, std::reverse_iterator<C::iterator> >::value), ""); in main()
46 …t((std::is_same<C::const_reverse_iterator, std::reverse_iterator<C::const_iterator> >::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.cat/
Dlvalue_ref.pass.cpp19 static_assert(!std::is_void<T>::value, ""); in test_lvalue_ref()
21 static_assert(!std::is_null_pointer<T>::value, ""); in test_lvalue_ref()
23 static_assert(!std::is_integral<T>::value, ""); in test_lvalue_ref()
24 static_assert(!std::is_floating_point<T>::value, ""); in test_lvalue_ref()
25 static_assert(!std::is_array<T>::value, ""); in test_lvalue_ref()
26 static_assert(!std::is_pointer<T>::value, ""); in test_lvalue_ref()
27 static_assert( std::is_lvalue_reference<T>::value, ""); in test_lvalue_ref()
28 static_assert(!std::is_rvalue_reference<T>::value, ""); in test_lvalue_ref()
29 static_assert(!std::is_member_object_pointer<T>::value, ""); in test_lvalue_ref()
30 static_assert(!std::is_member_function_pointer<T>::value, ""); in test_lvalue_ref()
[all …]
Drvalue_ref.pass.cpp19 static_assert(!std::is_void<T>::value, ""); in test_rvalue_ref()
21 static_assert(!std::is_null_pointer<T>::value, ""); in test_rvalue_ref()
23 static_assert(!std::is_integral<T>::value, ""); in test_rvalue_ref()
24 static_assert(!std::is_floating_point<T>::value, ""); in test_rvalue_ref()
25 static_assert(!std::is_array<T>::value, ""); in test_rvalue_ref()
26 static_assert(!std::is_pointer<T>::value, ""); in test_rvalue_ref()
27 static_assert(!std::is_lvalue_reference<T>::value, ""); in test_rvalue_ref()
28 static_assert( std::is_rvalue_reference<T>::value, ""); in test_rvalue_ref()
29 static_assert(!std::is_member_object_pointer<T>::value, ""); in test_rvalue_ref()
30 static_assert(!std::is_member_function_pointer<T>::value, ""); in test_rvalue_ref()
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/
DRegisters.hpp38 void setRegister(int num, uint32_t value);
41 void setFloatRegister(int num, double value);
44 void setVectorRegister(int num, v128 value);
50 void setSP(uint32_t value) { _registers.__esp = value; } in setSP() argument
52 void setIP(uint32_t value) { _registers.__eip = value; } in setIP() argument
54 void setEBP(uint32_t value) { _registers.__ebp = value; } in setEBP() argument
56 void setEBX(uint32_t value) { _registers.__ebx = value; } in setEBX() argument
58 void setECX(uint32_t value) { _registers.__ecx = value; } in setECX() argument
60 void setEDX(uint32_t value) { _registers.__edx = value; } in setEDX() argument
62 void setESI(uint32_t value) { _registers.__esi = value; } in setESI() argument
[all …]

12345678910>>...41