Home
last modified time | relevance | path

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

/base/location/frameworks/native/source/
Dlocator_callback_host.cpp141 napi_value undefine = nullptr; in DoSendWork() local
143 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in DoSendWork()
147 … if (napi_call_function(context->env, nullptr, handler, 1, &jsEvent, &undefine) != napi_ok) { in DoSendWork()
184 napi_value undefine; in DoSendErrorCode() local
186 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in DoSendErrorCode()
194 context->result, &undefine) != napi_ok) { in DoSendErrorCode()
Dlocation_error_callback_host.cpp116 napi_value undefine; in UvQueueWork() local
118 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
123 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
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.cpp130 napi_value undefine; in UvQueueWork() local
132 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
137 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dcached_locations_callback_host.cpp136 napi_value undefine; in UvQueueWork() local
138 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
143 &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()
Dcountry_code_callback_host.cpp130 napi_value undefine; in UvQueueWork() local
133 napi_get_undefined(context->env, &undefine), scope, context, work); in UvQueueWork()
137 … if (napi_call_function(context->env, nullptr, handler, 1, &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dlocating_required_data_callback_host.cpp155 napi_value undefine; in UvQueueWork() local
157 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
162 &jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dlocation_gnss_geofence_callback_host.cpp168 napi_value undefine; in UvQueueWork() local
170 CHK_NAPI_ERR_CLOSE_SCOPE(context->env, napi_get_undefined(context->env, &undefine), in UvQueueWork()
176 jsEvent, &undefine) != napi_ok) { in UvQueueWork()
Dnapi_util.cpp1095 napi_value undefine; in SendResultToJs() local
1096 NAPI_CALL_RETURN_VOID(env, napi_get_undefined(env, &undefine)); in SendResultToJs()
1100 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()