Lines Matching refs:TLVHead

23     if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {

26 cursor_ += sizeof(TLVHead);
31 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
34 cursor_ += sizeof(TLVHead);
67 if (!HasExpectBuffer(buffer, sizeof(TLVHead) + value.size())) {
70 auto *tlvHead = reinterpret_cast<TLVHead *>(buffer.data() + cursor_);
80 cursor_ += sizeof(TLVHead) + value.size();
86 if (!HasExpectBuffer(buffer, sizeof(TLVHead) + value.bufferLen)) {
89 auto *tlvHead = reinterpret_cast<TLVHead *>(buffer.data() + cursor_);
91 cursor_ += sizeof(TLVHead);
121 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
125 cursor_ += sizeof(TLVHead);
142 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
146 cursor_ += sizeof(TLVHead);
177 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
181 cursor_ += sizeof(TLVHead);
196 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
200 cursor_ += sizeof(TLVHead);
216 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
220 cursor_ += sizeof(TLVHead);
236 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
240 cursor_ += sizeof(TLVHead);
249 if (!HasExpectBuffer(buffer, sizeof(TLVHead) + value.size())) {
253 cursor_ += sizeof(TLVHead);
264 bool TLVObject::ReadHead(const std::vector<std::uint8_t> &buffer, TLVHead &head)
266 if (!HasExpectBuffer(buffer, sizeof(TLVHead))) {
269 const auto *pHead = reinterpret_cast<const TLVHead *>(buffer.data() + cursor_);
271 !HasExpectBuffer(buffer, NetToHost(pHead->len) + sizeof(TLVHead))) {
276 cursor_ += sizeof(TLVHead);
279 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, std::monostate &value, const TLVHead &head)
283 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, void *value, const TLVHead &head)
287 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, bool &value, const TLVHead &head)
291 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int8_t &value, const TLVHead &head)
295 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int16_t &value, const TLVHead &head)
299 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int32_t &value, const TLVHead &head)
304 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, int64_t &value, const TLVHead &head)
308 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, double &value, const TLVHead &head)
312 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, uint32_t &value, const TLVHead &head)
316 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, std::string &value, const TLVHead &head)
325 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, RawMem &rawMem, const TLVHead &head)
336 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, TLVObject &value, const TLVHead &head)
340 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, std::vector<uint8_t> &value, const TLVHead &head)
351 const std::vector<std::uint8_t> &buffer, std::map<std::string, std::vector<uint8_t>> &value, const TLVHead &head)
356 TLVHead keyHead{};
362 TLVHead valueHead{};
376 const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _OutTp &output, const TLVHead &head)
383 const std::vector<std::uint8_t> &buffer, uint32_t step, uint32_t index, _OutTp &value, const TLVHead &head)
386 TLVHead valueHead{};
397 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, std::variant<_Types...> &value, const TLVHead &head)
399 TLVHead valueHead{};
409 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, EntryValue &value, const TLVHead &head)
411 TLVHead valueHead{};
423 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, Details &value, const TLVHead &head)
427 TLVHead keyHead{};
435 TLVHead variantHead{};
448 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, Object &value, const TLVHead &head)
452 TLVHead keyHead{};
460 TLVHead valueHead{};
473 bool TLVObject::ReadValue(const std::vector<std::uint8_t> &buffer, AAFwk::Want &value, const TLVHead &head)
488 const std::vector<std::uint8_t> &buffer, std::shared_ptr<Media::PixelMap> &value, const TLVHead &head)