/base/location/frameworks/native/source/ |
D | locator_callback_host.cpp | 141 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()
|
D | location_error_callback_host.cpp | 116 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()
|
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 | 130 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()
|
D | cached_locations_callback_host.cpp | 136 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()
|
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 | country_code_callback_host.cpp | 130 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()
|
D | locating_required_data_callback_host.cpp | 155 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()
|
D | location_gnss_geofence_callback_host.cpp | 168 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()
|
D | napi_util.cpp | 1095 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/ |
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()
|