/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | tabs_component.cpp | 96 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 D | js_app_context.cpp | 51 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 D | js_app_context.h | 197 void CheckSnapshotVersion(const char *bcFileContent, uint32_t contentLength) const;
|
/ohos5.0/base/telephony/sms_mms/services/sms/ |
H A 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()
|
/ohos5.0/base/telephony/sms_mms/frameworks/native/mms/src/ |
H A D | mms_content_type.cpp | 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() 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()
|
/ohos5.0/base/print/print_fwk/services/print_service/src/ |
H A D | print_http_request_process.cpp | 93 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 D | nweb_download_callback.h | 40 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 D | downloader.cpp | 185 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 D | operator_file_parser.cpp | 146 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 D | zero_branch_mms_test.cpp | 553 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 D | print_http_request_process.h | 76 size_t &contentLength);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/text/ |
H A D | text_emoji_processor.cpp | 802 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 D | mms_content_type.h | 214 bool DecodeMmsCTGeneralForm(MmsDecodeBuffer &decodeBuffer, int32_t &contentLength);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | span_node.cpp | 451 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 D | sms_wap_push_content_type.h | 251 bool DecodeCTGeneralForm(SmsWapPushBuffer &decodeBuffer, int32_t &contentLength);
|
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/download/ |
H A D | downloader.cpp | 390 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 D | ArkWeb.ts | 135 mimetype: string; contentLength: number;
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | js_fwk_common.cpp | 556 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 D | web_client_impl.h | 39 const std::string& mimetype, long contentLength) override;
|
H A D | web_client_impl.cpp | 123 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 D | web_delegate_cross.cpp | 1307 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 D | web_event.h | 1082 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 D | napi_mms.cpp | 614 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 D | napi_sms.cpp | 302 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()
|