Home
last modified time | relevance | path

Searched refs:Tail (Results 1 – 7 of 7) sorted by relevance

/system/nvram/messages/include/nvram/messages/
Dstruct.h205 template <size_t index, typename FieldSpec, typename... Tail>
206 struct FieldSpecLookup<index, FieldSpec, Tail...> {
207 using Prev = FieldSpecLookup<index - 1, Tail...>;
209 static constexpr Type Get(FieldSpecList<FieldSpec, Tail...> self) {
216 template <typename FieldSpec, typename... Tail>
217 struct FieldSpecLookup<0, FieldSpec, Tail...> {
219 static constexpr Type Get(FieldSpecList<FieldSpec, Tail...> self) {
247 template <typename FieldSpec, typename... Tail>
248 struct FieldSpecList<FieldSpec, Tail...> {
249 using List = FieldSpecList<FieldSpec, Tail...>;
[all …]
Dtagged_union.h136 typename... Tail>
140 Tail...> {
141 using Type = typename MemberForTag<TagType, tag, Tail...>::Type;
144 template <typename TagType, TagType tag, typename MemberType, typename... Tail>
148 Tail...> {
153 template <typename Elem, typename...Tail>
/system/teeui/libteeui/include/teeui/
Dmsg_formatting.h147 template <typename Head, typename... Tail>
148 WriteStream write(Message<Head, Tail...>, WriteStream out, const Head& head, const Tail&... tail) { in write() argument
150 return write(Message<Tail...>(), out, tail...); in write()
178 template <typename HEAD, typename... Tail>
179 std::tuple<Tail&&...> tuple_tail(std::tuple<HEAD, Tail...>&& t) {
180 return tuple_tail(std::make_index_sequence<sizeof...(Tail) + 1>(), std::move(t));
183 template <typename HEAD, typename... Tail>
184 std::tuple<const Tail&...> tuple_tail(const std::tuple<HEAD, Tail...>& t) {
185 return tuple_tail(std::make_index_sequence<sizeof...(Tail) + 1>(), t);
Dcbor.h61 template <typename Head, typename... Tail> struct Array<Head, Tail...> {
63 Array<Tail...> tail_;
64 Array(const Head& head, const Tail&... tail) : head_(head), tail_(tail...) {}
65 constexpr size_t size() const { return sizeof...(Tail) + 1; };
132 template <typename HeadKey, typename HeadValue, typename... Tail>
133 struct Map<MapElement<HeadKey, HeadValue>, Tail...> {
135 Map<Tail...> tail_;
136 Map(const MapElement<HeadKey, HeadValue>& head, const Tail&... tail)
138 constexpr size_t size() const { return sizeof...(Tail) + 1; };
262 template <template <typename...> class Arr, typename Head, typename... Tail>
[all …]
Dgeneric_messages.h75 template <typename CmdSpec, typename... Tail>
76 WriteStream write(Message<CmdSpec, Tail...>, WriteStream out, const Tail&... tail) { in write() argument
78 return write(Message<Tail...>(), out, tail...); in write()
/system/netd/libnetdutils/include/netdutils/
DSlice.h127 template <typename Head, typename... Tail>
128 inline size_t extract(const Slice src, Head& head, Tail&... tail) { in extract()
/system/keymaster/ng/include/
Dkeymaster_tags.h331 template <typename Head, typename... Tail>
332 std::remove_reference_t<Head> NullOrOr(Head&& head, Tail&&... tail) {
334 return NullOrOr(std::forward<Tail>(tail)...);