OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:constexpr
(Results
276 - 300
of
1197
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/libcxx/test/std/experimental/optional/optional.object/optional.object.ctor/
nullopt_t.pass.cpp
12
//
constexpr
optional(nullopt_t) noexcept;
29
constexpr
Opt opt(nullopt);
35
constexpr
test_constexpr_ctor() {}
50
constexpr
test_constexpr_ctor() {}
/external/libcxx/test/std/utilities/time/time.point/time.point.nonmember/
op_+.pass.cpp
39
constexpr
std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
40
constexpr
std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5);
42
constexpr
std::chrono::time_point<Clock, Duration2> t3 = Duration2(6) + t1;
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/
make_tuple.pass.cpp
45
constexpr
auto t1 = std::make_tuple(0, 1, 3.14);
46
constexpr
int i1 = std::get<1>(t1);
47
constexpr
double d1 = std::get<2>(t1);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.tuple/
get.pass.cpp
21
constexpr
S() : a{1,2,3}, k(std::get<2>(a)) {}
24
constexpr
std::array<int, 2> getArr () { return { 3, 4 }; }
42
constexpr
C c = {1, 2, 3.5};
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/
front_back.pass.cpp
14
// const_reference front(); //
constexpr
in C++14
15
// const_reference back(); //
constexpr
in C++14
52
constexpr
C c = {1, 2, 3.5};
54
constexpr
T t1 = c.front();
57
constexpr
T t2 = c.back();
indexing.pass.cpp
13
// const_reference operator[] (size_type); //
constexpr
in C++14
15
// const_reference at (size_type); //
constexpr
in C++14
50
constexpr
C c = {1, 2, 3.5};
52
constexpr
T t1 = c[0];
55
constexpr
T t2 = c[2];
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
nullopt_t.pass.cpp
12
//
constexpr
optional(nullopt_t) noexcept;
29
constexpr
Opt opt(nullopt);
35
constexpr
test_constexpr_ctor() {}
50
constexpr
test_constexpr_ctor() {}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.point/time.point.nonmember/
op_+.pass.cpp
39
constexpr
std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
40
constexpr
std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5);
42
constexpr
std::chrono::time_point<Clock, Duration2> t3 = Duration2(6) + t1;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.creation/
make_tuple.pass.cpp
43
constexpr
auto t1 = std::make_tuple(0, 1, 3.14);
44
constexpr
int i1 = std::get<1>(t1);
45
constexpr
double d1 = std::get<2>(t1);
/art/runtime/
read_barrier.h
42
static
constexpr
bool kEnableToSpaceInvariantChecks = true;
44
static
constexpr
bool kEnableReadBarrierInvariantChecks = true;
100
// Note: These couldn't be
constexpr
pointers as reinterpret_cast isn't compatible with them.
101
static
constexpr
uintptr_t white_ptr_ = 0x0; // Not marked.
102
static
constexpr
uintptr_t gray_ptr_ = 0x1; // Marked, but not marked through. On mark stack.
103
static
constexpr
uintptr_t black_ptr_ = 0x2; // Marked through. Used for non-moving objects.
104
static
constexpr
uintptr_t rb_ptr_mask_ = 0x3; // The low 2 bits for white|gray|black.
/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/quick/
quick_method_frame_info.h
28
constexpr
QuickMethodFrameInfo()
34
constexpr
QuickMethodFrameInfo(uint32_t frame_size_in_bytes, uint32_t core_spill_mask,
/external/clang/test/CXX/basic/basic.start/basic.start.main/
p3.cpp
35
template<class T>
constexpr
T main;
38
extern template<class T>
constexpr
T main; //expected-error{{expected unqualified-id}}
/external/clang/test/Parser/
cxx0x-ambig.cpp
38
constexpr
T() {}
39
constexpr
T(int) {}
40
constexpr
T(T, T, T, T) {}
41
constexpr
T operator=(T) const { return *this; }
42
constexpr
operator int() const { return 4; }
44
constexpr
T a, b, c, d;
71
constexpr
operator T() const { return T(); } // expected-note 2{{candidate}}
79
constexpr
const U &id(const U &u) { return u; }
/external/libcxx/test/std/experimental/optional/optional.nullops/
equal.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
greater.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
greater_equal.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_equal.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
not_equal.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
/external/libcxx/test/std/experimental/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);
/external/libcxx/test/std/utilities/function.objects/arithmetic.operations/
divides.pass.cpp
33
constexpr
int foo = std::divides<int> () (3, 2);
36
constexpr
int bar = std::divides<> () (3.0, 2);
minus.pass.cpp
33
constexpr
int foo = std::minus<int> () (3, 2);
36
constexpr
int bar = std::minus<> () (3.0, 2);
multiplies.pass.cpp
33
constexpr
int foo = std::multiplies<int> () (3, 2);
36
constexpr
int bar = std::multiplies<> () (3.0, 2);
negate.pass.cpp
32
constexpr
int foo = std::negate<int> () (3);
35
constexpr
int bar = std::negate<> () (3.0);
Completed in 459 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>