Home
last modified time | relevance | path

Searched refs:remove_reference (Results 1 – 25 of 159) sorted by relevance

1234567

/external/webrtc/webrtc/base/
Dbind.h212 typename rtc::remove_reference<P1>::type p1_;
226 typename rtc::remove_reference<P1>::type p1_;
295 typename rtc::remove_reference<P1>::type p1_;
296 typename rtc::remove_reference<P2>::type p2_;
312 typename rtc::remove_reference<P1>::type p1_;
313 typename rtc::remove_reference<P2>::type p2_;
393 typename rtc::remove_reference<P1>::type p1_;
394 typename rtc::remove_reference<P2>::type p2_;
395 typename rtc::remove_reference<P3>::type p3_;
413 typename rtc::remove_reference<P1>::type p1_;
[all …]
Dbind_unittest.cc76 rtc::remove_reference<const scoped_refptr<RefCountInterface>&>::type,
80 static_assert(is_same<rtc::remove_reference<const scoped_refptr<F>&>::type,
85 is_same<rtc::remove_reference<const int&>::type, const int>::value,
88 static_assert(is_same<rtc::remove_reference<const F&>::type, const F>::value,
91 static_assert(is_same<rtc::remove_reference<F&>::type, F>::value,
/external/clang/test/Analysis/
Ddelayed-template-parsing-crash.cpp4 template <class T> struct remove_reference {typedef T type;}; struct
5 template <class T> struct remove_reference<T&> {typedef T type;}; argument
6 template <class T> struct remove_reference<T&&> {typedef T type;}; argument
9 typename remove_reference<T>::type&& move(T&& arg) { // this used to crash in move()
10 return static_cast<typename remove_reference<T>::type&&>(arg); in move()
/external/clang/test/SemaCXX/
Drval-references-examples.cpp28 struct remove_reference { struct
33 struct remove_reference<T&> { struct
38 struct remove_reference<T&&> { argument
43 template <class T> typename remove_reference<T>::type&& move(T&& t) { in move() argument
44 return static_cast<typename remove_reference<T>::type&&>(t); in move()
47 template <class T> T&& forward(typename remove_reference<T>::type& t) { in forward()
51 template <class T> T&& forward(typename remove_reference<T>::type&& t) { in forward()
Ddiscrim-union.cpp3 template<typename T> struct remove_reference { typedef T type; }; argument
4 template<typename T> struct remove_reference<T&> { typedef T type; }; argument
5 template<typename T> struct remove_reference<T&&> { typedef T type; }; struct
7 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &t) noexcept { return… in forward()
8 template<typename T> constexpr T &&forward(typename remove_reference<T>::type &&t) noexcept { retur… in forward()
9 …pename T> constexpr typename remove_reference<T>::type &&move(T &&t) noexcept { return static_cast… in move()
Dwarn-self-move.cpp6 template <class T> struct remove_reference { typedef T type; }; struct
7 template <class T> struct remove_reference<T&> { typedef T type; }; argument
8 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
10 template <class T> typename remove_reference<T>::type &&move(T &&t);
Dwarn-redundant-move.cpp8 template <class T> struct remove_reference { typedef T type; }; struct
9 template <class T> struct remove_reference<T&> { typedef T type; }; struct
10 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
12 template <class T> typename remove_reference<T>::type &&move(T &&t);
Dwarn-pessmizing-move.cpp7 template <class T> struct remove_reference { typedef T type; }; argument
8 template <class T> struct remove_reference<T&> { typedef T type; }; argument
9 template <class T> struct remove_reference<T&&> { typedef T type; }; struct
11 template <class T> typename remove_reference<T>::type &&move(T &&t);
/external/clang/test/CXX/over/over.match/over.match.best/over.ics.rank/
Dp3-0x.cpp39 struct remove_reference { struct
44 struct remove_reference<T&> { argument
49 struct remove_reference<T&&> { struct
54 template<typename T> int &f(typename remove_reference<T>::type&); argument
55 template<typename T> float &f(typename remove_reference<T>::type&&);
/external/v8/src/base/
Datomic-utils.h100 typename std::remove_reference<T>::type new_value) {
107 typename std::remove_reference<T>::type new_value) {
114 T* addr, typename std::remove_reference<T>::type old_value,
115 typename std::remove_reference<T>::type new_value) {
173 typename std::remove_reference<T>::type new_value) {
180 typename std::remove_reference<T>::type new_value) {
187 T* addr, typename std::remove_reference<T>::type old_value,
188 typename std::remove_reference<T>::type new_value) {
246 typename std::remove_reference<T>::type new_value) {
253 typename std::remove_reference<T>::type new_value) {
[all …]
/external/libcxx/test/std/utilities/utility/as_const/
Das_const.pass.cpp25 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const … in test()
26 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const< T… in test()
27 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const T… in test()
28 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<volatile T… in test()
29 …static_assert(std::is_const<typename std::remove_reference<decltype(std::as_const<const volatile T… in test()
/external/clang/test/SemaCUDA/
Dimplicit-member-target.cu164 template <class T> struct remove_reference { typedef T type; }; argument
165 template <class T> struct remove_reference<T&> { typedef T type; }; argument
166 template <class T> struct remove_reference<T&&> { typedef T type; }; argument
168 template <class T> typename remove_reference<T>::type&& move(T&& t);
/external/mesa3d/src/gallium/state_trackers/clover/util/
Dtuple.hpp53 typename std::remove_reference<T>::type>::value
59 typedef typename std::remove_reference<F>::type func_type;
85 typename std::remove_reference<T>::type>::value
91 typedef typename std::remove_reference<F>::type func_type;
/external/eigen/Eigen/src/Core/
DCwiseTernaryOp.h44 typedef typename remove_reference<Arg1Nested>::type _Arg1Nested;
45 typedef typename remove_reference<Arg2Nested>::type _Arg2Nested;
46 typedef typename remove_reference<Arg3Nested>::type _Arg3Nested;
102 typedef typename internal::remove_reference<Arg1Nested>::type _Arg1Nested;
103 typedef typename internal::remove_reference<Arg2Nested>::type _Arg2Nested;
104 typedef typename internal::remove_reference<Arg3Nested>::type _Arg3Nested;
/external/libchrome/mojo/public/tools/fuzzers/
Dmojo_fuzzer_message_dump.cc90 std::remove_reference<decltype(in->get_fuzz_complex())>::type complex_map; in GetComplexFuzzUnion()
91 std::remove_reference<decltype(complex_map.value()[0])>::type outer; in GetComplexFuzzUnion()
92 std::remove_reference<decltype( in GetComplexFuzzUnion()
94 std::remove_reference<decltype(inner['z'])>::type center; in GetComplexFuzzUnion()
162 std::remove_reference<decltype(complex_map.value()[0])>::type outer; in GetFuzzStructComplexValue()
163 std::remove_reference<decltype( in GetFuzzStructComplexValue()
165 std::remove_reference<decltype(inner['z'])>::type center; in GetFuzzStructComplexValue()
/external/llvm/lib/Passes/
DPassBuilder.cpp355 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseModulePassName()
360 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseModulePassName()
377 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseCGSCCPassName()
382 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseCGSCCPassName()
400 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseFunctionPassName()
405 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseFunctionPassName()
422 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseLoopPassName()
427 std::remove_reference<decltype(CREATE_PASS)>::type>()); \ in parseLoopPassName()
439 std::remove_reference<decltype(CREATE_PASS)>::type>(); \ in parseAAPassName()
445 std::remove_reference<decltype(CREATE_PASS)>::type>(); \ in parseAAPassName()
/external/clang/test/CodeGenObjCXX/
Darc-move.mm15 struct remove_reference { struct
20 struct remove_reference<T&> { argument
25 struct remove_reference<T&&> { struct
30 typename remove_reference<T>::type&& move(T &&x) {
31 return static_cast<typename remove_reference<T>::type&&>(x);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAny.h109 typename std::remove_cv<typename std::remove_reference<T>::type>::type; in any_isa()
115 typename std::remove_cv<typename std::remove_reference<T>::type>::type; in any_cast()
121 typename std::remove_cv<typename std::remove_reference<T>::type>::type; in any_cast()
127 typename std::remove_cv<typename std::remove_reference<T>::type>::type; in any_cast()
133 typename std::remove_cv<typename std::remove_reference<T>::type>::type; in any_cast()
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp11-1y.cpp68 template<typename T> struct remove_reference { typedef T type; }; argument
69 template<typename T> struct remove_reference<T&> { typedef T type; }; struct
70 template<typename T> decltype(auto) move(T &&t) { return static_cast<typename remove_reference<T>::… in move()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DErrorOr.h62 using wrap = std::reference_wrapper<typename std::remove_reference<T>::type>;
68 using reference = typename std::remove_reference<T>::type &;
69 using const_reference = const typename std::remove_reference<T>::type &;
70 using pointer = typename std::remove_reference<T>::type *;
71 using const_pointer = const typename std::remove_reference<T>::type *;
/external/clang/test/Modules/Inputs/submodules/
Dtype_traits.h2 struct remove_reference { struct
7 struct remove_reference<T&> { argument
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/
Dhidl_return_util.h62 typename std::remove_reference<ReturnT>::type()); in validateAndCall()
88 typename std::remove_reference<ReturnT1>::type(), in validateAndCall()
89 typename std::remove_reference<ReturnT2>::type()); in validateAndCall()
/external/clang/test/SemaTemplate/
Ddeduction-crash.cpp63 template <class > struct remove_reference ;
64 template <class _Tp> struct remove_reference<_Tp&> ;
68 template <class _Tp, class _Up, int = __tuple_like<typename remove_reference<_Tp>::type>::value>
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DErrorOr.h71 typedef ReferenceStorage<typename std::remove_reference<T>::type> wrap;
77 typedef typename std::remove_reference<T>::type &reference;
78 typedef const typename std::remove_reference<T>::type &const_reference;
79 typedef typename std::remove_reference<T>::type *pointer;
80 typedef const typename std::remove_reference<T>::type *const_pointer;
/external/llvm/include/llvm/Support/
DErrorOr.h71 typedef ReferenceStorage<typename std::remove_reference<T>::type> wrap;
77 typedef typename std::remove_reference<T>::type &reference;
78 typedef const typename std::remove_reference<T>::type &const_reference;
79 typedef typename std::remove_reference<T>::type *pointer;
80 typedef const typename std::remove_reference<T>::type *const_pointer;

1234567