/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | pixel_yuv_ext_utils_test.cpp | 32 static constexpr int32_t LENGTH = 8; member 43 uint8_t src[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 44 uint8_t dst[LENGTH] = {0}; in HWTEST_F() 65 uint8_t src[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 86 uint8_t src[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 87 uint8_t dst[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 110 uint8_t srcPixels[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 111 uint8_t dstPixels[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 167 uint8_t src[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 168 uint8_t dst[LENGTH] in HWTEST_F() [all...] |
H A D | image_format_convert_fail_test.cpp | 32 static constexpr int32_t LENGTH = 8; member 63 uint8_t src[LENGTH] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in HWTEST_F() 64 uint8_t dst[LENGTH] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in HWTEST_F() 95 uint8_t src[LENGTH] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in HWTEST_F() 96 uint8_t dst[LENGTH] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in HWTEST_F() 120 destInfo.bufferSize = LENGTH; in HWTEST_F() 199 uint8_t src[LENGTH] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in HWTEST_F() 200 uint8_t dst[LENGTH] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in HWTEST_F() 232 uint8_t srcBuffer[LENGTH] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07 }; in HWTEST_F() 250 uint8_t srcBuffer[LENGTH] in HWTEST_F() [all...] |
H A D | image_utils_test.cpp | 44 static constexpr int32_t LENGTH = 8; member 288 uint8_t src[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F() 289 uint8_t dst[LENGTH] = {0}; in HWTEST_F() 290 ImageUtils::BGRAToARGB(src, dst, LENGTH); in HWTEST_F() 291 for (int i = 0; i < LENGTH; i++) { in HWTEST_F() 296 uint8_t src2[LENGTH] = {0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00}; in HWTEST_F() 297 uint8_t dst2[LENGTH] = {0}; in HWTEST_F() 298 ImageUtils::ARGBToBGRA(src2, dst2, LENGTH); in HWTEST_F() 299 for (int i = 0; i < LENGTH; i++) { in HWTEST_F() 305 ImageUtils::ARGBToBGRA(src3, dst2, LENGTH); in HWTEST_F() [all...] |
/foundation/arkui/napi/test/unittest/ |
H A D | test_sendable_napi.cpp | 162 static size_t LENGTH = 1024; in HWTEST_F() local 169 res = napi_create_arraybuffer(env, LENGTH, &data, &arraybuffer); in HWTEST_F() 876 static uint32_t LENGTH = 1024; in HWTEST_F() local 882 res = napi_create_sendable_array_with_length(env, LENGTH, &result); in HWTEST_F() 898 ASSERT_EQ(length, LENGTH); in HWTEST_F() 914 res = napi_set_element(env, result, LENGTH - 1, boolTrue); in HWTEST_F() 916 res = napi_get_element(env, result, LENGTH - 1, &value); in HWTEST_F() 930 static uint32_t LENGTH = 1024; in HWTEST_F() local 936 res = napi_create_sendable_array_with_length(env, LENGTH, &result); in HWTEST_F() 952 ASSERT_EQ(length, LENGTH); in HWTEST_F() 990 static size_t LENGTH = 1024; HWTEST_F() local 1014 static size_t LENGTH = 1024; HWTEST_F() local 1049 static size_t LENGTH = 1024; HWTEST_F() local 1112 static size_t LENGTH = 1024; HWTEST_F() local 1163 static size_t LENGTH = 1024; HWTEST_F() local 1214 static size_t LENGTH = 1024; HWTEST_F() local 1265 static size_t LENGTH = 1024; HWTEST_F() local 1316 static size_t LENGTH = 1024; HWTEST_F() local 1367 static size_t LENGTH = 1024; HWTEST_F() local 1418 static size_t LENGTH = 1024; HWTEST_F() local 1469 static size_t LENGTH = 1024; HWTEST_F() local 1520 static size_t LENGTH = 1024; HWTEST_F() local 1547 static size_t LENGTH = 1024; HWTEST_F() local 1574 static size_t LENGTH = 1024; HWTEST_F() local 1601 static size_t LENGTH = 1024; HWTEST_F() local 1628 static size_t LENGTH = 1024; HWTEST_F() local 1655 static size_t LENGTH = 1024; HWTEST_F() local 1682 static size_t LENGTH = 1024; HWTEST_F() local 1709 static size_t LENGTH = 1024; HWTEST_F() local 1736 static size_t LENGTH = 1024; HWTEST_F() local 1992 static uint32_t LENGTH = 1024; HWTEST_F() local 2044 static size_t LENGTH = 1024; HWTEST_F() local 2109 static size_t LENGTH = 1024; HWTEST_F() local [all...] |
/foundation/filemanagement/app_file_service/test/fuzztest/fileshare_fuzzer/ |
H A D | fileshare_fuzzer.cpp | 28 constexpr size_t LENGTH = 4; member 43 size_t lenth = size - LENGTH; in GetInfo() 46 policyInfo.mode = ConvertToUint32(data + lenth, LENGTH) % REMAINDER; in GetInfo() 72 if (size < LENGTH) { in PersistPermissionFuzzTest() 84 if (size < LENGTH) { in RevokePermissionFuzzTest() 96 if (size < LENGTH) { in ActivatePermissionFuzzTest() 108 if (size < LENGTH) { in DeactivatePermissionFuzzTest()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_sync_info_manager_test.cpp | 34 constexpr uint32_t LENGTH = 8192; member 121 ret = LnnSendSyncInfoMsg(LNN_INFO_TYPE_ROUTE_LSU, NETWORKID, MSG, LENGTH, Complete); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/ |
H A D | pixel_yuv_ext_test.cpp | 34 static constexpr int32_t LENGTH = 8; member 143 uint8_t src[LENGTH] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07}; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | js_ui_index.h | 52 FUNCTION("length", LENGTH) \
|
H A D | jsi_types.cpp | 208 JsiRef<JsiValue> propLength = GetProperty(static_cast<int32_t>(ArkUIIndex::LENGTH)); in Length()
|
/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | image_painter_test_ng.cpp | 525 BackgroundImageSize backgroundImageSize2(BackgroundImageSizeType::LENGTH, -1, BackgroundImageSizeType::LENGTH, -1); in HWTEST_F() 535 BackgroundImageSize backgroundImageSize3(BackgroundImageSizeType::LENGTH, 1, BackgroundImageSizeType::LENGTH, -1); in HWTEST_F() 547 BackgroundImageSize backgroundImageSize4(BackgroundImageSizeType::LENGTH, 1, BackgroundImageSizeType::LENGTH, -1); in HWTEST_F() 582 case BackgroundImageSizeType::LENGTH: in HWTEST_F() 608 case BackgroundImageSizeType::LENGTH: in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | rosen_mask_painter.cpp | 280 if (typeX == BackgroundImageSizeType::LENGTH) { in UpdateSVGScale() 292 } else if (typeY == BackgroundImageSizeType::LENGTH) { in UpdateSVGScale()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.cpp | 495 SetBgImgSizeX(BackgroundImageSizeType::LENGTH, StringToDouble(valueX), bgImgSize); in ParseBackgroundImageSize() 502 SetBgImgSizeY(BackgroundImageSizeType::LENGTH, StringToDouble(valueY), bgImgSize); in ParseBackgroundImageSize() 514 SetBgImgSizeX(BackgroundImageSizeType::LENGTH, StringToDouble(value), bgImgSize); in ParseBackgroundImageSize()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_aot_test/ |
H A D | bms_data_aot_test.cpp | 66 constexpr uint32_t LENGTH = 2002; member 143 hspInfo.length = LENGTH; in CreateHspInfo() 718 aotArgs.length = LENGTH; in HWTEST_F() 1145 aotArgs.length = LENGTH; in HWTEST_F() 1318 uint32_t length = LENGTH; in HWTEST_F() 1339 aotArgs.length = LENGTH; in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | decoration.cpp | 103 if ((typeX_ == BackgroundImageSizeType::LENGTH || typeX_ == BackgroundImageSizeType::PERCENT) && in IsValid() 108 if ((typeY_ == BackgroundImageSizeType::LENGTH || typeY_ == BackgroundImageSizeType::PERCENT) && in IsValid()
|
H A D | decoration.h | 633 LENGTH, member in OHOS::Ace::BackgroundImageSizeType
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | image_painter.cpp | 365 case BackgroundImageSizeType::LENGTH: in CalculateBgWidth() 395 case BackgroundImageSizeType::LENGTH: in CalculateBgHeight()
|
/foundation/distributeddatamgr/pasteboard/test/fuzztest/pasteboardclient_fuzzer/ |
H A D | pasteboardclient_fuzzer.cpp | 33 constexpr size_t LENGTH = 46; member 126 std::vector<uint8_t> kvData(LENGTH); in FuzzPasteboard()
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_socket.cpp | 42 const int LENGTH = 18; member 703 char token[LENGTH] = {0}; in RecvSocketFd()
|
/foundation/arkui/ace_engine/frameworks/core/components/image/ |
H A D | render_image.cpp | 791 if (imageSize.GetSizeTypeX() == BackgroundImageSizeType::LENGTH) { in CalculateImageRenderSizeWithDoubleParam() 797 if (imageSize.GetSizeTypeY() == BackgroundImageSizeType::LENGTH) { in CalculateImageRenderSizeWithDoubleParam()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_headers.cpp | 55 {0xC3, "LENGTH"}, 595 AppendWord(ObexHeader::LENGTH, length); in AppendItemLength() 731 return GetItem<ObexOptionalWordHeader *>(ObexHeader::LENGTH); in GetItemLength()
|
H A D | obex_headers.h | 334 static const uint8_t LENGTH = 0xC3; member in OHOS::bluetooth::ObexActionType::ObexSessionParameters::ObexHeaderDataType::ObexHeader
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_view_abstract_ffi.cpp | 527 BackgroundImageSizeType typeWidth = BackgroundImageSizeType::LENGTH; in FfiOHOSAceFrameworkViewAbstractSetBackgroundImageSize() 528 BackgroundImageSizeType typeHeight = BackgroundImageSizeType::LENGTH; in FfiOHOSAceFrameworkViewAbstractSetBackgroundImageSize()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/common/ |
H A D | declaration.cpp | 2907 SetBgImgSizeX(BackgroundImageSizeType::LENGTH, StringToDouble(valueX), bgImgSize); 2914 SetBgImgSizeY(BackgroundImageSizeType::LENGTH, StringToDouble(valueY), bgImgSize); 2926 SetBgImgSizeX(BackgroundImageSizeType::LENGTH, StringToDouble(value), bgImgSize);
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/session/ |
H A D | camera_session_napi.cpp | 3348 const int32_t LENGTH = 2; in ParseVideoProfile() local 3349 std::vector<int32_t> rateRanges(LENGTH); in ParseVideoProfile()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_common_modifier.cpp | 5566 bgImgSize.SetSizeTypeX(OHOS::Ace::BackgroundImageSizeType::LENGTH); in SetBackgroundImageSizeWithUnit() 5568 bgImgSize.SetSizeTypeY(OHOS::Ace::BackgroundImageSizeType::LENGTH); in SetBackgroundImageSizeWithUnit()
|