Home
last modified time | relevance | path

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

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_body_part.cpp43 if (pbodyPartBuffer_ != nullptr) { in ~MmsBodyPart()
44 pbodyPartBuffer_.reset(); in ~MmsBodyPart()
72 pbodyPartBuffer_ = std::make_unique<char[]>(bodyLen_); in operator =()
73 if (pbodyPartBuffer_ == nullptr || srcBodyPart.pbodyPartBuffer_ == nullptr) { in operator =()
80 …if (memcpy_s(pbodyPartBuffer_.get(), bodyLen_, srcBodyPart.pbodyPartBuffer_.get(), bodyLen_) != EO… in operator =()
223 pbodyPartBuffer_ = std::make_unique<char[]>(tempLen); in DecodePartBody()
224 if (pbodyPartBuffer_ == nullptr) { in DecodePartBody()
228 if (memcpy_s(pbodyPartBuffer_.get(), tempLen, encodebuffer.data(), tempLen) != EOK) { in DecodePartBody()
234 pbodyPartBuffer_ = std::move(bodyPartBuffer); in DecodePartBody()
464 if (pbodyPartBuffer_) { in WriteBodyFromFile()
[all …]
/base/telephony/sms_mms/frameworks/native/mms/include/
Dmms_body_part.h69 std::unique_ptr<char[]> pbodyPartBuffer_ = nullptr; variable