Searched
refs:constexpr (Results
301 -
325 of
1197) sorted by null
<<11121314151617181920>>
/external/libcxx/test/std/utilities/function.objects/arithmetic.operations/ |
plus.pass.cpp | 33 constexpr int foo = std::plus<int> () (3, 2); 36 constexpr int bar = std::plus<> () (3.0, 2);
|
/external/libcxx/test/std/utilities/function.objects/logical.operations/ |
logical_not.pass.cpp | 34 constexpr bool foo = std::logical_not<int> () (36); 37 constexpr bool bar = std::logical_not<> () (36);
|
/external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/ |
op_less.pass.cpp | 76 constexpr T1 t1(Duration1(3)); 77 constexpr T1 t2(Duration1(3)); 84 constexpr T1 t1(Duration1(3)); 85 constexpr T1 t2(Duration1(4)); 92 constexpr T1 t1(Duration1(3)); 93 constexpr T2 t2(Duration2(3000)); 100 constexpr T1 t1(Duration1(3)); 101 constexpr T2 t2(Duration2(3001));
|
/external/libcxx/test/std/utilities/time/time.point/time.point.cons/ |
convert.pass.cpp | 32 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 33 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2;
|
/external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/ |
op_-duration.pass.cpp | 33 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5);
|
op_-time_point.pass.cpp | 33 constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3)); 34 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5));
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
convert_copy.pass.cpp | 42 constexpr A(int i) : id_(i) {} 43 friend constexpr bool operator==(const A& x, const A& y) {return x.id_ == y.id_;} 50 constexpr explicit C(int i) : id_(i) {} 51 friend constexpr bool operator==(const C& x, const C& y) {return x.id_ == y.id_;} 69 constexpr T0 t0(2.5); 70 constexpr T1 t1 = t0; 76 constexpr T0 t0(2); 77 constexpr T1 t1{t0};
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/arithmetic.operations/ |
divides.pass.cpp | 31 constexpr int foo = std::divides<int> () (3, 2); 34 constexpr int bar = std::divides<> () (3.0, 2);
|
minus.pass.cpp | 31 constexpr int foo = std::minus<int> () (3, 2); 34 constexpr int bar = std::minus<> () (3.0, 2);
|
modulus.pass.cpp | 31 constexpr int foo = std::modulus<int> () (3, 2); 34 constexpr int bar = std::modulus<> () (3L, 2);
|
multiplies.pass.cpp | 31 constexpr int foo = std::multiplies<int> () (3, 2); 34 constexpr int bar = std::multiplies<> () (3.0, 2);
|
negate.pass.cpp | 31 constexpr int foo = std::negate<int> () (3); 34 constexpr int bar = std::negate<> () (3.0);
|
plus.pass.cpp | 31 constexpr int foo = std::plus<int> () (3, 2); 34 constexpr int bar = std::plus<> () (3.0, 2);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/comparisons/ |
equal_to.pass.cpp | 33 constexpr bool foo = std::equal_to<int> () (36, 36); 36 constexpr bool bar = std::equal_to<> () (36.0, 36);
|
greater.pass.cpp | 37 constexpr bool foo = std::greater<int> () (36, 36); 40 constexpr bool bar = std::greater<> () (36.0, 36);
|
greater_equal.pass.cpp | 37 constexpr bool foo = std::greater_equal<int> () (36, 36); 40 constexpr bool bar = std::greater_equal<> () (36.0, 36);
|
less.pass.cpp | 37 constexpr bool foo = std::less<int> () (36, 36); 40 constexpr bool bar = std::less<> () (36.0, 36);
|
less_equal.pass.cpp | 37 constexpr bool foo = std::less_equal<int> () (36, 36); 40 constexpr bool bar = std::less_equal<> () (36.0, 36);
|
not_equal_to.pass.cpp | 35 constexpr bool foo = std::not_equal_to<int> () (36, 36); 38 constexpr bool bar = std::not_equal_to<> () (36.0, 36);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/logical.operations/ |
logical_not.pass.cpp | 33 constexpr bool foo = std::logical_not<int> () (36); 36 constexpr bool bar = std::logical_not<> () (36);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.nullops/ |
eqaul.pass.cpp | 13 // template <class T> constexpr bool operator==(const optional<T>& x, nullopt_t) noexcept; 14 // template <class T> constexpr bool operator==(nullopt_t, const optional<T>& x) noexcept; 29 constexpr O o1; // disengaged 30 constexpr O o2{1}; // engaged
|
less_than.pass.cpp | 13 // template <class T> constexpr bool operator<(const optional<T>& x, nullopt_t) noexcept; 14 // template <class T> constexpr bool operator<(nullopt_t, const optional<T>& x) noexcept; 29 constexpr O o1; // disengaged 30 constexpr O o2{1}; // engaged
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.observe/ |
value_const.pass.cpp | 12 // constexpr const T& optional<T>::value() const; 29 constexpr int test() const {return 3;} 39 constexpr optional<X> opt(in_place);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.comparisons/ |
op_less.pass.cpp | 76 constexpr T1 t1(Duration1(3)); 77 constexpr T1 t2(Duration1(3)); 84 constexpr T1 t1(Duration1(3)); 85 constexpr T1 t2(Duration1(4)); 92 constexpr T1 t1(Duration1(3)); 93 constexpr T2 t2(Duration2(3000)); 100 constexpr T1 t1(Duration1(3)); 101 constexpr T2 t2(Duration2(3001));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.cons/ |
convert.pass.cpp | 32 constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3)); 33 constexpr std::chrono::time_point<Clock, Duration1> t1 = t2;
|
Completed in 298 milliseconds
<<11121314151617181920>>