Home
last modified time | relevance | path

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

/test/xts/acts/multimedia/image/image_ets_standard/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp170 size_t argCount = NUM_4; in TestInitializationOptions() local
171 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_4 || in TestInitializationOptions()
176 "ImagePixelmapNativeCTest TestInitializationOptions napi_get_cb_info failed, argCount: %{public}zu.", in TestInitializationOptions()
177 argCount); in TestInitializationOptions()
373 size_t argCount = NUM_1; in TestSavePixelmap() local
374 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1 || in TestSavePixelmap()
377 "ImagePixelmapNativeCTest TestSavePixelmap napi_get_cb_info failed, argCount: %{public}zu.", in TestSavePixelmap()
378 argCount); in TestSavePixelmap()
418 size_t argCount = NUM_4; TestCreatePixelmap() local
446 size_t argCount = NUM_5; TestCreatePixelmapWithData() local
479 size_t argCount = NUM_1; TestReadPixels() local
503 size_t argCount = NUM_1; TestWritePixels() local
629 size_t argCount = NUM_1; TestOpacity() local
651 size_t argCount = NUM_2; TestScale() local
674 size_t argCount = NUM_2; TestTranslate() local
697 size_t argCount = NUM_1; TestRotate() local
719 size_t argCount = NUM_2; TestFlip() local
741 size_t argCount = NUM_4; TestCrop() local
808 size_t argCount = NUM_1; ImageInfoGetWidth() local
837 size_t argCount = NUM_1; ImageInfoGetHeight() local
867 size_t argCount = NUM_1; ReleaseImageInfo() local
913 size_t argCount = NUM_1; DecodingOptionsGetPixelFormat() local
941 size_t argCount = NUM_2; DecodingOptionsSetPixelFormat() local
970 size_t argCount = NUM_1; DecodingOptionsGetIndex() local
999 size_t argCount = NUM_2; DecodingOptionsSetIndex() local
1023 size_t argCount = NUM_1; DecodingOptionsGetRotate() local
1049 size_t argCount = NUM_2; DecodingOptionsSetRotate() local
1073 size_t argCount = NUM_1; DecodingOptionsGetDesiredSize() local
1103 size_t argCount = NUM_3; DecodingOptionsSetDesiredSize() local
1136 size_t argCount = NUM_1; DecodingOptionsGetDesiredRegion() local
1169 size_t argCount = NUM_5; DecodingOptionsSetDesiredRegion() local
1196 size_t argCount = NUM_1; ReleaseDecodingOptions() local
1216 size_t argCount = NUM_1; CreateFromUri() local
1248 size_t argCount = NUM_1; CreateFromFd() local
1283 size_t argCount = NUM_1; CreateFromData() local
1320 size_t argCount = NUM_2; CreatePixelMap() local
1367 size_t argCount = NUM_2; CreatePixelMapList() local
1422 size_t argCount = NUM_1; GetDelayTime() local
1468 size_t argCount = NUM_2; GetImageInfo() local
1504 size_t argCount = NUM_2; GetImageProperty() local
1541 size_t argCount = NUM_3; ModifyImageProperty() local
1583 size_t argCount = NUM_1; GetFrameCount() local
1608 size_t argCount = NUM_1; SourceRelease() local
1650 size_t argCount = NUM_1; PackingOptionsGetMimeType() local
1679 size_t argCount = NUM_2; PackingOptionsSetMimeType() local
1713 size_t argCount = NUM_1; PackingOptionsGetQuality() local
1740 size_t argCount = NUM_2; PackingOptionsSetQuality() local
1764 size_t argCount = NUM_1; ReleasePackingOptions() local
1806 size_t argCount = NUM_4; PackToDataFromImageSource() local
1850 size_t argCount = NUM_4; PackToDataFromPixelMap() local
1898 size_t argCount = NUM_4; PackToFileFromImageSource() local
1931 size_t argCount = NUM_4; PackToFileFromPixelMap() local
1964 size_t argCount = NUM_1; PackerRelease() local
1983 size_t argCount = NUM_1; PixelMapRelease() local
2005 size_t argCount = NUM_3; CreateFromRawFile() local
2074 size_t argCount = NUM_2; DecodingOptionsSetDesiredDynamicRange() local
2099 size_t argCount = NUM_1; DecodingOptionsGetDesiredDynamicRange() local
2127 size_t argCount = NUM_1; GetPixelMapDynamicRange() local
2164 size_t argCount = NUM_1; PixelMapToSdr() local
2191 size_t argCount = NUM_1; GetImageSourceDynamicRange() local
2228 size_t argCount = NUM_2; PackingOptionsSetDesiredDynamicRange() local
2254 size_t argCount = NUM_1; PackingOptionsGetDesiredDynamicRange() local
2282 size_t argCount = NUM_2; PackingOptionsSetNeedsPackProperties() local
2309 size_t argCount = NUM_1; PackingOptionsGetNeedsPackProperties() local
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imageSourceNDK/entry/src/main/cpp/napi/
H A Dimage_source_test.cpp156 static bool checkArgs(const napi_value* argValue, size_t argCount, size_t want) in checkArgs() argument
158 if (argCount < want) { in checkArgs()
159 DEBUG_LOG("argCount %{public}zu < want %{public}zu", argCount, want); in checkArgs()
284 size_t argCount = SIZE_TWO; in Create() local
285 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in Create()
286 !checkArgs(argValue, argCount, SIZE_TWO)) { in Create()
311 size_t argCount = SIZE_TWO; in CreateFromFd() local
312 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in CreateFromFd()
313 !checkArgs(argValue, argCount, SIZE_TW in CreateFromFd()
339 size_t argCount = SIZE_TWO; CreateFromData() local
371 size_t argCount = SIZE_TWO; CreateFromUri() local
394 size_t argCount = SIZE_TWO; CreateFromRawFile() local
431 size_t argCount = SIZE_TWO; CreateIncremental() local
459 size_t argCount = SIZE_TWO; CreateIncrementalFromData() local
487 getNativeImageSource(napi_env env, napi_callback_info info, napi_value* argValue, size_t &argCount) getNativeImageSource() argument
504 size_t argCount = SIZE_ONE; InitNative() local
516 size_t argCount = SIZE_TWO; CreatePixelMap() local
536 size_t argCount = SIZE_TWO; CreatePixelMapList() local
565 size_t argCount = SIZE_ONE; GetDelayTime() local
596 size_t argCount = SIZE_ONE; GetFrameCount() local
677 size_t argCount = SIZE_TWO; GetImageInfo() local
694 size_t argCount = SIZE_TWO; GetImageProperty() local
730 size_t argCount = SIZE_THREE; ModifyImageProperty() local
766 size_t argCount = SIZE_TWO; UpdateData() local
781 size_t argCount = SIZE_ONE; Release() local
[all...]
H A Dimage_source_native_test.cpp76 size_t argCount = NUM_2; in JsGetImageProperty() local
78 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok) { in JsGetImageProperty()
105 size_t argCount = NUM_3; in JsModifyImageProperty() local
107 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok) { in JsModifyImageProperty()
/test/xts/acts/multimedia/image/image_ets_standard/pictureNdk/entry/src/main/cpp/
H A DPictureNdk.cpp203 size_t argCount = NUM_1; in SetMimeTypeToTestPackingOptions() local
206 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1) { in SetMimeTypeToTestPackingOptions()
229 size_t argCount = NUM_1; in SetDynamicRangeToTestPackingOptions() local
232 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1) { in SetDynamicRangeToTestPackingOptions()
253 size_t argCount = NUM_1; in CreateTestImageSource() local
256 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1) { in CreateTestImageSource()
287 size_t argCount in CreateTestPixelmapByImageSource() local
335 size_t argCount = NUM_1; MetadataCreate() local
367 size_t argCount = NUM_1; MetadataGetProperty() local
395 size_t argCount = NUM_2; PictureMetadataGetProperty() local
433 size_t argCount = NUM_2; AuxiliaryMetadataGetProperty() local
471 size_t argCount = NUM_1; ClonedMetadataGetProperty() local
499 size_t argCount = NUM_2; MetadataSetProperty() local
579 size_t argCount = NUM_1; PackToDataFromPicture() local
609 size_t argCount = NUM_1; PackToFileFromPicture() local
697 size_t argCount = NUM_2; SetDesiredAuxiliaryPictures() local
827 size_t argCount = NUM_2; SetAuxiliaryPicture() local
857 size_t argCount = NUM_1; GetAuxiliaryPicture() local
882 size_t argCount = NUM_1; PictureGetMetadata() local
909 size_t argCount = NUM_2; PictureSetMetadata() local
955 size_t argCount = NUM_3; CreateAuxiliaryPicture() local
995 size_t argCount = NUM_1; AuxiliaryPictureWritePixels() local
1021 size_t argCount = NUM_1; AuxiliaryPictureReadPixels() local
1089 size_t argCount = NUM_1; AuxiliaryPictureSetInfo() local
1127 size_t argCount = NUM_1; AuxiliaryPictureGetMetadata() local
1154 size_t argCount = NUM_2; AuxiliaryPictureSetMetadata() local
1235 size_t argCount = NUM_1; AuxiliaryPictureInfoSetType() local
1280 size_t argCount = NUM_1; AuxiliaryPictureInfoSetSize() local
1323 size_t argCount = NUM_1; AuxiliaryPictureInfoSetRowStride() local
1365 size_t argCount = NUM_1; AuxiliaryPictureInfoSetPixelFormat() local
1408 size_t argCount = NUM_1; AuxiliaryPictureInfoSetTypeErrorCode() local
1434 size_t argCount = NUM_1; MetadataGetPropertyErrorCode() local
1540 size_t argCount = NUM_2; AuxiliarySinglePictureSetInfo() local
1582 size_t argCount = NUM_2; SetAuxiliarySinglePicture() local
1699 size_t argCount = NUM_3; CreateAuxiliaryPictureErrorCode() local
1740 size_t argCount = NUM_1; AuxiliaryPictureGetMetadataErrorCode() local
1763 size_t argCount = NUM_1; PackToDataFromPictureErrorCode() local
1788 size_t argCount = NUM_1; AuxiliaryPictureReadPixelsErrorCode() local
1810 size_t argCount = NUM_2; SetAuxiliaryPictureErrorCode() local
1840 size_t argCount = NUM_2; MetadataSetPropertyErrorCode() local
1870 size_t argCount = NUM_2; PictureSetMetadataErrorCode() local
1896 size_t argCount = NUM_1; PictureGetMetadataErrorCode() local
1920 size_t argCount = NUM_1; GetAuxiliaryPictureErrorCode() local
1945 size_t argCount = NUM_1; AuxiliaryPictureWritePixelsErrorCode() local
1973 size_t argCount = NUM_1; GetPixelmapBuffer() local
2014 size_t argCount = NUM_1; SetNeedsPackPropertiesToTestPackingOptions() local
2071 size_t argCount = NUM_2; CompareArrayBuffer() local
[all...]
/test/xts/acts/multimedia/image/image_js_standard/imagePackingNDK/entry/src/main/cpp/napi/
H A Dimage_packing_test.cpp111 static bool checkArgs(const napi_value* argValue, size_t argCount, size_t want) in checkArgs() argument
113 if (argCount < want) { in checkArgs()
114 DEBUG_LOG("argCount %{public}zu < want %{public}zu", argCount, want); in checkArgs()
177 napi_value* argValue, size_t &argCount) in getNativeImagePacker()
180 if (argValue == nullptr || argCount == SIZE_ZERO) { in getNativeImagePacker()
184 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok) { in getNativeImagePacker()
193 size_t argCount = SIZE_ONE; in InitNative() local
195 ImagePacker_Native* native = getNativeImagePacker(env, info, argValue, argCount); in InitNative()
206 size_t argCount in PackToData() local
176 getNativeImagePacker(napi_env env, napi_callback_info info, napi_value* argValue, size_t &argCount) getNativeImagePacker() argument
244 size_t argCount = SIZE_FOUR; PackToFile() local
277 size_t argCount = SIZE_ONE; Release() local
[all...]
H A Dimage_packer_test.cpp294 size_t argCount = NUM_3; in JsPackToDataMultiFrames() local
295 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok) { in JsPackToDataMultiFrames()
333 size_t argCount = NUM_4; in JsPackToFileMultiFrames() local
334 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok) { in JsPackToFileMultiFrames()
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapNDK/entry/src/main/cpp/napi/
H A Dimage_pixel_map_imgndk_test.cpp142 size_t argCount = NUM_2; in CreatePixelMap() local
151 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in CreatePixelMap()
152 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in CreatePixelMap()
174 size_t argCount = NUM_1; in CreateAlphaPixelMap() local
180 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in CreateAlphaPixelMap()
181 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in CreateAlphaPixelMap()
194 size_t argCount = NUM_1; in getNativePixelMap() local
196 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in getNativePixelMap()
197 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativePixelMap()
282 size_t argCount in SetAlphaAble() local
329 size_t argCount = NUM_2; SetDensity() local
358 size_t argCount = NUM_2; SetOpacity() local
387 size_t argCount = NUM_3; Scale() local
416 size_t argCount = NUM_3; Translate() local
448 size_t argCount = NUM_2; Rotate() local
477 size_t argCount = NUM_3; Flip() local
509 size_t argCount = NUM_5; Crop() local
[all...]
H A Dpixel_map_native_test.cpp67 napi_value* argValue, size_t &argCount) in getNativeImageSource()
70 if (argValue == nullptr || argCount == 0) { in getNativeImageSource()
73 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok) { in getNativeImageSource()
83 size_t argCount = 2; in JsNativeToNapi() local
85 uint32_t num = getNativeImageSource(env, info, argValue, argCount); in JsNativeToNapi()
117 size_t argCount = 1; in JsNapiToNative_ReturnProperty() local
118 uint32_t num = getNativeImageSource(env, info, argValue, argCount); in JsNapiToNative_ReturnProperty()
66 getNativeImageSource(napi_env env, napi_callback_info info, napi_value* argValue, size_t &argCount) getNativeImageSource() argument
/test/xts/acts/multimedia/image/image_js_standard/image_ndk_test/entry/src/main/cpp/
H A DimagePixelmap.cpp28 size_t argCount = TEST_ARG_SUM; in TestGetImageInfo() local
30 napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestGetImageInfo()
44 size_t argCount = TEST_ARG_SUM; in TestAccessPixels() local
46 napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestAccessPixels()
60 size_t argCount = TEST_ARG_SUM; in TestUnAccessPixels() local
62 napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestUnAccessPixels()
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_mdk_test.cpp78 size_t argCount = NUM_4; in JsCreateImageReceiver() local
82 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in JsCreateImageReceiver()
83 !CheckArgs(argCount, argValue, NUM_4) || in JsCreateImageReceiver()
101 size_t argCount = NUM_1; in getNativeReceiver() local
103 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in getNativeReceiver()
104 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativeReceiver()
288 size_t argCount = NUM_1; in getNativeImage() local
290 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in getNativeImage()
291 argCount < NUM_1 || argValue[NUM_0] == nullptr) { in getNativeImage()
379 size_t argCount in JsImageGetComponent() local
[all...]
H A Dimage_receiver_test.cpp296 size_t argCount = NUM_3; in JsCreateImageReceiverOptions() local
299 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok) { in JsCreateImageReceiverOptions()
303 if (!CheckArgs(argCount, argValue, NUM_3) || in JsCreateImageReceiverOptions()
565 size_t argCount = NUM_2; in JsOn() local
566 if (napi_get_cb_info(env, info, &argCount, argv, &thisVar, nullptr) != napi_ok) { in JsOn()
570 if (!CheckArgs(argCount, argv, NUM_2) || in JsOn()
/test/xts/acts/graphic/imageNdk/entry/src/main/cpp/
H A DImageNdk.cpp87 size_t argCount = NUM_1; in TestInitializationOptionsSetRowStrideNormal() local
88 if (napi_get_cb_info(env, info, &argCount, argValue, nullptr, nullptr) != napi_ok || argCount < NUM_1 || in TestInitializationOptionsSetRowStrideNormal()
90 OH_LOG_ERROR(LOG_APP, "napi_get_cb_info failed, argCount: %{public}zu.", argCount); in TestInitializationOptionsSetRowStrideNormal()
161 size_t argCount = NUM_2; in TestScaleWithAntiAliasingAbnormal() local
164 if (napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr) != napi_ok || in TestScaleWithAntiAliasingAbnormal()
165 argCount < NUM_2 || argValue[NUM_0] == nullptr || argValue[NUM_1] == nullptr) { in TestScaleWithAntiAliasingAbnormal()
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/cpp/napi/
H A DmediaAssetManager.cpp206 size_t argCount = TEST_ARG_SUM; in TestRequestImageForPath() local
208 napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestRequestImageForPath()
242 size_t argCount = TEST_ARG_SUM; in TestRequestVideoForPath() local
244 napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestRequestVideoForPath()
279 size_t argCount = TEST_ONE_ARG_SUM; in TestCancelRequest() local
281 napi_get_cb_info(env, info, &argCount, argValue, &thisVar, nullptr); in TestCancelRequest()
/test/testfwk/arkxtest/uitest/core/
H A Dfrontend_api_handler.cpp272 size_t argCount = inModifier.paramList_.size(); in ApiMapPre() local
273 if (argTypes.size() - 1 < argCount) { in ApiMapPre()
277 for (size_t i = 0; i < argCount; i++) { in ApiMapPre()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/Dialog/
H A Darkoala_api.h4956 void (*callContinuation)(ArkUI_Int32 continuationId, ArkUI_Int32 argCount, ArkUIEventCallbackArg* args);

Completed in 35 milliseconds