/external/libmojo/mojo/public/cpp/bindings/ |
struct_ptr.h | 38 StructPtr(decltype(nullptr)) {} function in class:mojo::StructPtr 42 StructPtr& operator=(decltype(nullptr)) { function in class:mojo::StructPtr 128 InlinedStructPtr(decltype(nullptr)) : state_(NIL) {} function in class:mojo::InlinedStructPtr 132 InlinedStructPtr& operator=(decltype(nullptr)) { function in class:mojo::InlinedStructPtr
|
associated_interface_ptr.h | 38 AssociatedInterfacePtr(decltype(nullptr)) {} function in class:mojo::AssociatedInterfacePtr 52 AssociatedInterfacePtr& operator=(decltype(nullptr)) { function in class:mojo::AssociatedInterfacePtr
|
/system/keymaster/include/keymaster/ |
UniquePtr.h | 61 UniquePtr(const decltype(nullptr)&) : mPtr(nullptr) {} function in class:keymaster::UniquePtr 128 UniquePtr(const decltype(nullptr)&) : mPtr(nullptr) {} function in class:keymaster::UniquePtr
|
/external/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/ |
p1.cpp | 19 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/ |
multi-level-substitution.cpp | 196 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/SemaCXX/ |
for-range-examples.cpp | 61 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;
|
cxx1y-deduced-return-type.cpp | 46 using T = decltype(a()); 49 using T = decltype(a()); 89 using Void = decltype(void_ret()); 123 typedef decltype(f2(1.2)) dbl; // expected-note {{previous}} 124 typedef float dbl; // expected-error {{typedef redefinition with different types ('float' vs 'decltype(f2(1.2))' (aka 'double &'))}} 276 using size_t = decltype(sizeof(0)); 333 decltype(auto) f(); // expected-error {{cannot be overloaded}} 425 using T = decltype(f(A<int>())); 426 using T = decltype(f<int>(A<int>())); 457 auto foo(T x) -> decltype(x) function in namespace:rnk [all...] |
/external/clang/test/SemaTemplate/ |
ms-lookup-template-base-classes.cpp | 271 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/ |
CXX11Meta.h | 112 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(a != b) { return a != b; } } [all...] |
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
functional.hpp | 208 operator()(T &&x) const -> decltype(x()) { 216 operator()(T &&x) const -> decltype(*x) { 238 operator()(T &x) const -> decltype(x.begin()) { function in struct:clover::begins 246 operator()(T &x) const -> decltype(x.end()) { function in struct:clover::ends 254 operator()(T &x) const -> decltype(x.size()) { function in struct:clover::sizes 301 operator()(P &&p) const -> decltype(std::get<0>(std::forward<P>(p))) { 309 operator()(P &&p) const -> decltype(std::get<1>(std::forward<P>(p))) {
|
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/ |
cbor.h | 111 auto getData(const T& v) -> decltype(v.data()) { function in namespace:android::hardware::confirmationui::support 116 auto getData(const T& v) -> decltype(v.c_str()) { function in namespace:android::hardware::confirmationui::support 121 auto text(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr> { 122 return StringBuffer<std::decay_t<decltype(*getData(str))>, TextStr>(getData(str), str.size()); 140 auto bytes(const T& str) -> StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr> { 141 return StringBuffer<std::decay_t<decltype(*getData(str))>, ByteStr>(getData(str), str.size());
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
stl_iterator.h | 381 -> decltype(__y.base() - __x.base()) function 886 -> decltype(__lhs.base() - __rhs.base()) function 1106 -> decltype(__x.base() - __y.base()) function 1113 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
stl_iterator.h | 381 -> decltype(__y.base() - __x.base()) function 886 -> decltype(__lhs.base() - __rhs.base()) function 1106 -> decltype(__x.base() - __y.base()) function 1113 -> decltype(__x.base() - __y.base()) function [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
comip.h | 84 _com_ptr_t(decltype(nullptr)) : m_pInterface(NULL) {} function in class:_com_ptr_t
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/wrl/ |
client.h | 80 ComPtr(decltype(nullptr)) throw() : ptr_(nullptr) {} function in class:Microsoft::WRL::ComPtr 109 ComPtr &operator=(decltype(nullptr)) throw() { function in class:Microsoft::WRL::ComPtr
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
cursor.c | 174 const char* decltype;
local 213 decltype = sqlite3_column_decltype(self->statement->st, i);
214 if (decltype) {
215 for (pos = decltype;;pos++) {
221 py_decltype = PyString_FromStringAndSize(decltype, pos - decltype);
[all...] |
/external/clang/test/CodeGenCXX/ |
mangle-exprs.cpp | 4 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())) {} 132 template <class T> void e(auto (*p)(T y) -> decltype(y())) { 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...] |
mangle-ms-cxx11.cpp | 73 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(UIntEnum) *UseUIntEnum() { return &UIntEnum; 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/llvm/include/llvm/ADT/ |
STLExtras.h | 123 UnaryFunc(decltype(*std::declval<RootIt>()))> 205 template <typename U> static char(&f(const U &, decltype(&U::rbegin)))[1]; 215 nullptr) -> decltype(make_range(C.rbegin(), C.rend())) { 232 -> decltype(make_range(llvm::make_reverse_iterator(std::end(C)), 397 auto find(R &&Range, const T &val) -> decltype(Range.begin()) { function in namespace:llvm 404 auto find_if(R &&Range, const T &Pred) -> decltype(Range.begin()) { function in namespace:llvm 411 auto remove_if(R &&Range, UnaryPredicate &&P) -> decltype(Range.begin()) { function in namespace:llvm 426 -> typename std::iterator_traits<decltype(Range.begin())>::difference_type { 512 auto operator()(A &lhs, B &rhs) const -> decltype(func(*lhs, *rhs)) { function in struct:llvm::deref
|
/external/python/cpython2/Modules/_sqlite/ |
cursor.c | 164 const char* decltype; local 202 decltype = sqlite3_column_decltype(self->statement->st, i); 203 if (decltype) { 204 for (pos = decltype;;pos++) { 210 py_decltype = PyString_FromStringAndSize(decltype, pos - decltype); [all...] |
/external/python/cpython3/Modules/_sqlite/ |
cursor.c | 126 const char* decltype; local 164 decltype = sqlite3_column_decltype(self->statement->st, i); 165 if (decltype) { 166 for (pos = decltype;;pos++) { 172 py_decltype = PyUnicode_FromStringAndSize(decltype, pos - decltype);
|
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 43 #define decltype macro 128 decltype
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
STLExtras.h | 44 using IterOfRange = decltype(std::begin(std::declval<RangeT &>())); 137 UnaryFunc(decltype(*std::declval<RootIt>()))> 223 static yes& test(Inner *I, decltype(I->rbegin()) * = nullptr); 242 nullptr) -> decltype(make_range(C.rbegin(), C.rend())) { 259 -> decltype(make_range(llvm::make_reverse_iterator(std::end(C)), 361 typedef std::tuple<decltype(*std::declval<Iters>())...> value_type; 369 template <size_t... Ns> decltype(iterators) tup_inc(index_sequence<Ns...>) { 402 typedef ItType<decltype(std::begin(std::declval<Args>()))...> iterator; 611 auto find(R &&Range, const T &Val) -> decltype(std::begin(Range)) { 618 auto find_if(R &&Range, UnaryPredicate P) -> decltype(std::begin(Range)) 739 auto operator()(A &lhs, B &rhs) const -> decltype(func(*lhs, *rhs)) { function in struct:llvm::deref [all...] |
/libnativehelper/platform_include/nativehelper/detail/ |
signature_checker.h | 86 explicit constexpr ConstexprStringView(const decltype(nullptr)&) function in struct:nativehelper::detail::ConstexprStringView [all...] |
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/ |
STLExtras.h | 47 using IterOfRange = decltype(std::begin(std::declval<RangeT &>())); 50 using ValueOfRange = typename std::remove_reference<decltype( 143 typedef decltype(std::declval<UnaryFunc>()(*std::declval<RootIt>())) 229 static yes& test(Inner *I, decltype(I->rbegin()) * = nullptr); 248 nullptr) -> decltype(make_range(C.rbegin(), C.rend())) { 265 -> decltype(make_range(llvm::make_reverse_iterator(std::end(C)), 369 typedef std::tuple<decltype(*declval<Iters>())...> type; 401 decltype(iterators) tup_inc(index_sequence<Ns...>) const { 406 decltype(iterators) tup_dec(index_sequence<Ns...>) const { 464 using iterator = ItType<decltype(std::begin(std::declval<Args>()))...> 986 auto operator()(A &lhs, B &rhs) const -> decltype(func(*lhs, *rhs)) { function in struct:llvm::deref [all...] |