Home
last modified time | relevance | path

Searched refs:undefine (Results 1 – 9 of 9) sorted by relevance

/base/location/frameworks/native/source/
Dlocator_callback_host.cpp128 napi_value undefine = nullptr; in DoSendWork() local
130 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in DoSendWork()
134 … if (napi_call_function(context->env, nullptr, handler, 1, &jsEvent, &undefine) != napi_ok) { in DoSendWork()
171 napi_value undefine; in DoSendErrorCode() local
173 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in DoSendErrorCode()
181 context->result, &undefine) != napi_ok) { in DoSendErrorCode()
Dgnss_status_callback_host.cpp131 napi_value undefine; in UvQueueWork() local
133 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
138 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dlocation_switch_callback_host.cpp129 napi_value undefine; in UvQueueWork() local
131 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
136 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dnmea_message_callback_host.cpp137 napi_value undefine; in UvQueueWork() local
139 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
145 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dcached_locations_callback_host.cpp134 napi_value undefine; in UvQueueWork() local
136 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
141 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dcountry_code_callback_host.cpp129 napi_value undefine; in UvQueueWork() local
132 napi_get_undefined(context->env, &undefine), scope, context, work); in UvQueueWork()
137 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dlocating_required_data_callback_host.cpp149 napi_value undefine; in UvQueueWork() local
151 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
156 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dnapi_util.cpp855 napi_value undefine; in SendResultToJs() local
856 NAPI_CALL_RETURN_VOID(env, napi_get_undefined(env, &undefine)); in SendResultToJs()
860 napi_call_function(env, nullptr, callback, RESULT_SIZE, context->result, &undefine)); in SendResultToJs()
/base/location/frameworks/js/napi/source/
Dlocation_napi_system.cpp147 napi_value undefine; in EmitSyncCallbackWork() local
148 NAPI_CALL_BASE(env, napi_get_undefined(env, &undefine), false); in EmitSyncCallbackWork()
149 …NAPI_CALL_BASE(env, napi_call_function(env, nullptr, successHandler, 1, &jsEvent, &undefine), fals… in EmitSyncCallbackWork()