Home
last modified time | relevance | path

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

/foundation/multimedia/player_framework/frameworks/js/avplayer/
H A Davplayer_callback.cpp220 std::shared_ptr<AutoRef> intArrayRef = callback.lock(); variable
221 CHECK_AND_RETURN_LOG(intArrayRef != nullptr,
225 napi_open_handle_scope(intArrayRef->env_, &scope);
229 napi_close_handle_scope(intArrayRef->env_, scope);
233 napi_status status = napi_get_reference_value(intArrayRef->env_, intArrayRef->cb_, &jsCallback);
238 (void)napi_create_array_with_length(intArrayRef->env_, valueVec.size(), &array);
242 (void)napi_create_int32(intArrayRef->env_, valueVec.at(i), &number);
243 (void)napi_set_element(intArrayRef->env_, array, i, number);
248 status = napi_call_function(intArrayRef
[all...]

Completed in 2 milliseconds