Searched defs:decltype (Results 1 - 25 of 29) sorted by relevance

12

/external/parameter-framework/upstream/parameter/
H A DLogarithmicParameterAdaptation.h73 double _dLogarithmBase{std::exp(decltype(_dLogarithmBase){1})}; function in class:CLogarithmicParameterAdaptation::std
/external/clang/test/CodeGenCXX/
H A Dcxx11-user-defined-literal.cpp4 using size_t = decltype(sizeof(int));
49 template<typename T> auto g(T t) -> decltype("foo"_x(t)) { return "foo"_x(t); }
50 template<typename T> auto i(T t) -> decltype(operator"" _x("foo", 3)(t)) { return operator"" _x("foo", 3)(t); } function
H A Dmangle-exprs.cpp4 typedef decltype(sizeof(int)) size_t;
72 void auto_(decltype(new auto(T()))) { function in namespace:Casts
76 void scalar_(decltype(T(), int())) {
116 template <class T> auto a(T t) -> decltype(foo(T())) { return foo(t); }
119 template <class T> auto b(T t) -> decltype((foo)(T())) { return (foo)(t); } function in namespace:test1
128 template <class T> void a(T x, decltype(x()) y) {}
129 template <class T> auto b(T x) -> decltype(x()) { return x(); }
130 template <class T> void c(T x, void (*p)(decltype(x()))) {}
131 template <class T> void d(T x, auto (*p)() -> decltype(x())) {} argument
132 template <class T> void e(auto (*p)(T y) -> decltype(
216 template <typename T> void a(decltype(noexcept(T()))) {} function in namespace:test5
256 void f1(decltype(T(z.ua.i))) {} function in namespace:test6
261 void f2(decltype(T(z.ub.i))) {} function in namespace:test6
266 void f3(decltype(T(z.s.i))) {} function in namespace:test6
271 void f4(decltype(T(z.uuss.i))) {} function in namespace:test6
276 void f5(decltype(T(zp->ua.i))) {} function in namespace:test6
281 void f6(decltype(T(zp->ub.i))) {} function in namespace:test6
286 void f7(decltype(T(zp->s.i))) {} function in namespace:test6
291 void f8(decltype(T(zp->uuss.i))) {} function in namespace:test6
[all...]
H A Dmangle-ms-cxx11.cpp73 namespace std { typedef decltype(__nullptr) nullptr_t; }
103 decltype(Enum) *UseEnum() { return &Enum; }
104 decltype(BoolEnum) *UseBoolEnum() { return &BoolEnum; }
105 decltype(CharEnum) *UseCharEnum() { return &CharEnum; }
106 decltype(SCharEnum) *UseSCharEnum() { return &SCharEnum; }
107 decltype(UCharEnum) *UseUCharEnum() { return &UCharEnum; }
108 decltype(SShortEnum) *UseSShortEnum() { return &SShortEnum; }
109 decltype(UShortEnum) *UseUShortEnum() { return &UShortEnum; }
110 decltype(SIntEnum) *UseSIntEnum() { return &SIntEnum; }
111 decltype(UIntEnu
160 decltype(a) fun(decltype(a) x, decltype(a)) { return x; } function in namespace:PR18022
261 void f(decltype(B<int>::e)) {} function in namespace:UnnamedType
[all...]
/external/clang/test/PCH/
H A Dimplicitly-deleted.cpp11 template<typename T> void doit(decltype(T(make<const T&>()))*) { T(make<const T&>()); } function
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp4-0x.cpp5 decltype(this) q; // expected-error {{invalid use of 'this' outside of a non-static member function}}
10 typedef auto f() -> decltype(this); // expected-error {{invalid use of 'this' outside of a non-static member function}} typedef in struct:S
H A Dp3-0x.cpp8 auto g1() noexcept(noexcept(f(ptr))) -> decltype(f(this->ptr));
9 auto g2() const noexcept(noexcept(f((*this).ptr))) -> decltype(f(ptr));
21 template<class T> auto f(T t) -> decltype(t + g())
25 template auto B::f(int t) -> decltype(t + g());
33 auto g1() noexcept(noexcept(f(ptr))) -> decltype(f(ptr));
34 auto g2() const noexcept(noexcept(f(((this))->ptr))) -> decltype(f(ptr));
35 auto g3() noexcept(noexcept(f(this->ptr))) -> decltype(f((*this).ptr));
36 auto g4() const noexcept(noexcept(f(((this))->ptr))) -> decltype(f(this->ptr));
37 auto g5() noexcept(noexcept(this->f(ptr))) -> decltype(this->f(ptr));
38 auto g6() const noexcept(noexcept(this->f(((this))->ptr))) -> decltype(thi
67 auto g() -> decltype(this->f()) { return f(); } function in struct:PR14263::X
68 auto g() const -> decltype(this->f()) { return f(); } function in struct:PR14263::X
120 auto X1::h() -> decltype(m) { return 0; } // expected-error{{'this' cannot be implicitly used in a static member function declaration}} function in namespace:Static
[all...]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
H A DTensorSyclExtractAccessor.h47 -> decltype(ExtractAccessor<Arg>::getTuple(cgh, eval)) {
52 -> decltype(utility::tuple::append(ExtractAccessor<Arg1>::getTuple(cgh, eval1), ExtractAccessor<Arg2>::getTuple(cgh, eval2))) {
56 -> decltype(utility::tuple::append(ExtractAccessor<Arg1>::getTuple(cgh, eval1),utility::tuple::append(ExtractAccessor<Arg2>::getTuple(cgh, eval2), ExtractAccessor<Arg3>::getTuple(cgh, eval3)))) {
60 -> decltype(utility::tuple::make_tuple( eval.device().template get_sycl_accessor<AcM,
71 -> decltype(AccessorConstructor::getTuple(cgh, eval.impl())){
85 -> decltype(AccessorConstructor::getTuple(cgh, eval.left_impl(), eval.right_impl())){
99 -> decltype(AccessorConstructor::getTuple(cgh, eval.arg1Impl(), eval.arg2Impl(), eval.arg3Impl())){
114 -> decltype(AccessorConstructor::getTuple(cgh, eval.cond_impl(), eval.then_impl(), eval.else_impl())){
129 -> decltype(AccessorConstructor::getTuple(cgh, eval.left_impl(), eval.right_impl())){
144 -> decltype(AccessorConstructo
156 -> decltype(AccessorConstructor::template getAccessor<cl::sycl::access::mode::read>(cgh, eval)){ function in struct:Eigen::TensorSycl::internal::ExtractAccessor
184 -> decltype(AccessorConstructor::template getAccessor<cl::sycl::access::mode::read>(cgh, eval)){ function in struct:Eigen::TensorSycl::internal::ExtractAccessor
[all...]
/external/libmojo/mojo/public/cpp/bindings/
H A Dassociated_interface_request.h23 AssociatedInterfaceRequest(decltype(nullptr)) {} function in class:mojo::AssociatedInterfaceRequest
39 AssociatedInterfaceRequest& operator=(decltype(nullptr)) { function in class:mojo::AssociatedInterfaceRequest
H A Dinterface_request.h29 InterfaceRequest(decltype(nullptr)) {} function in class:mojo::InterfaceRequest
42 InterfaceRequest& operator=(decltype(nullptr)) { function in class:mojo::InterfaceRequest
H A Dinterface_ptr.h42 InterfacePtr(decltype(nullptr)) {} function in class:mojo::InterfacePtr
59 InterfacePtr& operator=(decltype(nullptr)) { function in class:mojo::InterfacePtr
H A Dstruct_ptr.h35 StructPtr(decltype(nullptr)) : ptr_(nullptr) {} function in class:mojo::StructPtr
39 StructPtr& operator=(decltype(nullptr)) { function in class:mojo::StructPtr
126 InlinedStructPtr(decltype(nullptr)) : is_null_(true) {} function in class:mojo::InlinedStructPtr
130 InlinedStructPtr& operator=(decltype(nullptr)) { function in class:mojo::InlinedStructPtr
H A Dassociated_interface_ptr.h31 AssociatedInterfacePtr(decltype(nullptr)) {} function in class:mojo::AssociatedInterfacePtr
45 AssociatedInterfacePtr& operator=(decltype(nullptr)) { function in class:mojo::AssociatedInterfacePtr
/external/clang/test/Lexer/
H A Dcxx0x_keyword_as_cxx98.cpp17 extern int ID(decltype); // expected-warning {{'decltype' is a keyword in C++11}}
32 int decltype; // already diagnosed in this TU variable
H A Dkeywords_test.cpp44 CXX11_KEYWORD(decltype); variable
/external/clang/test/SemaCXX/
H A Dtrailing-return-0x.cpp21 decltype(auto) g2(); // expected-warning{{extension}} expected-error-re{{{{^}}deduced return types are a C++14 extension}}
39 auto i(T x) -> decltype(x) function
52 auto g(T x, U y) -> decltype(x + y)
60 auto h(T x, U y, V z) -> decltype(x + y + z)
77 auto f1(T t) -> decltype(f1(t)) {} // expected-note{{candidate template ignored}}
84 auto f2(T t) -> decltype(f2(&t)) {} // expected-note{{candidate template ignored}}
95 auto f() -> decltype(+*this); // expected-note {{here}}
96 auto f() -> decltype((*this)[0]); // expected-error {{cannot be overloaded}}
103 auto g()->decltype(this->f<0>());
H A Dclass-base-member-init.cpp83 A() : decltype(Base(1))(3) {
86 decltype(Base(1))(2), // expected-error {{multiple initializations given for base 'decltype(test5::Base(1))' (aka 'test5::Base')}}
87 decltype(int())() { // expected-error {{constructor initializer 'decltype(int())' (aka 'int') does not name a class}} function in struct:test5::A
89 A(float) : decltype(A())(3) {
H A Dfor-range-examples.cpp61 decltype(sizeof(char)) size;
87 auto operator*() const -> decltype(f(*i)) { return f(*i); } function in class:map_range::map_iter
112 auto map(const F &f, T &t) -> iter_pair<map_iter<F, decltype(t.begin())>> {
113 typedef map_iter<F, decltype(t.begin())> iter;
/external/libmojo/mojo/public/cpp/bindings/lib/
H A Dclone_equals_util.h21 static char Test(decltype(&U::Clone)); member in struct:mojo::internal::HasCloneMethod
88 static char Test(decltype(&U::Equals)); member in struct:mojo::internal::HasEqualsMethod
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
H A Dp11-1y.cpp7 using T = decltype(f);
11 using T = decltype(f);
23 (void) [c("bar")] () -> decltype(c) { // outer c, not init-capture function
62 using T = decltype(c);
70 template<typename T> decltype(auto) move(T &&t) { return static_cast<typename remove_reference<T>::type&&>(t); }
/external/skia/src/core/
H A DSkRecord.h50 auto visit(int i, F&& f) const -> decltype(f(SkRecords::NoOp())) {
59 auto mutate(int i, F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) { function in class:SkRecord
168 auto visit(F&& f) const -> decltype(f(SkRecords::NoOp())) {
178 auto mutate(F&& f) -> decltype(f((SkRecords::NoOp*)nullptr)) { function in struct:SkRecord::Record
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/
H A Dp1.cpp19 auto begin(T &&t) -> decltype(t.begin()) { return t.begin(); } // expected-note 2{{ignored: substitution failure}} function in namespace:X
21 auto end(T &&t) -> decltype(t.end()) { return t.end(); } // expected-note {{candidate template ignored: substitution failure [with T = }} function in namespace:X
24 auto begin(T &&t) -> decltype(t.alt_begin()) { return t.alt_begin(); } // expected-note {{selected 'begin' template [with T = }} \ function in namespace:X
27 auto end(T &&t) -> decltype(t.alt_end()) { return t.alt_end(); } // expected-note {{candidate template ignored: substitution failure [with T = }} function in namespace:X
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
H A Dmulti-level-substitution.cpp196 constexpr auto f1(A ...a) const -> decltype(g(A(a + B())...)) { return g(A(a + B())...); }
199 constexpr auto f2(A ...a, B ...b) const -> decltype(g((&a)[b] ...)) { return g((&a)[b] ...); } // expected-note {{past-the-end}} function in struct:PacksAtDifferentLevels::PR13811::X6
203 constexpr auto f(A ...a, B ...b, C ...c) const -> decltype(g(a+b+c...)) { return g(a+b+c...); }
/external/clang/test/SemaTemplate/
H A Dms-lookup-template-base-classes.cpp271 auto foo(int j) -> decltype(y * j) { // expected-warning {{lookup into dependent bases}} function in struct:nonmethod_missing_this::Derived
456 static auto lateSpecifiedFunc() -> decltype(NameFromBase()) {
569 template <typename T> decltype(g(T())) check(); // expected-note{{candidate template ignored: substitution failure [with T = int]: use of undeclared identifier 'g'}}
570 decltype(check<int>()) x; // expected-error{{no matching function for call to 'check'}}
573 template <typename T> decltype(h(T())) check2(); // expected-note{{candidate template ignored: substitution failure [with T = int]: no matching function for call to 'h'}}
574 decltype(check2<int>()) y; // expected-error{{no matching function for call to 'check2'}}
/external/eigen/unsupported/Eigen/CXX11/src/util/
H A DCXX11Meta.h112 template<int n, typename a> struct skip { typedef decltype(h_skip<n>::helper(a())) type; };
168 struct apply_op_from_left { typedef decltype(h_apply_op<true, op, additional_param>::helper(a())) type; };
175 struct apply_op_from_right { typedef decltype(h_apply_op<false, op, additional_param>::helper(a())) type; };
284 constexpr static inline auto run(A a, Ts... ts) -> decltype(Reducer::run(a, reduce<Reducer, Ts...>::run(ts...))) {
292 template<typename A, typename B> EIGEN_DEVICE_FUNC constexpr static inline auto run(A a, B b) -> decltype(a + b) { return a + b; }
296 template<typename A, typename B> EIGEN_DEVICE_FUNC constexpr static inline auto run(A a, B b) -> decltype(a * b) { return a * b; } function in struct:Eigen::internal::product_op
300 struct logical_and_op { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a && b) { return a && b; } }; function in struct:Eigen::internal::logical_and_op
301 struct logical_or_op { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a || b) { return a || b; } };
303 struct equal_op { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(a == b) { return a == b; } }; function in struct:Eigen::internal::equal_op
304 struct not_equal_op { template<typename A, typename B> constexpr static inline auto run(A a, B b) -> decltype(
[all...]

Completed in 1246 milliseconds

12