/foundation/ability/ability_runtime/frameworks/js/napi/app/sendable_context_manager/ |
H A D | js_sendable_context_manager.cpp | 398 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToContext() 427 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToApplicationContext() 456 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToAbilityStageContext() 485 auto status = napi_unwrap_sendable(env, info.argv[0], &wrapped); in OnConvertToUIAbilityContext()
|
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_fetch_file_result_napi.cpp | 343 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetCount() 445 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetFirstObject() 493 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetNextObject() 660 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetAllObject() 709 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSClose() 892 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSIsAfterLast() 935 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetLastObject() 987 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSGetPositionObject()
|
H A D | sendable_photo_album_napi.cpp | 122 CHECK_ARGS(env, napi_unwrap_sendable(env, result, reinterpret_cast<void**>(&photoAlbumNapi)), JS_INNER_FAIL); in CreatePhotoAlbumNapi() 268 CHECK_ARGS(env, napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(obj)), JS_INNER_FAIL); in UnwrapPhotoAlbumObject() 382 CHECK_ARGS(env, napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(obj)), JS_INNER_FAIL); in GetStringArg() 683 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in ConvertToPhotoAlbum()
|
H A D | sendable_file_asset_napi.cpp | 241 CHECK_ARGS(env, napi_unwrap_sendable(env, result, reinterpret_cast<void**>(&SendableFileAssetNapi)), JS_INNER_FAIL); in CreatePhotoAsset() 337 CHECK_STATUS_RET(napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(obj)), "Failed to unwrap thisVar"); in GetNapiObject() 368 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetFilePath() 392 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetFileDisplayName() 418 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSSetFileDisplayName() 452 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in JSGetMediaType() 1390 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&obj)); in ConvertToPhotoAsset()
|
H A D | sendable_medialibrary_napi_utils.cpp | 444 CHECK_STATUS_RET(napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)), in AsyncContextSetObjectInfo()
|
H A D | sendable_photo_access_helper_napi.cpp | 664 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSRelease()
|
/foundation/arkui/napi/interfaces/kits/napi/ |
H A D | native_api.h | 182 NAPI_EXTERN napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result);
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_image_napi.cpp | 111 napi_status status = napi_unwrap_sendable(env, image, reinterpret_cast<void**>(&napi));
in GetNativeImage() 280 if (napi_unwrap_sendable(env, thisVar, reinterpret_cast<void**>(&ctx->napi)) != napi_ok || ctx->napi == nullptr) {
in UnwrapContext()
|
H A D | sendable_pixel_map_napi.cpp | 453 status = napi_unwrap_sendable(env, object, result); in NapiUnwrap() 455 IMAGE_LOGE("NapiUnwrap napi_unwrap_sendable failed"); in NapiUnwrap()
|
/foundation/arkui/napi/test/unittest/ |
H A D | test_sendable_napi.cpp | 710 res = napi_unwrap_sendable(env, instanceValue, (void**)&tmpTestStr); in HWTEST_F() 743 napi_unwrap_sendable(env, instanceValue, (void**)&tempTestStr); in HWTEST_F() 1856 napi_unwrap_sendable(env, thisVar, reinterpret_cast<void**>(&data)); in Func()
|
H A D | test_napi.cpp | 7021 napi_status status = napi_unwrap_sendable(env, js_obj, &result); in HWTEST_F() 7032 status = napi_unwrap_sendable(env, js_obj, result); in HWTEST_F()
|
/foundation/distributeddatamgr/preferences/frameworks/js/napi/sendable_preferences/src/ |
H A D | napi_preferences.cpp | 163 napi_unwrap_sendable(env, self, &boundObj); in GetSelfInstance()
|
/foundation/arkui/napi/native_engine/ |
H A D | native_api.cpp | 2035 NAPI_EXTERN napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result) in napi_unwrap_sendable() function
|