Lines Matching defs:TLVHead
33 struct TLVHead {
75 return sizeof(value) + sizeof(TLVHead);
79 return sizeof(value) + sizeof(TLVHead);
83 return sizeof(value) + sizeof(TLVHead);
87 return sizeof(value) + sizeof(TLVHead);
91 return sizeof(value) + sizeof(TLVHead);
95 return sizeof(value) + sizeof(TLVHead);
99 return sizeof(value) + sizeof(TLVHead);
103 return value.size() + sizeof(TLVHead);
107 return value.bufferLen + sizeof(TLVHead);
111 return value.Count() + sizeof(TLVHead);
124 size_t expectSize = sizeof(TLVHead);
132 size_t expectSize = sizeof(TLVHead);
138 size_t expectSize = sizeof(TLVHead);
148 size_t expectSize = sizeof(TLVHead);
158 size_t expectSize = sizeof(TLVHead);
167 size_t expectSize = sizeof(TLVHead);
176 size_t expectSize = sizeof(TLVHead);
189 return sizeof(TLVHead);
194 return sizeof(TLVHead);
218 size_t expectSize = sizeof(TLVHead);
240 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
244 cursor_ += sizeof(TLVHead);
275 bool ReadHead(const std::vector<std::uint8_t> &buffer, TLVHead &head);
276 bool ReadValue(const std::vector<std::uint8_t> &buffer, bool &value, const TLVHead &head);
277 bool ReadValue(const std::vector<std::uint8_t> &buffer, std::monostate &value, const TLVHead &head);
278 bool ReadValue(const std::vector<std::uint8_t> &buffer, void *value, const TLVHead &head);
279 bool ReadValue(const std::vector<std::uint8_t> &buffer, int8_t &value, const TLVHead &head);
280 bool ReadValue(const std::vector<std::uint8_t> &buffer, int16_t &value, const TLVHead &head);
281 bool ReadValue(const std::vector<std::uint8_t> &buffer, int32_t &value, const TLVHead &head);
282 bool ReadValue(const std::vector<std::uint8_t> &buffer, int64_t &value, const TLVHead &head);
283 bool ReadValue(const std::vector<std::uint8_t> &buffer, double &value, const TLVHead &head);
284 bool ReadValue(const std::vector<std::uint8_t> &buffer, uint32_t &value, const TLVHead &head);
285 bool ReadValue(const std::vector<std::uint8_t> &buffer, std::string &value, const TLVHead &head);
286 bool ReadValue(const std::vector<std::uint8_t> &buffer, RawMem &rawMem, const TLVHead &head);
287 bool ReadValue(const std::vector<std::uint8_t> &buffer, Object &value, const TLVHead &head);
288 bool ReadValue(const std::vector<std::uint8_t> &buffer, AAFwk::Want &value, const TLVHead &head);
290 const std::vector<std::uint8_t> &buffer, std::shared_ptr<Media::PixelMap> &value, const TLVHead &head);
291 bool ReadValue(const std::vector<std::uint8_t> &buffer, TLVObject &value, const TLVHead &head);
293 bool ReadValue(const std::vector<std::uint8_t> &buffer, std::vector<T> &value, const TLVHead &head)
298 TLVHead valueHead{};
310 bool ReadValue(const std::vector<std::uint8_t> &buffer, std::vector<uint8_t> &value, const TLVHead &head);
314 const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _InTp &input, const TLVHead &head);
318 const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _InTp &input, const TLVHead &head);
321 bool ReadValue(const std::vector<std::uint8_t> &buffer, std::variant<_Types...> &value, const TLVHead &head);
324 bool ReadValue(const std::vector<std::uint8_t> &buffer, EntryValue &value, const TLVHead &head);
326 bool ReadValue(const std::vector<std::uint8_t> &buffer, Details &value, const TLVHead &head);
328 const TLVHead &head);
331 bool ReadValue(const std::vector<std::uint8_t> &buffer, std::shared_ptr<T> &value, const TLVHead &head)
362 auto *tlvHead = reinterpret_cast<TLVHead *>(buffer.data() + tagCursor);
369 if (!HasExpectBuffer(buffer, sizeof(TLVHead) + sizeof(value))) {
372 auto *tlvHead = reinterpret_cast<TLVHead *>(buffer.data() + cursor_);
380 cursor_ += sizeof(TLVHead) + sizeof(value);
396 bool ReadBasicValue(const std::vector<std::uint8_t> &buffer, bool &value, const TLVHead &head)
418 bool ReadBasicValue(const std::vector<std::uint8_t> &buffer, T &value, const TLVHead &head)