HomeSort by relevance Sort by last modified time
    Searched full:constexpr (Results 126 - 150 of 1617) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/libcxx/test/std/experimental/optional/optional.object/optional.object.observe/
op_arrow_const.pass.cpp 12 // constexpr const T* optional<T>::operator->() const;
28 constexpr int test() const {return 3;}
39 constexpr int test() const {return 1;}
48 constexpr optional<X> opt(X{});
52 constexpr optional<Y> opt(Y{});
56 constexpr optional<Z> opt(Z{});
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.observe/
op_arrow_const.pass.cpp 12 // constexpr const T* optional<T>::operator->() const;
28 constexpr int test() const {return 3;}
39 constexpr int test() const {return 1;}
48 constexpr optional<X> opt(X{});
52 constexpr optional<Y> opt(Y{});
56 constexpr optional<Z> opt(Z{});
  /art/runtime/arch/
arch_test.cc 66 static constexpr size_t kFrameSizeSaveAllCalleeSave = FRAME_SIZE_SAVE_ALL_CALLEE_SAVE;
68 static constexpr size_t kFrameSizeRefsOnlyCalleeSave = FRAME_SIZE_REFS_ONLY_CALLEE_SAVE;
70 static constexpr size_t kFrameSizeRefsAndArgsCalleeSave = FRAME_SIZE_REFS_AND_ARGS_CALLEE_SAVE;
76 static constexpr size_t kFrameSizeSaveAllCalleeSave = FRAME_SIZE_SAVE_ALL_CALLEE_SAVE;
78 static constexpr size_t kFrameSizeRefsOnlyCalleeSave = FRAME_SIZE_REFS_ONLY_CALLEE_SAVE;
80 static constexpr size_t kFrameSizeRefsAndArgsCalleeSave = FRAME_SIZE_REFS_AND_ARGS_CALLEE_SAVE;
86 static constexpr size_t kFrameSizeSaveAllCalleeSave = FRAME_SIZE_SAVE_ALL_CALLEE_SAVE;
88 static constexpr size_t kFrameSizeRefsOnlyCalleeSave = FRAME_SIZE_REFS_ONLY_CALLEE_SAVE;
90 static constexpr size_t kFrameSizeRefsAndArgsCalleeSave = FRAME_SIZE_REFS_AND_ARGS_CALLEE_SAVE;
96 static constexpr size_t kFrameSizeSaveAllCalleeSave = FRAME_SIZE_SAVE_ALL_CALLEE_SAVE
    [all...]
  /art/runtime/arch/x86_64/
quick_method_frame_info_x86_64.h 28 static constexpr uint32_t kX86_64CalleeSaveRefSpills =
31 static constexpr uint32_t kX86_64CalleeSaveArgSpills =
34 static constexpr uint32_t kX86_64CalleeSaveFpArgSpills =
38 static constexpr uint32_t kX86_64CalleeSaveFpSpills =
42 constexpr uint32_t X86_64CalleeSaveCoreSpills(Runtime::CalleeSaveType type) {
48 constexpr uint32_t X86_64CalleeSaveFpSpills(Runtime::CalleeSaveType type) {
53 constexpr uint32_t X86_64CalleeSaveFrameSize(Runtime::CalleeSaveType type) {
59 constexpr QuickMethodFrameInfo X86_64CalleeSaveMethodFrameInfo(Runtime::CalleeSaveType type) {
  /external/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.general/
p8.cpp 8 constexpr bool startswith(const char *p, const char *q) {
11 constexpr bool contains(const char *p, const char *q) {
  /external/clang/test/SemaCXX/
PR19955.cpp 5 constexpr int *varp = &var; // expected-error {{must be initialized by a constant expression}}
8 constexpr void (*funp)(void) = &fun; // expected-error {{must be initialized by a constant expression}}
cxx1y-constexpr-not-const.cpp 5 constexpr int f(); // @5
15 // expected-warning@5 {{'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior}}
ms_integer_suffix.cpp 7 constexpr int f(char) { return 1; }
8 constexpr int f(signed char) { return 2; }
  /external/libcxx/test/std/experimental/optional/optional.comp_with_t/
equal.pass.cpp 12 // template <class T> constexpr bool operator==(const optional<T>& x, const T& v);
13 // template <class T> constexpr bool operator==(const T& v, const optional<T>& x);
25 constexpr X(int i) : i_(i) {}
28 constexpr bool operator == ( const X &lhs, const X &rhs )
40 constexpr T val(2);
41 constexpr O o1; // disengaged
42 constexpr O o2{1}; // engaged
43 constexpr O o3{val}; // engaged
greater_equal.pass.cpp 12 // template <class T> constexpr bool operator>=(const optional<T>& x, const T& v);
13 // template <class T> constexpr bool operator>=(const T& v, const optional<T>& x);
25 constexpr X(int i) : i_(i) {}
28 constexpr bool operator < ( const X &lhs, const X &rhs )
41 constexpr T val(2);
42 constexpr O o1; // disengaged
43 constexpr O o2{1}; // engaged
44 constexpr O o3{val}; // engaged
less_equal.pass.cpp 12 // template <class T> constexpr bool operator<=(const optional<T>& x, const T& v);
13 // template <class T> constexpr bool operator<=(const T& v, const optional<T>& x);
25 constexpr X(int i) : i_(i) {}
28 constexpr bool operator < ( const X &lhs, const X &rhs )
41 constexpr T val(2);
42 constexpr O o1; // disengaged
43 constexpr O o2{1}; // engaged
44 constexpr O o3{val}; // engaged
not_equal.pass.cpp 12 // template <class T> constexpr bool operator!=(const optional<T>& x, const T& v);
13 // template <class T> constexpr bool operator!=(const T& v, const optional<T>& x);
25 constexpr X(int i) : i_(i) {}
28 constexpr bool operator == ( const X &lhs, const X &rhs )
40 constexpr T val(2);
41 constexpr O o1; // disengaged
42 constexpr O o2{1}; // engaged
43 constexpr O o3{val}; // engaged
  /external/libcxx/test/std/experimental/optional/optional.relops/
equal.pass.cpp 12 // template <class T> constexpr bool operator==(const optional<T>& x, const optional<T>& y);
26 constexpr X(int i) : i_(i) {}
29 constexpr bool operator == ( const X &lhs, const X &rhs )
41 constexpr O o1; // disengaged
42 constexpr O o2; // disengaged
43 constexpr O o3{1}; // engaged
44 constexpr O o4{2}; // engaged
45 constexpr O o5{1}; // engaged
greater_equal.pass.cpp 12 // template <class T> constexpr bool operator>= (const optional<T>& x, const optional<T>& y);
24 constexpr X(int i) : i_(i) {}
27 constexpr bool operator < ( const X &lhs, const X &rhs )
38 constexpr O o1; // disengaged
39 constexpr O o2; // disengaged
40 constexpr O o3{1}; // engaged
41 constexpr O o4{2}; // engaged
42 constexpr O o5{1}; // engaged
greater_than.pass.cpp 12 // template <class T> constexpr bool operator> (const optional<T>& x, const optional<T>& y);
24 constexpr X(int i) : i_(i) {}
27 constexpr bool operator < ( const X &lhs, const X &rhs )
38 constexpr O o1; // disengaged
39 constexpr O o2; // disengaged
40 constexpr O o3{1}; // engaged
41 constexpr O o4{2}; // engaged
42 constexpr O o5{1}; // engaged
less_equal.pass.cpp 12 // template <class T> constexpr bool operator<= (const optional<T>& x, const optional<T>& y);
24 constexpr X(int i) : i_(i) {}
27 constexpr bool operator < ( const X &lhs, const X &rhs )
38 constexpr O o1; // disengaged
39 constexpr O o2; // disengaged
40 constexpr O o3{1}; // engaged
41 constexpr O o4{2}; // engaged
42 constexpr O o5{1}; // engaged
less_than.pass.cpp 12 // template <class T> constexpr bool operator< (const optional<T>& x, const optional<T>& y);
24 constexpr X(int i) : i_(i) {}
27 constexpr bool operator < ( const X &lhs, const X &rhs )
38 constexpr O o1; // disengaged
39 constexpr O o2; // disengaged
40 constexpr O o3{1}; // engaged
41 constexpr O o4{2}; // engaged
42 constexpr O o5{1}; // engaged
not_equal.pass.cpp 12 // template <class T> constexpr bool operator!=(const optional<T>& x, const optional<T>& y);
26 constexpr X(int i) : i_(i) {}
29 constexpr bool operator == ( const X &lhs, const X &rhs )
41 constexpr O o1; // disengaged
42 constexpr O o2; // disengaged
43 constexpr O o3{1}; // engaged
44 constexpr O o4{2}; // engaged
45 constexpr O o5{1}; // engaged
  /external/libcxx/test/std/numerics/complex.number/complex.ops/
complex_equals_scalar.pass.cpp 25 constexpr std::complex<T> lhs(1.5, 2.5);
26 constexpr T rhs(-2.5);
30 constexpr std::complex<T> lhs(1.5, 0);
31 constexpr T rhs(-2.5);
35 constexpr std::complex<T> lhs(1.5, 2.5);
36 constexpr T rhs(1.5);
40 constexpr std::complex<T> lhs(1.5, 0);
41 constexpr T rhs(1.5);
complex_not_equals_scalar.pass.cpp 25 constexpr std::complex<T> lhs(1.5, 2.5);
26 constexpr T rhs(-2.5);
30 constexpr std::complex<T> lhs(1.5, 0);
31 constexpr T rhs(-2.5);
35 constexpr std::complex<T> lhs(1.5, 2.5);
36 constexpr T rhs(1.5);
40 constexpr std::complex<T> lhs(1.5, 0);
41 constexpr T rhs(1.5);
scalar_equals_complex.pass.cpp 25 constexpr T lhs(-2.5);
26 constexpr std::complex<T> rhs(1.5, 2.5);
30 constexpr T lhs(-2.5);
31 constexpr std::complex<T> rhs(1.5, 0);
35 constexpr T lhs(1.5);
36 constexpr std::complex<T> rhs(1.5, 2.5);
40 constexpr T lhs(1.5);
41 constexpr std::complex<T> rhs(1.5, 0);
scalar_not_equals_complex.pass.cpp 25 constexpr T lhs(-2.5);
26 constexpr std::complex<T> rhs(1.5, 2.5);
30 constexpr T lhs(-2.5);
31 constexpr std::complex<T> rhs(1.5, 0);
35 constexpr T lhs(1.5);
36 constexpr std::complex<T> rhs(1.5, 2.5);
40 constexpr T lhs(1.5);
41 constexpr std::complex<T> rhs(1.5, 0);
  /external/libcxx/test/std/utilities/time/time.duration/time.duration.comparisons/
op_less.pass.cpp 15 // constexpr
20 // constexpr
25 // constexpr
30 // constexpr
97 constexpr std::chrono::seconds s1(3);
98 constexpr std::chrono::seconds s2(3);
105 constexpr std::chrono::seconds s1(3);
106 constexpr std::chrono::seconds s2(4);
113 constexpr std::chrono::milliseconds s1(3);
114 constexpr std::chrono::microseconds s2(3000)
    [all...]
  /external/libcxx/test/std/utilities/time/time.point/time.point.comparisons/
op_equal.pass.cpp 60 constexpr T1 t1(Duration1(3));
61 constexpr T1 t2(Duration1(3));
66 constexpr T1 t1(Duration1(3));
67 constexpr T1 t2(Duration1(4));
72 constexpr T1 t1(Duration1(3));
73 constexpr T2 t2(Duration2(3000));
78 constexpr T1 t1(Duration1(3));
79 constexpr T2 t2(Duration2(3001));
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.ops/
complex_equals_scalar.pass.cpp 25 constexpr std::complex<T> lhs(1.5, 2.5);
26 constexpr T rhs(-2.5);
30 constexpr std::complex<T> lhs(1.5, 0);
31 constexpr T rhs(-2.5);
35 constexpr std::complex<T> lhs(1.5, 2.5);
36 constexpr T rhs(1.5);
40 constexpr std::complex<T> lhs(1.5, 0);
41 constexpr T rhs(1.5);

Completed in 93 milliseconds

1 2 3 4 56 7 8 91011>>