Searched refs:bodyLen (Results 1 – 2 of 2) sorted by relevance
71 int32_t bodyLen = tlv->getlen(tlv); in GetlenTlvNode() local72 if (bodyLen < 0 || bodyLen > MAX_TLV_LENGTH) { in GetlenTlvNode()75 tlv->length = bodyLen + sizeof(tlv->tag) + sizeof(tlv->length); in GetlenTlvNode()89 int32_t bodyLen = tlv->getlen(tlv); in EncodeTlvNode() local90 if (bodyLen < 0 || bodyLen > MAX_TLV_LENGTH) { in EncodeTlvNode()92 } else if (bodyLen == 0) { in EncodeTlvNode()98 ParcelWriteUint16Revert(parcel, bodyLen); in EncodeTlvNode()101 ParcelWriteUint16(parcel, bodyLen); in EncodeTlvNode()106 ResetParcel(parcel, sizeof(uint16_t) + sizeof(uint16_t) + bodyLen, 0); in EncodeTlvNode()109 tlv->length = (uint16_t)bodyLen; in EncodeTlvNode()
379 uint32_t bodyLen = 0; in EncodeMmsBodyPart() local380 std::unique_ptr<char[]> bodyBuff = ReadBodyPartBuffer(bodyLen); in EncodeMmsBodyPart()385 if (!encodeBuffer.WriteBuffer(std::move(bodyBuff), bodyLen)) { in EncodeMmsBodyPart()