/base/telephony/sms_mms/services/sms/ |
H A D | sms_wap_push_content_type.cpp | 70 * @param contentLength
74 bool 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() 117 * @param contentLength
121 bool 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/ |
H A D | mms_content_type.cpp | 56 * @param contentLength
60 bool MmsContentType::DecodeMmsContentType(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength)
in DecodeMmsContentType() argument 70 contentLength = 1;
in DecodeMmsContentType() 78 contentLength = static_cast<int32_t>(len + 1);
in DecodeMmsContentType() 83 if (!DecodeMmsCTGeneralForm(decodeBuffer, contentLength)) {
in DecodeMmsContentType() 102 * @param contentLength
106 bool MmsContentType::DecodeMmsCTGeneralForm(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength)
in DecodeMmsCTGeneralForm() argument 122 contentLength = static_cast<int32_t>(valueLength + returnLength);
in DecodeMmsCTGeneralForm()
|
H A D | mms_body_part.cpp | 119 int32_t contentLength = 0;
in DecodePart() local 120 if (!bodyPartContentType_.DecodeMmsContentType(decodeBuffer, contentLength)) {
in DecodePart() 127 if (headerLen_ < static_cast<uint32_t>(contentLength)) {
in DecodePart() 131 if (!DecodePartHeader(decodeBuffer, headerLen_ - static_cast<uint32_t>(contentLength))) {
in DecodePart()
|
/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_download_callback.h | 37 * @param contentLength The file size reported by the server. 40 const std::string& contentDisposition, const std::string& mimetype, long contentLength) = 0;
|
/base/print/print_fwk/services/print_service/src/ |
H A D | print_http_request_process.cpp | 92 bool &findContentLength, size_t &contentLength) in GetContentLength() 110 contentLength = static_cast<size_t>(std::stoi(lenStr)); in GetContentLength() 116 PRINT_HILOGD("contentLength = %{public}s, %{public}lu", lenStr.c_str(), contentLength); in GetContentLength() 187 size_t contentLength = 0; in ProcessDataFromDevice() local 197 GetContentLength(readTempBuffer, index, findContentLength, contentLength); in ProcessDataFromDevice() 204 while (tmVector.size() < readSize + contentLength && count < maxCount) { in ProcessDataFromDevice() 91 GetContentLength(const std::vector<uint8_t> &readTempBuffer, size_t index, bool &findContentLength, size_t &contentLength) GetContentLength() argument
|
/base/telephony/core_service/services/sim/src/ |
H A D | operator_file_parser.cpp | 146 int contentLength = LoaderJsonFile(content, path); in ParseOperatorConfigFromFile() local 147 if (contentLength == LOADER_JSON_ERROR) { in ParseOperatorConfigFromFile()
|
/base/print/print_fwk/services/print_service/include/ |
H A D | print_http_request_process.h | 76 size_t &contentLength);
|
/base/telephony/sms_mms/test/gtest/ |
H A D | zero_branch_mms_test.cpp | 547 int32_t contentLength = 1; in HWTEST_F() local 551 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength)); in HWTEST_F() 552 EXPECT_TRUE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength)); in HWTEST_F() 555 EXPECT_TRUE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength)); in HWTEST_F() 558 EXPECT_FALSE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength)); in HWTEST_F() 559 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength)); in HWTEST_F() 563 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength)); in HWTEST_F() 566 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength)); in HWTEST_F()
|
/base/telephony/sms_mms/frameworks/native/mms/include/ |
H A D | mms_content_type.h | 214 bool DecodeMmsCTGeneralForm(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength);
|
/base/telephony/sms_mms/services/sms/include/ |
H A D | sms_wap_push_content_type.h | 251 bool DecodeCTGeneralForm(SmsWapPushBuffer &decodeBuffer, int32_t &contentLength);
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
H A D | napi_sms.cpp | 332 size_t contentLength = 0; in ParseMessageParameter() local 333 napi_get_value_string_utf8(env, contentValue, contentChars, MAX_TEXT_SHORT_MESSAGE_LENGTH, &contentLength); in ParseMessageParameter() 334 std::string text(contentChars, contentLength); in ParseMessageParameter()
|
H A D | napi_mms.cpp | 614 size_t contentLength = 0; in ParseDecodeMmsParam() local 615 napi_get_value_string_utf8(env, object, contentChars, MAX_TEXT_SHORT_MESSAGE_LENGTH, &contentLength); in ParseDecodeMmsParam() 616 context.textFilePath = std::string(contentChars, 0, contentLength); in ParseDecodeMmsParam()
|