Home
last modified time | relevance | path

Searched refs:inBuff (Results 1 – 12 of 12) sorted by relevance

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_buffer.cpp72 bool MmsBuffer::WriteDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len) in WriteDataBuffer() argument
74 if (inBuff == nullptr) { in WriteDataBuffer()
92 if (memcpy_s(pduBuffer_.get(), len, inBuff.get(), len) != EOK) { in WriteDataBuffer()
Dmms_attachment.cpp211 bool MmsAttachment::SetDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len) in SetDataBuffer() argument
213 if (inBuff == nullptr) { in SetDataBuffer()
227 if (memcpy_s(pAttachmentBuffer_.get(), len, inBuff.get(), len) != EOK) { in SetDataBuffer()
Dmms_msg.cpp46 bool MmsMsg::DecodeMsg(std::unique_ptr<char[]> inBuff, uint32_t inLen) in DecodeMsg() argument
49 if (!decodeBuffer.WriteDataBuffer(std::move(inBuff), inLen)) { in DecodeMsg()
/base/telephony/sms_mms/test/fuzztest/wappushbuffer_fuzzer/
Dwappushbuffer_fuzzer.cpp42 std::unique_ptr<char[]> inBuff = std::make_unique<char[]>(desLen); in WapPushBuffer() local
43 decodeBuffer->WriteDataBuffer(std::move(inBuff), desLen); in WapPushBuffer()
/base/telephony/sms_mms/frameworks/native/mms/include/
Dmms_buffer.h31 virtual bool WriteDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len);
/base/telephony/sms_mms/interfaces/innerkits/
Dmms_attachment.h185 bool SetDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len);
Dmms_msg.h308 bool DecodeMsg(std::unique_ptr<char[]> inBuff, uint32_t inLen);
/base/telephony/sms_mms/services/sms/
Dsms_wap_push_buffer.cpp82 bool SmsWapPushBuffer::WriteDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len) in WriteDataBuffer() argument
84 if (inBuff == nullptr) { in WriteDataBuffer()
102 if (memcpy_s(pduBuffer_.get(), len, inBuff.get(), len) != EOK) { in WriteDataBuffer()
/base/telephony/sms_mms/services/sms/include/
Dsms_wap_push_buffer.h33 virtual bool WriteDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len);
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts1773 inBuff?: Array<number>; property
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_mms.h64 std::unique_ptr<char[]> inBuff = nullptr; member
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp42 napi_create_int32(env, context.inBuff[i], &element); in SetPropertyArray()
294 attachmentContext.inBuff = std::move(buffer); in getAttachmentByDecodeMms()
1062 attachmentContext.inBuff = std::make_unique<char[]>(arrayLength); in BuildMmsAttachment()
1063 if (attachmentContext.inBuff == nullptr) { in BuildMmsAttachment()
1071 attachmentContext.inBuff[i] = static_cast<char>(elementInt); in BuildMmsAttachment()
1186 itAttachment.SetDataBuffer(std::move(it->inBuff), it->inBuffLen); in setAttachmentToCore()