Searched refs:tagCursor (Results 1 - 7 of 7) sorted by relevance
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | tlv_util.cpp | 149 auto tagCursor = data.GetCursor(); in Writing() local 154 return data.WriteBackHead(static_cast<uint16_t>(tag), tagCursor, data.GetCursor() - tagCursor - sizeof(TLVHead)); in Writing() 179 auto tagCursor = data.GetCursor(); in Writing() local 193 return data.WriteBackHead(static_cast<uint16_t>(tag), tagCursor, data.GetCursor() - tagCursor - sizeof(TLVHead)); in Writing() 241 auto tagCursor = data.GetCursor(); in Writing() local 250 return data.WriteBackHead(static_cast<uint16_t>(tag), tagCursor, data.GetCursor() - tagCursor - sizeof(TLVHead)); in Writing() 288 auto tagCursor in Writing() local 361 auto tagCursor = data.GetCursor(); Writing() local 475 auto tagCursor = data.GetCursor(); Writing() local [all...] |
H A D | tlv_util.h | 192 auto tagCursor = data.GetCursor();
in Writing() local 204 return data.WriteBackHead(static_cast<uint16_t>(tag), tagCursor, data.GetCursor() - tagCursor - sizeof(TLVHead));
in Writing() 242 auto tagCursor = data.GetCursor();
in Writing() local 260 return data.WriteBackHead(static_cast<uint16_t>(tag), tagCursor, data.GetCursor() - tagCursor - sizeof(TLVHead));
in Writing() 336 auto tagCursor = data.GetCursor();
in Writing() local 345 return data.WriteBackHead(static_cast<uint16_t>(tag), tagCursor, data.GetCursor() - tagCursor - sizeof(TLVHead));
in Writing()
|
H A D | tlv_object.cpp | 307 bool TLVObject::WriteBackHead(uint16_t tag, size_t tagCursor, uint32_t len)
in WriteBackHead() argument 311 startCursor += tagCursor;
in WriteBackHead() 316 return SaveBufferToFileFront(tagCursor, sizeof(TLVHead));
in WriteBackHead() 401 bool TLVObject::SaveBufferToFileFront(size_t tagCursor, uint32_t len)
in SaveBufferToFileFront() argument 407 -((static_cast<int32_t>(cursor_) - static_cast<int32_t>(tagCursor))) * static_cast<int32_t>(sizeof(uint8_t));
in SaveBufferToFileFront() 418 static_cast<int32_t>(cursor_) - static_cast<int32_t>(tagCursor) - static_cast<int32_t>(sizeof(TLVHead));
in SaveBufferToFileFront()
|
H A D | tlv_object.h | 72 bool WriteBackHead(uint16_t tag, size_t tagCursor, uint32_t len);
78 bool SaveBufferToFileFront(size_t tagCursor, uint32_t len);
|
/foundation/distributeddatamgr/pasteboard/framework/tlv/ |
H A D | tlv_object.cpp | 124 auto tagCursor = cursor_;
in Write() local 135 WriteHead(buffer, type, tagCursor, cursor_ - valueCursor);
in Write() 145 auto tagCursor = cursor_;
in Write() local 154 WriteHead(buffer, type, tagCursor, cursor_ - valueCursor);
in Write() 180 auto tagCursor = cursor_;
in Write() local 189 WriteHead(buffer, type, tagCursor, cursor_ - valueCursor);
in Write() 199 auto tagCursor = cursor_;
in Write() local 210 WriteHead(buffer, type, tagCursor, cursor_ - valueCursor);
in Write() 219 auto tagCursor = cursor_;
in Write() local 230 WriteHead(buffer, type, tagCursor, cursor in Write() 239 auto tagCursor = cursor_; Write() local [all...] |
H A D | tlv_object.h | 243 auto tagCursor = cursor_;
in Write() local 247 WriteHead(buffer, type, tagCursor, cursor_ - valueCursor);
in Write() 360 static inline void WriteHead(std::vector<std::uint8_t> &buffer, uint16_t type, size_t tagCursor, uint32_t len)
in WriteHead() 362 auto *tlvHead = reinterpret_cast<TLVHead *>(buffer.data() + tagCursor);
in WriteHead()
|
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/mock/ |
H A D | tlv_object_mock.cpp | 159 bool TLVObject::WriteBackHead(uint16_t tag, size_t tagCursor, uint32_t len) in WriteBackHead() argument 191 bool TLVObject::SaveBufferToFileFront(size_t tagCursor, uint32_t len) in SaveBufferToFileFront() argument
|
Completed in 5 milliseconds