Home
last modified time | relevance | path

Searched refs:NUM_0 (Results 1 - 15 of 15) sorted by relevance

/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/
H A Dimage_pixel_map_imgndk_test.cpp20 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 Dpixel_map_native_test.cpp30 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 Drelativecontaine_barrieroption_test.cpp18 #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 Drelativecontaine_alignmentruleoption_test.cpp20 #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 DImageNdk.cpp34 #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 Dimage_receiver_test.cpp31 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 Dimage_receiver_mdk_test.cpp26 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 Dmodule_test.cpp24 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 Ddrawabledescriptor_create_test.cpp19 #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 DPictureNdk.cpp42 #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 Dimage_source_native_test.cpp32 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 Dimage_packer_test.cpp36 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 Dcommonattrs_animate_test.cpp20 #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 DImageNdk.cpp38 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 Dswiper_indicator_test.cpp17 #define NUM_0 0 macro
31 int32_t indicator = NUM_0; in TestSwiperIndicator001()

Completed in 17 milliseconds