Lines Matching defs:head
36 template <> bool Reading(std::nullptr_t &output, TLVObject &data, const TLVHead &head)
38 return data.Read(output, head);
52 template <> bool Reading(std::monostate &output, TLVObject &data, const TLVHead &head)
54 return data.Read(output, head);
68 template <> bool Reading(std::string &output, TLVObject &data, const TLVHead &head)
70 return data.Read(output, head);
84 template <> bool Reading(std::vector<uint8_t> &output, TLVObject &data, const TLVHead &head)
86 return data.Read(output, head);
102 template <> bool Reading(UDType &output, TLVObject &data, const TLVHead &head)
105 if (!Reading(type, data, head)) {
128 template <> bool Reading(DataStatus &output, TLVObject &data, const TLVHead &head)
131 if (!data.ReadBasic(status, head)) {
156 template <> bool Reading(Object &output, TLVObject &data, const TLVHead &head)
196 template <> bool Reading(UnifiedKey &output, TLVObject &data, const TLVHead &head)
198 auto endCursor = data.GetCursor() + head.len;
253 template <> bool Reading(UnifiedData &output, TLVObject &data, const TLVHead &head)
255 auto endCursor = data.GetCursor() + head.len;
306 template <> bool Reading(UnifiedRecord &output, TLVObject &data, const TLVHead &head)
308 auto endCursor = data.GetCursor() + head.len;
406 template <> bool Reading(Runtime &output, TLVObject &data, const TLVHead &head)
408 auto endCursor = data.GetCursor() + head.len;
489 template <> bool Reading(Privilege &output, TLVObject &data, const TLVHead &head)
491 auto endCursor = data.GetCursor() + head.len;
541 template <> bool Reading(std::shared_ptr<OHOS::Media::PixelMap> &output, TLVObject &data, const TLVHead &head)
544 if (!data.Read(val, head)) {
589 template <> bool Reading(std::shared_ptr<OHOS::AAFwk::Want> &output, TLVObject &data, const TLVHead &head)
592 if (!data.Read(val, head)) {
600 LOG_ERROR(UDMF_FRAMEWORK, "malloc error in tlv read. tag=%{public}hu", head.tag);
605 LOG_ERROR(UDMF_FRAMEWORK, "memcpy_s error in tlv read want. tag=%{public}hu", head.tag);
608 if (!parcel->ParseFrom((uintptr_t)buffer, head.len)) {
609 LOG_ERROR(UDMF_FRAMEWORK, "ParseFrom error in tlv read want. tag=%{public}hu", head.tag);
614 LOG_ERROR(UDMF_FRAMEWORK, "Unmarshalling want error in tlv read. tag=%{public}hu", head.tag);