Lines Matching refs:D
126 using D = std::decay_t<F>; // [const] [volatile] X[&][&] -> X in writeAnyToParcel() local
128 if constexpr (std::is_base_of_v<Parcelable, D>) { in writeAnyToParcel()
130 } else if constexpr (std::is_enum_v<D>) { in writeAnyToParcel()
133 } else if constexpr (std::is_same_v<D, std::decay_t<type_name>>) { \ in writeAnyToParcel()
136 } else if constexpr (std::is_same_v<D, std::string>) { in writeAnyToParcel()
139 STATIC_FAIL(D, "Unsupported type: Add more manual type conversions above^^^"); in writeAnyToParcel()
152 using D = std::decay_t<F>; in readAnyFromParcel() local
154 D value; in readAnyFromParcel()
157 if constexpr (std::is_base_of_v<Parcelable, D>) { in readAnyFromParcel()
159 } else if constexpr (std::is_enum_v<D>) { in readAnyFromParcel()
160 auto&& [res, val] = readAnyFromParcel<std::underlying_type_t<D>>(parcel); in readAnyFromParcel()
162 value = static_cast<D>(val); in readAnyFromParcel()
164 } else if constexpr (std::is_same_v<D, std::decay_t<type_name>>) { \ in readAnyFromParcel()
167 } else if constexpr (std::is_same_v<D, std::string>) { in readAnyFromParcel()
170 STATIC_FAIL(D, "Unsupported type: Add more manual type conversions above^^^"); in readAnyFromParcel()