Home
last modified time | relevance | path

Searched refs:pAttachmentBuffer_ (Results 1 – 2 of 2) sorted by relevance

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_attachment.cpp24 if (pAttachmentBuffer_ != nullptr) { in ~MmsAttachment()
25 pAttachmentBuffer_.reset(); in ~MmsAttachment()
47 pAttachmentBuffer_ = std::make_unique<char[]>(srcAttachment.dataLength_); in MmsAttachment()
48 if (pAttachmentBuffer_ == nullptr) { in MmsAttachment()
52 …if (memcpy_s(pAttachmentBuffer_.get(), srcAttachment.dataLength_, srcAttachment.pAttachmentBuffer_ in MmsAttachment()
204 if (memcpy_s(result.get(), len, pAttachmentBuffer_.get(), len) != EOK) { in GetDataBuffer()
222 pAttachmentBuffer_ = std::make_unique<char[]>(len); in SetDataBuffer()
223 if (pAttachmentBuffer_ == nullptr) { in SetDataBuffer()
227 if (memcpy_s(pAttachmentBuffer_.get(), len, inBuff.get(), len) != EOK) { in SetDataBuffer()
/base/telephony/sms_mms/interfaces/innerkits/
Dmms_attachment.h198 std::unique_ptr<char[]> pAttachmentBuffer_ = nullptr; variable