Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_body_part.cpp109 uint32_t bodyLength = 0; in DecodePart() local
115 if (!decodeBuffer.DecodeUintvar(bodyLength, length)) { in DecodePart()
126 bodyLen_ = bodyLength; in DecodePart()
186 bool MmsBodyPart::DecodePartBody(MmsDecodeBuffer &decodeBuffer, uint32_t bodyLength) in DecodePartBody() argument
189 if (offset + bodyLength > decodeBuffer.GetSize() || bodyLength > MMS_PDU_MAX_SIZE) { in DecodePartBody()
194 std::unique_ptr<char[]> bodyPartBuffer = decodeBuffer.ReadDataBuffer(offset, bodyLength); in DecodePartBody()
207 std::string encodeString(bodyPartBuffer.get(), bodyLength); in DecodePartBody()
234 if (!decodeBuffer.IncreasePointer(bodyLength)) { in DecodePartBody()
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/include/
H A Dmms_body_part.h34 bool DecodePartBody(MmsDecodeBuffer &decodeBuffer, uint32_t bodyLength);