Searched refs:gettypeCB (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
H A D | napi_data_ability_helper_utils.cpp | 286 static_cast<void *>(gettypeCB), in GetTypeAsync() 287 &gettypeCB->cbBase.asyncWork)); in GetTypeAsync() 298 if (gettypeCB == nullptr) { in GetTypePromise() 307 gettypeCB->cbBase.deferred = deferred; in GetTypePromise() 315 static_cast<void *>(gettypeCB), in GetTypePromise() 329 if (!gettypeCB->uri.empty()) { in GetTypeExecuteCB() 330 OHOS::Uri uri(gettypeCB->uri); in GetTypeExecuteCB() 362 delete gettypeCB; in GetTypeAsyncCompleteCB() 363 gettypeCB = nullptr; in GetTypeAsyncCompleteCB() 375 delete gettypeCB; in GetTypePromiseCompleteCB() [all …]
|
H A D | napi_data_ability_helper.cpp | 772 if (gettypeCB == nullptr) { in NAPI_GetType() 776 gettypeCB->cbBase.cbInfo.env = env; in NAPI_GetType() 777 gettypeCB->cbBase.asyncWork = nullptr; in NAPI_GetType() 778 gettypeCB->cbBase.deferred = nullptr; in NAPI_GetType() 779 gettypeCB->cbBase.ability = nullptr; in NAPI_GetType() 781 napi_value ret = GetTypeWrap(env, info, gettypeCB); in NAPI_GetType() 784 delete gettypeCB; in NAPI_GetType() 785 gettypeCB = nullptr; in NAPI_GetType() 810 gettypeCB->uri = NapiValueToStringUtf8(env, args[PARAM0]); in GetTypeWrap() 818 ret = GetTypeAsync(env, args, ARGS_ONE, gettypeCB); in GetTypeWrap() [all …]
|
H A D | napi_data_ability_helper_utils.h | 118 …tTypeAsync(napi_env env, napi_value *args, const size_t argCallback, DAHelperGetTypeCB *gettypeCB); 119 napi_value GetTypePromise(napi_env env, DAHelperGetTypeCB *gettypeCB);
|
H A D | napi_data_ability_helper.h | 170 napi_value GetTypeWrap(napi_env env, napi_callback_info info, DAHelperGetTypeCB *gettypeCB);
|