Home
last modified time | relevance | path

Searched refs:napi_unwrap_sendable (Results 1 - 13 of 13) sorted by relevance

/foundation/ability/ability_runtime/frameworks/js/napi/app/sendable_context_manager/
H A Djs_sendable_context_manager.cpp398 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 Dsendable_fetch_file_result_napi.cpp343 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 Dsendable_photo_album_napi.cpp122 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 Dsendable_file_asset_napi.cpp241 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 Dsendable_medialibrary_napi_utils.cpp444 CHECK_STATUS_RET(napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)), in AsyncContextSetObjectInfo()
H A Dsendable_photo_access_helper_napi.cpp664 status = napi_unwrap_sendable(env, thisVar, reinterpret_cast<void **>(&asyncContext->objectInfo)); in JSRelease()
/foundation/arkui/napi/interfaces/kits/napi/
H A Dnative_api.h182 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 Dsendable_image_napi.cpp111 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 Dsendable_pixel_map_napi.cpp453 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 Dtest_sendable_napi.cpp710 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 Dtest_napi.cpp7021 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 Dnapi_preferences.cpp163 napi_unwrap_sendable(env, self, &boundObj); in GetSelfInstance()
/foundation/arkui/napi/native_engine/
H A Dnative_api.cpp2035 NAPI_EXTERN napi_status napi_unwrap_sendable(napi_env env, napi_value js_object, void** result) in napi_unwrap_sendable() function

Completed in 48 milliseconds