Lines Matching refs:D
127 using D = std::decay_t<F>; // [const] [volatile] X[&][&] -> X in writeAnyToParcel() local
129 if constexpr (std::is_base_of_v<Parcelable, D>) { in writeAnyToParcel()
131 } else if constexpr (std::is_enum_v<D>) { in writeAnyToParcel()
134 } else if constexpr (std::is_same_v<D, std::decay_t<type_name>>) { \ in writeAnyToParcel()
137 } else if constexpr (std::is_same_v<D, std::string>) { in writeAnyToParcel()
140 STATIC_FAIL(D, "Unsupported type: Add more manual type conversions above^^^"); in writeAnyToParcel()
153 using D = std::decay_t<F>; in readAnyFromParcel() local
155 D value; in readAnyFromParcel()
158 if constexpr (std::is_base_of_v<Parcelable, D>) { in readAnyFromParcel()
160 } else if constexpr (std::is_enum_v<D>) { in readAnyFromParcel()
161 auto&& [res, val] = readAnyFromParcel<std::underlying_type_t<D>>(parcel); in readAnyFromParcel()
163 value = static_cast<D>(val); in readAnyFromParcel()
165 } else if constexpr (std::is_same_v<D, std::decay_t<type_name>>) { \ in readAnyFromParcel()
168 } else if constexpr (std::is_same_v<D, std::string>) { in readAnyFromParcel()
171 STATIC_FAIL(D, "Unsupported type: Add more manual type conversions above^^^"); in readAnyFromParcel()