Home
last modified time | relevance | path

Searched refs:contentLength (Results 1 – 25 of 32) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dtabs_component.cpp96 uint8_t contentLength = tabContentComponent_->GetChildrenLength(); in ProcessChildren() local
97 uint8_t length = (barLength > contentLength) ? contentLength : barLength; in ProcessChildren()
243 uint8_t contentLength = tabContentComponent_->GetChildrenLength(); in CalculateBarWidth() local
244 uint8_t length = (barLength > contentLength) ? contentLength : barLength; in CalculateBarWidth()
259 uint8_t contentLength = tabContentComponent_->GetChildrenLength(); in GetInitPageIndex() local
260 uint8_t length = (barLength > contentLength) ? contentLength : barLength; in GetInitPageIndex()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_app_context.cpp51 void JsAppContext::CheckSnapshotVersion(const char *bcFileContent, uint32_t contentLength) const in CheckSnapshotVersion()
58 …if ((bcFileContent == nullptr) || (contentLength == 0) || (contentLength <= sizeof(JerrySnapshotHe… in CheckSnapshotVersion()
80 uint32_t contentLength = 0; in Eval() local
83 char *jsCode = EvaluateFile(isSnapshotMode, contentLength, fullPath, fullPathLength); in Eval()
85 if ((jsCode == nullptr) || (contentLength > FILE_CONTENT_LENGTH_MAX)) { in Eval()
95 CheckSnapshotVersion(jsCode, contentLength); in Eval()
97 viewModel = jerry_exec_snapshot(snapshotContent, contentLength, 0, 1); in Eval()
101 jsScript, contentLength, JERRY_PARSE_NO_OPTS); in Eval()
H A Djs_app_context.h197 void CheckSnapshotVersion(const char *bcFileContent, uint32_t contentLength) const;
/ohos5.0/base/telephony/sms_mms/services/sms/
H A Dsms_wap_push_content_type.cpp74 …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()
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_content_type.cpp60 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()
106 bool MmsContentType::DecodeMmsCTGeneralForm(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength) in DecodeMmsCTGeneralForm() argument
122 contentLength = static_cast<int32_t>(valueLength + returnLength); in DecodeMmsCTGeneralForm()
H A Dmms_body_part.cpp119 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()
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_http_request_process.cpp93 bool &findContentLength, size_t &contentLength) in GetContentLength() argument
115 contentLength = static_cast<size_t>(contentLengthTmp); in GetContentLength()
116 PRINT_HILOGD("contentLength = %{public}s, %{public}lu", lenStr.c_str(), contentLength); in GetContentLength()
184 size_t contentLength = 0; in ProcessDataFromDevice() local
194 GetContentLength(readTempBuffer, index, findContentLength, contentLength); in ProcessDataFromDevice()
201 while (tmVector.size() < readSize + contentLength && count < maxCount) { in ProcessDataFromDevice()
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_download_callback.h40 const std::string& contentDisposition, const std::string& mimetype, long contentLength) = 0;
/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/
H A Ddownloader.cpp185 size_t contentLength = currentRequest_->GetFileContentLength(); in Seek() local
186 …("Seek Begin, offset = " PUBLIC_LOG_D64 ", contentLength = " PUBLIC_LOG_ZU, offset, contentLength); in Seek()
187 if (offset >= 0 && offset < static_cast<int64_t>(contentLength)) { in Seek()
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Doperator_file_parser.cpp146 int contentLength = LoaderJsonFile(content, path); in ParseOperatorConfigFromFile() local
147 if (contentLength == LOADER_JSON_ERROR) { in ParseOperatorConfigFromFile()
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_mms_test.cpp553 int32_t contentLength = 1; variable
557 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength));
558 EXPECT_TRUE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength));
561 EXPECT_TRUE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength));
564 EXPECT_FALSE(smsWapPushContentType->DecodeContentType(decodeBuffer, contentLength));
565 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength));
569 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength));
572 EXPECT_FALSE(smsWapPushContentType->DecodeCTGeneralForm(decodeBuffer, contentLength));
/ohos5.0/base/print/print_fwk/services/print_service/include/
H A Dprint_http_request_process.h76 size_t &contentLength);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/text/
H A Dtext_emoji_processor.cpp802 int32_t contentLength = static_cast<int32_t>(u32Content.length()); in HandleDeleteAction() local
803 deleteCount = std::min(deleteCount, contentLength); in HandleDeleteAction()
806 int32_t start = contentLength - deleteCount; in HandleDeleteAction()
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/include/
H A Dmms_content_type.h214 bool DecodeMmsCTGeneralForm(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dspan_node.cpp451 auto contentLength = static_cast<int32_t>(displayContent.length()); in UpdateTextStyle() local
464 if (finalSelEnd > 0 && finalSelEnd > contentLength) { in UpdateTextStyle()
465 finalSelEnd = contentLength; in UpdateTextStyle()
467 if (finalSelStart < contentLength) { in UpdateTextStyle()
478 if (finalSelEnd < contentLength) { in UpdateTextStyle()
/ohos5.0/base/telephony/sms_mms/services/sms/include/
H A Dsms_wap_push_content_type.h251 bool DecodeCTGeneralForm(SmsWapPushBuffer &decodeBuffer, int32_t &contentLength);
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/
H A Ddownloader.cpp390 size_t contentLength = currentRequest_->GetFileContentLength(); in Seek() local
391 …("Seek Begin, offset = " PUBLIC_LOG_D64 ", contentLength = " PUBLIC_LOG_ZU, offset, contentLength); in Seek()
392 if (offset >= 0 && offset < static_cast<int64_t>(contentLength)) { in Seek()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkWeb.ts135 mimetype: string; contentLength: number;
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Djs_fwk_common.cpp556 uint32_t contentLength = 0; in ReadJSFile() local
557 return ReadJSFile(appPath, jsFileName, contentLength); in ReadJSFile()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
H A Dweb_client_impl.h39 const std::string& mimetype, long contentLength) override;
H A Dweb_client_impl.cpp123 const std::string& contentDisposition, const std::string& mimetype, long contentLength) in OnDownloadStart() argument
130 delegate->OnDownloadStart(url, userAgent, contentDisposition, mimetype, contentLength); in OnDownloadStart()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
H A Dweb_delegate_cross.cpp1307 auto contentLength = webDownloadResponse->GetContentLength(); in OnDownloadStart() local
1309 [weak = WeakClaim(this), url, userAgent, contentDisposition, mimetype, contentLength]() { in OnDownloadStart()
1320 … std::make_shared<DownloadStartEvent>(url, userAgent, contentDisposition, mimetype, contentLength); in OnDownloadStart()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/
H A Dweb_event.h1082 const std::string& mimetype, long contentLength) in DownloadStartEvent() argument
1084 … contentDisposition_(contentDisposition), mimetype_(mimetype), contentLength_(contentLength) in DownloadStartEvent()
/ohos5.0/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_mms.cpp614 size_t contentLength = 0; in ParseDecodeMmsParam() local
615 …pi_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()
H A Dnapi_sms.cpp302 size_t contentLength = 0; in ParseMessageParameter() local
303 …_value_string_utf8(env, contentValue, contentChars, MAX_TEXT_SHORT_MESSAGE_LENGTH, &contentLength); in ParseMessageParameter()
304 std::string text(contentChars, contentLength); in ParseMessageParameter()

12