Searched refs:inBuff (Results 1 – 12 of 12) sorted by relevance
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_buffer.cpp | 72 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()
|
D | mms_attachment.cpp | 211 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()
|
D | mms_msg.cpp | 46 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/ |
D | wappushbuffer_fuzzer.cpp | 42 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/ |
D | mms_buffer.h | 31 virtual bool WriteDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len);
|
/base/telephony/sms_mms/interfaces/innerkits/ |
D | mms_attachment.h | 185 bool SetDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len);
|
D | mms_msg.h | 308 bool DecodeMsg(std::unique_ptr<char[]> inBuff, uint32_t inLen);
|
/base/telephony/sms_mms/services/sms/ |
D | sms_wap_push_buffer.cpp | 82 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/ |
D | sms_wap_push_buffer.h | 33 virtual bool WriteDataBuffer(std::unique_ptr<char[]> inBuff, uint32_t len);
|
/base/telephony/sms_mms/interfaces/kits/js/ |
D | @ohos.telephony.sms.d.ts | 1773 inBuff?: Array<number>; property
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
D | napi_mms.h | 64 std::unique_ptr<char[]> inBuff = nullptr; member
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_mms.cpp | 42 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()
|