/base/location/frameworks/native/source/ |
D | locator_callback_host.cpp | 128 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()
|
D | gnss_status_callback_host.cpp | 131 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()
|
D | location_switch_callback_host.cpp | 129 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()
|
D | nmea_message_callback_host.cpp | 137 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()
|
D | cached_locations_callback_host.cpp | 134 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()
|
D | country_code_callback_host.cpp | 129 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()
|
D | locating_required_data_callback_host.cpp | 149 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()
|
D | napi_util.cpp | 855 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/ |
D | location_napi_system.cpp | 147 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()
|