/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_param_codec.cpp | 26 bool GsmSmsParamCodec::EncodeAddressPdu(const struct AddressNumber *num, std::string &resultNum) in EncodeAddressPdu() argument 29 return codec.EncodeAddressPdu(num, resultNum); in EncodeAddressPdu() 32 uint8_t GsmSmsParamCodec::EncodeSmscPdu(const char *num, uint8_t *resultNum) in EncodeSmscPdu() argument 35 return codec.EncodeSmscPdu(num, resultNum); in EncodeSmscPdu() 56 bool GsmSmsParamCodec::DecodeAddressPdu(SmsReadBuffer &buffer, struct AddressNumber *resultNum) in DecodeAddressPdu() argument 59 return codec.DecodeAddressPdu(buffer, resultNum); in DecodeAddressPdu()
|
D | gsm_sms_param_decode.cpp | 30 bool GsmSmsParamDecode::DecodeAddressPdu(SmsReadBuffer &buffer, struct AddressNumber *resultNum) in DecodeAddressPdu() argument 32 if (resultNum == nullptr) { in DecodeAddressPdu() 36 …if (memset_s(resultNum->address, sizeof(resultNum->address), 0x00, sizeof(resultNum->address)) != … in DecodeAddressPdu() 58 resultNum->ton = (oneByte & HEX_VALUE_70) >> HEX_VALUE_04; in DecodeAddressPdu() 60 if (resultNum->ton == TYPE_ALPHA_NUMERIC) { in DecodeAddressPdu() 61 return DecodeAddressAlphaNum(buffer, resultNum, bcdLen, addrLen); in DecodeAddressPdu() 62 } else if (resultNum->ton == TYPE_INTERNATIONAL) { in DecodeAddressPdu() 63 return DecodeAddressInternationalNum(buffer, resultNum, bcdLen); in DecodeAddressPdu() 65 return DecodeAddressDefaultNum(buffer, resultNum, bcdLen); in DecodeAddressPdu() 70 SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen, uint8_t addrLen) in DecodeAddressAlphaNum() argument [all …]
|
D | gsm_sms_param_encode.cpp | 35 bool GsmSmsParamEncode::EncodeAddressPdu(const struct AddressNumber *num, std::string &resultNum) in EncodeAddressPdu() argument 49 resultNum.push_back(tempLen - 1); in EncodeAddressPdu() 54 resultNum.push_back(tempLen); in EncodeAddressPdu() 59 resultNum.push_back(HEX_VALUE_80 + (ton << HEX_VALUE_04) + num->npi); in EncodeAddressPdu() 67 if (resultNum.size() + length > MAX_ADD_PARAM_LEN) { in EncodeAddressPdu() 72 resultNum.push_back(static_cast<char>(bcd[index])); in EncodeAddressPdu() 77 uint8_t GsmSmsParamEncode::EncodeSmscPdu(const char *num, uint8_t *resultNum) in EncodeSmscPdu() argument 79 if (num == nullptr || resultNum == nullptr) { in EncodeSmscPdu() 102 if (!utils.DigitToBcd(newNum, strlen(newNum), resultNum, MAX_SMSC_LEN, encodeLen)) { in EncodeSmscPdu() 110 resultNum[encodeLen] = '\0'; in EncodeSmscPdu()
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_param_decode.h | 28 bool DecodeAddressPdu(SmsReadBuffer &buffer, struct AddressNumber *resultNum); 40 …bool DecodeAddressAlphaNum(SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLen,… 41 …bool DecodeAddressInternationalNum(SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t… 42 …bool DecodeAddressDefaultNum(SmsReadBuffer &buffer, struct AddressNumber *resultNum, uint8_t bcdLe…
|
D | gsm_sms_param_codec.h | 28 bool EncodeAddressPdu(const struct AddressNumber *num, std::string &resultNum); 31 uint8_t EncodeSmscPdu(const char *num, uint8_t *resultNum); 34 bool DecodeAddressPdu(SmsReadBuffer &buffer, struct AddressNumber *resultNum);
|
D | gsm_sms_param_encode.h | 30 bool EncodeAddressPdu(const struct AddressNumber *num, std::string &resultNum);
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/ |
D | devauthservgetpkinfolist_fuzzer.cpp | 103 uint32_t resultNum = 0; in FuzzDoGetPkInfoList() local 104 gmInstance->getPkInfoList(0, appId.c_str(), reqJsonStr, &queryResult, &resultNum); in FuzzDoGetPkInfoList()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_store.cpp | 251 int32_t resultNum; in IsReminderExist() local 252 queryResultSet->GetRowCount(resultNum); in IsReminderExist() 253 if (resultNum == 0) { in IsReminderExist() 295 int32_t resultNum; in GetMaxId() local 296 queryResultSet->GetRowCount(resultNum); in GetMaxId() 297 if (resultNum == 0) { in GetMaxId()
|
/base/hiviewdfx/hiview/base/event_store/dao/ |
D | sys_event_query.cpp | 503 int resultNum = static_cast<int>(entries.size()); in Execute() local 504 if (resultNum > limit && tag.isInnerQuery) { in Execute() 505 resultNum = limit; in Execute() 507 while (!entries.empty() && resultNum >= 0) { in Execute() 513 resultNum--; in Execute()
|