HomeSort by relevance Sort by last modified time
    Searched refs:constexpr (Results 376 - 400 of 1197) sorted by null

<<11121314151617181920>>

  /external/clang/test/Modules/Inputs/
cxx-templates-common.h 29 static constexpr int f();
30 static constexpr int g();
  /external/clang/test/PCH/
cxx1y-variable-templates.cpp 51 template<typename T> constexpr T va = T(10);
52 template<> constexpr float va<float> = 1.5;
53 template constexpr int va<int>;
56 template<> constexpr float vb<float> = 1.5;
60 template<typename T> constexpr T vd = T(10);
86 template<> constexpr float va<float> = 2.5;
134 template<> constexpr float vb<float> = 2.5;
154 template<> constexpr float vc<float> = 1.5;
  /external/clang/test/Preprocessor/
cxx_oper_keyword_ms_compat.cpp 40 #define constexpr macro
125 constexpr
  /external/clang/test/SemaCXX/
builtins.cpp 32 struct T { constexpr T *operator&() const { return nullptr; } int n; } t;
33 constexpr T *pt = __builtin_addressof(t);
  /external/clang/test/SemaTemplate/
alignas.cpp 7 constexpr T max(T t, U u) { return t > u ? t : u; }
10 constexpr auto max(T t, Ts ...ts) -> decltype(max(t, max(ts...))) {
default-arguments-cxx0x.cpp 33 constexpr tuple() {}
43 constexpr operator bool() const { return false; }
  /external/libcxx/test/std/algorithms/alg.sorting/alg.min.max/
max.pass.cpp 48 constexpr int x = 1;
49 constexpr int y = 0;
min.pass.cpp 48 constexpr int x = 1;
49 constexpr int y = 0;
  /external/libcxx/test/std/containers/sequences/array/array.size/
size.pass.cpp 12 // template <class T, size_t N> constexpr size_type array<T,N>::size();
41 constexpr C c = {1, 2, 3.5};
49 constexpr C c = {};
  /external/libcxx/test/std/experimental/string.view/string.view.access/
data.pass.cpp 13 // constexpr const _CharT* data() const noexcept;
42 constexpr const char *s = "ABC";
43 constexpr std::experimental::basic_string_view<char> sv( s, 2 );
  /external/libcxx/test/std/language.support/support.initlist/support.initlist.access/
access.pass.cpp 38 constexpr B(std::initializer_list<int> il)
60 constexpr B test2 = {3, 2, 1};
  /external/libcxx/test/std/language.support/support.initlist/support.initlist.range/
begin_end.pass.cpp 36 constexpr B(std::initializer_list<int> il)
57 constexpr B test2 = {3, 2, 1};
  /external/libcxx/test/std/utilities/function.objects/arithmetic.operations/
modulus.pass.cpp 33 constexpr int foo = std::modulus<int> () (3, 2);
36 constexpr int bar = std::modulus<> () (3L, 2);
  /external/libcxx/test/std/utilities/function.objects/comparisons/
equal_to.pass.cpp 35 constexpr bool foo = std::equal_to<int> () (36, 36);
38 constexpr bool bar = std::equal_to<> () (36.0, 36);
greater.pass.cpp 39 constexpr bool foo = std::greater<int> () (36, 36);
42 constexpr bool bar = std::greater<> () (36.0, 36);
greater_equal.pass.cpp 39 constexpr bool foo = std::greater_equal<int> () (36, 36);
42 constexpr bool bar = std::greater_equal<> () (36.0, 36);
less.pass.cpp 39 constexpr bool foo = std::less<int> () (36, 36);
42 constexpr bool bar = std::less<> () (36.0, 36);
less_equal.pass.cpp 39 constexpr bool foo = std::less_equal<int> () (36, 36);
42 constexpr bool bar = std::less_equal<> () (36.0, 36);
not_equal_to.pass.cpp 37 constexpr bool foo = std::not_equal_to<int> () (36, 36);
40 constexpr bool bar = std::not_equal_to<> () (36.0, 36);
  /external/libcxx/test/std/utilities/function.objects/logical.operations/
logical_or.pass.cpp 43 constexpr bool foo = std::logical_or<int> () (36, 36);
46 constexpr bool bar = std::logical_or<> () (36.0, 36);
  /external/libcxx/test/std/utilities/time/time.point/time.point.cons/
duration.pass.cpp 33 constexpr std::chrono::time_point<Clock, Duration> t(Duration(3));
37 constexpr std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3));
  /external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
const_pair.pass.cpp 36 constexpr P0 p0(2.5, 'a');
37 constexpr T1 t1 = p0;
  /external/libcxx/test/std/utilities/utility/pairs/pair.astuple/
get_non_const.pass.cpp 25 constexpr S() : a{1,2}, k(std::get<0>(a)) {}
28 constexpr std::pair<int, int> getP () { return { 3, 4 }; }
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.min.max/
max.pass.cpp 48 constexpr int x = 1;
49 constexpr int y = 0;
min.pass.cpp 48 constexpr int x = 1;
49 constexpr int y = 0;

Completed in 545 milliseconds

<<11121314151617181920>>