/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/ |
H A D | image_pixel_map_imgndk_test.cpp | 20 constexpr uint32_t NUM_0 = 0; member 145 size_t bufferSize = NUM_0; in CreatePixelMap() 152 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in CreatePixelMap() 155 if (napi_get_arraybuffer_info(env, argValue[NUM_0], &buffer, &bufferSize) != napi_ok || in CreatePixelMap() 156 buffer == nullptr || bufferSize == NUM_0) { in CreatePixelMap() 181 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in CreateAlphaPixelMap() 184 int32_t res = OH_PixelMap_CreateAlphaPixelMap(env, argValue[NUM_0], &alphaPixelmap); in CreateAlphaPixelMap() 197 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativePixelMap() 200 return OH_PixelMap_InitNativePixelMap(env, argValue[NUM_0]); in getNativePixelMap() 227 int32_t rowBytes = NUM_0; in GetBytesNumberPerRow() [all...] |
H A D | pixel_map_native_test.cpp | 30 static constexpr uint32_t NUM_0 = 0; member 92 napi_get_value_int32(env, argValue[NUM_0], &fd); in JsNativeToNapi()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/relativecontaine/ |
H A D | relativecontaine_barrieroption_test.cpp | 18 #define NUM_0 0
macro 27 OH_ArkUI_BarrierOption_SetId(barrier, barrierId, NUM_0);
in TestRelativeContaineBarrierOption001() 29 auto ret = OH_ArkUI_BarrierOption_GetId(barrier, NUM_0);
in TestRelativeContaineBarrierOption001() 30 if (::strcmp(ret, barrierId) != NUM_0) {
in TestRelativeContaineBarrierOption001() 44 OH_ArkUI_BarrierOption_SetDirection(barrier, ARKUI_BARRIER_DIRECTION_BOTTOM, NUM_0);
in TestRelativeContaineBarrierOption002() 46 ASSERT_EQ(OH_ArkUI_BarrierOption_GetDirection(barrier, NUM_0), ARKUI_BARRIER_DIRECTION_BOTTOM);
in TestRelativeContaineBarrierOption002() 64 OH_ArkUI_BarrierOption_SetReferencedId(barrier, "text", NUM_0);
in TestRelativeContaineBarrierOption003() 67 auto ret = OH_ArkUI_BarrierOption_GetReferencedId(barrier, NUM_0, NUM_0);
in TestRelativeContaineBarrierOption003() 68 if (::strcmp(ret, text1) != NUM_0) {
in TestRelativeContaineBarrierOption003() [all...] |
H A D | relativecontaine_alignmentruleoption_test.cpp | 20 #define NUM_0 0
macro 42 if (::strcmp(ret, text1) != NUM_0) {
in TestRelativeContaineAlignmentRuleOption001() 48 if (::strcmp(ret, text1) != NUM_0) {
in TestRelativeContaineAlignmentRuleOption001() 54 if (::strcmp(ret, text1) != NUM_0) {
in TestRelativeContaineAlignmentRuleOption001() 87 if (::strcmp(ret, text1) != NUM_0) {
in TestRelativeContaineAlignmentRuleOption002() 93 if (::strcmp(ret, text1) != NUM_0) {
in TestRelativeContaineAlignmentRuleOption002() 99 if (::strcmp(ret, text1) != NUM_0) {
in TestRelativeContaineAlignmentRuleOption002()
|
/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 34 #define NUM_0 0 macro 172 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestInitializationOptions() 181 napi_get_value_uint32(env, argValue[NUM_0], &width); in TestInitializationOptions() 375 argValue[NUM_0] == nullptr) { in TestSavePixelmap() 383 napi_get_value_string_utf8(env, argValue[NUM_0], name, MAX_BUFFER_SIZE, &nameSize); in TestSavePixelmap() 420 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmap() 428 napi_get_value_uint32(env, argValue[NUM_0], &width); in TestCreatePixelmap() 448 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmapWithData() 458 napi_get_arraybuffer_info(env, argValue[NUM_0], (void **)&pixelmapData, &pixelmapDataSize); in TestCreatePixelmapWithData() 481 argValue[NUM_0] in TestReadPixels() [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | image_receiver_test.cpp | 31 static constexpr uint32_t NUM_0 = 0; member 247 for (size_t i = NUM_0; i < argc; i++) { in CheckArgs() 264 for (size_t i = NUM_0; i < argc; i++) { in GetArgs() 304 napi_get_value_uint32(env, argValue[NUM_0], &(size.width)) != napi_ok || in JsCreateImageReceiverOptions() 334 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsGetSize() 361 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsSetSize() 383 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsGetCapacity() 407 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsImageReceiverOptionsSetCapacity() 427 OH_ImageReceiverOptions* options = (OH_ImageReceiverOptions*)optionMap.find(params[NUM_0]); in JsReleaseImageReceiverOptions() 432 optionMap.remove(params[NUM_0]); in JsReleaseImageReceiverOptions() [all...] |
H A D | image_receiver_mdk_test.cpp | 26 constexpr uint32_t NUM_0 = 0; member 65 for (size_t i = NUM_0; i < count; i++) { in CheckArgs() 84 napi_get_value_int32(env, argValue[NUM_0], &(receiverInfo.width)) != napi_ok || in JsCreateImageReceiver() 104 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativeReceiver() 107 return OH_Image_Receiver_InitImageReceiverNative(env, argValue[NUM_0]); in getNativeReceiver() 182 sOnEvnentCount = NUM_0; in JsOn() 291 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativeImage() 294 return OH_Image_InitImageNative(env, argValue[NUM_0]); in getNativeImage() 387 ImageNative* native = OH_Image_InitImageNative(env, argValue[NUM_0]); in JsImageGetComponent()
|
H A D | module_test.cpp | 24 static constexpr uint32_t NUM_0 = 0; variable 217 napi_get_value_int32(env, args[NUM_0], &width); in CreatePhotoOutput()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drawabledescriptor/ |
H A D | drawabledescriptor_create_test.cpp | 19 #define NUM_0 0
macro 57 OH_PixelmapInitializationOptions_SetAlphaType(options, NUM_0);
in TestDrawableDescriptorCreate001() 60 array[NUM_0] = pixelMap;
in TestDrawableDescriptorCreate001() 68 ASSERT_EQ(NUM_1, NUM_0);
in TestDrawableDescriptorCreate001() 72 ASSERT_EQ(NUM_1, NUM_0);
in TestDrawableDescriptorCreate001() 108 OH_PixelmapInitializationOptions_SetAlphaType(options, NUM_0);
in TestDrawableDescriptorCreate002() 111 array[NUM_0] = pixelMap;
in TestDrawableDescriptorCreate002()
|
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/ |
H A D | PictureNdk.cpp | 42 #define NUM_0 0 macro 213 napi_get_value_string_utf8(env, argValue[NUM_0], format, MAX_STRING_SIZE, &formatSize); in SetMimeTypeToTestPackingOptions() 238 napi_get_value_int32(env, argValue[NUM_0], &desiredDynamicRange); in SetDynamicRangeToTestPackingOptions() 264 napi_get_value_string_utf8(env, argValue[NUM_0], uri, maxUriLen, &uriSize); in CreateTestImageSource() 296 napi_get_value_uint32(env, argValue[NUM_0], &temp); in CreateTestPixelmapByImageSource() 344 napi_get_value_int32(env, argValue[NUM_0], &type); in MetadataCreate() 377 napi_get_value_string_utf8(env, argValue[NUM_0], key, MAX_STRING_SIZE, &keySize); in MetadataGetProperty() 404 napi_get_value_int32(env, argValue[NUM_0], &type); in PictureMetadataGetProperty() 442 napi_get_value_int32(env, argValue[NUM_0], &type); in AuxiliaryMetadataGetProperty() 481 napi_get_value_string_utf8(env, argValue[NUM_0], ke in ClonedMetadataGetProperty() [all...] |
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/ |
H A D | image_source_native_test.cpp | 32 static constexpr uint32_t NUM_0 = 0; member 84 napi_get_value_int32(env, argValue[NUM_0], &fd); in JsGetImageProperty() 113 napi_get_value_int32(env, argValue[NUM_0], &fd); in JsModifyImageProperty()
|
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/ |
H A D | image_packer_test.cpp | 36 static constexpr uint32_t NUM_0 = 0;
member 86 case NUM_0: valueColor = R; break;
in SetUpImage() 301 setLoop(env, argValue[NUM_0], options);
in JsPackToDataMultiFrames() 341 int32_t* delayTimes = setDelayTimes(env, argValue[NUM_0], options);
in JsPackToFileMultiFrames() 342 uint32_t* disposalTypesArray = setDisposalTypes(env, argValue[NUM_0], options);
in JsPackToFileMultiFrames()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/ |
H A D | commonattrs_animate_test.cpp | 20 #define NUM_0 0
macro 77 ASSERT_EQ(NUM_1, NUM_0);
in TestCommonAttrsAnimate004()
|
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/ |
H A D | ImageNdk.cpp | 38 const uint32_t NUM_0 = 0; member 89 argValue[NUM_0] == nullptr) { in TestInitializationOptionsSetRowStrideNormal() 165 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in TestScaleWithAntiAliasingAbnormal() 171 if (napi_get_value_double(env, argValue[NUM_0], &x) != napi_ok || in TestScaleWithAntiAliasingAbnormal()
|
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/swiper/ |
H A D | swiper_indicator_test.cpp | 17 #define NUM_0 0 macro 31 int32_t indicator = NUM_0; in TestSwiperIndicator001()
|