Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/base/telephony/sms_mms/services/sms/gsm/
Dgsm_user_data_pdu.cpp32 SmsWriteBuffer &buffer, const struct SmsUDPackage *(&userData), DataCodingScheme scheme) in EncodeUserDataPdu()
63 SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme scheme, struct SmsUDPackage *userData) in DecodeUserDataPdu()
99 bool GsmUserDataPdu::DecodeUserDataPdu(SmsReadBuffer &buffer, bool bHeaderInd, DataCodingScheme sch… in DecodeUserDataPdu()
148 bool GsmUserDataPdu::GetHeaderCnt(SmsReadBuffer &buffer, struct SmsUDPackage *userData, uint8_t &ud… in GetHeaderCnt()
179 void GsmUserDataPdu::EncodeHeader(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeader()
228 void GsmUserDataPdu::EncodeHeaderAppPort8bit(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderAppPort8bit()
248 void GsmUserDataPdu::EncodeHeaderAppPort16bit(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderAppPort16bit()
276 void GsmUserDataPdu::EncodeHeaderReplyAddress(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderReplyAddress()
304 void GsmUserDataPdu::EncodeHeaderConcat(SmsWriteBuffer &buffer, const struct SmsUDH header) in EncodeHeaderConcat()
319 void GsmUserDataPdu::EncodeHeaderConcat8Bit(SmsWriteBuffer &buffer, const struct SmsUDH &header) in EncodeHeaderConcat8Bit()
[all …]
Dgsm_sms_tpdu_encode.cpp36 bool GsmSmsTpduEncode::EncodeSubmitPdu(SmsWriteBuffer &buffer, const struct SmsSubmit *pSubmit) in EncodeSubmitPdu()
75 bool GsmSmsTpduEncode::EncodeSubmitPduPartData(SmsWriteBuffer &buffer, const struct SmsSubmit *pSub… in EncodeSubmitPduPartData()
113 void GsmSmsTpduEncode::EncodeSubmitTpduType(SmsWriteBuffer &buffer, const struct SmsSubmit &pSubmit) in EncodeSubmitTpduType()
134 void GsmSmsTpduEncode::EncodeSubmitTypePartData(SmsWriteBuffer &buffer, const struct SmsSubmit &pSu… in EncodeSubmitTypePartData()
177 void GsmSmsTpduEncode::EncodeSubmitTypeData(SmsWriteBuffer &buffer, const struct SmsSubmit &pSubmit) in EncodeSubmitTypeData()
216 bool GsmSmsTpduEncode::EncodeDeliverPdu(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeliver) in EncodeDeliverPdu()
265 bool GsmSmsTpduEncode::EncodeDeliverPartData(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeli… in EncodeDeliverPartData()
311 bool GsmSmsTpduEncode::EncodeDeliverData(SmsWriteBuffer &buffer, const struct SmsDeliver *pDeliver) in EncodeDeliverData()
351 bool GsmSmsTpduEncode::EncodeDeliverReportPdu(SmsWriteBuffer &buffer, const struct SmsDeliverReport… in EncodeDeliverReportPdu()
399 bool GsmSmsTpduEncode::EncodeDeliverReportPartData(SmsWriteBuffer &buffer, const struct SmsDeliverR… in EncodeDeliverReportPartData()
[all …]
Dgsm_user_data_encode.cpp40 bool GsmUserDataEncode::EncodeGsmPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userData) in EncodeGsmPdu()
49 bool GsmUserDataEncode::EncodeGsmHeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDat… in EncodeGsmHeadPdu()
101 bool GsmUserDataEncode::EncodeGsmBodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDat… in EncodeGsmBodyPdu()
114 bool GsmUserDataEncode::Encode8bitPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userData) in Encode8bitPdu()
122 bool GsmUserDataEncode::Encode8bitHeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in Encode8bitHeadPdu()
165 bool GsmUserDataEncode::Encode8bitBodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in Encode8bitBodyPdu()
189 bool GsmUserDataEncode::EncodeUcs2Pdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userData) in EncodeUcs2Pdu()
197 bool GsmUserDataEncode::EncodeUcs2HeadPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in EncodeUcs2HeadPdu()
240 bool GsmUserDataEncode::EncodeUcs2BodyPdu(SmsWriteBuffer &buffer, const struct SmsUDPackage *userDa… in EncodeUcs2BodyPdu()
Dgsm_sms_tpdu_decode.cpp36 bool GsmSmsTpduDecode::DecodeSubmit(SmsReadBuffer &buffer, struct SmsSubmit *submit) in DecodeSubmit()
84 bool GsmSmsTpduDecode::DecodeSubmitPartData(SmsReadBuffer &buffer, struct SmsSubmit *submit) in DecodeSubmitPartData()
164 bool GsmSmsTpduDecode::DecodeDeliver(SmsReadBuffer &buffer, struct SmsDeliver *deliver) in DecodeDeliver()
207 bool GsmSmsTpduDecode::DecodeDeliverPartData(SmsReadBuffer &buffer, struct SmsDeliver *deliver) in DecodeDeliverPartData()
245 bool GsmSmsTpduDecode::DecodeStatusReport(SmsReadBuffer &buffer, struct SmsStatusReport *statusRep) in DecodeStatusReport()
294 bool GsmSmsTpduDecode::DecodeStatusReportPartData(SmsReadBuffer &buffer, struct SmsStatusReport *st… in DecodeStatusReportPartData()
336 bool GsmSmsTpduDecode::DecodeStatusReportData(SmsReadBuffer &buffer, struct SmsStatusReport *status… in DecodeStatusReportData()
Dgsm_user_data_decode.cpp41 SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) in DecodeGsmPdu()
52 bool GsmUserDataDecode::DecodeGsmHeadPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackag… in DecodeGsmHeadPdu()
97SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, uint8_t &udl, uint8_t &fill… in DecodeGsmHeadPduPartData()
142 bool GsmUserDataDecode::DecodeGsmBodyPdu(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackag… in DecodeGsmBodyPdu()
162 SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) in Decode8bitPdu()
205 bool GsmUserDataDecode::Decode8bitPduPartData(SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDP… in Decode8bitPduPartData()
259 SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, struct SmsTpud *pTPUD) in DecodeUcs2Pdu()
297SmsReadBuffer &buffer, bool bHeaderInd, struct SmsUDPackage *userData, uint16_t current, uint8_t u… in DecodeUcs2PduPartData()
Dgsm_sms_param_decode.cpp30 bool GsmSmsParamDecode::DecodeAddressPdu(SmsReadBuffer &buffer, struct AddressNumber *resultNum) in DecodeAddressPdu()
70 SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen, uint8_t addrLen) in DecodeAddressAlphaNum()
89 SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen) in DecodeAddressInternationalNum()
119 bool GsmSmsParamDecode::DecodeAddressDefaultNum(SmsReadBuffer &buffer, struct AddressNumber *result… in DecodeAddressDefaultNum()
220 bool GsmSmsParamDecode::DecodeDcsPdu(SmsReadBuffer &buffer, struct SmsDcs *smsDcs) in DecodeDcsPdu()
367 bool GsmSmsParamDecode::DecodeTimePdu(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) in DecodeTimePdu()
403 bool GsmSmsParamDecode::DecodeTimePduPartData(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) in DecodeTimePduPartData()
443 bool GsmSmsParamDecode::DecodeTimePduData(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) in DecodeTimePduData()
Dgsm_sms_param_codec.cpp56 bool GsmSmsParamCodec::DecodeAddressPdu(SmsReadBuffer &buffer, struct AddressNumber *resultNum) in DecodeAddressPdu()
62 bool GsmSmsParamCodec::DecodeTimePdu(SmsReadBuffer &buffer, struct SmsTimeStamp *timeStamp) in DecodeTimePdu()
68 bool GsmSmsParamCodec::DecodeDcsPdu(SmsReadBuffer &buffer, struct SmsDcs *smsDcs) in DecodeDcsPdu()
86 bool GsmSmsParamCodec::CheckVoicemail(SmsReadBuffer &buffer, int32_t *setType, int32_t *indType) in CheckVoicemail()
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_attest_utils_test.cpp67 uint8_t buffer[1] = { 0 }; variable
85 uint8_t buffer[1] = { 0 }; variable
101 uint8_t buffer[1] = { 0 }; variable
119 uint8_t buffer[1] = { 0 }; variable
135 uint8_t buffer[ASN_1_MAX_HEADER_LEN + 1] = { 0 }; variable
151 uint8_t buffer[ASN_1_MAX_HEADER_LEN + 1] = { 0 }; variable
167 uint8_t buffer[ASN_1_MAX_HEADER_LEN + 1] = { 0 }; variable
183 uint8_t buffer[ASN_1_MAX_HEADER_LEN + 1] = { 0 }; variable
199 uint8_t buffer[ASN_1_MAX_HEADER_LEN + 1] = { 0 }; variable
/base/update/updater/test/unittest/applypatch_test/
Dstore_unittest.cpp46 std::vector<uint8_t> buffer(4096, 0); variable
61 std::vector<uint8_t> buffer(4096, 0); variable
68 std::vector<uint8_t> buffer(4096, 0); variable
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_digest.cpp51 int32_t Crc32Algorithm::Update(const PkgBuffer &buffer, size_t size) in Update()
75 int32_t Crc32Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate()
97 int32_t Sha256Algorithm::Update(const PkgBuffer &buffer, size_t size) in Update()
117 int32_t Sha256Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate()
139 int32_t Sha384Algorithm::Update(const PkgBuffer &buffer, size_t size) in Update()
159 int32_t Sha384Algorithm::Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate()
Dpkg_algo_digest.h42 virtual int32_t Update(const PkgBuffer &buffer, size_t size) in Update()
48 virtual int32_t Final(PkgBuffer &buffer) in Final()
54 virtual int32_t Calculate(PkgBuffer &result, const PkgBuffer &buffer, size_t size) in Calculate()
/base/startup/init/services/loopevent/task/
Dle_task.c63 LE_Buffer *buffer = GetFirstBuffer(stream); in CloseTask() local
77 LE_Buffer *buffer = NULL; in CreateBuffer() local
98 LE_Buffer *buffer = NULL; in GetFirstBuffer() local
106 void AddBuffer(StreamTask *task, LE_Buffer *buffer) in AddBuffer()
116 LE_Buffer *buffer = NULL; in GetNextBuffer() local
130 void FreeBuffer(const LoopHandle loop, StreamTask *task, LE_Buffer *buffer) in FreeBuffer()
158 LE_Buffer *buffer = (LE_Buffer *)handle; in LE_GetBufferInfo() local
177 LE_Buffer *buffer = (LE_Buffer *)buffHandle; in LE_Send() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
Ddlp_fuse_test.cpp311 char buffer[] = "123456"; variable
349 char buffer[] = "123456"; variable
406 char buffer[] = "123456"; variable
460 char buffer[] = "123456"; variable
502 char buffer[] = "123456"; variable
559 char buffer[] = "111111"; variable
671 char buffer[] = "123456"; variable
712 char buffer[] = "123456"; variable
753 char buffer[] = "123456"; variable
802 char buffer[] = "123456"; variable
[all …]
/base/telephony/sms_mms/test/gtest/
Dzero_branch_cdma_sms_test.cpp161 auto buffer = std::make_shared<SmsPduBuffer>(); variable
188 auto buffer = std::make_shared<SmsReadBuffer>(pdu); variable
232 auto buffer = std::make_shared<SmsReadBuffer>(pdu); variable
266 auto buffer = std::make_shared<SmsReadBuffer>(pdu); variable
315 auto buffer = std::make_shared<SmsReadBuffer>(StringUtils::HexToString("00")); variable
342 auto buffer = std::make_shared<SmsWriteBuffer>(); variable
383 auto buffer = std::make_shared<SmsWriteBuffer>(); variable
442 auto buffer = std::make_shared<SmsWriteBuffer>(); variable
541 auto buffer = std::make_shared<SmsWriteBuffer>(); variable
691 auto buffer = wBuffer.GetPduBuffer(); variable
[all …]
/base/update/updater/services/package/pkg_package/
Dpkg_gzipfile.cpp65 void GZipFileEntry::GetUpGradeCompInfo(size_t &offset, PkgBuffer &buffer) in GetUpGradeCompInfo()
111 PkgBuffer buffer(BUFFER_SIZE); in EncodeHeader() local
157 PkgBuffer buffer(BLOCK_SIZE); in Pack() local
175 PkgBuffer buffer(BLOCK_SIZE); // Read last 8 bytes at the end of package in CheckFileInfo() local
236 void GZipFileEntry::DecodeHeaderCalOffset(uint8_t flags, const PkgBuffer &buffer, size_t &offset, in DecodeHeaderCalOffset()
258 int32_t GZipFileEntry::DecodeHeader(PkgBuffer &buffer, size_t headerOffset, size_t dataOffset, in DecodeHeader()
366 PkgBuffer buffer(nullptr, BUFFER_SIZE); in LoadPackage() local
Dpkg_upgradefile.cpp156 int32_t UpgradePkgFile::CheckPackageHeader(std::vector<uint8_t> &buffer, size_t &offset) in CheckPackageHeader()
193 int32_t UpgradePkgFile::WriteBuffer(std::vector<uint8_t> &buffer, size_t &offset, size_t &signOffse… in WriteBuffer()
223 std::vector<uint8_t> buffer(buffSize); in SavePackage() local
268 PkgBuffer buffer(HASH_TLV_SIZE); in ReadSignData() local
309 PkgBuffer buffer(HASH_TLV_SIZE); in ReadImgHashTLV() local
386 PkgBuffer buffer(GetUpgradeSignatureLen() + UPGRADE_RESERVE_LEN); in ReadPackageInfo() local
539 PkgBuffer buffer(buffSize); in Verify() local
582 int32_t UpgradePkgFile::SaveEntry(const PkgBuffer &buffer, size_t &parsedLen, UpgradeParam &info, in SaveEntry()
631 PkgBuffer buffer(sizeof(PkgTlv)); in ReadComponents() local
672 void UpgradePkgFile::ParsePkgHeaderToTlv(const PkgBuffer &buffer, size_t &currLen, PkgTlv &tlv) in ParsePkgHeaderToTlv()
[all …]
/base/security/code_signature/test/unittest/
Dcode_sign_utils_test.cpp233 ByteBuffer buffer; variable
251 ByteBuffer buffer; variable
267 ByteBuffer buffer; variable
282 ByteBuffer buffer; variable
301 ByteBuffer buffer; variable
/base/useriam/user_auth_framework/frameworks/native/ipc/src/
Dexecutor_callback_stub.cpp84 std::vector<uint8_t> buffer; in OnBeginExecuteStub() local
111 std::vector<uint8_t> buffer; in OnEndExecuteStub() local
133 std::vector<uint8_t> buffer; in OnSetPropertyStub() local
150 std::vector<uint8_t> buffer; in OnGetPropertyStub() local
/base/usb/usb_manager/services/native/src/
Dusb_descriptor_parser.cpp39 int32_t UsbDescriptorParser::ParseDeviceDescriptor(const uint8_t *buffer, uint32_t length, UsbDevic… in ParseDeviceDescriptor()
75 const uint8_t *buffer, uint32_t length, uint32_t &cursor, USBConfig &config) in ParseConfigDescriptor()
119 const uint8_t *buffer, uint32_t length, uint32_t &cursor, UsbInterface &interface) in ParseInterfaceDescriptor()
172 const uint8_t *buffer, uint32_t length, uint32_t &cursor, USBEndpoint &ep) in ParseEndpointDescriptor()
/base/update/updater/test/unittest/updater_binary/
Dupdate_processor_unittest.cpp50 vector<uint8_t> buffer(UT_MISC_BUFFER_SIZE, 0); in SetUp() local
82 vector<uint8_t> buffer(UT_MISC_BUFFER_SIZE, 0); variable
95 vector<uint8_t> buffer(UT_MISC_BUFFER_SIZE, 1); variable
/base/startup/init/services/modules/sysevent/
Dstartup_time_event.c29 char *buffer; member
34 static int GetServiceName(const char *paramName, char *buffer, size_t buffSize) in GetServiceName()
78 char *buffer = (char *)calloc(MAX_BUFFER_FOR_EVENT + PARAM_VALUE_LEN_MAX, 1); in ReportBootEventComplete() local
/base/update/updater/services/flashd/
Dpartition.cpp28 int Partition::DoFlash(const uint8_t *buffer, int bufferSize) const in DoFlash() argument
64 std::vector<uint8_t> buffer(BLOCK_SIZE, 0); in DoErase() local
/base/powermgr/battery_lite/frameworks/native/src/small/
Dbattery_framework.c50 char buffer[MAX_DATA_LEN] = { 0 }; in GetBatSocProxy() local
66 char buffer[MAX_DATA_LEN] = { 0 }; in GetChargingStatusProxy() local
82 char buffer[MAX_DATA_LEN] = { 0 }; in GetHealthStatusProxy() local
98 char buffer[MAX_DATA_LEN] = { 0 }; in GetPluggedTypeProxy() local
114 char buffer[MAX_DATA_LEN] = { 0 }; in GetBatVoltageProxy() local
148 char buffer[MAX_DATA_LEN] = { 0 }; in GetBatTechnologyProxy() local
164 char buffer[MAX_DATA_LEN] = { 0 }; in GetBatTemperatureProxy() local
/base/security/device_security_level/baselib/utils/src/
Dutils_tlv.c26 static uint8_t *GetNextTlv(const uint8_t *buffer) in GetNextTlv()
31 static uint8_t *ParseTlv(const uint8_t *buffer, TlvCommon *tlv, const uint8_t *boundary, uint32_t *… in ParseTlv()
48 static uint8_t *AppendTlv(uint8_t *buffer, const TlvCommon *tlv, const uint8_t *boundary, uint32_t … in AppendTlv()
/base/hiviewdfx/faultloggerd/common/cutil/
Dmusl_cutil.h72 bool GetThreadName(char* buffer, size_t bufferSz) in GetThreadName()
77 bool GetThreadNameByTid(int32_t tid, char* buffer, size_t bufferSz) in GetThreadNameByTid()
86 bool GetProcessName(char* buffer, size_t bufferSz) in GetProcessName()

12345678910>>...14