Home
last modified time | relevance | path

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

/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp187 std::shared_ptr<AutoRef> intVecRef = callback.lock(); variable
188 CHECK_AND_RETURN_LOG(intVecRef != nullptr,
192 napi_open_handle_scope(intVecRef->env_, &scope);
196 napi_close_handle_scope(intVecRef->env_, scope);
200 napi_status status = napi_get_reference_value(intVecRef->env_, intVecRef->cb_, &jsCallback);
205 (void)napi_create_int32(intVecRef->env_, valueVec[0], &args[0]);
206 (void)napi_create_int32(intVecRef->env_, valueVec[1], &args[1]);
210 status = napi_call_function(intVecRef->env_, nullptr, jsCallback, argCount, args, &result);

Completed in 3 milliseconds