/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/libcxx/include/ |
complex | 26 complex(const T& re = T(), const T& im = T()); // constexpr in C++14 27 complex(const complex&); // constexpr in C++14 28 template<class X> complex(const complex<X>&); // constexpr in C++14 30 T real() const; // constexpr in C++14 31 T imag() const; // constexpr in C++14 56 constexpr complex(float re = 0.0f, float im = 0.0f); 57 explicit constexpr complex(const complex<double>&); 58 explicit constexpr complex(const complex<long double>&); 60 constexpr float real() const; 62 constexpr float imag() const [all...] |
array | 56 constexpr size_type size() const noexcept; 57 constexpr size_type max_size() const noexcept; 58 constexpr bool empty() const noexcept; 62 const_reference operator[](size_type n) const; // constexpr in C++14 63 const_reference at(size_type n) const; // constexpr in C++14 67 const_reference front() const; // constexpr in C++14 69 const_reference back() const; // constexpr in C++14 95 template <int I, class T, size_t N> T& get(array<T, N>&) noexcept; // constexpr in C++14 96 template <int I, class T, size_t N> const T& get(const array<T, N>&) noexcept; // constexpr in C++14 97 template <int I, class T, size_t N> T&& get(array<T, N>&&) noexcept; // constexpr in C++1 [all...] |
/art/runtime/lambda/ |
shorty_field_type_test.cc | 112 static constexpr ShortyFieldType kSZ = ShortyFieldType::kBoolean; 113 static constexpr ShortyFieldType kSB = ShortyFieldType::kByte; 114 static constexpr ShortyFieldType kSC = ShortyFieldType::kChar; 115 static constexpr ShortyFieldType kSS = ShortyFieldType::kShort; 116 static constexpr ShortyFieldType kSI = ShortyFieldType::kInt; 117 static constexpr ShortyFieldType kSF = ShortyFieldType::kFloat; 118 static constexpr ShortyFieldType kSJ = ShortyFieldType::kLong; 119 static constexpr ShortyFieldType kSD = ShortyFieldType::kDouble; 120 static constexpr ShortyFieldType kSL = ShortyFieldType::kObject; 121 static constexpr ShortyFieldType kS_ = ShortyFieldType::kLambda [all...] |
shorty_field_type.h | 64 inline constexpr ShortyFieldType(decltype(kByte) c) : value_(c) { 323 static constexpr const char kArray = '['; 324 static constexpr const char kVoid = 'V'; 357 static inline constexpr bool IsType() { 363 static inline constexpr bool IsPrimitiveType() { 369 static inline constexpr bool IsPrimitiveNarrowType() { 375 static inline constexpr bool IsPrimitiveWideType() { 382 static inline constexpr bool IsObjectType() { 388 static inline constexpr bool IsLambdaType() { 394 static inline constexpr bool Is ## name ## TypeImpl(type* const = 0) { [all...] |
/external/libcxx/include/ |
array | 56 constexpr size_type size() const noexcept; 57 constexpr size_type max_size() const noexcept; 58 constexpr bool empty() const noexcept; 62 const_reference operator[](size_type n) const; // constexpr in C++14 63 const_reference at(size_type n) const; // constexpr in C++14 67 const_reference front() const; // constexpr in C++14 69 const_reference back() const; // constexpr in C++14 95 template <int I, class T, size_t N> T& get(array<T, N>&) noexcept; // constexpr in C++14 96 template <int I, class T, size_t N> const T& get(const array<T, N>&) noexcept; // constexpr in C++14 97 template <int I, class T, size_t N> T&& get(array<T, N>&&) noexcept; // constexpr in C++1 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
array | 56 constexpr size_type size() const noexcept; 57 constexpr size_type max_size() const noexcept; 58 constexpr bool empty() const noexcept; 62 const_reference operator[](size_type n) const; // constexpr in C++14 63 const_reference at(size_type n) const; // constexpr in C++14 67 const_reference front() const; // constexpr in C++14 69 const_reference back() const; // constexpr in C++14 95 template <int I, class T, size_t N> T& get(array<T, N>&) noexcept; // constexpr in C++14 96 template <int I, class T, size_t N> const T& get(const array<T, N>&) noexcept; // constexpr in C++14 97 template <int I, class T, size_t N> T&& get(array<T, N>&&) noexcept; // constexpr in C++1 [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
char_traits.h | 395 static constexpr bool 399 static constexpr bool 454 static constexpr char_type 458 static constexpr int_type 462 static constexpr bool 466 static constexpr int_type 470 static constexpr int_type 488 static constexpr bool 492 static constexpr bool 547 static constexpr char_typ [all...] |
stl_pair.h | 79 constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); 124 constexpr pair(const pair<_U1, _U2>& __p) 127 constexpr pair(const pair&) = default; 128 constexpr pair(pair&&) = default; 133 constexpr pair(_U1&& __x, const _T2& __y) 138 constexpr pair(const _T1& __x, _U2&& __y) 144 constexpr pair(_U1&& __x, _U2&& __y) 150 constexpr pair(pair<_U1, _U2>&& __p) 274 constexpr pair<typename __decay_and_strip<_T1>::__type,
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
char_traits.h | 395 static constexpr bool 399 static constexpr bool 454 static constexpr char_type 458 static constexpr int_type 462 static constexpr bool 466 static constexpr int_type 470 static constexpr int_type 488 static constexpr bool 492 static constexpr bool 547 static constexpr char_typ [all...] |
stl_pair.h | 79 constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); 124 constexpr pair(const pair<_U1, _U2>& __p) 127 constexpr pair(const pair&) = default; 128 constexpr pair(pair&&) = default; 133 constexpr pair(_U1&& __x, const _T2& __y) 138 constexpr pair(const _T1& __x, _U2&& __y) 144 constexpr pair(_U1&& __x, _U2&& __y) 150 constexpr pair(pair<_U1, _U2>&& __p) 274 constexpr pair<typename __decay_and_strip<_T1>::__type,
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
char_traits.h | 395 static constexpr bool 399 static constexpr bool 454 static constexpr char_type 458 static constexpr int_type 462 static constexpr bool 466 static constexpr int_type 470 static constexpr int_type 488 static constexpr bool 492 static constexpr bool 547 static constexpr char_typ [all...] |
stl_pair.h | 79 constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); 124 constexpr pair(const pair<_U1, _U2>& __p) 127 constexpr pair(const pair&) = default; 128 constexpr pair(pair&&) = default; 133 constexpr pair(_U1&& __x, const _T2& __y) 138 constexpr pair(const _T1& __x, _U2&& __y) 144 constexpr pair(_U1&& __x, _U2&& __y) 150 constexpr pair(pair<_U1, _U2>&& __p) 274 constexpr pair<typename __decay_and_strip<_T1>::__type,
|
/prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/ |
char_traits.h | 399 static constexpr bool 403 static constexpr bool 458 static constexpr char_type 462 static constexpr int_type 466 static constexpr bool 470 static constexpr int_type 474 static constexpr int_type 492 static constexpr bool 496 static constexpr bool 551 static constexpr char_typ [all...] |
stl_pair.h | 79 constexpr piecewise_construct_t piecewise_construct = piecewise_construct_t(); 124 constexpr pair(const pair<_U1, _U2>& __p) 127 constexpr pair(const pair&) = default; 128 constexpr pair(pair&&) = default; 133 constexpr pair(_U1&& __x, const _T2& __y) 138 constexpr pair(const _T1& __x, _U2&& __y) 144 constexpr pair(_U1&& __x, _U2&& __y) 150 constexpr pair(pair<_U1, _U2>&& __p) 274 constexpr pair<typename __decay_and_strip<_T1>::__type,
|
/external/clang/test/SemaCXX/ |
cxx1y-variable-templates_in_class.cpp | 159 template<typename T> constexpr T wrong; // expected-error {{member 'wrong' declared as a template}} \ 160 // expected-error {{non-static data member cannot be constexpr; did you intend to make it const?}} 161 template<typename T> constexpr T wrong_init = 5; // expected-error {{non-static data member cannot be constexpr; did you intend to make it static?}} 162 template<typename T, typename T0> static constexpr T right = T(100); 163 template<typename T> static constexpr T right<T,int> = 5; 164 template<typename T> constexpr int right<int,T>; // expected-error {{member 'right' declared as a template}} \ 165 // expected-error {{non-static data member cannot be constexpr; did you intend to make it const?}} 166 template<typename T> constexpr float right<float,T> = 5; // expected-error {{non-static data member cannot be constexpr; did you intend to make it static?} [all...] |
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.creation/ |
tuple_cat.pass.cpp | 53 constexpr std::tuple<> t = std::tuple_cat(); 57 constexpr std::tuple<> t1; 58 constexpr std::tuple<> t2 = std::tuple_cat(t1); 62 constexpr std::tuple<> t = std::tuple_cat(std::tuple<>()); 66 constexpr std::tuple<> t = std::tuple_cat(std::array<int, 0>()); 70 constexpr std::tuple<int> t1(1); 71 constexpr std::tuple<int> t = std::tuple_cat(t1); 75 constexpr std::tuple<int> t1(1); 76 constexpr std::tuple<int, int> t = std::tuple_cat(t1, t1);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.creation/ |
tuple_cat.pass.cpp | 47 constexpr std::tuple<> t = std::tuple_cat(); 50 constexpr std::tuple<> t1; 51 constexpr std::tuple<> t2 = std::tuple_cat(t1); 54 constexpr std::tuple<> t = std::tuple_cat(std::tuple<>()); 57 constexpr std::tuple<> t = std::tuple_cat(std::array<int, 0>()); 60 constexpr std::tuple<int> t1(1); 61 constexpr std::tuple<int> t = std::tuple_cat(t1); 65 constexpr std::tuple<int> t1(1); 66 constexpr std::tuple<int, int> t = std::tuple_cat(t1, t1);
|
/system/core/libmemunreachable/ |
Allocator.cpp | 47 constexpr size_t const_log2(size_t n, size_t p = 0) { 51 constexpr unsigned int div_round_up(unsigned int x, unsigned int y) { 57 static constexpr size_t kPageSize = 4096; 58 static constexpr size_t kChunkSize = 256 * 1024; 59 static constexpr size_t kUsableChunkSize = kChunkSize - kPageSize; 60 static constexpr size_t kMaxBucketAllocationSize = kChunkSize / 4; 61 static constexpr size_t kMinBucketAllocationSize = 8; 62 static constexpr unsigned int kNumBuckets = const_log2(kMaxBucketAllocationSize) 64 static constexpr unsigned int kUsablePagesPerChunk = kUsableChunkSize
|
/art/compiler/driver/ |
compiled_method_storage_test.cc | 104 constexpr size_t code_bit = 1u << 4; 105 constexpr size_t src_map_bit = 1u << 3; 106 constexpr size_t vmap_table_bit = 1u << 2; 107 constexpr size_t cfi_info_bit = 1u << 1; 108 constexpr size_t patches_bit = 1u << 0;
|
compiler_options.h | 40 static constexpr double kDefaultTopKProfileThreshold = 90.0; 46 static constexpr size_t kUnsetInlineDepthLimit = -1; 47 static constexpr size_t kUnsetInlineMaxCodeUnits = -1; 50 static constexpr size_t kSpaceFilterInlineDepthLimit = 3; 51 static constexpr size_t kSpaceFilterInlineMaxCodeUnits = 10;
|
/art/compiler/linker/x86/ |
relative_patcher_x86_test.cc | 112 constexpr size_t kElementOffset = 0x1234; 118 constexpr uint32_t anchor_offset = 5u; // After call +0. 143 constexpr uint32_t kStringIndex = 1u; 144 constexpr uint32_t kStringOffset = 0x12345678; 151 constexpr uint32_t anchor_offset = 5u; // After call +0.
|
/art/compiler/optimizing/ |
intrinsics.h | 31 static constexpr bool kRoundIsPlusPointFive = false; 42 static constexpr const char* kIntrinsicsRecognizerPassName = "intrinsics_recognition"; 127 static constexpr size_t k##name = bit 136 static constexpr int kNumberOfGenericOptimizations = 2; 164 static constexpr size_t k##name = bit + kNumberOfGenericOptimizations
|
/art/runtime/arch/mips/ |
instruction_set_features_mips.cc | 36 static constexpr MipsLevel kRuntimeMipsLevel = MipsLevel::kR6; 38 static constexpr MipsLevel kRuntimeMipsLevel = MipsLevel::kR5; 40 static constexpr MipsLevel kRuntimeMipsLevel = MipsLevel::kR2; 42 static constexpr MipsLevel kRuntimeMipsLevel = MipsLevel::kBase; 80 constexpr const char* kMips32Prefix = "mips32r";
|
/art/test/common/ |
runtime_state.cc | 93 constexpr const char* kCompilerBackend = "--compiler-backend="; 104 constexpr const char* kCompilerFilter = "--compiler-filter="; 110 constexpr const char* kInterpretOnly = "interpret-only"; 111 constexpr const char* kVerifyNone = "verify-none"; 112 constexpr const char* kVerifyAtRuntime = "verify-at-runtime";
|
/external/clang/test/CXX/expr/expr.const/ |
p3-0x.cpp | 19 constexpr char vowels[] = "aeiou"; 35 struct S { constexpr operator int() const { return 5; } }; 77 template<typename T, T v> struct Val { static constexpr T value = v; }; 104 constexpr operator int() const { return 10; } 106 S s; // not constexpr
|