Lines Matching refs:Write
21 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, std::monostate value)
29 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, void *value)
37 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, bool value)
41 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int8_t value)
45 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int16_t value)
49 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, double value)
53 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int32_t value)
57 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, int64_t value)
61 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, uint32_t value)
65 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const std::string &value)
84 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const RawMem &value)
105 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const AAFwk::Want &value)
107 return Write(buffer, type, ParcelUtil::Parcelable2Raw(&value));
110 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const Media::PixelMap &value)
116 return Write(buffer, type, u8Value);
119 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const Object &value)
128 if (!Write(buffer, TAG_MAP_KEY, key)) {
131 if (!Write(buffer, TAG_MAP_VALUE_TYPE, val)) {
139 bool TLVObject::Write(
151 ret = ret && Write(buffer, TAG_MAP_KEY, item.first);
152 ret = ret && Write(buffer, TAG_MAP_VALUE, item.second);
169 return Write(buffer, type, val);
175 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const std::variant<_Types...> &input)
185 if (!Write(buffer, TAG_VARIANT_INDEX, index)) {
194 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const EntryValue &input)
204 if (!Write(buffer, TAG_VARIANT_INDEX, index)) {
214 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, const Details &value)
223 if (!Write(buffer, TAG_MAP_KEY, key)) {
226 if (!Write(buffer, TAG_MAP_VALUE_TYPE, val)) {
234 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, TLVObject &value)
247 bool TLVObject::Write(std::vector<std::uint8_t> &buffer, uint16_t type, std::vector<uint8_t> &value)