/base/telephony/sms_mms/services/sms/ |
D | sms_wap_push_content_type.cpp | 74 …ol SmsWapPushContentType::DecodeContentType(SmsWapPushBuffer &decodeBuffer, int32_t &contentLength) in DecodeContentType() argument 85 contentLength = 1; in DecodeContentType() 93 contentLength = static_cast<int32_t>(len + 1); in DecodeContentType() 98 if (!DecodeCTGeneralForm(decodeBuffer, contentLength)) { in DecodeContentType() 121 … SmsWapPushContentType::DecodeCTGeneralForm(SmsWapPushBuffer &decodeBuffer, int32_t &contentLength) in DecodeCTGeneralForm() argument 137 contentLength = static_cast<int32_t>(valueLength + returnLength); in DecodeCTGeneralForm()
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_content_type.cpp | 62 bool MmsContentType::DecodeMmsContentType(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength) in DecodeMmsContentType() argument 72 contentLength = 1; in DecodeMmsContentType() 80 contentLength = static_cast<int32_t>(len + 1); in DecodeMmsContentType() 85 if (!DecodeMmsCTGeneralForm(decodeBuffer, contentLength)) { in DecodeMmsContentType() 108 bool MmsContentType::DecodeMmsCTGeneralForm(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength) in DecodeMmsCTGeneralForm() argument 124 contentLength = static_cast<int32_t>(valueLength + returnLength); in DecodeMmsCTGeneralForm()
|
D | mms_body_part.cpp | 121 int32_t contentLength = 0; in DecodePart() local 122 if (!bodyPartContentType_.DecodeMmsContentType(decodeBuffer, contentLength)) { in DecodePart() 129 if (headerLen_ < static_cast<uint32_t>(contentLength)) { in DecodePart() 133 if (!DecodePartHeader(decodeBuffer, headerLen_ - static_cast<uint32_t>(contentLength))) { in DecodePart()
|
/base/web/webview/ohos_nweb/include/ |
D | nweb_download_callback.h | 42 long contentLength) = 0;
|
/base/telephony/telephony_data/common/src/ |
D | parser_util.cpp | 86 const int contentLength = strlen(content); in ParserPdpProfileJson() local 94 if (!reader->parse(rawJson.c_str(), rawJson.c_str() + contentLength, &root, &err)) { in ParserPdpProfileJson() 189 const int contentLength = strlen(content); in ParserOpKeyJson() local 197 if (!reader->parse(rawJson.c_str(), rawJson.c_str() + contentLength, &root, &err)) { in ParserOpKeyJson()
|
/base/telephony/core_service/services/sim/src/ |
D | operator_file_parser.cpp | 114 int contentLength = LoaderJsonFile(content, path); in ParseOperatorConfigFromFile() local 115 if (contentLength == LOADER_JSON_ERROR) { in ParseOperatorConfigFromFile() 125 if (!reader->parse(rawJson.c_str(), rawJson.c_str() + contentLength, &opcJson, &err)) { in ParseOperatorConfigFromFile()
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_mms_test.cpp | 473 int32_t contentLength = 1; variable 477 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength)); 478 EXPECT_TRUE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength)); 481 EXPECT_TRUE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength)); 484 EXPECT_FALSE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength)); 485 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength)); 489 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength)); 492 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength));
|
/base/telephony/sms_mms/frameworks/native/mms/include/ |
D | mms_content_type.h | 214 bool DecodeMmsCTGeneralForm(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength);
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_wap_push_content_type.h | 251 bool DecodeCTGeneralForm(SmsWapPushBuffer &decodeBuffer, int32_t &contentLength);
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_sms.cpp | 278 size_t contentLength = 0; in ParseMessageParameter() local 279 …_value_string_utf8(env, contentValue, contentChars, MAX_TEXT_SHORT_MESSAGE_LENGTH, &contentLength); in ParseMessageParameter() 280 std::string text(contentChars, contentLength); in ParseMessageParameter()
|
D | napi_mms.cpp | 623 size_t contentLength = 0; in ParseDecodeMmsParam() local 624 …pi_get_value_string_utf8(env, object, contentChars, MAX_TEXT_SHORT_MESSAGE_LENGTH, &contentLength); in ParseDecodeMmsParam() 625 context.textFilePath = std::string(contentChars, 0, contentLength); in ParseDecodeMmsParam()
|