/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 35 #define NUM_1 1 macro 172 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestInitializationOptions() 183 napi_get_value_uint32(env, argValue[NUM_1], &height); in TestInitializationOptions() 372 napi_value argValue[NUM_1] = {0}; in TestSavePixelmap() 373 size_t argCount = NUM_1; in TestSavePixelmap() 374 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1 || in TestSavePixelmap() 420 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmap() 430 napi_get_value_uint32(env, argValue[NUM_1], &height); in TestCreatePixelmap() 448 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmapWithData() 460 napi_get_value_uint32(env, argValue[NUM_1], in TestCreatePixelmapWithData() [all...] |
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/ |
H A D | PictureNdk.cpp | 43 #define NUM_1 1 macro 202 napi_value argValue[NUM_1] = {0}; in SetMimeTypeToTestPackingOptions() 203 size_t argCount = NUM_1; in SetMimeTypeToTestPackingOptions() 206 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1) { in SetMimeTypeToTestPackingOptions() 228 napi_value argValue[NUM_1] = {0}; in SetDynamicRangeToTestPackingOptions() 229 size_t argCount = NUM_1; in SetDynamicRangeToTestPackingOptions() 232 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1) { in SetDynamicRangeToTestPackingOptions() 252 napi_value argValue[NUM_1] = {0}; in CreateTestImageSource() 253 size_t argCount = NUM_1; in CreateTestImageSource() 256 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1) { in CreateTestImageSource() [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | image_receiver_test.cpp | 32 static constexpr uint32_t NUM_1 = 1; member 305 napi_get_value_uint32(env, argValue[NUM_1], &(size.height)) != napi_ok || in JsCreateImageReceiverOptions() 326 napi_value argv[NUM_1] = {nullptr}; in JsImageReceiverOptionsGetSize() 327 int32_t params[NUM_1] = {0}; in JsImageReceiverOptionsGetSize() 365 size.width = params[NUM_1]; in JsImageReceiverOptionsSetSize() 375 napi_value argv[NUM_1] = {nullptr}; in JsImageReceiverOptionsGetCapacity() 376 int32_t params[NUM_1] = {0}; in JsImageReceiverOptionsGetCapacity() 411 Image_ErrorCode nRst = OH_ImageReceiverOptions_SetCapacity(options, params[NUM_1]); in JsImageReceiverOptionsSetCapacity() 419 napi_value argv[NUM_1] = {nullptr}; in JsReleaseImageReceiverOptions() 420 int32_t params[NUM_1] in JsReleaseImageReceiverOptions() [all...] |
H A D | image_receiver_mdk_test.cpp | 27 constexpr uint32_t NUM_1 = 1; member 85 napi_get_value_int32(env, argValue[NUM_1], &(receiverInfo.height)) != napi_ok || in JsCreateImageReceiver() 100 napi_value argValue[NUM_1] = {0}; in getNativeReceiver() 101 size_t argCount = NUM_1; in getNativeReceiver() 104 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativeReceiver() 287 napi_value argValue[NUM_1] = {0}; in getNativeImage() 288 size_t argCount = NUM_1; in getNativeImage() 291 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativeImage() 392 napi_get_value_int32(env, argValue[NUM_1], &componentType); in JsImageGetComponent()
|
H A D | module_test.cpp | 25 static constexpr uint32_t NUM_1 = 1; variable 218 napi_get_value_int32(env, args[NUM_1], &height); in CreatePhotoOutput()
|
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/ |
H A D | image_pixel_map_imgndk_test.cpp | 21 constexpr uint32_t NUM_1 = 1; member 152 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in CreatePixelMap() 159 if (!parseCreateOptions(env, argValue[NUM_1], &createOps)) { in CreatePixelMap() 173 napi_value argValue[NUM_1] = {0}; in CreateAlphaPixelMap() 174 size_t argCount = NUM_1; in CreateAlphaPixelMap() 181 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in CreateAlphaPixelMap() 193 napi_value argValue[NUM_1] = {0}; in getNativePixelMap() 194 size_t argCount = NUM_1; in getNativePixelMap() 197 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativePixelMap() 286 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] in SetAlphaAble() [all...] |
H A D | pixel_map_native_test.cpp | 31 static constexpr uint32_t NUM_1 = 1; member 94 napi_get_value_int32(env, argValue[NUM_1], &pixelformat); in JsNativeToNapi() 116 napi_value argValue[NUM_1] = {0}; in JsNapiToNative_ReturnProperty()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_animate_test.cpp | 21 #define NUM_1 1
macro 46 OH_ArkUI_AnimateOption_SetDelay(animate, NUM_1);
in TestCommonAttrsAnimate002() 49 ASSERT_EQ(OH_ArkUI_AnimateOption_GetDelay(animate), NUM_1);
in TestCommonAttrsAnimate002() local 59 OH_ArkUI_AnimateOption_SetIterations(animate, NUM_1);
in TestCommonAttrsAnimate003() 62 ASSERT_EQ(OH_ArkUI_AnimateOption_GetIterations(animate), NUM_1);
in TestCommonAttrsAnimate003() local 77 ASSERT_EQ(NUM_1, NUM_0);
in TestCommonAttrsAnimate004()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drawabledescriptor/ |
H A D | drawabledescriptor_create_test.cpp | 20 #define NUM_1 1
macro 43 data[i+NUM_1] = uint8_t(0);
in TestDrawableDescriptorCreate001() 61 array[NUM_1] = pixelMap1;
in TestDrawableDescriptorCreate001() 68 ASSERT_EQ(NUM_1, NUM_0);
in TestDrawableDescriptorCreate001() 72 ASSERT_EQ(NUM_1, NUM_0);
in TestDrawableDescriptorCreate001() 94 data[i+NUM_1] = uint8_t(0);
in TestDrawableDescriptorCreate002() 112 array[NUM_1] = pixelMap1;
in TestDrawableDescriptorCreate002()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/relativecontaine/ |
H A D | relativecontaine_barrieroption_test.cpp | 19 #define NUM_1 1
macro 26 auto barrier = OH_ArkUI_BarrierOption_Create(NUM_1);
in TestRelativeContaineBarrierOption001() 43 auto barrier = OH_ArkUI_BarrierOption_Create(NUM_1);
in TestRelativeContaineBarrierOption002() 63 auto barrier = OH_ArkUI_BarrierOption_Create(NUM_1);
in TestRelativeContaineBarrierOption003() 73 ASSERT_EQ(OH_ArkUI_BarrierOption_GetReferencedIdSize(barrier, NUM_0), NUM_1);
in TestRelativeContaineBarrierOption003() local
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/swiper/ |
H A D | swiper_indicator_test.cpp | 18 #define NUM_1 1 macro 43 int32_t indicator = NUM_1; in TestSwiperIndicator002() 118 OH_ArkUI_SwiperIndicator_SetMask(indicator, NUM_1); in TestSwiperIndicator007() 122 ASSERT_EQ(OH_ArkUI_SwiperIndicator_GetMask(indicator), NUM_1); in TestSwiperIndicator007() local
|
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 39 const uint32_t NUM_1 = 1; member 86 napi_value argValue[NUM_1] = {0}; in TestInitializationOptionsSetRowStrideNormal() 87 size_t argCount = NUM_1; in TestInitializationOptionsSetRowStrideNormal() 88 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1 || in TestInitializationOptionsSetRowStrideNormal() 165 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in TestScaleWithAntiAliasingAbnormal() 172 napi_get_value_double(env, argValue[NUM_1], &y) != napi_ok) { in TestScaleWithAntiAliasingAbnormal()
|
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/ |
H A D | image_source_native_test.cpp | 33 static constexpr uint32_t NUM_1 = 1; member 85 std::string propertyKey = getStringFromArgs(env, argValue[NUM_1]); in JsGetImageProperty() 115 std::string propertyKey = getStringFromArgs(env, argValue[NUM_1]); in JsModifyImageProperty()
|
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
H A D | image_packer_test.cpp | 37 static constexpr uint32_t NUM_1 = 1;
member 87 case NUM_1: valueColor = G; break;
in SetUpImage() 302 int32_t* delayTimes = setDelayTimes(env, argValue[NUM_1], options);
in JsPackToDataMultiFrames() 303 uint32_t* disposalTypesArray = setDisposalTypes(env, argValue[NUM_1], options);
in JsPackToDataMultiFrames() 344 int32_t fd = getFileDescriptor(env, argValue[NUM_1]);
in JsPackToFileMultiFrames()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/nodecontent/ |
H A D | node_content_test.cpp | 19 #define NUM_1 1
macro 47 auto ret = OH_ArkUI_NodeContent_InsertNode(nullptr, nullptr, NUM_1);
in TestNodeContent003()
|