Lines Matching refs:T

36 template <typename T>
56 template <typename T, typename = void>
59 template <typename T>
60 struct has_typedef_fixed_size<T, std::void_t<typename T::fixed_size>> : T::fixed_size {};
62 #define STATIC_AIDL_TYPE_CHECK(T) \
63 static_assert(has_typedef_fixed_size<T>::value == true || std::is_fundamental<T>::value || \
64 std::is_enum<T>::value, \
68 template <typename T, typename U>
70 : public MessageQueueBase<AidlMQDescriptorShim, T, FlavorTypeToValue<U>::value> {
71 STATIC_AIDL_TYPE_CHECK(T);
72 typedef AidlMQDescriptorShim<T, FlavorTypeToValue<U>::value> Descriptor;
83 AidlMessageQueue(const MQDescriptor<T, U>& desc, bool resetPointers = true);
107 template <typename V = T>
109 std::enable_if_t<std::is_same_v<V, MQErased>, size_t> quantum = sizeof(T))
113 template <typename V = T>
118 MQDescriptor<T, U> dupeDesc();
126 template <typename T, typename U>
127 AidlMessageQueue<T, U>::AidlMessageQueue(const MQDescriptor<T, U>& desc, bool resetPointers)
128 : MessageQueueBase<AidlMQDescriptorShim, T, FlavorTypeToValue<U>::value>(Descriptor(desc),
131 template <typename T, typename U>
132 AidlMessageQueue<T, U>::AidlMessageQueue(size_t numElementsInQueue, bool configureEventFlagWord,
134 : MessageQueueBase<AidlMQDescriptorShim, T, FlavorTypeToValue<U>::value>(
137 template <typename T, typename U>
139 AidlMessageQueue<T, U>::AidlMessageQueue(
142 : MessageQueueBase<AidlMQDescriptorShim, T, FlavorTypeToValue<U>::value>(
146 template <typename T, typename U>
147 MQDescriptor<T, U> AidlMessageQueue<T, U>::dupeDesc() {
148 auto* shim = MessageQueueBase<AidlMQDescriptorShim, T, FlavorTypeToValue<U>::value>::getDesc();
166 return MQDescriptor<T, U>{
173 return MQDescriptor<T, U>();