Lines Matching refs:Write
49 bool Write(const std::string &buf);
52 bool Write(const StreamBuffer &buf);
55 virtual bool Write(const char *buf, size_t size);
69 bool Write(const T &data);
73 bool Write(const std::vector<T> &data);
113 bool StreamBuffer::Write(const T &data)
115 if (!Write(reinterpret_cast<const char *>(&data), sizeof(data))) {
147 bool StreamBuffer::Write(const std::vector<T> &data)
154 if (!Write(size)) {
155 MMI_HILOGE("Write vector size error");
159 if (!Write(item)) {
160 MMI_HILOGE("Write vector data error");
179 if (!Write(data)) {
180 MMI_HILOGW("Write data failed");