/base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webview/ |
H A D | ark_web_preference_wrapper.cpp | 98 void ArkWebPreferenceWrapper::PutDefaultFontSize(int size) in PutDefaultFontSize() argument 100 ark_web_preference_->PutDefaultFontSize(size); in PutDefaultFontSize() 168 void ArkWebPreferenceWrapper::PutFontSizeLowerLimit(int size) in PutFontSizeLowerLimit() argument 170 ark_web_preference_->PutFontSizeLowerLimit(size); in PutFontSizeLowerLimit() 294 void ArkWebPreferenceWrapper::PutDefaultFixedFontSize(int size) in PutDefaultFixedFontSize() argument 296 ark_web_preference_->PutDefaultFixedFontSize(size); in PutDefaultFixedFontSize() 416 void ArkWebPreferenceWrapper::PutLogicalFontSizeLowerLimit(int size) in PutLogicalFontSizeLowerLimit() argument 418 ark_web_preference_->PutLogicalFontSizeLowerLimit(size); in PutLogicalFontSizeLowerLimit()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/include/ |
H A D | drv_cipher_kapi.h | 111 #define crypto_ioc(dir, type, nr, size) \ 112 (((dir) << 30) | ((size) << 16) | ((type) << 8) | ((nr) << 0)) 114 #define crypto_ior(nr, size) crypto_ioc(CRYPTO_IOC_R, HI_ID_CIPHER, (nr), size) 115 #define crypto_iow(nr, size) crypto_ioc(CRYPTO_IOC_W, HI_ID_CIPHER, (nr), size) 116 #define crypto_iowr(nr, size) crypto_ioc(CRYPTO_IOC_RW, HI_ID_CIPHER, (nr), size) 151 /* AES KEY size */ 154 /* SM1 SK size */ [all...] |
/device/soc/rockchip/common/hardware/display/src/display_device/ |
H A D | hdi_drm_composition.cpp | 226 for (uint32_t j = 0; j < mPlanes.size(); j++) { in RemoveUnusePlane() 243 for (uint32_t i = 0; i < mCompLayers.size(); i++) { in FindPlaneAndApply() 246 for (uint32_t j = 0; j < mPlanes.size(); j++) { in FindPlaneAndApply() 286 DISPLAY_DEBUGLOG("mPlane size: %{public}zd mCompLayers size: %{public}zd", mPlanes.size(), in Apply() 287 mCompLayers.size()); in Apply() 288 DISPLAY_CHK_RETURN((mPlanes.size() < mCompLayers.size()), DISPLAY_FAILURE, in Apply() 305 DISPLAY_DEBUGLOG("mCompLayers size in Apply() [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/include/linux/mali/ |
H A D | mali_utgard_uk_types.h | 281 u32 varying_memsize; /** < [in] size of varying memory to use deffer bind*/ 773 u32 vsize; /**< [in] vitrual size of the allocation */ 774 u32 psize; /**< [in] physical size of the allocation */ 803 u32 size; /**< [in] size */ member 836 u32 target_size; /**< [in] size of target allocation to do COW (for support memory bank, PAGE_SIZE align)(in byte) 839 u32 range_size; /**< [in] re allocate size (PAGE_SIZE align)*/ 848 u32 size; /**< [in] re allocate size*/ member 856 u32 size; /**< [ou member 875 u32 size; /**< [in,out] Number of bytes to write/copy on input, number of bytes actually written/copied on output */ global() member 880 u32 size; /**< [out] size of MMU page table information (registers + page tables) */ global() member 885 u32 size; /**< [in] size of buffer to receive mmu page table information */ global() member 996 u32 size; /**< [in] Size of the requested mapping */ global() member 1014 u32 size; /**< [in] The size passed to mmap call */ global() member [all...] |
/device/soc/rockchip/rk3399/hardware/display/src/display_device/ |
H A D | hdi_drm_composition.cpp | 203 for (uint32_t j = 0; j < mPlanes.size(); j++) { in RemoveUnusePlane() 218 for (uint32_t i = 0; i < mCompLayers.size(); i++) { in FindPlaneAndApply() 221 for (uint32_t j = 0; j < mPlanes.size(); j++) { in FindPlaneAndApply() 257 DISPLAY_DEBUGLOG("mPlane size: %{public}zd mCompLayers size: %{public}zd", mPlanes.size(), mCompLayers.size()); in Apply() 258 DISPLAY_CHK_RETURN((mPlanes.size() < mCompLayers.size()), DISPLAY_FAILURE, DISPLAY_LOGE("plane not enough")); in Apply() 273 DISPLAY_DEBUGLOG("mCompLayers size in Apply() [all...] |
/device/soc/rockchip/rk3566/hardware/display/src/display_device/ |
H A D | hdi_drm_composition.cpp | 211 for (uint32_t j = 0; j < mPlanes.size(); j++) { in RemoveUnusePlane() 226 for (uint32_t i = 0; i < mCompLayers.size(); i++) { in FindPlaneAndApply() 229 for (uint32_t j = 0; j < mPlanes.size(); j++) { in FindPlaneAndApply() 268 DISPLAY_LOGD("mPlane size: %{public}zd mCompLayers size: %{public}zd", mPlanes.size(), mCompLayers.size()); in Apply() 269 DISPLAY_CHK_RETURN((mPlanes.size() < mCompLayers.size()), DISPLAY_FAILURE, DISPLAY_LOGE("plane not enough")); in Apply() 284 DISPLAY_LOGD("mCompLayers size in Apply() [all...] |
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | hdi_drm_composition.cpp | 211 for (uint32_t j = 0; j < mPlanes.size(); j++) { in RemoveUnusePlane() 226 for (uint32_t i = 0; i < mCompLayers.size(); i++) { in FindPlaneAndApply() 229 for (uint32_t j = 0; j < mPlanes.size(); j++) { in FindPlaneAndApply() 268 DISPLAY_LOGD("mPlane size: %{public}zd mCompLayers size: %{public}zd", mPlanes.size(), mCompLayers.size()); in Apply() 269 DISPLAY_CHK_RETURN((mPlanes.size() < mCompLayers.size()), DISPLAY_FAILURE, DISPLAY_LOGE("plane not enough")); in Apply() 284 DISPLAY_LOGD("mCompLayers size in Apply() [all...] |
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
H A D | hdi_drm_composition.cpp | 211 for (uint32_t j = 0; j < mPlanes.size(); j++) {
in RemoveUnusePlane() 226 for (uint32_t i = 0; i < mCompLayers.size(); i++) {
in FindPlaneAndApply() 229 for (uint32_t j = 0; j < mPlanes.size(); j++) {
in FindPlaneAndApply() 268 DISPLAY_LOGD("mPlane size: %{public}zd mCompLayers size: %{public}zd", mPlanes.size(), mCompLayers.size());
in Apply() 269 DISPLAY_CHK_RETURN((mPlanes.size() < mCompLayers.size()), DISPLAY_FAILURE, DISPLAY_LOGE("plane not enough"));
in Apply() 284 DISPLAY_LOGD("mCompLayers size in Apply() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | event_log.h | 44 /* We make sure that the block size will fit in a single packet 56 /* Maximum event log record payload size = 1016 bytes or 254 words. */ 71 * that these types are the same size as they are on the ARM the 131 uint16 size; /* same size for all buffers in one set */ member 231 #define EVENT_LOG_BUFFER(tag, buf, size) 237 * parameters the code size starts to be an issue and a loop is better 374 #define EVENT_LOG_BUFFER(tag, buf, size) event_log_buffer(tag, buf, size) 380 extern int event_log_set_init(osl_t *osh, int set_num, int size); [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/include/linux/mali/ |
H A D | mali_utgard_uk_types.h | 275 u32 varying_memsize; /** < [in] size of varying memory to use deffer bind*/ 770 u32 vsize; /**< [in] vitrual size of the allocation */ 771 u32 psize; /**< [in] physical size of the allocation */ 807 u32 size; /**< [in] size */ member 839 u32 target_size; /**< [in] size of target allocation to do COW (for support memory bank, PAGE_SIZE align)(in byte) */ 841 u32 range_size; /**< [in] re allocate size (PAGE_SIZE align)*/ 850 u32 size; /**< [in] re allocate size*/ member 859 u32 size; /**< [ou member 879 u32 size; /**< [in,out] Number of bytes to write/copy on input, number of bytes actually written/copied on output */ global() member 884 u32 size; /**< [out] size of MMU page table information (registers + page tables) */ global() member 889 u32 size; /**< [in] size of buffer to receive mmu page table information */ global() member 1003 u32 size; /**< [in] Size of the requested mapping */ global() member 1021 u32 size; /**< [in] The size passed to mmap call */ global() member [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/dfx/ |
H A D | dms_continue_time_dumper.cpp | 197 if (durationInfo_.empty() || durationInfo_.size() <= static_cast<size_t>(idx)) { in SetDurationBegin() 206 if (durationInfo_.empty() || durationInfo_.size() <= static_cast<size_t>(idx)) { in SetDurationEnd() 215 if (durationInfo_.empty() || durationInfo_.size() <= static_cast<size_t>(idx)) { in SetDurationStrTime() 335 if (durationInfo_.size() <= DMSDURATION_STARTABILITY) { in DealDurationPull() 361 if (durationInfo_.size() <= DMSDURATION_STARTABILITY) { in DealDurationPush() 420 if (timeInfoList_.size() >= DMSDURATION_MAXSIZE) { in AppendInfo() 444 HILOGD("GetTotalTime start, durationInfo_.size is %{public}zu", durationInfo_.size()); in GetTotalTime() 445 if (durationInfo_.empty() || durationInfo_.size() <= DMSDURATION_TOTALTIME) { in GetTotalTime()
|
/foundation/ai/neural_network_runtime/test/unittest/inner_kits/ |
H A D | neural_network_runtime_inner_test.cpp | 95 for (size_t indexInput = 0; indexInput < liteGraph->input_indices_.size(); ++indexInput) { in HWTEST_F() 101 for (size_t indexOutput = 0; indexOutput < liteGraph->output_indices_.size(); ++indexOutput) { in HWTEST_F() 175 for (size_t indexInput = 0; indexInput < liteGraph->input_indices_.size(); ++indexInput) { in HWTEST_F() 181 for (size_t indexOutput = 0; indexOutput < liteGraph->output_indices_.size(); ++indexOutput) { in HWTEST_F() 217 for (size_t indexInput = 0; indexInput < liteGraph->input_indices_.size(); ++indexInput) { in HWTEST_F() 223 for (size_t indexOutput = 0; indexOutput < liteGraph->output_indices_.size(); ++indexOutput) { in HWTEST_F() 251 for (size_t indexInput = 0; indexInput < liteGraph->input_indices_.size(); ++indexInput) { in HWTEST_F() 257 for (size_t indexOutput = 0; indexOutput < liteGraph->output_indices_.size(); ++indexOutput) { in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/ |
H A D | connection_manager.cpp | 83 abilityConnections_.size(), abilityConnection->GetConnectionState()); in ConnectAbilityInner() 85 TAG_LOGD(AAFwkTag::CONNECTION, "abilityConnection exist, callbackSize:%{public}zu", callbacks.size()); in ConnectAbilityInner() 196 TAG_LOGD(AAFwkTag::CONNECTION, "remove callback, Size:%{public}zu", item->second.size()); in DisconnectAbility() 208 TAG_LOGD(AAFwkTag::CONNECTION, "abilityConnection exist, size:%{public}zu", in DisconnectAbility() 209 abilityConnections_.size()); in DisconnectAbility() 234 TAG_LOGD(AAFwkTag::CONNECTION, "abilityConnectionsSize:%{public}zu", abilityConnections_.size()); in DisconnectCaller() 254 TAG_LOGD(AAFwkTag::CONNECTION, "abilityConnectionsSize:%{public}zu", abilityConnections_.size()); in DisconnectCaller() 261 TAG_LOGD(AAFwkTag::CONNECTION, "abilityConnectionsSize: %{public}zu", abilityConnections_.size()); in RemoveConnection() 287 TAG_LOGD(AAFwkTag::CONNECTION, "abilityConnectionsSize: %{public}zu", abilityConnections.size()); in DisconnectNonexistentService()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_path_utils.cpp | 96 for (size_t index = startIndex; index < strs.size(); ++index) { in JoinString() 201 if (jsModulePath.size() >= PATH_MAX) { in MakeNewJsModulePath() 217 if (fileName.size() >= PATH_MAX) { in FindNpmPackageInPath() 225 if (fileName.size() >= PATH_MAX) { in FindNpmPackageInPath() 249 if (npmPackagePath.size() >= PATH_MAX) { in FindNpmPackageInPath() 297 while (pathVector.size() > 2) { in FindNpmPackage() 328 if (pathVector.size() < SEGMENTS_LIMIT_THREE) { in ParseOhmUri() 344 if (pathVector.size() < SEGMENTS_LIMIT_TWO) { in ParseOhmUri()
|
/foundation/CastEngine/castengine_wifi_display/services/network/socket/ |
H A D | socket_utils.cpp | 340 bool SocketUtils::SetSendBuf(int32_t fd, int32_t size) in SetSendBuf() argument 343 if (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &size, sizeof(size)) != 0) { in SetSendBuf() 351 bool SocketUtils::SetRecvBuf(int32_t fd, int32_t size) in SetRecvBuf() argument 354 if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &size, sizeof(size)) != 0) { in SetRecvBuf() 404 SHARING_LOGD("finish! fd: %{public}d size: %{public}d.", fd, bytes); in SendSocket() 459 auto size = buf->Capacity() - buf->Size(); in ReadSocket() local 460 if (size < READ_BUF_SIZE) { in ReadSocket() 463 SHARING_LOGE("error data size!"); in ReadSocket() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape_container.cpp | 80 if (mesh_.size() == 0) { in Paint() 120 if (mesh_.size() == 0) { in Paint() 254 uint32_t size = mesh_.size(); in BitmapMesh() local 255 float verts[size]; in BitmapMesh() 256 for (uint32_t i = 0; i < size; i++) { in BitmapMesh() 275 int32_t size = 6; in DrawBitmapMesh() local 276 const int indexCount = column * row * size; in DrawBitmapMesh()
|
H A D | rosen_render_shape.cpp | 176 path_.addPoly(&skPoints[0], skPoints.size(), needClose); in CreatePolygon() 192 path_.AddPoly(points, points.size(), needClose); in CreatePolygon() 293 SkScalar intervals[lineDashState.size()]; in DrawStroke() 294 for (size_t i = 0; i < lineDashState.size(); ++i) { in DrawStroke() 298 strokePaint.setPathEffect(SkDashPathEffect::Make(intervals, lineDashState.size(), phase)); in DrawStroke() 312 RSScalar intervals[lineDashState.size()]; in DrawStroke() 313 for (size_t i = 0; i < lineDashState.size(); ++i) { in DrawStroke() 318 lineDashState.size(), phase)); in DrawStroke()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | text_style_parser.cpp | 120 if (valueIndex != std::string::npos && fontVariant.size() > valueIndex) { in ParseFontVariantAlternates() 123 fontVariant.substr(valueIndex + 1, fontVariant.size() - key.size() - FONT_FEATURE_PARENTHESES_LENGTH)); in ParseFontVariantAlternates() 140 fontFeatures.emplace_back(std::make_pair("ss" + temp.substr(temp.size() - 2, 2), 1)); in ParseFontVariantAlternates() 146 fontFeatures.emplace_back(std::make_pair("cv" + temp.substr(temp.size() - 2, 2), 1)); in ParseFontVariantAlternates() 317 if (value.empty() || value.size() > FONT_FEATURE_MAX_SIZE || value[0].size() != FONT_FEATURE_KEY_LENGTH) { in ParseFontFeatureSetting() 321 switch (value.size()) { in ParseFontFeatureSetting()
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | plugin_component_manager.cpp | 239 int64_t size = std::ftell(file.get()); in GetTemplatePathFromJsonFile() local 240 if (size == -1L || size == 0L || size > FOO_MAX_LEN) { in GetTemplatePathFromJsonFile() 243 char* fileData = new (std::nothrow) char[size]; in GetTemplatePathFromJsonFile() 249 size_t result = std::fread(jsonStream.get(), 1, size, file.get()); in GetTemplatePathFromJsonFile() 250 if (result != (size_t)size) { in GetTemplatePathFromJsonFile() 254 std::string jsonString(jsonStream.get(), jsonStream.get() + size); in GetTemplatePathFromJsonFile()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_web_ffi.cpp | 145 if (args.size() < 1) { in Grant() 151 for (size_t i = 0; i < args.size(); i++) { in Grant() 204 g_requestResultcb(abilityContext.get(), CArrString { .head = &cPermission, .size = 1 }, &func); in RequestPermissionsFromUserWeb() 418 auto key = (const char**)malloc(sizeof(const char*) * header.size()); in WebRequestHeadersToMapToCFFIArray() 419 auto value = (const char**)malloc(sizeof(const char*) * header.size()); in WebRequestHeadersToMapToCFFIArray() 431 res.size = header.size(); in WebRequestHeadersToMapToCFFIArray() 498 for (int64_t i = 0; i < static_cast<int64_t>(funcs.size()); i++) { in FfiOHOSAceFrameworkWebJavaScriptProxy()
|
/foundation/arkui/ace_engine/frameworks/core/image/ |
H A D | image_file_cache.cpp | 101 bool ImageFileCache::WriteFile(const std::string& url, const void* const data, size_t size, in WriteFile() argument 114 outFile.write(reinterpret_cast<const char*>(data), size); in WriteFile() local 134 TAG_LOGI(AceLogTag::ACE_IMAGE, "User Set file cache limit size : %{public}d", static_cast<int32_t>(cacheFileLimit)); in SetCacheFileLimit() 225 void ImageFileCache::WriteCacheFile(const std::string& url, const void* data, size_t size, const std::string& suffix) in WriteCacheFile() argument 227 if (size > fileLimit_) { in WriteCacheFile() 228 TAG_LOGW(AceLogTag::ACE_IMAGE, "file size is %{public}d, greater than limit %{public}d, cannot cache", in WriteCacheFile() 229 static_cast<int32_t>(size), static_cast<int32_t>(fileLimit_)); in WriteCacheFile() 250 if (!WriteFile(url, data, size, fileCacheKey, suffix)) { in WriteCacheFile() 258 SaveCacheInner(fileCacheKey, suffix, size, removeVector); in WriteCacheFile() 402 auto cacheFileInfoSize = cacheFileInfo_.size(); in DumpCacheInfo() [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_drag_modifier.cpp | 70 event.dragEvent.dataTypesCount = static_cast<int32_t>(summary.size()); in SetDragEventProperty() 99 std::vector<std::string> keepStr(summary.size()); in SetOnDragDrop() 132 std::vector<std::string> keepStr(summary.size()); in SetOnDragStart() 164 std::vector<std::string> keepStr(summary.size()); in SetOnDragEnter() 195 std::vector<std::string> keepStr(summary.size()); in SetOnDragMove() 227 std::vector<std::string> keepStr(summary.size()); in SetOnDragLeave() 256 event.dragEvent.dataTypesCount = static_cast<int32_t>(summary.size()); in SetOnDragEnd() 261 std::vector<std::string> keepStr(summary.size()); in SetOnDragEnd()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_gesture_recognizer.cpp | 127 if (event.GetPointerIds().size() == POINTER_COUNT_1) { in OnPointerEvent() 143 if (event.GetPointerIds().size() == POINTER_COUNT_1) { in OnPointerEvent() 297 if (event.GetPointerIds().size() == POINTER_COUNT_1) { in StandardGestureRecognizer() 316 if (event.GetPointerIds().size() == POINTER_COUNT_1) { in StandardGestureRecognizer() 375 if (pointerRoute_.size() < LIMIT_SIZE_TWO) { in recognizeDirectionGesture() 383 if (pointerPath.size() == LIMIT_SIZE_TWO) { in recognizeDirectionGesture() 386 } else if (pointerPath.size() == LIMIT_SIZE_THREE) { in recognizeDirectionGesture() 421 for (size_t i = 1; i < route.size(); i++) { in GetPointerPath()
|
H A D | accessibility_screen_touch.cpp | 287 if (event.GetPointerIds().size() > POINTER_COUNT_1) { in HandleResponseDelayStateInnerDown() 400 if (event.GetPointerIds().size() == POINTER_COUNT_1) { in HandleResponseDelayStateInnerUp() 446 if ((event.GetPointerIds().size() == POINTER_COUNT_1) && in HandleIgnoreRepeatClickStateInnerDown() 450 } else if ((event.GetPointerIds().size() > POINTER_COUNT_1) && (isInterceptClick_ == true)) { in HandleIgnoreRepeatClickStateInnerDown() 473 if (event.GetPointerIds().size() == POINTER_COUNT_1) { in HandleIgnoreRepeatClickStateInnerUp() 503 if ((event.GetPointerIds().size() == POINTER_COUNT_1) && in HandleBothStateInnerDown() 507 } else if ((event.GetPointerIds().size() > POINTER_COUNT_1) && (isInterceptClick_ == true)) { in HandleBothStateInnerDown() 535 if (event.GetPointerIds().size() == POINTER_COUNT_1) { in HandleBothStateInnerUp()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | animated_image.cpp | 52 const RefPtr<SkiaImageData>& data, const ResizeParam& size, const std::string& url) in Create() 60 auto src = ImageSource::Create(skData->bytes(), skData->size()); in Create() 62 return MakeRefPtr<AnimatedPixmap>(codec, src, size, url); in Create() 68 const RefPtr<DrawingImageData>& data, const ResizeParam& size, const std::string& url) 80 return MakeRefPtr<AnimatedPixmap>(codec, src, size, url); 96 if (idx == static_cast<uint32_t>(duration_.size())) { in PostPlayTask() 341 const std::unique_ptr<SkCodec>& codec, const RefPtr<ImageSource>& src, const ResizeParam& size, std::string url) in AnimatedPixmap() 342 : AnimatedImage(codec, std::move(url)), size_(size), src_(src) in AnimatedPixmap() 344 // resizing to a size >= 0.7 [~= sqrt(2) / 2] intrinsic size take in AnimatedPixmap() 51 Create( const RefPtr<SkiaImageData>& data, const ResizeParam& size, const std::string& url) Create() argument 340 AnimatedPixmap( const std::unique_ptr<SkCodec>& codec, const RefPtr<ImageSource>& src, const ResizeParam& size, std::string url) AnimatedPixmap() argument [all...] |