Home
last modified time | relevance | path

Searched refs:resultNum (Results 1 – 9 of 9) sorted by relevance

/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_param_codec.cpp26 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()
Dgsm_sms_param_decode.cpp30 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 …]
Dgsm_sms_param_encode.cpp35 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/
Dgsm_sms_param_decode.h28 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…
Dgsm_sms_param_codec.h28 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);
Dgsm_sms_param_encode.h30 bool EncodeAddressPdu(const struct AddressNumber *num, std::string &resultNum);
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetpkinfolist_fuzzer/
Ddevauthservgetpkinfolist_fuzzer.cpp103 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/
Dreminder_store.cpp251 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/
Dsys_event_query.cpp503 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()