Lines Matching refs:head
60 bool Read(std::string &value, const TLVHead &head);
61 bool Read(std::vector<uint8_t> &value, const TLVHead &head);
62 bool Read(OHOS::AAFwk::Want &value, const TLVHead &head);
63 bool Read(std::monostate &value, const TLVHead &head);
64 bool Read(void *value, const TLVHead &head);
68 template <typename T> bool ReadBasic(T &value, const TLVHead &head);
73 bool ReadHead(TLVHead &head);
75 bool Skip(TLVHead &head);
117 template <typename T> bool TLVObject::ReadBasic(T &value, const TLVHead &head)
120 if (head.len == 0 || head.len != sizeof(T)) {
123 if (!HasExpectBuffer(head.len)) {
126 if (!LoadBufferFormFile(head.len)) {