Home
last modified time | relevance | path

Searched refs:NUM_2 (Results 1 - 11 of 11) sorted by relevance

/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/
H A Dimage_pixel_map_imgndk_test.cpp22 constexpr uint32_t NUM_2 = 2; member
141 napi_value argValue[NUM_2] = {0}; in CreatePixelMap()
142 size_t argCount = NUM_2; in CreatePixelMap()
152 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in CreatePixelMap()
281 napi_value argValue[NUM_2] = {0}; in SetAlphaAble()
282 size_t argCount = NUM_2; in SetAlphaAble()
286 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in SetAlphaAble()
328 napi_value argValue[NUM_2] = {0}; in SetDensity()
329 size_t argCount = NUM_2; in SetDensity()
334 argCount < NUM_2 || argValu in SetDensity()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/drawabledescriptor/
H A Ddrawabledescriptor_create_test.cpp21 #define NUM_2 2 macro
38 OH_PixelmapNativeHandle array[NUM_2]; in TestDrawableDescriptorCreate001()
44 data[i+NUM_2] = uint8_t(0); in TestDrawableDescriptorCreate001()
65 descriptorAnimated = OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap(array, NUM_2); in TestDrawableDescriptorCreate001()
75 ASSERT_EQ(OH_ArkUI_DrawableDescriptor_GetAnimatedPixelMapArraySize(descriptorAnimated), NUM_2); in TestDrawableDescriptorCreate001() local
89 OH_PixelmapNativeHandle array[NUM_2]; in TestDrawableDescriptorCreate002()
95 data[i+NUM_2] = uint8_t(0); in TestDrawableDescriptorCreate002()
116 descriptorAnimated = OH_ArkUI_DrawableDescriptor_CreateFromAnimatedPixelMap(array, NUM_2); in TestDrawableDescriptorCreate002()
/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp36 #define NUM_2 2 macro
172 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestInitializationOptions()
185 napi_get_value_int32(env, argValue[NUM_2], &pixelFormat); in TestInitializationOptions()
420 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmap()
432 napi_get_value_int32(env, argValue[NUM_2], &pixelFormat); in TestCreatePixelmap()
448 argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr || argValue[NUM_2] == nullptr || in TestCreatePixelmapWithData()
462 napi_get_value_uint32(env, argValue[NUM_2], &height); in TestCreatePixelmapWithData()
650 napi_value argValue[NUM_2] = {0}; in TestScale()
651 size_t argCount = NUM_2; in TestScale()
652 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2 || in TestScale()
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_test.cpp33 static constexpr uint32_t NUM_2 = 2; member
306 napi_get_value_int32(env, argValue[NUM_2], &(capacity)) != napi_ok) { in JsCreateImageReceiverOptions()
366 size.height = params[NUM_2]; in JsImageReceiverOptionsSetSize()
399 napi_value argv[NUM_2] = {nullptr}; in JsImageReceiverOptionsSetCapacity()
400 int32_t params[NUM_2] = {0}; in JsImageReceiverOptionsSetCapacity()
559 napi_value argv[NUM_2] = {nullptr}; in JsOn()
560 int32_t params[NUM_2] = {0}; in JsOn()
565 size_t argCount = NUM_2; in JsOn()
570 if (!CheckArgs(argCount, argv, NUM_2) || in JsOn()
758 napi_value argv[NUM_2] in JsGetImageByteBuffer()
[all...]
H A Dimage_receiver_mdk_test.cpp28 constexpr uint32_t NUM_2 = 2; member
86 napi_get_value_int32(env, argValue[NUM_2], &(receiverInfo.format)) != napi_ok || in JsCreateImageReceiver()
378 napi_value argValue[NUM_2] = {0}; in JsImageGetComponent()
379 size_t argCount = NUM_2; in JsImageGetComponent()
384 !CheckArgs(argCount, argValue, NUM_2)) { in JsImageGetComponent()
H A Dmodule_test.cpp26 static constexpr uint32_t NUM_2 = 2; variable
219 napi_get_value_int32(env, args[NUM_2], &capacity); in CreatePhotoOutput()
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/
H A DPictureNdk.cpp44 #define NUM_2 2 macro
394 napi_value argValue[NUM_2] = {0}; in PictureMetadataGetProperty()
395 size_t argCount = NUM_2; in PictureMetadataGetProperty()
398 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2) { in PictureMetadataGetProperty()
432 napi_value argValue[NUM_2] = {0}; in AuxiliaryMetadataGetProperty()
433 size_t argCount = NUM_2; in AuxiliaryMetadataGetProperty()
436 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2) { in AuxiliaryMetadataGetProperty()
498 napi_value argValue[NUM_2] = {0}; in MetadataSetProperty()
499 size_t argCount = NUM_2; in MetadataSetProperty()
502 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_2) { in MetadataSetProperty()
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/
H A Dimage_source_native_test.cpp34 static constexpr uint32_t NUM_2 = 2; member
75 napi_value argValue[NUM_2] = {0}; in JsGetImageProperty()
76 size_t argCount = NUM_2; in JsGetImageProperty()
116 std::string propertyValue = getStringFromArgs(env, argValue[NUM_2]); in JsModifyImageProperty()
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp40 const uint32_t NUM_2 = 2; member
160 napi_value argValue[NUM_2] = {0}; in TestScaleWithAntiAliasingAbnormal()
161 size_t argCount = NUM_2; in TestScaleWithAntiAliasingAbnormal()
165 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in TestScaleWithAntiAliasingAbnormal()
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
H A Dimage_packer_test.cpp38 static constexpr uint32_t NUM_2 = 2; member
88 case NUM_2: valueColor = B; break; in SetUpImage()
304 int32_t frameCount = getFrameCount(env, argValue[NUM_2]); in JsPackToDataMultiFrames()
345 int32_t frameCount = getFrameCount(env, argValue[NUM_2]); in JsPackToFileMultiFrames()
/test/xts/dcts/distributedhardware/distributeddptest/
H A Ddevice_profile_test.cpp95 sleep(NUM_2); in SetUpTestCase()

Completed in 15 milliseconds