OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:constexpr
(Results
51 - 75
of
598
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/time/time.duration/time.duration.nonmember/
op_-.pass.cpp
15
//
constexpr
50
constexpr
std::chrono::seconds s1(3);
51
constexpr
std::chrono::seconds s2(5);
52
constexpr
std::chrono::seconds r = s1 - s2;
56
constexpr
std::chrono::seconds s1(3);
57
constexpr
std::chrono::microseconds s2(5);
58
constexpr
std::chrono::microseconds r = s1 - s2;
62
constexpr
std::chrono::duration<int, std::ratio<2, 3> > s1(3);
63
constexpr
std::chrono::duration<int, std::ratio<3, 5> > s2(5);
64
constexpr
std::chrono::duration<int, std::ratio<1, 15> > r = s1 - s2
[
all
...]
op_+.pass.cpp
49
constexpr
std::chrono::seconds s1(3);
50
constexpr
std::chrono::seconds s2(5);
51
constexpr
std::chrono::seconds r = s1 + s2;
55
constexpr
std::chrono::seconds s1(3);
56
constexpr
std::chrono::microseconds s2(5);
57
constexpr
std::chrono::microseconds r = s1 + s2;
61
constexpr
std::chrono::duration<int, std::ratio<2, 3> > s1(3);
62
constexpr
std::chrono::duration<int, std::ratio<3, 5> > s2(5);
63
constexpr
std::chrono::duration<int, std::ratio<1, 15> > r = s1 + s2;
67
constexpr
std::chrono::duration<int, std::ratio<2, 3> > s1(3)
[
all
...]
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
regex_error.h
63
static
constexpr
error_type error_collate(_S_error_collate);
66
static
constexpr
error_type error_ctype(_S_error_ctype);
72
static
constexpr
error_type error_escape(_S_error_escape);
75
static
constexpr
error_type error_backref(_S_error_backref);
78
static
constexpr
error_type error_brack(_S_error_brack);
81
static
constexpr
error_type error_paren(_S_error_paren);
84
static
constexpr
error_type error_brace(_S_error_brace);
87
static
constexpr
error_type error_badbrace(_S_error_badbrace);
93
static
constexpr
error_type error_range(_S_error_range);
99
static
constexpr
error_type error_space(_S_error_space)
[
all
...]
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
regex_error.h
63
static
constexpr
error_type error_collate(_S_error_collate);
66
static
constexpr
error_type error_ctype(_S_error_ctype);
72
static
constexpr
error_type error_escape(_S_error_escape);
75
static
constexpr
error_type error_backref(_S_error_backref);
78
static
constexpr
error_type error_brack(_S_error_brack);
81
static
constexpr
error_type error_paren(_S_error_paren);
84
static
constexpr
error_type error_brace(_S_error_brace);
87
static
constexpr
error_type error_badbrace(_S_error_badbrace);
93
static
constexpr
error_type error_range(_S_error_range);
99
static
constexpr
error_type error_space(_S_error_space)
[
all
...]
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
regex_error.h
63
static
constexpr
error_type error_collate(_S_error_collate);
66
static
constexpr
error_type error_ctype(_S_error_ctype);
72
static
constexpr
error_type error_escape(_S_error_escape);
75
static
constexpr
error_type error_backref(_S_error_backref);
78
static
constexpr
error_type error_brack(_S_error_brack);
81
static
constexpr
error_type error_paren(_S_error_paren);
84
static
constexpr
error_type error_brace(_S_error_brace);
87
static
constexpr
error_type error_badbrace(_S_error_badbrace);
93
static
constexpr
error_type error_range(_S_error_range);
99
static
constexpr
error_type error_space(_S_error_space)
[
all
...]
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
regex_error.h
63
static
constexpr
error_type error_collate(_S_error_collate);
66
static
constexpr
error_type error_ctype(_S_error_ctype);
72
static
constexpr
error_type error_escape(_S_error_escape);
75
static
constexpr
error_type error_backref(_S_error_backref);
78
static
constexpr
error_type error_brack(_S_error_brack);
81
static
constexpr
error_type error_paren(_S_error_paren);
84
static
constexpr
error_type error_brace(_S_error_brace);
87
static
constexpr
error_type error_badbrace(_S_error_badbrace);
93
static
constexpr
error_type error_range(_S_error_range);
99
static
constexpr
error_type error_space(_S_error_space)
[
all
...]
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
regex_error.h
63
static
constexpr
error_type error_collate(_S_error_collate);
66
static
constexpr
error_type error_ctype(_S_error_ctype);
72
static
constexpr
error_type error_escape(_S_error_escape);
75
static
constexpr
error_type error_backref(_S_error_backref);
78
static
constexpr
error_type error_brack(_S_error_brack);
81
static
constexpr
error_type error_paren(_S_error_paren);
84
static
constexpr
error_type error_brace(_S_error_brace);
87
static
constexpr
error_type error_badbrace(_S_error_badbrace);
93
static
constexpr
error_type error_range(_S_error_range);
99
static
constexpr
error_type error_space(_S_error_space)
[
all
...]
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
regex_error.h
63
static
constexpr
error_type error_collate(_S_error_collate);
66
static
constexpr
error_type error_ctype(_S_error_ctype);
72
static
constexpr
error_type error_escape(_S_error_escape);
75
static
constexpr
error_type error_backref(_S_error_backref);
78
static
constexpr
error_type error_brack(_S_error_brack);
81
static
constexpr
error_type error_paren(_S_error_paren);
84
static
constexpr
error_type error_brace(_S_error_brace);
87
static
constexpr
error_type error_badbrace(_S_error_badbrace);
93
static
constexpr
error_type error_range(_S_error_range);
99
static
constexpr
error_type error_space(_S_error_space)
[
all
...]
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/
regex_error.h
68
constexpr
error_type error_collate(_S_error_collate);
71
constexpr
error_type error_ctype(_S_error_ctype);
77
constexpr
error_type error_escape(_S_error_escape);
80
constexpr
error_type error_backref(_S_error_backref);
83
constexpr
error_type error_brack(_S_error_brack);
86
constexpr
error_type error_paren(_S_error_paren);
89
constexpr
error_type error_brace(_S_error_brace);
92
constexpr
error_type error_badbrace(_S_error_badbrace);
98
constexpr
error_type error_range(_S_error_range);
104
constexpr
error_type error_space(_S_error_space)
[
all
...]
/external/clang/test/SemaCXX/
constexpr-turing.cpp
4
// A direct proof that
constexpr
is Turing-complete, once DR1454 is implemented.
18
constexpr
Tape() : l(0), val(false), r(0) {}
19
constexpr
Tape(const Tape &old, bool write) :
21
constexpr
Tape(const Tape &old, Dir dir) :
30
constexpr
Tape update(const Tape &old, bool write) { return Tape(old, write); }
31
constexpr
Tape move(const Tape &old, Dir dir) { return Tape(old, dir); }
35
constexpr
unsigned run(const State *tm, const Tape &tape, unsigned state) {
43
constexpr
State bb3[] = {
51
constexpr
State bb4[] = {
cxx11-user-defined-literals.cpp
9
constexpr
LitKind operator"" _kind(char p) { return LitKind::Char; }
10
constexpr
LitKind operator"" _kind(wchar_t p) { return LitKind::WideChar; }
11
constexpr
LitKind operator"" _kind(char16_t p) { return LitKind::Char16; }
12
constexpr
LitKind operator"" _kind(char32_t p) { return LitKind::Char32; }
13
constexpr
LitKind operator"" _kind(const char *p, size_t n) { return LitKind::CharStr; }
14
constexpr
LitKind operator"" _kind(const wchar_t *p, size_t n) { return LitKind::WideStr; }
15
constexpr
LitKind operator"" _kind(const char16_t *p, size_t n) { return LitKind::Char16Str; }
16
constexpr
LitKind operator"" _kind(const char32_t *p, size_t n) { return LitKind::Char32Str; }
17
constexpr
LitKind operator"" _kind(unsigned long long n) { return LitKind::Integer; }
18
constexpr
LitKind operator"" _kind(long double n) { return LitKind::Floating;
[
all
...]
constexpr-depth.cpp
5
constexpr
int depth(int n) { return n > 1 ? depth(n-1) : 0; } // expected-note {{exceeded maximum depth}} expected-note +{{}}
7
constexpr
int kBad = depth(MAX + 1); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'depth(}}
8
constexpr
int kGood = depth(MAX);
constexpr-many-arguments.cpp
6
constexpr
type1(int a0) : my_data{a0} {}
13
constexpr
type2(T a00, T a01, T a02, T a03, T a04, T a05, T a06, T a07, T a08, T a09,
25
constexpr
type3(type2 a0, type2 a1) : my_data{a0, a1} {}
29
constexpr
type3 g
literal-type.cpp
24
// -- it is an aggregate type or has at least one
constexpr
constructor
56
int x = f(); // expected-note {{non-
constexpr
function}}
57
constexpr
HasNonConstExprMemInit() {} // expected-error {{never produces a constant expression}}
58
constexpr
HasNonConstExprMemInit(int y) : x(y) {} // ok
65
constexpr
HasConstExprCtor(int x) : x(x) {}
70
template <typename U>
constexpr
HasConstExprCtorTemplate(U y) : x(y) {}
73
constexpr
HasConstExprCtorT(T) {}
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/
ratio
125
static
constexpr
uintmax_t __lo = __lo1 + __lo2;
126
static
constexpr
uintmax_t __hi = (__hi1 + __hi2 +
136
static
constexpr
uintmax_t __lo = __lo1 - __lo2;
137
static
constexpr
uintmax_t __hi = (__hi1 - __hi2 -
146
static
constexpr
uintmax_t __c = uintmax_t(1) << (sizeof(intmax_t) * 4);
147
static
constexpr
uintmax_t __x0 = __x % __c;
148
static
constexpr
uintmax_t __x1 = __x / __c;
149
static
constexpr
uintmax_t __y0 = __y % __c;
150
static
constexpr
uintmax_t __y1 = __y / __c;
151
static
constexpr
uintmax_t __x0y0 = __x0 * __y0
[
all
...]
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/
ratio
125
static
constexpr
uintmax_t __lo = __lo1 + __lo2;
126
static
constexpr
uintmax_t __hi = (__hi1 + __hi2 +
136
static
constexpr
uintmax_t __lo = __lo1 - __lo2;
137
static
constexpr
uintmax_t __hi = (__hi1 - __hi2 -
146
static
constexpr
uintmax_t __c = uintmax_t(1) << (sizeof(intmax_t) * 4);
147
static
constexpr
uintmax_t __x0 = __x % __c;
148
static
constexpr
uintmax_t __x1 = __x / __c;
149
static
constexpr
uintmax_t __y0 = __y % __c;
150
static
constexpr
uintmax_t __y1 = __y / __c;
151
static
constexpr
uintmax_t __x0y0 = __x0 * __y0
[
all
...]
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/
ratio
122
static
constexpr
uintmax_t __lo = __lo1 + __lo2;
123
static
constexpr
uintmax_t __hi = (__hi1 + __hi2 +
133
static
constexpr
uintmax_t __lo = __lo1 - __lo2;
134
static
constexpr
uintmax_t __hi = (__hi1 - __hi2 -
143
static
constexpr
uintmax_t __c = uintmax_t(1) << (sizeof(intmax_t) * 4);
144
static
constexpr
uintmax_t __x0 = __x % __c;
145
static
constexpr
uintmax_t __x1 = __x / __c;
146
static
constexpr
uintmax_t __y0 = __y % __c;
147
static
constexpr
uintmax_t __y1 = __y / __c;
148
static
constexpr
uintmax_t __x0y0 = __x0 * __y0
[
all
...]
/external/clang/test/CXX/temp/temp.spec/temp.explicit/
p1-0x.cpp
12
constexpr
int f() { return 0; } // expected-warning{{C++1y}}
15
template
constexpr
int Y<int>::f() const; // expected-error{{explicit instantiation cannot be '
constexpr
'}}
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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
...]
op_equal.pass.cpp
15
//
constexpr
20
//
constexpr
73
constexpr
std::chrono::seconds s1(3);
74
constexpr
std::chrono::seconds s2(3);
79
constexpr
std::chrono::seconds s1(3);
80
constexpr
std::chrono::seconds s2(4);
85
constexpr
std::chrono::milliseconds s1(3);
86
constexpr
std::chrono::microseconds s2(3000);
91
constexpr
std::chrono::milliseconds s1(3);
92
constexpr
std::chrono::microseconds s2(4000)
[
all
...]
/external/chromium_org/tools/gyp/test/mac/clang-cxx-language-standard/
c++98.cc
14
constexpr
,
enumerator in enum:cxx11_keywords
/external/clang/test/CXX/over/over.oper/over.literal/
p7.cpp
4
constexpr
int operator "" _a(const char *c) {
/external/clang/test/CodeGenCXX/
typeid-cxx11.cpp
13
template<typename T>
constexpr
Item item(const char *name) {
22
constexpr
Item items[] = {
27
constexpr
auto &x = items[0].ti;
30
constexpr
auto &y = typeid(B{});
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.eng/rand.eng.mers/
values.pass.cpp
22
// static
constexpr
size_t word_size = w;
23
// static
constexpr
size_t state_size = n;
24
// static
constexpr
size_t shift_size = m;
25
// static
constexpr
size_t mask_bits = r;
26
// static
constexpr
result_type xor_mask = a;
27
// static
constexpr
size_t tempering_u = u;
28
// static
constexpr
result_type tempering_d = d;
29
// static
constexpr
size_t tempering_s = s;
30
// static
constexpr
result_type tempering_b = b;
31
// static
constexpr
size_t tempering_t = t
[
all
...]
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/
initializer_list
60
constexpr
initializer_list(const_iterator __a, size_type __l)
64
constexpr
initializer_list() : _M_array(0), _M_len(0) { }
67
constexpr
size_type
71
constexpr
const_iterator
75
constexpr
const_iterator
85
constexpr
const _Tp*
95
constexpr
const _Tp*
Completed in 2556 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>