tracker-0.16.2/src/libtracker-bus/tracker-bus.c

Location Tool Test ID Function Issue
tracker-bus.c:483:21 gcc tracker_bus_connection_real_query_async_co expected 'gchar *' but argument is of type 'guint8 *'
tracker-bus.c:967:25 gcc unused-but-set-variable __lambda3_ variable 'self' set but not used
tracker-bus.c:971:2 clang-analyzer Value stored to 'self' is never read
tracker-bus.c:1200:25 gcc unused-but-set-variable __lambda2_ variable 'self' set but not used
tracker-bus.c:1205:2 clang-analyzer Value stored to 'self' is never read
tracker-bus.c:1978:25 gcc unused-but-set-variable __lambda5_ variable 'self' set but not used
tracker-bus.c:1982:2 clang-analyzer Value stored to 'self' is never read
tracker-bus.c:2158:39 gcc unused-but-set-variable tracker_bus_connection_real_update_finish variable '_data_' set but not used
tracker-bus.c:2166:2 clang-analyzer Value stored to '_data_' is never read
tracker-bus.c:2201:25 gcc unused-but-set-variable __lambda4_ variable 'self' set but not used
tracker-bus.c:2206:2 clang-analyzer Value stored to 'self' is never read
tracker-bus.c:2813:25 gcc unused-but-set-variable __lambda6_ variable 'self' set but not used
tracker-bus.c:2818:2 clang-analyzer Value stored to 'self' is never read
tracker-bus.c:3586:25 gcc unused-but-set-variable __lambda8_ variable 'self' set but not used
tracker-bus.c:3590:2 clang-analyzer Value stored to 'self' is never read
tracker-bus.c:3827:25 gcc unused-but-set-variable __lambda7_ variable 'self' set but not used
tracker-bus.c:3832:2 clang-analyzer Value stored to 'self' is never read
tracker-bus.c:4528:37 gcc unused-but-set-variable tracker_bus_connection_real_load_finish variable '_data_' set but not used
tracker-bus.c:4536:2 clang-analyzer Value stored to '_data_' is never read
tracker-bus.c:4833:7 gcc unused-but-set-variable tracker_bus_connection_real_statistics variable '_tmp33__length1' set but not used
tracker-bus.c:4929:18 clang-analyzer Assigned value is garbage or undefined
tracker-bus.c:4945:2 clang-analyzer Value stored to '_types_size_' is never read
tracker-bus.c:4953:2 clang-analyzer Value stored to '_var_names_size_' is never read
tracker-bus.c:4957:2 clang-analyzer Value stored to '_tmp20__length1' is never read
tracker-bus.c:4965:2 clang-analyzer Value stored to '_tmp22_' is never read
tracker-bus.c:4969:2 clang-analyzer Value stored to '_tmp23__length1' is never read
tracker-bus.c:4977:2 clang-analyzer Value stored to '_tmp25_' is never read
tracker-bus.c:4981:2 clang-analyzer Value stored to '_tmp26__length1' is never read
tracker-bus.c:4985:2 clang-analyzer Value stored to '_tmp27_' is never read
tracker-bus.c:4989:2 clang-analyzer Value stored to '_tmp28__length1' is never read
tracker-bus.c:4993:2 clang-analyzer Value stored to '_tmp29_' is never read
tracker-bus.c:5003:2 clang-analyzer Value stored to '_tmp31_' is never read
tracker-bus.c:5007:2 clang-analyzer Value stored to '_tmp31__length2' is never read
tracker-bus.c:5011:2 clang-analyzer Value stored to '_tmp33_' is never read
tracker-bus.c:5013:2 clang-analyzer Value stored to '_tmp33__length1' is never read
   1 /* tracker-bus.c generated by valac 0.18.1, the Vala compiler
   2  * generated from tracker-bus.vala, do not modify */
   3 
   4 /*
   5  * Copyright (C) 2010, Nokia <ivan.frade@nokia.com>
   6  *
   7  * This library is free software; you can redistribute it and/or
   8  * modify it under the terms of the GNU Lesser General Public
   9  * License as published by the Free Software Foundation; either
  10  * version 2.1 of the License, or (at your option) any later version.
  11  *
  12  * This library is distributed in the hope that it will be useful,
  13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15  * Lesser General Public License for more details.
  16  *
  17  * You should have received a copy of the GNU Lesser General Public
  18  * License along with this library; if not, write to the
  19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  20  * Boston, MA  02110-1301, USA.
  21  */
  22 
  23 #include <glib.h>
  24 #include <glib-object.h>
  25 #include "libtracker-sparql/tracker-sparql.h"
  26 #include <gio/gio.h>
  27 #include <gio/gunixinputstream.h>
  28 #include <gio/gunixoutputstream.h>
  29 #include <unistd.h>
  30 #include <stdlib.h>
  31 #include <string.h>
  32 #include <gio/gunixfdlist.h>
  33 
  34 
  35 #define TRACKER_BUS_TYPE_CONNECTION (tracker_bus_connection_get_type ())
  36 #define TRACKER_BUS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnection))
  37 #define TRACKER_BUS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnectionClass))
  38 #define TRACKER_BUS_IS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_BUS_TYPE_CONNECTION))
  39 #define TRACKER_BUS_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_BUS_TYPE_CONNECTION))
  40 #define TRACKER_BUS_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnectionClass))
  41 
  42 typedef struct _TrackerBusConnection TrackerBusConnection;
  43 typedef struct _TrackerBusConnectionClass TrackerBusConnectionClass;
  44 typedef struct _TrackerBusConnectionPrivate TrackerBusConnectionPrivate;
  45 #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
  46 #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
  47 #define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
  48 typedef struct _Block1Data Block1Data;
  49 #define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
  50 #define _g_main_context_unref0(var) ((var == NULL) ? NULL : (var = (g_main_context_unref (var), NULL)))
  51 #define _g_free0(var) (var = (g_free (var), NULL))
  52 typedef struct _Block2Data Block2Data;
  53 
  54 #define TRACKER_BUS_TYPE_FD_CURSOR (tracker_bus_fd_cursor_get_type ())
  55 #define TRACKER_BUS_FD_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_BUS_TYPE_FD_CURSOR, TrackerBusFDCursor))
  56 #define TRACKER_BUS_FD_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_BUS_TYPE_FD_CURSOR, TrackerBusFDCursorClass))
  57 #define TRACKER_BUS_IS_FD_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_BUS_TYPE_FD_CURSOR))
  58 #define TRACKER_BUS_IS_FD_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_BUS_TYPE_FD_CURSOR))
  59 #define TRACKER_BUS_FD_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_BUS_TYPE_FD_CURSOR, TrackerBusFDCursorClass))
  60 
  61 typedef struct _TrackerBusFDCursor TrackerBusFDCursor;
  62 typedef struct _TrackerBusFDCursorClass TrackerBusFDCursorClass;
  63 typedef struct _TrackerBusConnectionQueryAsyncData TrackerBusConnectionQueryAsyncData;
  64 typedef struct _Block3Data Block3Data;
  65 typedef struct _Block4Data Block4Data;
  66 typedef struct _TrackerBusConnectionUpdateAsyncData TrackerBusConnectionUpdateAsyncData;
  67 #define _g_ptr_array_unref0(var) ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))
  68 typedef struct _Block5Data Block5Data;
  69 #define _g_variant_iter_free0(var) ((var == NULL) ? NULL : (var = (g_variant_iter_free (var), NULL)))
  70 typedef struct _TrackerBusConnectionUpdateArrayAsyncData TrackerBusConnectionUpdateArrayAsyncData;
  71 typedef struct _Block6Data Block6Data;
  72 typedef struct _Block7Data Block7Data;
  73 typedef struct _TrackerBusConnectionUpdateBlankAsyncData TrackerBusConnectionUpdateBlankAsyncData;
  74 typedef struct _TrackerBusConnectionLoadAsyncData TrackerBusConnectionLoadAsyncData;
  75 
  76 #define TRACKER_BUS_TYPE_ARRAY_CURSOR (tracker_bus_array_cursor_get_type ())
  77 #define TRACKER_BUS_ARRAY_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_BUS_TYPE_ARRAY_CURSOR, TrackerBusArrayCursor))
  78 #define TRACKER_BUS_ARRAY_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_BUS_TYPE_ARRAY_CURSOR, TrackerBusArrayCursorClass))
  79 #define TRACKER_BUS_IS_ARRAY_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_BUS_TYPE_ARRAY_CURSOR))
  80 #define TRACKER_BUS_IS_ARRAY_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_BUS_TYPE_ARRAY_CURSOR))
  81 #define TRACKER_BUS_ARRAY_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_BUS_TYPE_ARRAY_CURSOR, TrackerBusArrayCursorClass))
  82 
  83 typedef struct _TrackerBusArrayCursor TrackerBusArrayCursor;
  84 typedef struct _TrackerBusArrayCursorClass TrackerBusArrayCursorClass;
  85 typedef struct _TrackerBusConnectionStatisticsAsyncData TrackerBusConnectionStatisticsAsyncData;
  86 
  87 struct _TrackerBusConnection {
  88 	TrackerSparqlConnection parent_instance;
  89 	TrackerBusConnectionPrivate * priv;
  90 };
  91 
  92 struct _TrackerBusConnectionClass {
  93 	TrackerSparqlConnectionClass parent_class;
  94 };
  95 
  96 struct _TrackerBusConnectionPrivate {
  97 	GDBusConnection* bus;
  98 };
  99 
 100 struct _Block1Data {
 101 	int _ref_count_;
 102 	TrackerBusConnection * self;
 103 	GMainLoop* loop;
 104 	GAsyncResult* async_res;
 105 };
 106 
 107 struct _Block2Data {
 108 	int _ref_count_;
 109 	TrackerBusConnection * self;
 110 	GAsyncResult* dbus_res;
 111 	gboolean received_result;
 112 	gpointer _async_data_;
 113 };
 114 
 115 struct _TrackerBusConnectionQueryAsyncData {
 116 	int _state_;
 117 	GObject* _source_object_;
 118 	GAsyncResult* _res_;
 119 	GSimpleAsyncResult* _async_result;
 120 	TrackerBusConnection* self;
 121 	gchar* sparql;
 122 	GCancellable* cancellable;
 123 	TrackerSparqlCursor* result;
 124 	Block2Data* _data2_;
 125 	GUnixInputStream* input;
 126 	GUnixOutputStream* output;
 127 	GUnixInputStream* _tmp0_;
 128 	GUnixOutputStream* _tmp1_;
 129 	const gchar* _tmp2_;
 130 	GUnixOutputStream* _tmp3_;
 131 	GCancellable* _tmp4_;
 132 	GMemoryOutputStream* _tmp5_;
 133 	GMemoryOutputStream* mem_stream;
 134 	GMemoryOutputStream* _tmp6_;
 135 	GUnixInputStream* _tmp7_;
 136 	GCancellable* _tmp8_;
 137 	GAsyncResult* _tmp9_;
 138 	GDBusConnection* _tmp10_;
 139 	GAsyncResult* _tmp11_;
 140 	GDBusMessage* _tmp12_;
 141 	GDBusMessage* reply;
 142 	GDBusMessage* _tmp13_;
 143 	GDBusMessage* _tmp14_;
 144 	GVariant* _tmp15_;
 145 	GVariant* _tmp16_;
 146 	GVariant* _tmp17_;
 147 	gchar** _tmp18_;
 148 	gint _tmp18__length1;
 149 	gchar** _tmp22_;
 150 	gint _tmp22__length1;
 151 	gchar** variable_names;
 152 	gint variable_names_length1;
 153 	gint _variable_names_size_;
 154 	GMemoryOutputStream* _tmp23_;
 155 	GMemoryOutputStream* _tmp24_;
 156 	guint8* _tmp25_;
 157 	GMemoryOutputStream* _tmp26_;
 158 	gulong _tmp27_;
 159 	gulong _tmp28_;
 160 	gchar** _tmp29_;
 161 	gint _tmp29__length1;
 162 	TrackerBusFDCursor* _tmp30_;
 163 	GError * _inner_error_;
 164 };
 165 
 166 struct _Block3Data {
 167 	int _ref_count_;
 168 	TrackerBusConnection * self;
 169 	GMainLoop* loop;
 170 	GAsyncResult* async_res;
 171 };
 172 
 173 struct _Block4Data {
 174 	int _ref_count_;
 175 	TrackerBusConnection * self;
 176 	GAsyncResult* dbus_res;
 177 	gboolean sent_update;
 178 	gpointer _async_data_;
 179 };
 180 
 181 struct _TrackerBusConnectionUpdateAsyncData {
 182 	int _state_;
 183 	GObject* _source_object_;
 184 	GAsyncResult* _res_;
 185 	GSimpleAsyncResult* _async_result;
 186 	TrackerBusConnection* self;
 187 	gchar* sparql;
 188 	gint priority;
 189 	GCancellable* cancellable;
 190 	Block4Data* _data4_;
 191 	GUnixInputStream* input;
 192 	GUnixOutputStream* output;
 193 	GUnixInputStream* _tmp0_;
 194 	GUnixOutputStream* _tmp1_;
 195 	const gchar* _tmp2_;
 196 	gint _tmp3_;
 197 	const gchar* _tmp4_;
 198 	GUnixInputStream* _tmp5_;
 199 	GCancellable* _tmp6_;
 200 	GUnixOutputStream* _tmp7_;
 201 	GDataOutputStream* _tmp8_;
 202 	GDataOutputStream* data_stream;
 203 	GDataOutputStream* _tmp9_;
 204 	GDataOutputStream* _tmp10_;
 205 	const gchar* _tmp11_;
 206 	gint _tmp12_;
 207 	gint _tmp13_;
 208 	GDataOutputStream* _tmp14_;
 209 	const gchar* _tmp15_;
 210 	GAsyncResult* _tmp16_;
 211 	GDBusConnection* _tmp17_;
 212 	GAsyncResult* _tmp18_;
 213 	GDBusMessage* _tmp19_;
 214 	GDBusMessage* reply;
 215 	GDBusMessage* _tmp20_;
 216 	GError * _inner_error_;
 217 };
 218 
 219 struct _Block5Data {
 220 	int _ref_count_;
 221 	TrackerBusConnection * self;
 222 	GAsyncResult* dbus_res;
 223 	gboolean sent_update;
 224 	gpointer _async_data_;
 225 };
 226 
 227 struct _TrackerBusConnectionUpdateArrayAsyncData {
 228 	int _state_;
 229 	GObject* _source_object_;
 230 	GAsyncResult* _res_;
 231 	GSimpleAsyncResult* _async_result;
 232 	TrackerBusConnection* self;
 233 	gchar** sparql;
 234 	gint sparql_length1;
 235 	gint priority;
 236 	GCancellable* cancellable;
 237 	GPtrArray* result;
 238 	Block5Data* _data5_;
 239 	GUnixInputStream* input;
 240 	GUnixOutputStream* output;
 241 	GUnixInputStream* _tmp0_;
 242 	GUnixOutputStream* _tmp1_;
 243 	GUnixInputStream* _tmp2_;
 244 	GCancellable* _tmp3_;
 245 	GUnixOutputStream* _tmp4_;
 246 	GDataOutputStream* _tmp5_;
 247 	GDataOutputStream* data_stream;
 248 	GDataOutputStream* _tmp6_;
 249 	GDataOutputStream* _tmp7_;
 250 	gchar** _tmp8_;
 251 	gint _tmp8__length1;
 252 	gint i;
 253 	gboolean _tmp9_;
 254 	gboolean _tmp10_;
 255 	gint _tmp11_;
 256 	gint _tmp12_;
 257 	gchar** _tmp13_;
 258 	gint _tmp13__length1;
 259 	GDataOutputStream* _tmp14_;
 260 	gchar** _tmp15_;
 261 	gint _tmp15__length1;
 262 	gint _tmp16_;
 263 	const gchar* _tmp17_;
 264 	gint _tmp18_;
 265 	gint _tmp19_;
 266 	GDataOutputStream* _tmp20_;
 267 	gchar** _tmp21_;
 268 	gint _tmp21__length1;
 269 	gint _tmp22_;
 270 	const gchar* _tmp23_;
 271 	GAsyncResult* _tmp24_;
 272 	GDBusConnection* _tmp25_;
 273 	GAsyncResult* _tmp26_;
 274 	GDBusMessage* _tmp27_;
 275 	GDBusMessage* reply;
 276 	GDBusMessage* _tmp28_;
 277 	GPtrArray* _tmp29_;
 278 	GPtrArray* _result_;
 279 	GVariant* resultv;
 280 	GDBusMessage* _tmp30_;
 281 	GVariant* _tmp31_;
 282 	GVariant* _tmp32_;
 283 	GVariant* _tmp33_;
 284 	GVariantIter* _tmp34_;
 285 	GVariantIter* iter;
 286 	gchar* code;
 287 	gchar* message;
 288 	GVariantIter* _tmp35_;
 289 	gboolean _tmp36_;
 290 	GVariantIter* _tmp37_;
 291 	gboolean _tmp38_;
 292 	gboolean _tmp39_;
 293 	const gchar* _tmp40_;
 294 	const gchar* _tmp41_;
 295 	gboolean _tmp42_;
 296 	GPtrArray* _tmp43_;
 297 	const gchar* _tmp44_;
 298 	GError* _tmp45_;
 299 	GPtrArray* _tmp46_;
 300 	GError * _inner_error_;
 301 };
 302 
 303 struct _Block6Data {
 304 	int _ref_count_;
 305 	TrackerBusConnection * self;
 306 	GMainLoop* loop;
 307 	GAsyncResult* async_res;
 308 };
 309 
 310 struct _Block7Data {
 311 	int _ref_count_;
 312 	TrackerBusConnection * self;
 313 	GAsyncResult* dbus_res;
 314 	gboolean sent_update;
 315 	gpointer _async_data_;
 316 };
 317 
 318 struct _TrackerBusConnectionUpdateBlankAsyncData {
 319 	int _state_;
 320 	GObject* _source_object_;
 321 	GAsyncResult* _res_;
 322 	GSimpleAsyncResult* _async_result;
 323 	TrackerBusConnection* self;
 324 	gchar* sparql;
 325 	gint priority;
 326 	GCancellable* cancellable;
 327 	GVariant* result;
 328 	Block7Data* _data7_;
 329 	GUnixInputStream* input;
 330 	GUnixOutputStream* output;
 331 	GUnixInputStream* _tmp0_;
 332 	GUnixOutputStream* _tmp1_;
 333 	GUnixInputStream* _tmp2_;
 334 	GCancellable* _tmp3_;
 335 	GUnixOutputStream* _tmp4_;
 336 	GDataOutputStream* _tmp5_;
 337 	GDataOutputStream* data_stream;
 338 	GDataOutputStream* _tmp6_;
 339 	GDataOutputStream* _tmp7_;
 340 	const gchar* _tmp8_;
 341 	gint _tmp9_;
 342 	gint _tmp10_;
 343 	GDataOutputStream* _tmp11_;
 344 	const gchar* _tmp12_;
 345 	GAsyncResult* _tmp13_;
 346 	GDBusConnection* _tmp14_;
 347 	GAsyncResult* _tmp15_;
 348 	GDBusMessage* _tmp16_;
 349 	GDBusMessage* reply;
 350 	GDBusMessage* _tmp17_;
 351 	GDBusMessage* _tmp18_;
 352 	GVariant* _tmp19_;
 353 	GVariant* _tmp20_;
 354 	GError * _inner_error_;
 355 };
 356 
 357 struct _TrackerBusConnectionLoadAsyncData {
 358 	int _state_;
 359 	GObject* _source_object_;
 360 	GAsyncResult* _res_;
 361 	GSimpleAsyncResult* _async_result;
 362 	TrackerBusConnection* self;
 363 	GFile* file;
 364 	GCancellable* cancellable;
 365 	GDBusMessage* _tmp0_;
 366 	GDBusMessage* message;
 367 	GDBusMessage* _tmp1_;
 368 	GFile* _tmp2_;
 369 	gchar* _tmp3_;
 370 	gchar* _tmp4_;
 371 	GVariant* _tmp5_;
 372 	GVariant* _tmp6_;
 373 	GDBusConnection* _tmp7_;
 374 	GDBusMessage* _tmp8_;
 375 	gint _tmp9_;
 376 	GCancellable* _tmp10_;
 377 	GDBusMessage* _tmp11_;
 378 	GDBusMessage* reply;
 379 	GDBusMessage* _tmp12_;
 380 	GError * _inner_error_;
 381 };
 382 
 383 struct _TrackerBusConnectionStatisticsAsyncData {
 384 	int _state_;
 385 	GObject* _source_object_;
 386 	GAsyncResult* _res_;
 387 	GSimpleAsyncResult* _async_result;
 388 	TrackerBusConnection* self;
 389 	GCancellable* cancellable;
 390 	TrackerSparqlCursor* result;
 391 	GDBusMessage* _tmp0_;
 392 	GDBusMessage* message;
 393 	GDBusConnection* _tmp1_;
 394 	GDBusMessage* _tmp2_;
 395 	gint _tmp3_;
 396 	GCancellable* _tmp4_;
 397 	GDBusMessage* _tmp5_;
 398 	GDBusMessage* reply;
 399 	GDBusMessage* _tmp6_;
 400 	GDBusMessage* _tmp7_;
 401 	GVariant* _tmp8_;
 402 	GVariant* _tmp9_;
 403 	GVariant* _tmp10_;
 404 	gchar** _tmp11_;
 405 	gint _tmp11__length1;
 406 	gint _tmp11__length2;
 407 	gchar** _tmp17_;
 408 	gint _tmp17__length1;
 409 	gint _tmp17__length2;
 410 	gchar** results;
 411 	gint results_length1;
 412 	gint results_length2;
 413 	TrackerSparqlValueType* _tmp18_;
 414 	TrackerSparqlValueType* types;
 415 	gint types_length1;
 416 	gint _types_size_;
 417 	gchar** _tmp19_;
 418 	gchar** var_names;
 419 	gint var_names_length1;
 420 	gint _var_names_size_;
 421 	gchar** _tmp20_;
 422 	gint _tmp20__length1;
 423 	gchar* _tmp21_;
 424 	gchar* _tmp22_;
 425 	gchar** _tmp23_;
 426 	gint _tmp23__length1;
 427 	gchar* _tmp24_;
 428 	gchar* _tmp25_;
 429 	TrackerSparqlValueType* _tmp26_;
 430 	gint _tmp26__length1;
 431 	TrackerSparqlValueType _tmp27_;
 432 	TrackerSparqlValueType* _tmp28_;
 433 	gint _tmp28__length1;
 434 	TrackerSparqlValueType _tmp29_;
 435 	gchar** _tmp30_;
 436 	gint _tmp30__length1;
 437 	gint _tmp30__length2;
 438 	gchar** _tmp31_;
 439 	gint _tmp31__length1;
 440 	gint _tmp31__length2;
 441 	gint _tmp32_;
 442 	gchar** _tmp33_;
 443 	gint _tmp33__length1;
 444 	gint _tmp33__length2;
 445 	gint _tmp34_;
 446 	gchar** _tmp35_;
 447 	gint _tmp35__length1;
 448 	TrackerSparqlValueType* _tmp36_;
 449 	gint _tmp36__length1;
 450 	TrackerBusArrayCursor* _tmp37_;
 451 	GError * _inner_error_;
 452 };
 453 
 454 
 455 static gpointer tracker_bus_connection_parent_class = NULL;
 456 
 457 GType tracker_bus_connection_get_type (void) G_GNUC_CONST;
 458 #define TRACKER_BUS_CONNECTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnectionPrivate))
 459 enum  {
 460 	TRACKER_BUS_CONNECTION_DUMMY_PROPERTY
 461 };
 462 TrackerBusConnection* tracker_bus_connection_new (GError** error);
 463 TrackerBusConnection* tracker_bus_connection_construct (GType object_type, GError** error);
 464 static void tracker_bus_connection_pipe (TrackerBusConnection* self, GUnixInputStream** input, GUnixOutputStream** output, GError** error);
 465 static void tracker_bus_connection_handle_error_reply (TrackerBusConnection* self, GDBusMessage* message, GError** error);
 466 static void tracker_bus_connection_send_query (TrackerBusConnection* self, const gchar* sparql, GUnixOutputStream* output, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error);
 467 static TrackerSparqlCursor* tracker_bus_connection_real_query (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GError** error);
 468 static Block1Data* block1_data_ref (Block1Data* _data1_);
 469 static void block1_data_unref (void * _userdata_);
 470 static void __lambda3_ (Block1Data* _data1_, GObject* o, GAsyncResult* res);
 471 static void ___lambda3__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
 472 static void tracker_bus_connection_real_query_async_data_free (gpointer _data);
 473 static void tracker_bus_connection_real_query_async (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
 474 static gboolean tracker_bus_connection_real_query_async_co (TrackerBusConnectionQueryAsyncData* _data_);
 475 static Block2Data* block2_data_ref (Block2Data* _data2_);
 476 static void block2_data_unref (void * _userdata_);
 477 static void __lambda2_ (Block2Data* _data2_, GObject* o, GAsyncResult* res);
 478 static void ___lambda2__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
 479 static void* _g_realloc_grealloc_func (void* data, gsize size);
 480 static void _g_free_gdestroy_notify (void* data);
 481 static void tracker_bus_connection_query_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
 482 static gchar** _variant_get1 (GVariant* value, int* result_length1);
 483 TrackerBusFDCursor* tracker_bus_fd_cursor_new (gchar* buffer, gulong buffer_size, gchar** variable_names, int variable_names_length1);
expected 'gchar *' but argument is of type 'guint8 *'
(emitted by gcc)
484 TrackerBusFDCursor* tracker_bus_fd_cursor_construct (GType object_type, gchar* buffer, gulong buffer_size, gchar** variable_names, int variable_names_length1); 485 GType tracker_bus_fd_cursor_get_type (void) G_GNUC_CONST; 486 static void tracker_bus_connection_send_update (TrackerBusConnection* self, const gchar* method, GUnixInputStream* input, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error); 487 static void tracker_bus_connection_real_update (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error); 488 static Block3Data* block3_data_ref (Block3Data* _data3_); 489 static void block3_data_unref (void * _userdata_); 490 static void __lambda5_ (Block3Data* _data3_, GObject* o, GAsyncResult* res); 491 static void ___lambda5__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self); 492 static void tracker_bus_connection_real_update_async_data_free (gpointer _data); 493 static void tracker_bus_connection_real_update_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_); 494 static gboolean tracker_bus_connection_real_update_async_co (TrackerBusConnectionUpdateAsyncData* _data_); 495 static Block4Data* block4_data_ref (Block4Data* _data4_); 496 static void block4_data_unref (void * _userdata_); 497 static void __lambda4_ (Block4Data* _data4_, GObject* o, GAsyncResult* res); 498 static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self); 499 static void tracker_bus_connection_real_update_array_async_data_free (gpointer _data); 500 static void tracker_bus_connection_real_update_array_async (TrackerSparqlConnection* base, gchar** sparql, int sparql_length1, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_); 501 static gboolean tracker_bus_connection_real_update_array_async_co (TrackerBusConnectionUpdateArrayAsyncData* _data_); 502 static Block5Data* block5_data_ref (Block5Data* _data5_); 503 static void block5_data_unref (void * _userdata_); 504 static void __lambda6_ (Block5Data* _data5_, GObject* o, GAsyncResult* res); 505 static void ___lambda6__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self); 506 static void _g_error_free0_ (gpointer var); 507 static GVariant* tracker_bus_connection_real_update_blank (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error); 508 static Block6Data* block6_data_ref (Block6Data* _data6_); 509 static void block6_data_unref (void * _userdata_); 510 static void __lambda8_ (Block6Data* _data6_, GObject* o, GAsyncResult* res); 511 static void ___lambda8__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self); 512 static void tracker_bus_connection_real_update_blank_async_data_free (gpointer _data); 513 static void tracker_bus_connection_real_update_blank_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_); 514 static gboolean tracker_bus_connection_real_update_blank_async_co (TrackerBusConnectionUpdateBlankAsyncData* _data_); 515 static Block7Data* block7_data_ref (Block7Data* _data7_); 516 static void block7_data_unref (void * _userdata_); 517 static void __lambda7_ (Block7Data* _data7_, GObject* o, GAsyncResult* res); 518 static void ___lambda7__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self); 519 static void tracker_bus_connection_real_load (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GError** error); 520 static void tracker_bus_connection_real_load_async_data_free (gpointer _data); 521 static void tracker_bus_connection_real_load_async (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_); 522 static gboolean tracker_bus_connection_real_load_async_co (TrackerBusConnectionLoadAsyncData* _data_); 523 static void tracker_bus_connection_load_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); 524 static TrackerSparqlCursor* tracker_bus_connection_real_statistics (TrackerSparqlConnection* base, GCancellable* cancellable, GError** error); 525 static gchar** _variant_get2 (GVariant* value, int* result_length1, int* result_length2); 526 TrackerBusArrayCursor* tracker_bus_array_cursor_new (gchar** results, int results_length1, int results_length2, gint rows, gint cols, gchar** var_names, int var_names_length1, TrackerSparqlValueType* types, int types_length1); 527 TrackerBusArrayCursor* tracker_bus_array_cursor_construct (GType object_type, gchar** results, int results_length1, int results_length2, gint rows, gint cols, gchar** var_names, int var_names_length1, TrackerSparqlValueType* types, int types_length1); 528 GType tracker_bus_array_cursor_get_type (void) G_GNUC_CONST; 529 static void tracker_bus_connection_real_statistics_async_data_free (gpointer _data); 530 static void tracker_bus_connection_real_statistics_async (TrackerSparqlConnection* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_); 531 static gboolean tracker_bus_connection_real_statistics_async_co (TrackerBusConnectionStatisticsAsyncData* _data_); 532 static void tracker_bus_connection_statistics_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_); 533 static gchar** _variant_get3 (GVariant* value, int* result_length1, int* result_length2); 534 static void tracker_bus_connection_finalize (GObject* obj); 535 static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); 536 static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); 537 538 539 TrackerBusConnection* tracker_bus_connection_construct (GType object_type, GError** error) { 540 TrackerBusConnection * self = NULL; 541 GDBusConnection* _tmp0_ = NULL; 542 GDBusConnection* _tmp1_; 543 GError* _tmp2_; 544 GError* _tmp3_; 545 GError * _inner_error_ = NULL; 546 #line 23 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 547 self = (TrackerBusConnection*) tracker_sparql_connection_construct (object_type); 548 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 549 _tmp0_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_); 550 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 551 _tmp1_ = _tmp0_; 552 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 553 if (_inner_error_ != NULL) { 554 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 555 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 556 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 557 g_propagate_error (error, _inner_error_); 558 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 559 _g_object_unref0 (self); 560 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 561 return NULL; 562 #line 563 "tracker-bus.c" 563 } else { 564 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 565 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 566 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 567 g_clear_error (&_inner_error_); 568 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 569 return NULL; 570 #line 571 "tracker-bus.c" 571 } 572 } 573 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 574 _g_object_unref0 (self->priv->bus); 575 #line 24 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 576 self->priv->bus = _tmp1_; 577 #line 27 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 578 _tmp2_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, ""); 579 #line 27 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 580 _tmp3_ = _tmp2_; 581 #line 27 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 582 _g_error_free0 (_tmp3_); 583 #line 23 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 584 return self; 585 #line 586 "tracker-bus.c" 586 } 587 588 589 TrackerBusConnection* tracker_bus_connection_new (GError** error) { 590 #line 23 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 591 return tracker_bus_connection_construct (TRACKER_BUS_TYPE_CONNECTION, error); 592 #line 593 "tracker-bus.c" 593 } 594 595 596 static void tracker_bus_connection_pipe (TrackerBusConnection* self, GUnixInputStream** input, GUnixOutputStream** output, GError** error) { 597 GUnixInputStream* _vala_input = NULL; 598 GUnixOutputStream* _vala_output = NULL; 599 gint pipefd[2] = {0}; 600 gint _tmp0_ = 0; 601 gint _tmp2_; 602 GUnixInputStream* _tmp3_; 603 gint _tmp4_; 604 GUnixOutputStream* _tmp5_; 605 GError * _inner_error_ = NULL; 606 #line 30 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 607 g_return_if_fail (self != NULL); 608 #line 32 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 609 _tmp0_ = pipe (pipefd); 610 #line 32 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 611 if (_tmp0_ < 0) { 612 #line 613 "tracker-bus.c" 613 GError* _tmp1_; 614 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 615 _tmp1_ = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_FAILED, "Pipe creation failed"); 616 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 617 _inner_error_ = _tmp1_; 618 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 619 if (_inner_error_->domain == G_IO_ERROR) { 620 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 621 g_propagate_error (error, _inner_error_); 622 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 623 return; 624 #line 625 "tracker-bus.c" 625 } else { 626 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 627 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 628 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 629 g_clear_error (&_inner_error_); 630 #line 33 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 631 return; 632 #line 633 "tracker-bus.c" 633 } 634 } 635 #line 35 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 636 _tmp2_ = pipefd[0]; 637 #line 35 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 638 _tmp3_ = (GUnixInputStream*) g_unix_input_stream_new (_tmp2_, TRUE); 639 #line 35 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 640 _g_object_unref0 (_vala_input); 641 #line 35 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 642 _vala_input = _tmp3_; 643 #line 36 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 644 _tmp4_ = pipefd[1]; 645 #line 36 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 646 _tmp5_ = (GUnixOutputStream*) g_unix_output_stream_new (_tmp4_, TRUE); 647 #line 36 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 648 _g_object_unref0 (_vala_output); 649 #line 36 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 650 _vala_output = _tmp5_; 651 #line 30 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 652 if (input) { 653 #line 30 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 654 *input = _vala_input; 655 #line 656 "tracker-bus.c" 656 } else { 657 #line 30 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 658 _g_object_unref0 (_vala_input); 659 #line 660 "tracker-bus.c" 660 } 661 #line 30 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 662 if (output) { 663 #line 30 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 664 *output = _vala_output; 665 #line 666 "tracker-bus.c" 666 } else { 667 #line 30 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 668 _g_object_unref0 (_vala_output); 669 #line 670 "tracker-bus.c" 670 } 671 } 672 673 674 static gpointer _g_error_copy0 (gpointer self) { 675 #line 43 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 676 return self ? g_error_copy (self) : NULL; 677 #line 678 "tracker-bus.c" 678 } 679 680 681 static void tracker_bus_connection_handle_error_reply (TrackerBusConnection* self, GDBusMessage* message, GError** error) { 682 GError * _inner_error_ = NULL; 683 #line 39 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 684 g_return_if_fail (self != NULL); 685 #line 39 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 686 g_return_if_fail (message != NULL); 687 #line 688 "tracker-bus.c" 688 { 689 GDBusMessage* _tmp0_; 690 #line 41 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 691 _tmp0_ = message; 692 #line 41 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 693 g_dbus_message_to_gerror (_tmp0_, &_inner_error_); 694 #line 41 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 695 if (_inner_error_ != NULL) { 696 #line 41 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 697 if (_inner_error_->domain == G_IO_ERROR) { 698 #line 699 "tracker-bus.c" 699 goto __catch0_g_io_error; 700 } 701 #line 41 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 702 if (_inner_error_->domain == TRACKER_SPARQL_ERROR) { 703 #line 704 "tracker-bus.c" 704 goto __catch0_tracker_sparql_error; 705 } 706 #line 41 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 707 if (_inner_error_->domain == G_DBUS_ERROR) { 708 #line 709 "tracker-bus.c" 709 goto __catch0_g_dbus_error; 710 } 711 goto __catch0_g_error; 712 } 713 } 714 goto __finally0; 715 __catch0_g_io_error: 716 { 717 GError* e_io = NULL; 718 GError* _tmp1_; 719 GError* _tmp2_; 720 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 721 e_io = _inner_error_; 722 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 723 _inner_error_ = NULL; 724 #line 43 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 725 _tmp1_ = e_io; 726 #line 43 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 727 _tmp2_ = _g_error_copy0 (_tmp1_); 728 #line 43 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 729 _inner_error_ = _tmp2_; 730 #line 43 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 731 _g_error_free0 (e_io); 732 #line 733 "tracker-bus.c" 733 goto __finally0; 734 } 735 goto __finally0; 736 __catch0_tracker_sparql_error: 737 { 738 GError* e_sparql = NULL; 739 GError* _tmp3_; 740 GError* _tmp4_; 741 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 742 e_sparql = _inner_error_; 743 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 744 _inner_error_ = NULL; 745 #line 45 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 746 _tmp3_ = e_sparql; 747 #line 45 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 748 _tmp4_ = _g_error_copy0 (_tmp3_); 749 #line 45 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 750 _inner_error_ = _tmp4_; 751 #line 45 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 752 _g_error_free0 (e_sparql); 753 #line 754 "tracker-bus.c" 754 goto __finally0; 755 } 756 goto __finally0; 757 __catch0_g_dbus_error: 758 { 759 GError* e_dbus = NULL; 760 GError* _tmp5_; 761 GError* _tmp6_; 762 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 763 e_dbus = _inner_error_; 764 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 765 _inner_error_ = NULL; 766 #line 47 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 767 _tmp5_ = e_dbus; 768 #line 47 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 769 _tmp6_ = _g_error_copy0 (_tmp5_); 770 #line 47 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 771 _inner_error_ = _tmp6_; 772 #line 47 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 773 _g_error_free0 (e_dbus); 774 #line 775 "tracker-bus.c" 775 goto __finally0; 776 } 777 goto __finally0; 778 __catch0_g_error: 779 { 780 GError* e = NULL; 781 GError* _tmp7_; 782 const gchar* _tmp8_; 783 GError* _tmp9_; 784 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 785 e = _inner_error_; 786 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 787 _inner_error_ = NULL; 788 #line 49 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 789 _tmp7_ = e; 790 #line 49 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 791 _tmp8_ = _tmp7_->message; 792 #line 49 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 793 _tmp9_ = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_FAILED, _tmp8_); 794 #line 49 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 795 _inner_error_ = _tmp9_; 796 #line 49 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 797 _g_error_free0 (e); 798 #line 799 "tracker-bus.c" 799 goto __finally0; 800 } 801 __finally0: 802 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 803 if (_inner_error_ != NULL) { 804 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 805 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 806 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 807 g_propagate_error (error, _inner_error_); 808 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 809 return; 810 #line 811 "tracker-bus.c" 811 } else { 812 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 813 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 814 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 815 g_clear_error (&_inner_error_); 816 #line 40 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 817 return; 818 #line 819 "tracker-bus.c" 819 } 820 } 821 } 822 823 824 static void tracker_bus_connection_send_query (TrackerBusConnection* self, const gchar* sparql, GUnixOutputStream* output, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error) { 825 GDBusMessage* _tmp0_; 826 GDBusMessage* message; 827 GUnixFDList* _tmp1_; 828 GUnixFDList* fd_list; 829 GUnixOutputStream* _tmp2_; 830 gint _tmp3_; 831 gint _tmp4_; 832 gint _tmp5_ = 0; 833 gint _tmp6_; 834 const gchar* _tmp7_; 835 GVariant* _tmp8_; 836 GVariant* _tmp9_; 837 GDBusConnection* _tmp10_; 838 gint _tmp11_; 839 GCancellable* _tmp12_; 840 GAsyncReadyCallback _tmp13_; 841 void* _tmp13__target; 842 GError * _inner_error_ = NULL; 843 #line 53 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 844 g_return_if_fail (self != NULL); 845 #line 53 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 846 g_return_if_fail (sparql != NULL); 847 #line 53 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 848 g_return_if_fail (output != NULL); 849 #line 54 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 850 _tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STEROIDS, TRACKER_DBUS_INTERFACE_STEROIDS, "Query"); 851 #line 54 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 852 message = _tmp0_; 853 #line 55 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 854 _tmp1_ = g_unix_fd_list_new (); 855 #line 55 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 856 fd_list = _tmp1_; 857 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 858 _tmp2_ = output; 859 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 860 _tmp3_ = g_unix_output_stream_get_fd (_tmp2_); 861 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 862 _tmp4_ = _tmp3_; 863 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 864 _tmp5_ = g_unix_fd_list_append (fd_list, _tmp4_, &_inner_error_); 865 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 866 _tmp6_ = _tmp5_; 867 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 868 if (_inner_error_ != NULL) { 869 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 870 if (_inner_error_->domain == G_IO_ERROR) { 871 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 872 g_propagate_error (error, _inner_error_); 873 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 874 _g_object_unref0 (fd_list); 875 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 876 _g_object_unref0 (message); 877 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 878 return; 879 #line 880 "tracker-bus.c" 880 } else { 881 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 882 _g_object_unref0 (fd_list); 883 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 884 _g_object_unref0 (message); 885 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 886 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 887 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 888 g_clear_error (&_inner_error_); 889 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 890 return; 891 #line 892 "tracker-bus.c" 892 } 893 } 894 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 895 _tmp7_ = sparql; 896 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 897 _tmp8_ = g_variant_new ("(sh)", _tmp7_, _tmp6_, NULL); 898 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 899 g_variant_ref_sink (_tmp8_); 900 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 901 _tmp9_ = _tmp8_; 902 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 903 g_dbus_message_set_body (message, _tmp9_); 904 #line 56 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 905 _g_variant_unref0 (_tmp9_); 906 #line 57 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 907 g_dbus_message_set_unix_fd_list (message, fd_list); 908 #line 59 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 909 _tmp10_ = self->priv->bus; 910 #line 59 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 911 _tmp11_ = G_MAXINT; 912 #line 59 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 913 _tmp12_ = cancellable; 914 #line 59 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 915 _tmp13_ = callback; 916 #line 59 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 917 _tmp13__target = callback_target; 918 #line 59 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 919 g_dbus_connection_send_message_with_reply (_tmp10_, message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp11_, NULL, _tmp12_, _tmp13_, _tmp13__target); 920 #line 53 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 921 _g_object_unref0 (fd_list); 922 #line 53 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 923 _g_object_unref0 (message); 924 #line 925 "tracker-bus.c" 925 } 926 927 928 static Block1Data* block1_data_ref (Block1Data* _data1_) { 929 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 930 g_atomic_int_inc (&_data1_->_ref_count_); 931 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 932 return _data1_; 933 #line 934 "tracker-bus.c" 934 } 935 936 937 static void block1_data_unref (void * _userdata_) { 938 Block1Data* _data1_; 939 _data1_ = (Block1Data*) _userdata_; 940 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 941 if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) { 942 #line 943 "tracker-bus.c" 943 TrackerBusConnection * self; 944 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 945 self = _data1_->self; 946 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 947 _g_object_unref0 (_data1_->async_res); 948 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 949 _g_main_loop_unref0 (_data1_->loop); 950 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 951 _g_object_unref0 (self); 952 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 953 g_slice_free (Block1Data, _data1_); 954 #line 955 "tracker-bus.c" 955 } 956 } 957 958 959 static gpointer _g_object_ref0 (gpointer self) { 960 #line 69 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 961 return self ? g_object_ref (self) : NULL; 962 #line 963 "tracker-bus.c" 963 } 964 965 966 static void __lambda3_ (Block1Data* _data1_, GObject* o, GAsyncResult* res) { 967 TrackerBusConnection * self;
variable 'self' set but not used
(emitted by gcc)
968 GAsyncResult* _tmp0_; 969 GAsyncResult* _tmp1_; 970 #line 68 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 971 self = _data1_->self;
Value stored to 'self' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

972 #line 68 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 973 g_return_if_fail (res != NULL); 974 #line 69 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 975 _tmp0_ = res; 976 #line 69 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 977 _tmp1_ = _g_object_ref0 (_tmp0_); 978 #line 69 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 979 _g_object_unref0 (_data1_->async_res); 980 #line 69 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 981 _data1_->async_res = _tmp1_; 982 #line 70 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 983 g_main_loop_quit (_data1_->loop); 984 #line 985 "tracker-bus.c" 985 } 986 987 988 static void ___lambda3__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) { 989 #line 68 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 990 __lambda3_ (self, source_object, res); 991 #line 68 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 992 block1_data_unref (self); 993 #line 994 "tracker-bus.c" 994 } 995 996 997 static TrackerSparqlCursor* tracker_bus_connection_real_query (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GError** error) { 998 TrackerBusConnection * self; 999 TrackerSparqlCursor* result = NULL; 1000 Block1Data* _data1_; 1001 GMainContext* _tmp0_; 1002 GMainContext* context; 1003 GMainLoop* _tmp1_; 1004 const gchar* _tmp2_; 1005 GCancellable* _tmp3_; 1006 TrackerSparqlCursor* _tmp4_ = NULL; 1007 TrackerSparqlCursor* _tmp5_; 1008 GError * _inner_error_ = NULL; 1009 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1010 self = (TrackerBusConnection*) base; 1011 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1012 g_return_val_if_fail (sparql != NULL, NULL); 1013 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1014 _data1_ = g_slice_new0 (Block1Data); 1015 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1016 _data1_->_ref_count_ = 1; 1017 #line 62 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1018 _data1_->self = g_object_ref (self); 1019 #line 64 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1020 _tmp0_ = g_main_context_new (); 1021 #line 64 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1022 context = _tmp0_; 1023 #line 65 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1024 _tmp1_ = g_main_loop_new (context, FALSE); 1025 #line 65 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1026 _data1_->loop = _tmp1_; 1027 #line 66 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1028 g_main_context_push_thread_default (context); 1029 #line 67 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1030 _data1_->async_res = NULL; 1031 #line 68 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1032 _tmp2_ = sparql; 1033 #line 68 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1034 _tmp3_ = cancellable; 1035 #line 68 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1036 tracker_sparql_connection_query_async ((TrackerSparqlConnection*) self, _tmp2_, _tmp3_, ___lambda3__gasync_ready_callback, block1_data_ref (_data1_)); 1037 #line 72 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1038 g_main_loop_run (_data1_->loop); 1039 #line 73 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1040 g_main_context_pop_thread_default (context); 1041 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1042 _tmp4_ = tracker_sparql_connection_query_finish ((TrackerSparqlConnection*) self, _data1_->async_res, &_inner_error_); 1043 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1044 _tmp5_ = _tmp4_; 1045 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1046 if (_inner_error_ != NULL) { 1047 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1048 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 1049 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1050 g_propagate_error (error, _inner_error_); 1051 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1052 _g_main_context_unref0 (context); 1053 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1054 block1_data_unref (_data1_); 1055 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1056 _data1_ = NULL; 1057 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1058 return NULL; 1059 #line 1060 "tracker-bus.c" 1060 } else { 1061 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1062 _g_main_context_unref0 (context); 1063 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1064 block1_data_unref (_data1_); 1065 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1066 _data1_ = NULL; 1067 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1068 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 1069 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1070 g_clear_error (&_inner_error_); 1071 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1072 return NULL; 1073 #line 1074 "tracker-bus.c" 1074 } 1075 } 1076 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1077 result = _tmp5_; 1078 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1079 _g_main_context_unref0 (context); 1080 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1081 block1_data_unref (_data1_); 1082 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1083 _data1_ = NULL; 1084 #line 74 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1085 return result; 1086 #line 1087 "tracker-bus.c" 1087 } 1088 1089 1090 static void tracker_bus_connection_real_query_async_data_free (gpointer _data) { 1091 TrackerBusConnectionQueryAsyncData* _data_; 1092 _data_ = _data; 1093 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1094 _g_free0 (_data_->sparql); 1095 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1096 _g_object_unref0 (_data_->cancellable); 1097 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1098 _g_object_unref0 (_data_->result); 1099 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1100 _g_object_unref0 (_data_->self); 1101 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1102 g_slice_free (TrackerBusConnectionQueryAsyncData, _data_); 1103 #line 1104 "tracker-bus.c" 1104 } 1105 1106 1107 static void tracker_bus_connection_real_query_async (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) { 1108 TrackerBusConnection * self; 1109 TrackerBusConnectionQueryAsyncData* _data_; 1110 TrackerBusConnection* _tmp0_; 1111 const gchar* _tmp1_; 1112 gchar* _tmp2_; 1113 GCancellable* _tmp3_; 1114 GCancellable* _tmp4_; 1115 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1116 self = (TrackerBusConnection*) base; 1117 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1118 _data_ = g_slice_new0 (TrackerBusConnectionQueryAsyncData); 1119 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1120 _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_query_async); 1121 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1122 g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_query_async_data_free); 1123 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1124 _tmp0_ = _g_object_ref0 (self); 1125 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1126 _data_->self = _tmp0_; 1127 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1128 _tmp1_ = sparql; 1129 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1130 _tmp2_ = g_strdup (_tmp1_); 1131 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1132 _g_free0 (_data_->sparql); 1133 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1134 _data_->sparql = _tmp2_; 1135 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1136 _tmp3_ = cancellable; 1137 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1138 _tmp4_ = _g_object_ref0 (_tmp3_); 1139 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1140 _g_object_unref0 (_data_->cancellable); 1141 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1142 _data_->cancellable = _tmp4_; 1143 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1144 tracker_bus_connection_real_query_async_co (_data_); 1145 #line 1146 "tracker-bus.c" 1146 } 1147 1148 1149 static TrackerSparqlCursor* tracker_bus_connection_real_query_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) { 1150 TrackerSparqlCursor* result; 1151 TrackerBusConnectionQueryAsyncData* _data_; 1152 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1153 if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { 1154 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1155 return NULL; 1156 #line 1157 "tracker-bus.c" 1157 } 1158 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1159 _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); 1160 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1161 result = _data_->result; 1162 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1163 _data_->result = NULL; 1164 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1165 return result; 1166 #line 1167 "tracker-bus.c" 1167 } 1168 1169 1170 static Block2Data* block2_data_ref (Block2Data* _data2_) { 1171 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1172 g_atomic_int_inc (&_data2_->_ref_count_); 1173 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1174 return _data2_; 1175 #line 1176 "tracker-bus.c" 1176 } 1177 1178 1179 static void block2_data_unref (void * _userdata_) { 1180 Block2Data* _data2_; 1181 _data2_ = (Block2Data*) _userdata_; 1182 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1183 if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) { 1184 #line 1185 "tracker-bus.c" 1185 TrackerBusConnection * self; 1186 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1187 self = _data2_->self; 1188 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1189 _g_object_unref0 (_data2_->dbus_res); 1190 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1191 _g_object_unref0 (self); 1192 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1193 g_slice_free (Block2Data, _data2_); 1194 #line 1195 "tracker-bus.c" 1195 } 1196 } 1197 1198 1199 static void __lambda2_ (Block2Data* _data2_, GObject* o, GAsyncResult* res) { 1200 TrackerBusConnection * self;
variable 'self' set but not used
(emitted by gcc)
1201 GAsyncResult* _tmp0_; 1202 GAsyncResult* _tmp1_; 1203 gboolean _tmp2_; 1204 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1205 self = _data2_->self;
Value stored to 'self' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

1206 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1207 g_return_if_fail (res != NULL); 1208 #line 86 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1209 _tmp0_ = res; 1210 #line 86 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1211 _tmp1_ = _g_object_ref0 (_tmp0_); 1212 #line 86 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1213 _g_object_unref0 (_data2_->dbus_res); 1214 #line 86 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1215 _data2_->dbus_res = _tmp1_; 1216 #line 87 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1217 _tmp2_ = _data2_->received_result; 1218 #line 87 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1219 if (_tmp2_) { 1220 #line 88 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1221 tracker_bus_connection_real_query_async_co (_data2_->_async_data_); 1222 #line 1223 "tracker-bus.c" 1223 } 1224 } 1225 1226 1227 static void ___lambda2__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) { 1228 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1229 __lambda2_ (self, source_object, res); 1230 #line 1231 "tracker-bus.c" 1231 } 1232 1233 1234 static void* _g_realloc_grealloc_func (void* data, gsize size) { 1235 void* result; 1236 result = g_realloc (data, size); 1237 #line 95 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1238 return result; 1239 #line 1240 "tracker-bus.c" 1240 } 1241 1242 1243 static void _g_free_gdestroy_notify (void* data) { 1244 #line 95 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1245 g_free (data); 1246 #line 1247 "tracker-bus.c" 1247 } 1248 1249 1250 static void tracker_bus_connection_query_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { 1251 TrackerBusConnectionQueryAsyncData* _data_; 1252 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1253 _data_ = _user_data_; 1254 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1255 _data_->_source_object_ = source_object; 1256 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1257 _data_->_res_ = _res_; 1258 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1259 tracker_bus_connection_real_query_async_co (_data_); 1260 #line 1261 "tracker-bus.c" 1261 } 1262 1263 1264 static gchar** _variant_get1 (GVariant* value, int* result_length1) { 1265 gchar** _tmp19_; 1266 int _tmp19__length; 1267 int _tmp19__size; 1268 int _tmp19__length1; 1269 GVariantIter _tmp20_; 1270 GVariant* _tmp21_; 1271 _tmp19_ = g_new (gchar*, 5); 1272 _tmp19__length = 0; 1273 _tmp19__size = 4; 1274 _tmp19__length1 = 0; 1275 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1276 g_variant_iter_init (&_tmp20_, value); 1277 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1278 for (; (_tmp21_ = g_variant_iter_next_value (&_tmp20_)) != NULL; _tmp19__length1++) { 1279 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1280 if (_tmp19__size == _tmp19__length) { 1281 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1282 _tmp19__size = 2 * _tmp19__size; 1283 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1284 _tmp19_ = g_renew (gchar*, _tmp19_, _tmp19__size + 1); 1285 #line 1286 "tracker-bus.c" 1286 } 1287 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1288 _tmp19_[_tmp19__length++] = g_variant_dup_string (_tmp21_, NULL); 1289 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1290 g_variant_unref (_tmp21_); 1291 #line 1292 "tracker-bus.c" 1292 } 1293 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1294 *result_length1 = _tmp19__length1; 1295 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1296 _tmp19_[_tmp19__length] = NULL; 1297 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1298 return _tmp19_; 1299 #line 1300 "tracker-bus.c" 1300 } 1301 1302 1303 static gboolean tracker_bus_connection_real_query_async_co (TrackerBusConnectionQueryAsyncData* _data_) { 1304 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1305 switch (_data_->_state_) { 1306 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1307 case 0: 1308 #line 1309 "tracker-bus.c" 1309 goto _state_0; 1310 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1311 case 1: 1312 #line 1313 "tracker-bus.c" 1313 goto _state_1; 1314 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1315 case 2: 1316 #line 1317 "tracker-bus.c" 1317 goto _state_2; 1318 default: 1319 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1320 g_assert_not_reached (); 1321 #line 1322 "tracker-bus.c" 1322 } 1323 _state_0: 1324 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1325 _data_->_data2_ = g_slice_new0 (Block2Data); 1326 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1327 _data_->_data2_->_ref_count_ = 1; 1328 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1329 _data_->_data2_->self = g_object_ref (_data_->self); 1330 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1331 _data_->_data2_->_async_data_ = _data_; 1332 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1333 _data_->_tmp0_ = NULL; 1334 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1335 _data_->_tmp1_ = NULL; 1336 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1337 tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_); 1338 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1339 _g_object_unref0 (_data_->input); 1340 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1341 _data_->input = _data_->_tmp0_; 1342 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1343 _g_object_unref0 (_data_->output); 1344 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1345 _data_->output = _data_->_tmp1_; 1346 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1347 if (_data_->_inner_error_ != NULL) { 1348 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1349 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 1350 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1351 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 1352 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1353 g_error_free (_data_->_inner_error_); 1354 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1355 _g_object_unref0 (_data_->output); 1356 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1357 _g_object_unref0 (_data_->input); 1358 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1359 block2_data_unref (_data_->_data2_); 1360 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1361 _data_->_data2_ = NULL; 1362 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1363 if (_data_->_state_ == 0) { 1364 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1365 g_simple_async_result_complete_in_idle (_data_->_async_result); 1366 #line 1367 "tracker-bus.c" 1367 } else { 1368 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1369 g_simple_async_result_complete (_data_->_async_result); 1370 #line 1371 "tracker-bus.c" 1371 } 1372 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1373 g_object_unref (_data_->_async_result); 1374 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1375 return FALSE; 1376 #line 1377 "tracker-bus.c" 1377 } else { 1378 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1379 _g_object_unref0 (_data_->output); 1380 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1381 _g_object_unref0 (_data_->input); 1382 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1383 block2_data_unref (_data_->_data2_); 1384 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1385 _data_->_data2_ = NULL; 1386 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1387 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 1388 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1389 g_clear_error (&_data_->_inner_error_); 1390 #line 80 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1391 return FALSE; 1392 #line 1393 "tracker-bus.c" 1393 } 1394 } 1395 #line 83 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1396 _data_->_data2_->dbus_res = NULL; 1397 #line 84 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1398 _data_->_data2_->received_result = FALSE; 1399 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1400 _data_->_tmp2_ = _data_->sparql; 1401 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1402 _data_->_tmp3_ = _data_->output; 1403 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1404 _data_->_tmp4_ = _data_->cancellable; 1405 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1406 tracker_bus_connection_send_query (_data_->self, _data_->_tmp2_, _data_->_tmp3_, _data_->_tmp4_, ___lambda2__gasync_ready_callback, _data_->_data2_, &_data_->_inner_error_); 1407 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1408 if (_data_->_inner_error_ != NULL) { 1409 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1410 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 1411 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1412 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 1413 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1414 g_error_free (_data_->_inner_error_); 1415 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1416 _g_object_unref0 (_data_->output); 1417 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1418 _g_object_unref0 (_data_->input); 1419 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1420 block2_data_unref (_data_->_data2_); 1421 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1422 _data_->_data2_ = NULL; 1423 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1424 if (_data_->_state_ == 0) { 1425 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1426 g_simple_async_result_complete_in_idle (_data_->_async_result); 1427 #line 1428 "tracker-bus.c" 1428 } else { 1429 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1430 g_simple_async_result_complete (_data_->_async_result); 1431 #line 1432 "tracker-bus.c" 1432 } 1433 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1434 g_object_unref (_data_->_async_result); 1435 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1436 return FALSE; 1437 #line 1438 "tracker-bus.c" 1438 } else { 1439 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1440 _g_object_unref0 (_data_->output); 1441 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1442 _g_object_unref0 (_data_->input); 1443 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1444 block2_data_unref (_data_->_data2_); 1445 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1446 _data_->_data2_ = NULL; 1447 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1448 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 1449 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1450 g_clear_error (&_data_->_inner_error_); 1451 #line 85 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1452 return FALSE; 1453 #line 1454 "tracker-bus.c" 1454 } 1455 } 1456 #line 92 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1457 _g_object_unref0 (_data_->output); 1458 #line 92 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1459 _data_->output = NULL; 1460 #line 95 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1461 _data_->_tmp5_ = (GMemoryOutputStream*) g_memory_output_stream_new (NULL, 0, _g_realloc_grealloc_func, _g_free_gdestroy_notify); 1462 #line 95 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1463 _data_->mem_stream = _data_->_tmp5_; 1464 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1465 _data_->_tmp6_ = _data_->mem_stream; 1466 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1467 _data_->_tmp7_ = _data_->input; 1468 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1469 _data_->_tmp8_ = _data_->cancellable; 1470 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1471 _data_->_state_ = 1; 1472 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1473 g_output_stream_splice_async ((GOutputStream*) _data_->_tmp6_, (GInputStream*) _data_->_tmp7_, G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE | G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET, G_PRIORITY_DEFAULT, _data_->_tmp8_, tracker_bus_connection_query_async_ready, _data_); 1474 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1475 return FALSE; 1476 #line 1477 "tracker-bus.c" 1477 _state_1: 1478 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1479 g_output_stream_splice_finish ((GOutputStream*) _data_->_tmp6_, _data_->_res_, &_data_->_inner_error_); 1480 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1481 if (_data_->_inner_error_ != NULL) { 1482 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1483 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 1484 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1485 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 1486 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1487 g_error_free (_data_->_inner_error_); 1488 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1489 _g_object_unref0 (_data_->mem_stream); 1490 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1491 _g_object_unref0 (_data_->output); 1492 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1493 _g_object_unref0 (_data_->input); 1494 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1495 block2_data_unref (_data_->_data2_); 1496 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1497 _data_->_data2_ = NULL; 1498 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1499 if (_data_->_state_ == 0) { 1500 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1501 g_simple_async_result_complete_in_idle (_data_->_async_result); 1502 #line 1503 "tracker-bus.c" 1503 } else { 1504 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1505 g_simple_async_result_complete (_data_->_async_result); 1506 #line 1507 "tracker-bus.c" 1507 } 1508 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1509 g_object_unref (_data_->_async_result); 1510 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1511 return FALSE; 1512 #line 1513 "tracker-bus.c" 1513 } else { 1514 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1515 _g_object_unref0 (_data_->mem_stream); 1516 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1517 _g_object_unref0 (_data_->output); 1518 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1519 _g_object_unref0 (_data_->input); 1520 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1521 block2_data_unref (_data_->_data2_); 1522 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1523 _data_->_data2_ = NULL; 1524 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1525 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 1526 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1527 g_clear_error (&_data_->_inner_error_); 1528 #line 96 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1529 return FALSE; 1530 #line 1531 "tracker-bus.c" 1531 } 1532 } 1533 #line 99 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1534 _data_->_data2_->received_result = TRUE; 1535 #line 100 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1536 _data_->_tmp9_ = _data_->_data2_->dbus_res; 1537 #line 100 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1538 if (_data_->_tmp9_ == NULL) { 1539 #line 101 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1540 _data_->_state_ = 2; 1541 #line 101 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1542 return FALSE; 1543 #line 1544 "tracker-bus.c" 1544 _state_2: 1545 ; 1546 } 1547 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1548 _data_->_tmp10_ = _data_->self->priv->bus; 1549 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1550 _data_->_tmp11_ = _data_->_data2_->dbus_res; 1551 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1552 _data_->_tmp12_ = NULL; 1553 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1554 _data_->_tmp12_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp10_, _data_->_tmp11_, &_data_->_inner_error_); 1555 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1556 _data_->reply = _data_->_tmp12_; 1557 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1558 if (_data_->_inner_error_ != NULL) { 1559 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1560 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 1561 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1562 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 1563 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1564 g_error_free (_data_->_inner_error_); 1565 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1566 _g_object_unref0 (_data_->mem_stream); 1567 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1568 _g_object_unref0 (_data_->output); 1569 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1570 _g_object_unref0 (_data_->input); 1571 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1572 block2_data_unref (_data_->_data2_); 1573 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1574 _data_->_data2_ = NULL; 1575 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1576 if (_data_->_state_ == 0) { 1577 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1578 g_simple_async_result_complete_in_idle (_data_->_async_result); 1579 #line 1580 "tracker-bus.c" 1580 } else { 1581 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1582 g_simple_async_result_complete (_data_->_async_result); 1583 #line 1584 "tracker-bus.c" 1584 } 1585 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1586 g_object_unref (_data_->_async_result); 1587 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1588 return FALSE; 1589 #line 1590 "tracker-bus.c" 1590 } else { 1591 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1592 _g_object_unref0 (_data_->mem_stream); 1593 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1594 _g_object_unref0 (_data_->output); 1595 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1596 _g_object_unref0 (_data_->input); 1597 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1598 block2_data_unref (_data_->_data2_); 1599 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1600 _data_->_data2_ = NULL; 1601 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1602 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 1603 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1604 g_clear_error (&_data_->_inner_error_); 1605 #line 104 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1606 return FALSE; 1607 #line 1608 "tracker-bus.c" 1608 } 1609 } 1610 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1611 _data_->_tmp13_ = _data_->reply; 1612 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1613 tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp13_, &_data_->_inner_error_); 1614 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1615 if (_data_->_inner_error_ != NULL) { 1616 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1617 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 1618 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1619 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 1620 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1621 g_error_free (_data_->_inner_error_); 1622 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1623 _g_object_unref0 (_data_->reply); 1624 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1625 _g_object_unref0 (_data_->mem_stream); 1626 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1627 _g_object_unref0 (_data_->output); 1628 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1629 _g_object_unref0 (_data_->input); 1630 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1631 block2_data_unref (_data_->_data2_); 1632 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1633 _data_->_data2_ = NULL; 1634 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1635 if (_data_->_state_ == 0) { 1636 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1637 g_simple_async_result_complete_in_idle (_data_->_async_result); 1638 #line 1639 "tracker-bus.c" 1639 } else { 1640 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1641 g_simple_async_result_complete (_data_->_async_result); 1642 #line 1643 "tracker-bus.c" 1643 } 1644 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1645 g_object_unref (_data_->_async_result); 1646 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1647 return FALSE; 1648 #line 1649 "tracker-bus.c" 1649 } else { 1650 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1651 _g_object_unref0 (_data_->reply); 1652 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1653 _g_object_unref0 (_data_->mem_stream); 1654 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1655 _g_object_unref0 (_data_->output); 1656 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1657 _g_object_unref0 (_data_->input); 1658 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1659 block2_data_unref (_data_->_data2_); 1660 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1661 _data_->_data2_ = NULL; 1662 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1663 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 1664 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1665 g_clear_error (&_data_->_inner_error_); 1666 #line 105 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1667 return FALSE; 1668 #line 1669 "tracker-bus.c" 1669 } 1670 } 1671 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1672 _data_->_tmp14_ = _data_->reply; 1673 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1674 _data_->_tmp15_ = NULL; 1675 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1676 _data_->_tmp15_ = g_dbus_message_get_body (_data_->_tmp14_); 1677 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1678 _data_->_tmp16_ = NULL; 1679 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1680 _data_->_tmp16_ = g_variant_get_child_value (_data_->_tmp15_, (gsize) 0); 1681 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1682 _data_->_tmp17_ = _data_->_tmp16_; 1683 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1684 _data_->_tmp18_ = _variant_get1 (_data_->_tmp17_, &_data_->_tmp18__length1); 1685 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1686 _data_->_tmp22_ = _data_->_tmp18_; 1687 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1688 _data_->_tmp22__length1 = _data_->_tmp18__length1; 1689 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1690 _g_variant_unref0 (_data_->_tmp17_); 1691 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1692 _data_->variable_names = _data_->_tmp22_; 1693 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1694 _data_->variable_names_length1 = _data_->_tmp22__length1; 1695 #line 107 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1696 _data_->_variable_names_size_ = _data_->variable_names_length1; 1697 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1698 _data_->_tmp23_ = _data_->mem_stream; 1699 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1700 g_output_stream_close ((GOutputStream*) _data_->_tmp23_, NULL, &_data_->_inner_error_); 1701 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1702 if (_data_->_inner_error_ != NULL) { 1703 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1704 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 1705 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1706 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 1707 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1708 g_error_free (_data_->_inner_error_); 1709 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1710 _data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL); 1711 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1712 _g_object_unref0 (_data_->reply); 1713 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1714 _g_object_unref0 (_data_->mem_stream); 1715 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1716 _g_object_unref0 (_data_->output); 1717 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1718 _g_object_unref0 (_data_->input); 1719 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1720 block2_data_unref (_data_->_data2_); 1721 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1722 _data_->_data2_ = NULL; 1723 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1724 if (_data_->_state_ == 0) { 1725 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1726 g_simple_async_result_complete_in_idle (_data_->_async_result); 1727 #line 1728 "tracker-bus.c" 1728 } else { 1729 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1730 g_simple_async_result_complete (_data_->_async_result); 1731 #line 1732 "tracker-bus.c" 1732 } 1733 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1734 g_object_unref (_data_->_async_result); 1735 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1736 return FALSE; 1737 #line 1738 "tracker-bus.c" 1738 } else { 1739 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1740 _data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL); 1741 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1742 _g_object_unref0 (_data_->reply); 1743 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1744 _g_object_unref0 (_data_->mem_stream); 1745 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1746 _g_object_unref0 (_data_->output); 1747 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1748 _g_object_unref0 (_data_->input); 1749 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1750 block2_data_unref (_data_->_data2_); 1751 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1752 _data_->_data2_ = NULL; 1753 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1754 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 1755 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1756 g_clear_error (&_data_->_inner_error_); 1757 #line 108 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1758 return FALSE; 1759 #line 1760 "tracker-bus.c" 1760 } 1761 } 1762 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1763 _data_->_tmp24_ = _data_->mem_stream; 1764 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1765 _data_->_tmp25_ = NULL; 1766 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1767 _data_->_tmp25_ = g_memory_output_stream_steal_data (_data_->_tmp24_); 1768 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1769 _data_->_tmp26_ = _data_->mem_stream; 1770 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1771 _data_->_tmp27_ = g_memory_output_stream_get_data_size (_data_->_tmp26_); 1772 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1773 _data_->_tmp28_ = _data_->_tmp27_; 1774 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1775 _data_->_tmp29_ = _data_->variable_names; 1776 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1777 _data_->_tmp29__length1 = _data_->variable_names_length1; 1778 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1779 _data_->_tmp30_ = tracker_bus_fd_cursor_new (_data_->_tmp25_, _data_->_tmp28_, _data_->_tmp29_, _data_->_tmp29__length1); 1780 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1781 _data_->result = (TrackerSparqlCursor*) _data_->_tmp30_; 1782 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1783 _data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL); 1784 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1785 _g_object_unref0 (_data_->reply); 1786 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1787 _g_object_unref0 (_data_->mem_stream); 1788 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1789 _g_object_unref0 (_data_->output); 1790 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1791 _g_object_unref0 (_data_->input); 1792 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1793 block2_data_unref (_data_->_data2_); 1794 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1795 _data_->_data2_ = NULL; 1796 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1797 if (_data_->_state_ == 0) { 1798 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1799 g_simple_async_result_complete_in_idle (_data_->_async_result); 1800 #line 1801 "tracker-bus.c" 1801 } else { 1802 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1803 g_simple_async_result_complete (_data_->_async_result); 1804 #line 1805 "tracker-bus.c" 1805 } 1806 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1807 g_object_unref (_data_->_async_result); 1808 #line 109 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1809 return FALSE; 1810 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1811 _data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL); 1812 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1813 _g_object_unref0 (_data_->reply); 1814 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1815 _g_object_unref0 (_data_->mem_stream); 1816 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1817 _g_object_unref0 (_data_->output); 1818 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1819 _g_object_unref0 (_data_->input); 1820 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1821 block2_data_unref (_data_->_data2_); 1822 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1823 _data_->_data2_ = NULL; 1824 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1825 if (_data_->_state_ == 0) { 1826 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1827 g_simple_async_result_complete_in_idle (_data_->_async_result); 1828 #line 1829 "tracker-bus.c" 1829 } else { 1830 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1831 g_simple_async_result_complete (_data_->_async_result); 1832 #line 1833 "tracker-bus.c" 1833 } 1834 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1835 g_object_unref (_data_->_async_result); 1836 #line 77 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1837 return FALSE; 1838 #line 1839 "tracker-bus.c" 1839 } 1840 1841 1842 static void tracker_bus_connection_send_update (TrackerBusConnection* self, const gchar* method, GUnixInputStream* input, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error) { 1843 const gchar* _tmp0_; 1844 GDBusMessage* _tmp1_; 1845 GDBusMessage* message; 1846 GUnixFDList* _tmp2_; 1847 GUnixFDList* fd_list; 1848 GUnixInputStream* _tmp3_; 1849 gint _tmp4_; 1850 gint _tmp5_; 1851 gint _tmp6_ = 0; 1852 gint _tmp7_; 1853 GVariant* _tmp8_; 1854 GVariant* _tmp9_; 1855 GDBusConnection* _tmp10_; 1856 gint _tmp11_; 1857 GCancellable* _tmp12_; 1858 GAsyncReadyCallback _tmp13_; 1859 void* _tmp13__target; 1860 GError * _inner_error_ = NULL; 1861 #line 112 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1862 g_return_if_fail (self != NULL); 1863 #line 112 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1864 g_return_if_fail (method != NULL); 1865 #line 112 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1866 g_return_if_fail (input != NULL); 1867 #line 113 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1868 _tmp0_ = method; 1869 #line 113 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1870 _tmp1_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STEROIDS, TRACKER_DBUS_INTERFACE_STEROIDS, _tmp0_); 1871 #line 113 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1872 message = _tmp1_; 1873 #line 114 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1874 _tmp2_ = g_unix_fd_list_new (); 1875 #line 114 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1876 fd_list = _tmp2_; 1877 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1878 _tmp3_ = input; 1879 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1880 _tmp4_ = g_unix_input_stream_get_fd (_tmp3_); 1881 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1882 _tmp5_ = _tmp4_; 1883 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1884 _tmp6_ = g_unix_fd_list_append (fd_list, _tmp5_, &_inner_error_); 1885 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1886 _tmp7_ = _tmp6_; 1887 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1888 if (_inner_error_ != NULL) { 1889 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1890 if (_inner_error_->domain == G_IO_ERROR) { 1891 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1892 g_propagate_error (error, _inner_error_); 1893 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1894 _g_object_unref0 (fd_list); 1895 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1896 _g_object_unref0 (message); 1897 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1898 return; 1899 #line 1900 "tracker-bus.c" 1900 } else { 1901 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1902 _g_object_unref0 (fd_list); 1903 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1904 _g_object_unref0 (message); 1905 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1906 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 1907 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1908 g_clear_error (&_inner_error_); 1909 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1910 return; 1911 #line 1912 "tracker-bus.c" 1912 } 1913 } 1914 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1915 _tmp8_ = g_variant_new ("(h)", _tmp7_, NULL); 1916 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1917 g_variant_ref_sink (_tmp8_); 1918 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1919 _tmp9_ = _tmp8_; 1920 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1921 g_dbus_message_set_body (message, _tmp9_); 1922 #line 115 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1923 _g_variant_unref0 (_tmp9_); 1924 #line 116 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1925 g_dbus_message_set_unix_fd_list (message, fd_list); 1926 #line 118 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1927 _tmp10_ = self->priv->bus; 1928 #line 118 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1929 _tmp11_ = G_MAXINT; 1930 #line 118 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1931 _tmp12_ = cancellable; 1932 #line 118 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1933 _tmp13_ = callback; 1934 #line 118 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1935 _tmp13__target = callback_target; 1936 #line 118 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1937 g_dbus_connection_send_message_with_reply (_tmp10_, message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp11_, NULL, _tmp12_, _tmp13_, _tmp13__target); 1938 #line 112 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1939 _g_object_unref0 (fd_list); 1940 #line 112 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1941 _g_object_unref0 (message); 1942 #line 1943 "tracker-bus.c" 1943 } 1944 1945 1946 static Block3Data* block3_data_ref (Block3Data* _data3_) { 1947 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1948 g_atomic_int_inc (&_data3_->_ref_count_); 1949 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1950 return _data3_; 1951 #line 1952 "tracker-bus.c" 1952 } 1953 1954 1955 static void block3_data_unref (void * _userdata_) { 1956 Block3Data* _data3_; 1957 _data3_ = (Block3Data*) _userdata_; 1958 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1959 if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) { 1960 #line 1961 "tracker-bus.c" 1961 TrackerBusConnection * self; 1962 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1963 self = _data3_->self; 1964 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1965 _g_object_unref0 (_data3_->async_res); 1966 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1967 _g_main_loop_unref0 (_data3_->loop); 1968 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1969 _g_object_unref0 (self); 1970 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1971 g_slice_free (Block3Data, _data3_); 1972 #line 1973 "tracker-bus.c" 1973 } 1974 } 1975 1976 1977 static void __lambda5_ (Block3Data* _data3_, GObject* o, GAsyncResult* res) { 1978 TrackerBusConnection * self;
variable 'self' set but not used
(emitted by gcc)
1979 GAsyncResult* _tmp0_; 1980 GAsyncResult* _tmp1_; 1981 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1982 self = _data3_->self;
Value stored to 'self' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

1983 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1984 g_return_if_fail (res != NULL); 1985 #line 128 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1986 _tmp0_ = res; 1987 #line 128 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1988 _tmp1_ = _g_object_ref0 (_tmp0_); 1989 #line 128 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1990 _g_object_unref0 (_data3_->async_res); 1991 #line 128 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1992 _data3_->async_res = _tmp1_; 1993 #line 129 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 1994 g_main_loop_quit (_data3_->loop); 1995 #line 1996 "tracker-bus.c" 1996 } 1997 1998 1999 static void ___lambda5__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) { 2000 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2001 __lambda5_ (self, source_object, res); 2002 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2003 block3_data_unref (self); 2004 #line 2005 "tracker-bus.c" 2005 } 2006 2007 2008 static void tracker_bus_connection_real_update (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error) { 2009 TrackerBusConnection * self; 2010 Block3Data* _data3_; 2011 GMainContext* _tmp0_; 2012 GMainContext* context; 2013 GMainLoop* _tmp1_; 2014 const gchar* _tmp2_; 2015 gint _tmp3_; 2016 GCancellable* _tmp4_; 2017 GError * _inner_error_ = NULL; 2018 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2019 self = (TrackerBusConnection*) base; 2020 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2021 g_return_if_fail (sparql != NULL); 2022 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2023 _data3_ = g_slice_new0 (Block3Data); 2024 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2025 _data3_->_ref_count_ = 1; 2026 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2027 _data3_->self = g_object_ref (self); 2028 #line 123 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2029 _tmp0_ = g_main_context_new (); 2030 #line 123 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2031 context = _tmp0_; 2032 #line 124 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2033 _tmp1_ = g_main_loop_new (context, FALSE); 2034 #line 124 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2035 _data3_->loop = _tmp1_; 2036 #line 125 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2037 g_main_context_push_thread_default (context); 2038 #line 126 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2039 _data3_->async_res = NULL; 2040 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2041 _tmp2_ = sparql; 2042 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2043 _tmp3_ = priority; 2044 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2045 _tmp4_ = cancellable; 2046 #line 127 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2047 tracker_sparql_connection_update_async ((TrackerSparqlConnection*) self, _tmp2_, _tmp3_, _tmp4_, ___lambda5__gasync_ready_callback, block3_data_ref (_data3_)); 2048 #line 131 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2049 g_main_loop_run (_data3_->loop); 2050 #line 132 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2051 g_main_context_pop_thread_default (context); 2052 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2053 tracker_sparql_connection_update_finish ((TrackerSparqlConnection*) self, _data3_->async_res, &_inner_error_); 2054 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2055 if (_inner_error_ != NULL) { 2056 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2057 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 2058 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2059 g_propagate_error (error, _inner_error_); 2060 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2061 _g_main_context_unref0 (context); 2062 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2063 block3_data_unref (_data3_); 2064 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2065 _data3_ = NULL; 2066 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2067 return; 2068 #line 2069 "tracker-bus.c" 2069 } else { 2070 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2071 _g_main_context_unref0 (context); 2072 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2073 block3_data_unref (_data3_); 2074 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2075 _data3_ = NULL; 2076 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2077 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 2078 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2079 g_clear_error (&_inner_error_); 2080 #line 133 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2081 return; 2082 #line 2083 "tracker-bus.c" 2083 } 2084 } 2085 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2086 _g_main_context_unref0 (context); 2087 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2088 block3_data_unref (_data3_); 2089 #line 121 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2090 _data3_ = NULL; 2091 #line 2092 "tracker-bus.c" 2092 } 2093 2094 2095 static void tracker_bus_connection_real_update_async_data_free (gpointer _data) { 2096 TrackerBusConnectionUpdateAsyncData* _data_; 2097 _data_ = _data; 2098 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2099 _g_free0 (_data_->sparql); 2100 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2101 _g_object_unref0 (_data_->cancellable); 2102 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2103 _g_object_unref0 (_data_->self); 2104 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2105 g_slice_free (TrackerBusConnectionUpdateAsyncData, _data_); 2106 #line 2107 "tracker-bus.c" 2107 } 2108 2109 2110 static void tracker_bus_connection_real_update_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) { 2111 TrackerBusConnection * self; 2112 TrackerBusConnectionUpdateAsyncData* _data_; 2113 TrackerBusConnection* _tmp0_; 2114 const gchar* _tmp1_; 2115 gchar* _tmp2_; 2116 gint _tmp3_; 2117 GCancellable* _tmp4_; 2118 GCancellable* _tmp5_; 2119 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2120 self = (TrackerBusConnection*) base; 2121 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2122 _data_ = g_slice_new0 (TrackerBusConnectionUpdateAsyncData); 2123 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2124 _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_update_async); 2125 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2126 g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_update_async_data_free); 2127 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2128 _tmp0_ = _g_object_ref0 (self); 2129 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2130 _data_->self = _tmp0_; 2131 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2132 _tmp1_ = sparql; 2133 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2134 _tmp2_ = g_strdup (_tmp1_); 2135 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2136 _g_free0 (_data_->sparql); 2137 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2138 _data_->sparql = _tmp2_; 2139 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2140 _tmp3_ = priority; 2141 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2142 _data_->priority = _tmp3_; 2143 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2144 _tmp4_ = cancellable; 2145 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2146 _tmp5_ = _g_object_ref0 (_tmp4_); 2147 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2148 _g_object_unref0 (_data_->cancellable); 2149 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2150 _data_->cancellable = _tmp5_; 2151 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2152 tracker_bus_connection_real_update_async_co (_data_); 2153 #line 2154 "tracker-bus.c" 2154 } 2155 2156 2157 static void tracker_bus_connection_real_update_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) { 2158 TrackerBusConnectionUpdateAsyncData* _data_;
variable '_data_' set but not used
(emitted by gcc)
2159 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2160 if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { 2161 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2162 return; 2163 #line 2164 "tracker-bus.c" 2164 } 2165 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2166 _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
Value stored to '_data_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

2167 #line 2168 "tracker-bus.c" 2168 } 2169 2170 2171 static Block4Data* block4_data_ref (Block4Data* _data4_) { 2172 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2173 g_atomic_int_inc (&_data4_->_ref_count_); 2174 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2175 return _data4_; 2176 #line 2177 "tracker-bus.c" 2177 } 2178 2179 2180 static void block4_data_unref (void * _userdata_) { 2181 Block4Data* _data4_; 2182 _data4_ = (Block4Data*) _userdata_; 2183 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2184 if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) { 2185 #line 2186 "tracker-bus.c" 2186 TrackerBusConnection * self; 2187 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2188 self = _data4_->self; 2189 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2190 _g_object_unref0 (_data4_->dbus_res); 2191 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2192 _g_object_unref0 (self); 2193 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2194 g_slice_free (Block4Data, _data4_); 2195 #line 2196 "tracker-bus.c" 2196 } 2197 } 2198 2199 2200 static void __lambda4_ (Block4Data* _data4_, GObject* o, GAsyncResult* res) { 2201 TrackerBusConnection * self;
variable 'self' set but not used
(emitted by gcc)
2202 GAsyncResult* _tmp0_; 2203 GAsyncResult* _tmp1_; 2204 gboolean _tmp2_; 2205 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2206 self = _data4_->self;
Value stored to 'self' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

2207 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2208 g_return_if_fail (res != NULL); 2209 #line 145 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2210 _tmp0_ = res; 2211 #line 145 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2212 _tmp1_ = _g_object_ref0 (_tmp0_); 2213 #line 145 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2214 _g_object_unref0 (_data4_->dbus_res); 2215 #line 145 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2216 _data4_->dbus_res = _tmp1_; 2217 #line 146 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2218 _tmp2_ = _data4_->sent_update; 2219 #line 146 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2220 if (_tmp2_) { 2221 #line 147 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2222 tracker_bus_connection_real_update_async_co (_data4_->_async_data_); 2223 #line 2224 "tracker-bus.c" 2224 } 2225 } 2226 2227 2228 static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) { 2229 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2230 __lambda4_ (self, source_object, res); 2231 #line 2232 "tracker-bus.c" 2232 } 2233 2234 2235 static gboolean tracker_bus_connection_real_update_async_co (TrackerBusConnectionUpdateAsyncData* _data_) { 2236 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2237 switch (_data_->_state_) { 2238 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2239 case 0: 2240 #line 2241 "tracker-bus.c" 2241 goto _state_0; 2242 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2243 case 1: 2244 #line 2245 "tracker-bus.c" 2245 goto _state_1; 2246 default: 2247 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2248 g_assert_not_reached (); 2249 #line 2250 "tracker-bus.c" 2250 } 2251 _state_0: 2252 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2253 _data_->_data4_ = g_slice_new0 (Block4Data); 2254 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2255 _data_->_data4_->_ref_count_ = 1; 2256 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2257 _data_->_data4_->self = g_object_ref (_data_->self); 2258 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2259 _data_->_data4_->_async_data_ = _data_; 2260 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2261 _data_->_tmp0_ = NULL; 2262 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2263 _data_->_tmp1_ = NULL; 2264 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2265 tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_); 2266 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2267 _g_object_unref0 (_data_->input); 2268 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2269 _data_->input = _data_->_tmp0_; 2270 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2271 _g_object_unref0 (_data_->output); 2272 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2273 _data_->output = _data_->_tmp1_; 2274 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2275 if (_data_->_inner_error_ != NULL) { 2276 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2277 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2278 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2279 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2280 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2281 g_error_free (_data_->_inner_error_); 2282 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2283 _g_object_unref0 (_data_->output); 2284 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2285 _g_object_unref0 (_data_->input); 2286 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2287 block4_data_unref (_data_->_data4_); 2288 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2289 _data_->_data4_ = NULL; 2290 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2291 if (_data_->_state_ == 0) { 2292 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2293 g_simple_async_result_complete_in_idle (_data_->_async_result); 2294 #line 2295 "tracker-bus.c" 2295 } else { 2296 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2297 g_simple_async_result_complete (_data_->_async_result); 2298 #line 2299 "tracker-bus.c" 2299 } 2300 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2301 g_object_unref (_data_->_async_result); 2302 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2303 return FALSE; 2304 #line 2305 "tracker-bus.c" 2305 } else { 2306 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2307 _g_object_unref0 (_data_->output); 2308 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2309 _g_object_unref0 (_data_->input); 2310 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2311 block4_data_unref (_data_->_data4_); 2312 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2313 _data_->_data4_ = NULL; 2314 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2315 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2316 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2317 g_clear_error (&_data_->_inner_error_); 2318 #line 139 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2319 return FALSE; 2320 #line 2321 "tracker-bus.c" 2321 } 2322 } 2323 #line 142 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2324 _data_->_data4_->dbus_res = NULL; 2325 #line 143 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2326 _data_->_data4_->sent_update = FALSE; 2327 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2328 _data_->_tmp3_ = _data_->priority; 2329 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2330 if (_data_->_tmp3_ <= G_PRIORITY_DEFAULT) { 2331 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2332 _data_->_tmp2_ = "Update"; 2333 #line 2334 "tracker-bus.c" 2334 } else { 2335 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2336 _data_->_tmp2_ = "BatchUpdate"; 2337 #line 2338 "tracker-bus.c" 2338 } 2339 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2340 _data_->_tmp4_ = _data_->_tmp2_; 2341 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2342 _data_->_tmp5_ = _data_->input; 2343 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2344 _data_->_tmp6_ = _data_->cancellable; 2345 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2346 tracker_bus_connection_send_update (_data_->self, _data_->_tmp4_, _data_->_tmp5_, _data_->_tmp6_, ___lambda4__gasync_ready_callback, _data_->_data4_, &_data_->_inner_error_); 2347 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2348 if (_data_->_inner_error_ != NULL) { 2349 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2350 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2351 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2352 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2353 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2354 g_error_free (_data_->_inner_error_); 2355 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2356 _g_object_unref0 (_data_->output); 2357 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2358 _g_object_unref0 (_data_->input); 2359 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2360 block4_data_unref (_data_->_data4_); 2361 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2362 _data_->_data4_ = NULL; 2363 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2364 if (_data_->_state_ == 0) { 2365 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2366 g_simple_async_result_complete_in_idle (_data_->_async_result); 2367 #line 2368 "tracker-bus.c" 2368 } else { 2369 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2370 g_simple_async_result_complete (_data_->_async_result); 2371 #line 2372 "tracker-bus.c" 2372 } 2373 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2374 g_object_unref (_data_->_async_result); 2375 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2376 return FALSE; 2377 #line 2378 "tracker-bus.c" 2378 } else { 2379 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2380 _g_object_unref0 (_data_->output); 2381 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2382 _g_object_unref0 (_data_->input); 2383 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2384 block4_data_unref (_data_->_data4_); 2385 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2386 _data_->_data4_ = NULL; 2387 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2388 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2389 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2390 g_clear_error (&_data_->_inner_error_); 2391 #line 144 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2392 return FALSE; 2393 #line 2394 "tracker-bus.c" 2394 } 2395 } 2396 #line 152 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2397 _data_->_tmp7_ = _data_->output; 2398 #line 152 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2399 _data_->_tmp8_ = g_data_output_stream_new ((GOutputStream*) _data_->_tmp7_); 2400 #line 152 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2401 _data_->data_stream = _data_->_tmp8_; 2402 #line 153 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2403 _data_->_tmp9_ = _data_->data_stream; 2404 #line 153 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2405 g_data_output_stream_set_byte_order (_data_->_tmp9_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN); 2406 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2407 _data_->_tmp10_ = _data_->data_stream; 2408 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2409 _data_->_tmp11_ = _data_->sparql; 2410 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2411 _data_->_tmp12_ = strlen (_data_->_tmp11_); 2412 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2413 _data_->_tmp13_ = _data_->_tmp12_; 2414 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2415 g_data_output_stream_put_int32 (_data_->_tmp10_, (gint32) _data_->_tmp13_, NULL, &_data_->_inner_error_); 2416 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2417 if (_data_->_inner_error_ != NULL) { 2418 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2419 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2420 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2421 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2422 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2423 g_error_free (_data_->_inner_error_); 2424 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2425 _g_object_unref0 (_data_->data_stream); 2426 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2427 _g_object_unref0 (_data_->output); 2428 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2429 _g_object_unref0 (_data_->input); 2430 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2431 block4_data_unref (_data_->_data4_); 2432 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2433 _data_->_data4_ = NULL; 2434 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2435 if (_data_->_state_ == 0) { 2436 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2437 g_simple_async_result_complete_in_idle (_data_->_async_result); 2438 #line 2439 "tracker-bus.c" 2439 } else { 2440 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2441 g_simple_async_result_complete (_data_->_async_result); 2442 #line 2443 "tracker-bus.c" 2443 } 2444 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2445 g_object_unref (_data_->_async_result); 2446 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2447 return FALSE; 2448 #line 2449 "tracker-bus.c" 2449 } else { 2450 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2451 _g_object_unref0 (_data_->data_stream); 2452 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2453 _g_object_unref0 (_data_->output); 2454 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2455 _g_object_unref0 (_data_->input); 2456 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2457 block4_data_unref (_data_->_data4_); 2458 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2459 _data_->_data4_ = NULL; 2460 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2461 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2462 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2463 g_clear_error (&_data_->_inner_error_); 2464 #line 154 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2465 return FALSE; 2466 #line 2467 "tracker-bus.c" 2467 } 2468 } 2469 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2470 _data_->_tmp14_ = _data_->data_stream; 2471 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2472 _data_->_tmp15_ = _data_->sparql; 2473 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2474 g_data_output_stream_put_string (_data_->_tmp14_, _data_->_tmp15_, NULL, &_data_->_inner_error_); 2475 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2476 if (_data_->_inner_error_ != NULL) { 2477 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2478 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2479 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2480 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2481 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2482 g_error_free (_data_->_inner_error_); 2483 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2484 _g_object_unref0 (_data_->data_stream); 2485 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2486 _g_object_unref0 (_data_->output); 2487 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2488 _g_object_unref0 (_data_->input); 2489 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2490 block4_data_unref (_data_->_data4_); 2491 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2492 _data_->_data4_ = NULL; 2493 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2494 if (_data_->_state_ == 0) { 2495 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2496 g_simple_async_result_complete_in_idle (_data_->_async_result); 2497 #line 2498 "tracker-bus.c" 2498 } else { 2499 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2500 g_simple_async_result_complete (_data_->_async_result); 2501 #line 2502 "tracker-bus.c" 2502 } 2503 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2504 g_object_unref (_data_->_async_result); 2505 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2506 return FALSE; 2507 #line 2508 "tracker-bus.c" 2508 } else { 2509 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2510 _g_object_unref0 (_data_->data_stream); 2511 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2512 _g_object_unref0 (_data_->output); 2513 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2514 _g_object_unref0 (_data_->input); 2515 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2516 block4_data_unref (_data_->_data4_); 2517 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2518 _data_->_data4_ = NULL; 2519 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2520 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2521 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2522 g_clear_error (&_data_->_inner_error_); 2523 #line 155 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2524 return FALSE; 2525 #line 2526 "tracker-bus.c" 2526 } 2527 } 2528 #line 156 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2529 _g_object_unref0 (_data_->data_stream); 2530 #line 156 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2531 _data_->data_stream = NULL; 2532 #line 159 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2533 _data_->_data4_->sent_update = TRUE; 2534 #line 160 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2535 _data_->_tmp16_ = _data_->_data4_->dbus_res; 2536 #line 160 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2537 if (_data_->_tmp16_ == NULL) { 2538 #line 161 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2539 _data_->_state_ = 1; 2540 #line 161 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2541 return FALSE; 2542 #line 2543 "tracker-bus.c" 2543 _state_1: 2544 ; 2545 } 2546 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2547 _data_->_tmp17_ = _data_->self->priv->bus; 2548 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2549 _data_->_tmp18_ = _data_->_data4_->dbus_res; 2550 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2551 _data_->_tmp19_ = NULL; 2552 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2553 _data_->_tmp19_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp17_, _data_->_tmp18_, &_data_->_inner_error_); 2554 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2555 _data_->reply = _data_->_tmp19_; 2556 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2557 if (_data_->_inner_error_ != NULL) { 2558 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2559 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2560 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2561 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2562 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2563 g_error_free (_data_->_inner_error_); 2564 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2565 _g_object_unref0 (_data_->data_stream); 2566 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2567 _g_object_unref0 (_data_->output); 2568 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2569 _g_object_unref0 (_data_->input); 2570 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2571 block4_data_unref (_data_->_data4_); 2572 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2573 _data_->_data4_ = NULL; 2574 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2575 if (_data_->_state_ == 0) { 2576 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2577 g_simple_async_result_complete_in_idle (_data_->_async_result); 2578 #line 2579 "tracker-bus.c" 2579 } else { 2580 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2581 g_simple_async_result_complete (_data_->_async_result); 2582 #line 2583 "tracker-bus.c" 2583 } 2584 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2585 g_object_unref (_data_->_async_result); 2586 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2587 return FALSE; 2588 #line 2589 "tracker-bus.c" 2589 } else { 2590 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2591 _g_object_unref0 (_data_->data_stream); 2592 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2593 _g_object_unref0 (_data_->output); 2594 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2595 _g_object_unref0 (_data_->input); 2596 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2597 block4_data_unref (_data_->_data4_); 2598 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2599 _data_->_data4_ = NULL; 2600 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2601 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2602 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2603 g_clear_error (&_data_->_inner_error_); 2604 #line 164 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2605 return FALSE; 2606 #line 2607 "tracker-bus.c" 2607 } 2608 } 2609 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2610 _data_->_tmp20_ = _data_->reply; 2611 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2612 tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp20_, &_data_->_inner_error_); 2613 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2614 if (_data_->_inner_error_ != NULL) { 2615 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2616 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2617 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2618 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2619 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2620 g_error_free (_data_->_inner_error_); 2621 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2622 _g_object_unref0 (_data_->reply); 2623 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2624 _g_object_unref0 (_data_->data_stream); 2625 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2626 _g_object_unref0 (_data_->output); 2627 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2628 _g_object_unref0 (_data_->input); 2629 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2630 block4_data_unref (_data_->_data4_); 2631 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2632 _data_->_data4_ = NULL; 2633 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2634 if (_data_->_state_ == 0) { 2635 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2636 g_simple_async_result_complete_in_idle (_data_->_async_result); 2637 #line 2638 "tracker-bus.c" 2638 } else { 2639 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2640 g_simple_async_result_complete (_data_->_async_result); 2641 #line 2642 "tracker-bus.c" 2642 } 2643 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2644 g_object_unref (_data_->_async_result); 2645 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2646 return FALSE; 2647 #line 2648 "tracker-bus.c" 2648 } else { 2649 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2650 _g_object_unref0 (_data_->reply); 2651 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2652 _g_object_unref0 (_data_->data_stream); 2653 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2654 _g_object_unref0 (_data_->output); 2655 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2656 _g_object_unref0 (_data_->input); 2657 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2658 block4_data_unref (_data_->_data4_); 2659 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2660 _data_->_data4_ = NULL; 2661 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2662 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2663 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2664 g_clear_error (&_data_->_inner_error_); 2665 #line 165 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2666 return FALSE; 2667 #line 2668 "tracker-bus.c" 2668 } 2669 } 2670 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2671 _g_object_unref0 (_data_->reply); 2672 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2673 _g_object_unref0 (_data_->data_stream); 2674 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2675 _g_object_unref0 (_data_->output); 2676 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2677 _g_object_unref0 (_data_->input); 2678 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2679 block4_data_unref (_data_->_data4_); 2680 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2681 _data_->_data4_ = NULL; 2682 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2683 if (_data_->_state_ == 0) { 2684 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2685 g_simple_async_result_complete_in_idle (_data_->_async_result); 2686 #line 2687 "tracker-bus.c" 2687 } else { 2688 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2689 g_simple_async_result_complete (_data_->_async_result); 2690 #line 2691 "tracker-bus.c" 2691 } 2692 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2693 g_object_unref (_data_->_async_result); 2694 #line 136 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2695 return FALSE; 2696 #line 2697 "tracker-bus.c" 2697 } 2698 2699 2700 static void tracker_bus_connection_real_update_array_async_data_free (gpointer _data) { 2701 TrackerBusConnectionUpdateArrayAsyncData* _data_; 2702 _data_ = _data; 2703 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2704 _g_object_unref0 (_data_->cancellable); 2705 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2706 _g_ptr_array_unref0 (_data_->result); 2707 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2708 _g_object_unref0 (_data_->self); 2709 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2710 g_slice_free (TrackerBusConnectionUpdateArrayAsyncData, _data_); 2711 #line 2712 "tracker-bus.c" 2712 } 2713 2714 2715 static void tracker_bus_connection_real_update_array_async (TrackerSparqlConnection* base, gchar** sparql, int sparql_length1, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) { 2716 TrackerBusConnection * self; 2717 TrackerBusConnectionUpdateArrayAsyncData* _data_; 2718 TrackerBusConnection* _tmp0_; 2719 gchar** _tmp1_; 2720 gint _tmp1__length1; 2721 gint _tmp2_; 2722 GCancellable* _tmp3_; 2723 GCancellable* _tmp4_; 2724 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2725 self = (TrackerBusConnection*) base; 2726 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2727 _data_ = g_slice_new0 (TrackerBusConnectionUpdateArrayAsyncData); 2728 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2729 _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_update_array_async); 2730 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2731 g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_update_array_async_data_free); 2732 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2733 _tmp0_ = _g_object_ref0 (self); 2734 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2735 _data_->self = _tmp0_; 2736 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2737 _tmp1_ = sparql; 2738 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2739 _tmp1__length1 = sparql_length1; 2740 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2741 _data_->sparql = _tmp1_; 2742 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2743 _data_->sparql_length1 = _tmp1__length1; 2744 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2745 _tmp2_ = priority; 2746 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2747 _data_->priority = _tmp2_; 2748 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2749 _tmp3_ = cancellable; 2750 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2751 _tmp4_ = _g_object_ref0 (_tmp3_); 2752 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2753 _g_object_unref0 (_data_->cancellable); 2754 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2755 _data_->cancellable = _tmp4_; 2756 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2757 tracker_bus_connection_real_update_array_async_co (_data_); 2758 #line 2759 "tracker-bus.c" 2759 } 2760 2761 2762 static GPtrArray* tracker_bus_connection_real_update_array_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) { 2763 GPtrArray* result; 2764 TrackerBusConnectionUpdateArrayAsyncData* _data_; 2765 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2766 if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { 2767 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2768 return NULL; 2769 #line 2770 "tracker-bus.c" 2770 } 2771 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2772 _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); 2773 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2774 result = _data_->result; 2775 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2776 _data_->result = NULL; 2777 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2778 return result; 2779 #line 2780 "tracker-bus.c" 2780 } 2781 2782 2783 static Block5Data* block5_data_ref (Block5Data* _data5_) { 2784 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2785 g_atomic_int_inc (&_data5_->_ref_count_); 2786 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2787 return _data5_; 2788 #line 2789 "tracker-bus.c" 2789 } 2790 2791 2792 static void block5_data_unref (void * _userdata_) { 2793 Block5Data* _data5_; 2794 _data5_ = (Block5Data*) _userdata_; 2795 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2796 if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) { 2797 #line 2798 "tracker-bus.c" 2798 TrackerBusConnection * self; 2799 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2800 self = _data5_->self; 2801 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2802 _g_object_unref0 (_data5_->dbus_res); 2803 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2804 _g_object_unref0 (self); 2805 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2806 g_slice_free (Block5Data, _data5_); 2807 #line 2808 "tracker-bus.c" 2808 } 2809 } 2810 2811 2812 static void __lambda6_ (Block5Data* _data5_, GObject* o, GAsyncResult* res) { 2813 TrackerBusConnection * self;
variable 'self' set but not used
(emitted by gcc)
2814 GAsyncResult* _tmp0_; 2815 GAsyncResult* _tmp1_; 2816 gboolean _tmp2_; 2817 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2818 self = _data5_->self;
Value stored to 'self' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

2819 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2820 g_return_if_fail (res != NULL); 2821 #line 177 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2822 _tmp0_ = res; 2823 #line 177 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2824 _tmp1_ = _g_object_ref0 (_tmp0_); 2825 #line 177 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2826 _g_object_unref0 (_data5_->dbus_res); 2827 #line 177 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2828 _data5_->dbus_res = _tmp1_; 2829 #line 178 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2830 _tmp2_ = _data5_->sent_update; 2831 #line 178 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2832 if (_tmp2_) { 2833 #line 179 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2834 tracker_bus_connection_real_update_array_async_co (_data5_->_async_data_); 2835 #line 2836 "tracker-bus.c" 2836 } 2837 } 2838 2839 2840 static void ___lambda6__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) { 2841 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2842 __lambda6_ (self, source_object, res); 2843 #line 2844 "tracker-bus.c" 2844 } 2845 2846 2847 static void _g_error_free0_ (gpointer var) { 2848 #line 203 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2849 (var == NULL) ? NULL : (var = (g_error_free (var), NULL)); 2850 #line 2851 "tracker-bus.c" 2851 } 2852 2853 2854 static gboolean tracker_bus_connection_real_update_array_async_co (TrackerBusConnectionUpdateArrayAsyncData* _data_) { 2855 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2856 switch (_data_->_state_) { 2857 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2858 case 0: 2859 #line 2860 "tracker-bus.c" 2860 goto _state_0; 2861 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2862 case 1: 2863 #line 2864 "tracker-bus.c" 2864 goto _state_1; 2865 default: 2866 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2867 g_assert_not_reached (); 2868 #line 2869 "tracker-bus.c" 2869 } 2870 _state_0: 2871 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2872 _data_->_data5_ = g_slice_new0 (Block5Data); 2873 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2874 _data_->_data5_->_ref_count_ = 1; 2875 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2876 _data_->_data5_->self = g_object_ref (_data_->self); 2877 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2878 _data_->_data5_->_async_data_ = _data_; 2879 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2880 _data_->_tmp0_ = NULL; 2881 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2882 _data_->_tmp1_ = NULL; 2883 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2884 tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_); 2885 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2886 _g_object_unref0 (_data_->input); 2887 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2888 _data_->input = _data_->_tmp0_; 2889 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2890 _g_object_unref0 (_data_->output); 2891 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2892 _data_->output = _data_->_tmp1_; 2893 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2894 if (_data_->_inner_error_ != NULL) { 2895 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2896 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2897 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2898 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2899 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2900 g_error_free (_data_->_inner_error_); 2901 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2902 _g_object_unref0 (_data_->output); 2903 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2904 _g_object_unref0 (_data_->input); 2905 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2906 block5_data_unref (_data_->_data5_); 2907 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2908 _data_->_data5_ = NULL; 2909 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2910 if (_data_->_state_ == 0) { 2911 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2912 g_simple_async_result_complete_in_idle (_data_->_async_result); 2913 #line 2914 "tracker-bus.c" 2914 } else { 2915 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2916 g_simple_async_result_complete (_data_->_async_result); 2917 #line 2918 "tracker-bus.c" 2918 } 2919 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2920 g_object_unref (_data_->_async_result); 2921 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2922 return FALSE; 2923 #line 2924 "tracker-bus.c" 2924 } else { 2925 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2926 _g_object_unref0 (_data_->output); 2927 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2928 _g_object_unref0 (_data_->input); 2929 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2930 block5_data_unref (_data_->_data5_); 2931 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2932 _data_->_data5_ = NULL; 2933 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2934 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2935 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2936 g_clear_error (&_data_->_inner_error_); 2937 #line 171 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2938 return FALSE; 2939 #line 2940 "tracker-bus.c" 2940 } 2941 } 2942 #line 174 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2943 _data_->_data5_->dbus_res = NULL; 2944 #line 175 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2945 _data_->_data5_->sent_update = FALSE; 2946 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2947 _data_->_tmp2_ = _data_->input; 2948 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2949 _data_->_tmp3_ = _data_->cancellable; 2950 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2951 tracker_bus_connection_send_update (_data_->self, "UpdateArray", _data_->_tmp2_, _data_->_tmp3_, ___lambda6__gasync_ready_callback, _data_->_data5_, &_data_->_inner_error_); 2952 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2953 if (_data_->_inner_error_ != NULL) { 2954 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2955 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 2956 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2957 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 2958 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2959 g_error_free (_data_->_inner_error_); 2960 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2961 _g_object_unref0 (_data_->output); 2962 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2963 _g_object_unref0 (_data_->input); 2964 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2965 block5_data_unref (_data_->_data5_); 2966 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2967 _data_->_data5_ = NULL; 2968 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2969 if (_data_->_state_ == 0) { 2970 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2971 g_simple_async_result_complete_in_idle (_data_->_async_result); 2972 #line 2973 "tracker-bus.c" 2973 } else { 2974 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2975 g_simple_async_result_complete (_data_->_async_result); 2976 #line 2977 "tracker-bus.c" 2977 } 2978 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2979 g_object_unref (_data_->_async_result); 2980 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2981 return FALSE; 2982 #line 2983 "tracker-bus.c" 2983 } else { 2984 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2985 _g_object_unref0 (_data_->output); 2986 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2987 _g_object_unref0 (_data_->input); 2988 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2989 block5_data_unref (_data_->_data5_); 2990 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2991 _data_->_data5_ = NULL; 2992 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2993 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 2994 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2995 g_clear_error (&_data_->_inner_error_); 2996 #line 176 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 2997 return FALSE; 2998 #line 2999 "tracker-bus.c" 2999 } 3000 } 3001 #line 184 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3002 _data_->_tmp4_ = _data_->output; 3003 #line 184 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3004 _data_->_tmp5_ = g_data_output_stream_new ((GOutputStream*) _data_->_tmp4_); 3005 #line 184 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3006 _data_->data_stream = _data_->_tmp5_; 3007 #line 185 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3008 _data_->_tmp6_ = _data_->data_stream; 3009 #line 185 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3010 g_data_output_stream_set_byte_order (_data_->_tmp6_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN); 3011 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3012 _data_->_tmp7_ = _data_->data_stream; 3013 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3014 _data_->_tmp8_ = _data_->sparql; 3015 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3016 _data_->_tmp8__length1 = _data_->sparql_length1; 3017 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3018 g_data_output_stream_put_int32 (_data_->_tmp7_, (gint32) _data_->_tmp8__length1, NULL, &_data_->_inner_error_); 3019 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3020 if (_data_->_inner_error_ != NULL) { 3021 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3022 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 3023 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3024 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 3025 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3026 g_error_free (_data_->_inner_error_); 3027 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3028 _g_object_unref0 (_data_->data_stream); 3029 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3030 _g_object_unref0 (_data_->output); 3031 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3032 _g_object_unref0 (_data_->input); 3033 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3034 block5_data_unref (_data_->_data5_); 3035 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3036 _data_->_data5_ = NULL; 3037 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3038 if (_data_->_state_ == 0) { 3039 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3040 g_simple_async_result_complete_in_idle (_data_->_async_result); 3041 #line 3042 "tracker-bus.c" 3042 } else { 3043 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3044 g_simple_async_result_complete (_data_->_async_result); 3045 #line 3046 "tracker-bus.c" 3046 } 3047 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3048 g_object_unref (_data_->_async_result); 3049 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3050 return FALSE; 3051 #line 3052 "tracker-bus.c" 3052 } else { 3053 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3054 _g_object_unref0 (_data_->data_stream); 3055 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3056 _g_object_unref0 (_data_->output); 3057 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3058 _g_object_unref0 (_data_->input); 3059 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3060 block5_data_unref (_data_->_data5_); 3061 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3062 _data_->_data5_ = NULL; 3063 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3064 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 3065 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3066 g_clear_error (&_data_->_inner_error_); 3067 #line 186 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3068 return FALSE; 3069 #line 3070 "tracker-bus.c" 3070 } 3071 } 3072 { 3073 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3074 _data_->i = 0; 3075 #line 3076 "tracker-bus.c" 3076 { 3077 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3078 _data_->_tmp9_ = TRUE; 3079 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3080 while (TRUE) { 3081 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3082 _data_->_tmp10_ = _data_->_tmp9_; 3083 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3084 if (!_data_->_tmp10_) { 3085 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3086 _data_->_tmp11_ = _data_->i; 3087 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3088 _data_->i = _data_->_tmp11_ + 1; 3089 #line 3090 "tracker-bus.c" 3090 } 3091 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3092 _data_->_tmp9_ = FALSE; 3093 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3094 _data_->_tmp12_ = _data_->i; 3095 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3096 _data_->_tmp13_ = _data_->sparql; 3097 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3098 _data_->_tmp13__length1 = _data_->sparql_length1; 3099 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3100 if (!(_data_->_tmp12_ < _data_->_tmp13__length1)) { 3101 #line 187 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3102 break; 3103 #line 3104 "tracker-bus.c" 3104 } 3105 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3106 _data_->_tmp14_ = _data_->data_stream; 3107 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3108 _data_->_tmp15_ = _data_->sparql; 3109 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3110 _data_->_tmp15__length1 = _data_->sparql_length1; 3111 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3112 _data_->_tmp16_ = _data_->i; 3113 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3114 _data_->_tmp17_ = _data_->_tmp15_[_data_->_tmp16_]; 3115 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3116 _data_->_tmp18_ = strlen (_data_->_tmp17_); 3117 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3118 _data_->_tmp19_ = _data_->_tmp18_; 3119 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3120 g_data_output_stream_put_int32 (_data_->_tmp14_, (gint32) _data_->_tmp19_, NULL, &_data_->_inner_error_); 3121 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3122 if (_data_->_inner_error_ != NULL) { 3123 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3124 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 3125 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3126 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 3127 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3128 g_error_free (_data_->_inner_error_); 3129 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3130 _g_object_unref0 (_data_->data_stream); 3131 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3132 _g_object_unref0 (_data_->output); 3133 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3134 _g_object_unref0 (_data_->input); 3135 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3136 block5_data_unref (_data_->_data5_); 3137 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3138 _data_->_data5_ = NULL; 3139 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3140 if (_data_->_state_ == 0) { 3141 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3142 g_simple_async_result_complete_in_idle (_data_->_async_result); 3143 #line 3144 "tracker-bus.c" 3144 } else { 3145 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3146 g_simple_async_result_complete (_data_->_async_result); 3147 #line 3148 "tracker-bus.c" 3148 } 3149 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3150 g_object_unref (_data_->_async_result); 3151 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3152 return FALSE; 3153 #line 3154 "tracker-bus.c" 3154 } else { 3155 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3156 _g_object_unref0 (_data_->data_stream); 3157 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3158 _g_object_unref0 (_data_->output); 3159 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3160 _g_object_unref0 (_data_->input); 3161 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3162 block5_data_unref (_data_->_data5_); 3163 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3164 _data_->_data5_ = NULL; 3165 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3166 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 3167 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3168 g_clear_error (&_data_->_inner_error_); 3169 #line 188 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3170 return FALSE; 3171 #line 3172 "tracker-bus.c" 3172 } 3173 } 3174 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3175 _data_->_tmp20_ = _data_->data_stream; 3176 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3177 _data_->_tmp21_ = _data_->sparql; 3178 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3179 _data_->_tmp21__length1 = _data_->sparql_length1; 3180 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3181 _data_->_tmp22_ = _data_->i; 3182 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3183 _data_->_tmp23_ = _data_->_tmp21_[_data_->_tmp22_]; 3184 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3185 g_data_output_stream_put_string (_data_->_tmp20_, _data_->_tmp23_, NULL, &_data_->_inner_error_); 3186 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3187 if (_data_->_inner_error_ != NULL) { 3188 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3189 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 3190 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3191 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 3192 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3193 g_error_free (_data_->_inner_error_); 3194 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3195 _g_object_unref0 (_data_->data_stream); 3196 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3197 _g_object_unref0 (_data_->output); 3198 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3199 _g_object_unref0 (_data_->input); 3200 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3201 block5_data_unref (_data_->_data5_); 3202 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3203 _data_->_data5_ = NULL; 3204 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3205 if (_data_->_state_ == 0) { 3206 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3207 g_simple_async_result_complete_in_idle (_data_->_async_result); 3208 #line 3209 "tracker-bus.c" 3209 } else { 3210 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3211 g_simple_async_result_complete (_data_->_async_result); 3212 #line 3213 "tracker-bus.c" 3213 } 3214 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3215 g_object_unref (_data_->_async_result); 3216 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3217 return FALSE; 3218 #line 3219 "tracker-bus.c" 3219 } else { 3220 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3221 _g_object_unref0 (_data_->data_stream); 3222 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3223 _g_object_unref0 (_data_->output); 3224 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3225 _g_object_unref0 (_data_->input); 3226 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3227 block5_data_unref (_data_->_data5_); 3228 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3229 _data_->_data5_ = NULL; 3230 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3231 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 3232 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3233 g_clear_error (&_data_->_inner_error_); 3234 #line 189 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3235 return FALSE; 3236 #line 3237 "tracker-bus.c" 3237 } 3238 } 3239 } 3240 } 3241 } 3242 #line 191 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3243 _g_object_unref0 (_data_->data_stream); 3244 #line 191 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3245 _data_->data_stream = NULL; 3246 #line 194 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3247 _data_->_data5_->sent_update = TRUE; 3248 #line 195 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3249 _data_->_tmp24_ = _data_->_data5_->dbus_res; 3250 #line 195 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3251 if (_data_->_tmp24_ == NULL) { 3252 #line 196 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3253 _data_->_state_ = 1; 3254 #line 196 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3255 return FALSE; 3256 #line 3257 "tracker-bus.c" 3257 _state_1: 3258 ; 3259 } 3260 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3261 _data_->_tmp25_ = _data_->self->priv->bus; 3262 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3263 _data_->_tmp26_ = _data_->_data5_->dbus_res; 3264 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3265 _data_->_tmp27_ = NULL; 3266 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3267 _data_->_tmp27_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp25_, _data_->_tmp26_, &_data_->_inner_error_); 3268 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3269 _data_->reply = _data_->_tmp27_; 3270 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3271 if (_data_->_inner_error_ != NULL) { 3272 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3273 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 3274 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3275 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 3276 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3277 g_error_free (_data_->_inner_error_); 3278 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3279 _g_object_unref0 (_data_->data_stream); 3280 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3281 _g_object_unref0 (_data_->output); 3282 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3283 _g_object_unref0 (_data_->input); 3284 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3285 block5_data_unref (_data_->_data5_); 3286 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3287 _data_->_data5_ = NULL; 3288 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3289 if (_data_->_state_ == 0) { 3290 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3291 g_simple_async_result_complete_in_idle (_data_->_async_result); 3292 #line 3293 "tracker-bus.c" 3293 } else { 3294 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3295 g_simple_async_result_complete (_data_->_async_result); 3296 #line 3297 "tracker-bus.c" 3297 } 3298 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3299 g_object_unref (_data_->_async_result); 3300 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3301 return FALSE; 3302 #line 3303 "tracker-bus.c" 3303 } else { 3304 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3305 _g_object_unref0 (_data_->data_stream); 3306 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3307 _g_object_unref0 (_data_->output); 3308 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3309 _g_object_unref0 (_data_->input); 3310 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3311 block5_data_unref (_data_->_data5_); 3312 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3313 _data_->_data5_ = NULL; 3314 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3315 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 3316 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3317 g_clear_error (&_data_->_inner_error_); 3318 #line 199 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3319 return FALSE; 3320 #line 3321 "tracker-bus.c" 3321 } 3322 } 3323 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3324 _data_->_tmp28_ = _data_->reply; 3325 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3326 tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp28_, &_data_->_inner_error_); 3327 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3328 if (_data_->_inner_error_ != NULL) { 3329 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3330 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 3331 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3332 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 3333 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3334 g_error_free (_data_->_inner_error_); 3335 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3336 _g_object_unref0 (_data_->reply); 3337 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3338 _g_object_unref0 (_data_->data_stream); 3339 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3340 _g_object_unref0 (_data_->output); 3341 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3342 _g_object_unref0 (_data_->input); 3343 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3344 block5_data_unref (_data_->_data5_); 3345 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3346 _data_->_data5_ = NULL; 3347 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3348 if (_data_->_state_ == 0) { 3349 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3350 g_simple_async_result_complete_in_idle (_data_->_async_result); 3351 #line 3352 "tracker-bus.c" 3352 } else { 3353 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3354 g_simple_async_result_complete (_data_->_async_result); 3355 #line 3356 "tracker-bus.c" 3356 } 3357 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3358 g_object_unref (_data_->_async_result); 3359 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3360 return FALSE; 3361 #line 3362 "tracker-bus.c" 3362 } else { 3363 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3364 _g_object_unref0 (_data_->reply); 3365 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3366 _g_object_unref0 (_data_->data_stream); 3367 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3368 _g_object_unref0 (_data_->output); 3369 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3370 _g_object_unref0 (_data_->input); 3371 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3372 block5_data_unref (_data_->_data5_); 3373 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3374 _data_->_data5_ = NULL; 3375 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3376 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 3377 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3378 g_clear_error (&_data_->_inner_error_); 3379 #line 200 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3380 return FALSE; 3381 #line 3382 "tracker-bus.c" 3382 } 3383 } 3384 #line 203 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3385 _data_->_tmp29_ = g_ptr_array_new_with_free_func (_g_error_free0_); 3386 #line 203 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3387 _data_->_result_ = _data_->_tmp29_; 3388 #line 205 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3389 _data_->_tmp30_ = _data_->reply; 3390 #line 205 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3391 _data_->_tmp31_ = NULL; 3392 #line 205 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3393 _data_->_tmp31_ = g_dbus_message_get_body (_data_->_tmp30_); 3394 #line 205 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3395 _data_->_tmp32_ = NULL; 3396 #line 205 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3397 _data_->_tmp32_ = g_variant_get_child_value (_data_->_tmp31_, (gsize) 0); 3398 #line 205 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3399 _g_variant_unref0 (_data_->resultv); 3400 #line 205 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3401 _data_->resultv = _data_->_tmp32_; 3402 #line 206 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3403 _data_->_tmp33_ = _data_->resultv; 3404 #line 206 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3405 _data_->_tmp34_ = NULL; 3406 #line 206 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3407 _data_->_tmp34_ = g_variant_iter_new (_data_->_tmp33_); 3408 #line 206 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3409 _data_->iter = _data_->_tmp34_; 3410 #line 208 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3411 while (TRUE) { 3412 #line 208 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3413 _data_->_tmp35_ = _data_->iter; 3414 #line 208 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3415 _data_->_tmp36_ = FALSE; 3416 #line 208 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3417 _data_->_tmp36_ = g_variant_iter_next (_data_->_tmp35_, "s", &_data_->code, NULL); 3418 #line 208 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3419 if (!_data_->_tmp36_) { 3420 #line 208 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3421 break; 3422 #line 3423 "tracker-bus.c" 3423 } 3424 #line 209 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3425 _data_->_tmp37_ = _data_->iter; 3426 #line 209 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3427 _data_->_tmp38_ = FALSE; 3428 #line 209 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3429 _data_->_tmp38_ = g_variant_iter_next (_data_->_tmp37_, "s", &_data_->message, NULL); 3430 #line 209 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3431 if (_data_->_tmp38_) { 3432 #line 210 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3433 _data_->_tmp40_ = _data_->code; 3434 #line 210 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3435 if (g_strcmp0 (_data_->_tmp40_, "") != 0) { 3436 #line 210 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3437 _data_->_tmp41_ = _data_->message; 3438 #line 210 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3439 _data_->_tmp39_ = g_strcmp0 (_data_->_tmp41_, "") != 0; 3440 #line 3441 "tracker-bus.c" 3441 } else { 3442 #line 210 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3443 _data_->_tmp39_ = FALSE; 3444 #line 3445 "tracker-bus.c" 3445 } 3446 #line 210 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3447 _data_->_tmp42_ = _data_->_tmp39_; 3448 #line 210 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3449 if (_data_->_tmp42_) { 3450 #line 211 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3451 _data_->_tmp43_ = _data_->_result_; 3452 #line 211 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3453 _data_->_tmp44_ = _data_->message; 3454 #line 211 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3455 _data_->_tmp45_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp44_); 3456 #line 211 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3457 g_ptr_array_add (_data_->_tmp43_, _data_->_tmp45_); 3458 #line 3459 "tracker-bus.c" 3459 } else { 3460 #line 213 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3461 _data_->_tmp46_ = _data_->_result_; 3462 #line 213 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3463 g_ptr_array_add (_data_->_tmp46_, NULL); 3464 #line 3465 "tracker-bus.c" 3465 } 3466 #line 216 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3467 _g_free0 (_data_->message); 3468 #line 216 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3469 _data_->message = NULL; 3470 #line 3471 "tracker-bus.c" 3471 } 3472 #line 219 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3473 _g_free0 (_data_->code); 3474 #line 219 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3475 _data_->code = NULL; 3476 #line 3477 "tracker-bus.c" 3477 } 3478 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3479 _data_->result = _data_->_result_; 3480 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3481 _g_free0 (_data_->message); 3482 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3483 _g_free0 (_data_->code); 3484 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3485 _g_variant_iter_free0 (_data_->iter); 3486 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3487 _g_variant_unref0 (_data_->resultv); 3488 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3489 _g_object_unref0 (_data_->reply); 3490 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3491 _g_object_unref0 (_data_->data_stream); 3492 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3493 _g_object_unref0 (_data_->output); 3494 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3495 _g_object_unref0 (_data_->input); 3496 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3497 block5_data_unref (_data_->_data5_); 3498 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3499 _data_->_data5_ = NULL; 3500 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3501 if (_data_->_state_ == 0) { 3502 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3503 g_simple_async_result_complete_in_idle (_data_->_async_result); 3504 #line 3505 "tracker-bus.c" 3505 } else { 3506 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3507 g_simple_async_result_complete (_data_->_async_result); 3508 #line 3509 "tracker-bus.c" 3509 } 3510 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3511 g_object_unref (_data_->_async_result); 3512 #line 221 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3513 return FALSE; 3514 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3515 _g_free0 (_data_->message); 3516 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3517 _g_free0 (_data_->code); 3518 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3519 _g_variant_iter_free0 (_data_->iter); 3520 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3521 _g_variant_unref0 (_data_->resultv); 3522 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3523 _g_ptr_array_unref0 (_data_->_result_); 3524 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3525 _g_object_unref0 (_data_->reply); 3526 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3527 _g_object_unref0 (_data_->data_stream); 3528 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3529 _g_object_unref0 (_data_->output); 3530 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3531 _g_object_unref0 (_data_->input); 3532 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3533 block5_data_unref (_data_->_data5_); 3534 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3535 _data_->_data5_ = NULL; 3536 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3537 if (_data_->_state_ == 0) { 3538 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3539 g_simple_async_result_complete_in_idle (_data_->_async_result); 3540 #line 3541 "tracker-bus.c" 3541 } else { 3542 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3543 g_simple_async_result_complete (_data_->_async_result); 3544 #line 3545 "tracker-bus.c" 3545 } 3546 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3547 g_object_unref (_data_->_async_result); 3548 #line 168 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3549 return FALSE; 3550 #line 3551 "tracker-bus.c" 3551 } 3552 3553 3554 static Block6Data* block6_data_ref (Block6Data* _data6_) { 3555 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3556 g_atomic_int_inc (&_data6_->_ref_count_); 3557 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3558 return _data6_; 3559 #line 3560 "tracker-bus.c" 3560 } 3561 3562 3563 static void block6_data_unref (void * _userdata_) { 3564 Block6Data* _data6_; 3565 _data6_ = (Block6Data*) _userdata_; 3566 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3567 if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) { 3568 #line 3569 "tracker-bus.c" 3569 TrackerBusConnection * self; 3570 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3571 self = _data6_->self; 3572 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3573 _g_object_unref0 (_data6_->async_res); 3574 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3575 _g_main_loop_unref0 (_data6_->loop); 3576 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3577 _g_object_unref0 (self); 3578 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3579 g_slice_free (Block6Data, _data6_); 3580 #line 3581 "tracker-bus.c" 3581 } 3582 } 3583 3584 3585 static void __lambda8_ (Block6Data* _data6_, GObject* o, GAsyncResult* res) { 3586 TrackerBusConnection * self;
variable 'self' set but not used
(emitted by gcc)
3587 GAsyncResult* _tmp0_; 3588 GAsyncResult* _tmp1_; 3589 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3590 self = _data6_->self;
Value stored to 'self' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

3591 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3592 g_return_if_fail (res != NULL); 3593 #line 231 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3594 _tmp0_ = res; 3595 #line 231 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3596 _tmp1_ = _g_object_ref0 (_tmp0_); 3597 #line 231 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3598 _g_object_unref0 (_data6_->async_res); 3599 #line 231 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3600 _data6_->async_res = _tmp1_; 3601 #line 232 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3602 g_main_loop_quit (_data6_->loop); 3603 #line 3604 "tracker-bus.c" 3604 } 3605 3606 3607 static void ___lambda8__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) { 3608 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3609 __lambda8_ (self, source_object, res); 3610 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3611 block6_data_unref (self); 3612 #line 3613 "tracker-bus.c" 3613 } 3614 3615 3616 static GVariant* tracker_bus_connection_real_update_blank (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error) { 3617 TrackerBusConnection * self; 3618 GVariant* result = NULL; 3619 Block6Data* _data6_; 3620 GMainContext* _tmp0_; 3621 GMainContext* context; 3622 GMainLoop* _tmp1_; 3623 const gchar* _tmp2_; 3624 gint _tmp3_; 3625 GCancellable* _tmp4_; 3626 GVariant* _tmp5_ = NULL; 3627 GVariant* _tmp6_; 3628 GError * _inner_error_ = NULL; 3629 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3630 self = (TrackerBusConnection*) base; 3631 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3632 g_return_val_if_fail (sparql != NULL, NULL); 3633 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3634 _data6_ = g_slice_new0 (Block6Data); 3635 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3636 _data6_->_ref_count_ = 1; 3637 #line 224 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3638 _data6_->self = g_object_ref (self); 3639 #line 226 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3640 _tmp0_ = g_main_context_new (); 3641 #line 226 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3642 context = _tmp0_; 3643 #line 227 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3644 _tmp1_ = g_main_loop_new (context, FALSE); 3645 #line 227 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3646 _data6_->loop = _tmp1_; 3647 #line 228 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3648 g_main_context_push_thread_default (context); 3649 #line 229 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3650 _data6_->async_res = NULL; 3651 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3652 _tmp2_ = sparql; 3653 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3654 _tmp3_ = priority; 3655 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3656 _tmp4_ = cancellable; 3657 #line 230 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3658 tracker_sparql_connection_update_blank_async ((TrackerSparqlConnection*) self, _tmp2_, _tmp3_, _tmp4_, ___lambda8__gasync_ready_callback, block6_data_ref (_data6_)); 3659 #line 234 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3660 g_main_loop_run (_data6_->loop); 3661 #line 235 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3662 g_main_context_pop_thread_default (context); 3663 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3664 _tmp5_ = tracker_sparql_connection_update_blank_finish ((TrackerSparqlConnection*) self, _data6_->async_res, &_inner_error_); 3665 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3666 _tmp6_ = _tmp5_; 3667 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3668 if (_inner_error_ != NULL) { 3669 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3670 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 3671 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3672 g_propagate_error (error, _inner_error_); 3673 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3674 _g_main_context_unref0 (context); 3675 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3676 block6_data_unref (_data6_); 3677 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3678 _data6_ = NULL; 3679 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3680 return NULL; 3681 #line 3682 "tracker-bus.c" 3682 } else { 3683 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3684 _g_main_context_unref0 (context); 3685 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3686 block6_data_unref (_data6_); 3687 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3688 _data6_ = NULL; 3689 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3690 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 3691 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3692 g_clear_error (&_inner_error_); 3693 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3694 return NULL; 3695 #line 3696 "tracker-bus.c" 3696 } 3697 } 3698 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3699 result = _tmp6_; 3700 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3701 _g_main_context_unref0 (context); 3702 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3703 block6_data_unref (_data6_); 3704 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3705 _data6_ = NULL; 3706 #line 236 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3707 return result; 3708 #line 3709 "tracker-bus.c" 3709 } 3710 3711 3712 static void tracker_bus_connection_real_update_blank_async_data_free (gpointer _data) { 3713 TrackerBusConnectionUpdateBlankAsyncData* _data_; 3714 _data_ = _data; 3715 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3716 _g_free0 (_data_->sparql); 3717 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3718 _g_object_unref0 (_data_->cancellable); 3719 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3720 _g_variant_unref0 (_data_->result); 3721 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3722 _g_object_unref0 (_data_->self); 3723 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3724 g_slice_free (TrackerBusConnectionUpdateBlankAsyncData, _data_); 3725 #line 3726 "tracker-bus.c" 3726 } 3727 3728 3729 static void tracker_bus_connection_real_update_blank_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) { 3730 TrackerBusConnection * self; 3731 TrackerBusConnectionUpdateBlankAsyncData* _data_; 3732 TrackerBusConnection* _tmp0_; 3733 const gchar* _tmp1_; 3734 gchar* _tmp2_; 3735 gint _tmp3_; 3736 GCancellable* _tmp4_; 3737 GCancellable* _tmp5_; 3738 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3739 self = (TrackerBusConnection*) base; 3740 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3741 _data_ = g_slice_new0 (TrackerBusConnectionUpdateBlankAsyncData); 3742 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3743 _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_update_blank_async); 3744 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3745 g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_update_blank_async_data_free); 3746 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3747 _tmp0_ = _g_object_ref0 (self); 3748 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3749 _data_->self = _tmp0_; 3750 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3751 _tmp1_ = sparql; 3752 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3753 _tmp2_ = g_strdup (_tmp1_); 3754 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3755 _g_free0 (_data_->sparql); 3756 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3757 _data_->sparql = _tmp2_; 3758 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3759 _tmp3_ = priority; 3760 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3761 _data_->priority = _tmp3_; 3762 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3763 _tmp4_ = cancellable; 3764 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3765 _tmp5_ = _g_object_ref0 (_tmp4_); 3766 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3767 _g_object_unref0 (_data_->cancellable); 3768 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3769 _data_->cancellable = _tmp5_; 3770 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3771 tracker_bus_connection_real_update_blank_async_co (_data_); 3772 #line 3773 "tracker-bus.c" 3773 } 3774 3775 3776 static GVariant* tracker_bus_connection_real_update_blank_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) { 3777 GVariant* result; 3778 TrackerBusConnectionUpdateBlankAsyncData* _data_; 3779 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3780 if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { 3781 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3782 return NULL; 3783 #line 3784 "tracker-bus.c" 3784 } 3785 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3786 _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); 3787 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3788 result = _data_->result; 3789 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3790 _data_->result = NULL; 3791 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3792 return result; 3793 #line 3794 "tracker-bus.c" 3794 } 3795 3796 3797 static Block7Data* block7_data_ref (Block7Data* _data7_) { 3798 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3799 g_atomic_int_inc (&_data7_->_ref_count_); 3800 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3801 return _data7_; 3802 #line 3803 "tracker-bus.c" 3803 } 3804 3805 3806 static void block7_data_unref (void * _userdata_) { 3807 Block7Data* _data7_; 3808 _data7_ = (Block7Data*) _userdata_; 3809 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3810 if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) { 3811 #line 3812 "tracker-bus.c" 3812 TrackerBusConnection * self; 3813 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3814 self = _data7_->self; 3815 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3816 _g_object_unref0 (_data7_->dbus_res); 3817 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3818 _g_object_unref0 (self); 3819 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3820 g_slice_free (Block7Data, _data7_); 3821 #line 3822 "tracker-bus.c" 3822 } 3823 } 3824 3825 3826 static void __lambda7_ (Block7Data* _data7_, GObject* o, GAsyncResult* res) { 3827 TrackerBusConnection * self;
variable 'self' set but not used
(emitted by gcc)
3828 GAsyncResult* _tmp0_; 3829 GAsyncResult* _tmp1_; 3830 gboolean _tmp2_; 3831 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3832 self = _data7_->self;
Value stored to 'self' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

3833 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3834 g_return_if_fail (res != NULL); 3835 #line 248 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3836 _tmp0_ = res; 3837 #line 248 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3838 _tmp1_ = _g_object_ref0 (_tmp0_); 3839 #line 248 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3840 _g_object_unref0 (_data7_->dbus_res); 3841 #line 248 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3842 _data7_->dbus_res = _tmp1_; 3843 #line 249 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3844 _tmp2_ = _data7_->sent_update; 3845 #line 249 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3846 if (_tmp2_) { 3847 #line 250 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3848 tracker_bus_connection_real_update_blank_async_co (_data7_->_async_data_); 3849 #line 3850 "tracker-bus.c" 3850 } 3851 } 3852 3853 3854 static void ___lambda7__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) { 3855 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3856 __lambda7_ (self, source_object, res); 3857 #line 3858 "tracker-bus.c" 3858 } 3859 3860 3861 static gboolean tracker_bus_connection_real_update_blank_async_co (TrackerBusConnectionUpdateBlankAsyncData* _data_) { 3862 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3863 switch (_data_->_state_) { 3864 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3865 case 0: 3866 #line 3867 "tracker-bus.c" 3867 goto _state_0; 3868 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3869 case 1: 3870 #line 3871 "tracker-bus.c" 3871 goto _state_1; 3872 default: 3873 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3874 g_assert_not_reached (); 3875 #line 3876 "tracker-bus.c" 3876 } 3877 _state_0: 3878 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3879 _data_->_data7_ = g_slice_new0 (Block7Data); 3880 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3881 _data_->_data7_->_ref_count_ = 1; 3882 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3883 _data_->_data7_->self = g_object_ref (_data_->self); 3884 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3885 _data_->_data7_->_async_data_ = _data_; 3886 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3887 _data_->_tmp0_ = NULL; 3888 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3889 _data_->_tmp1_ = NULL; 3890 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3891 tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_); 3892 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3893 _g_object_unref0 (_data_->input); 3894 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3895 _data_->input = _data_->_tmp0_; 3896 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3897 _g_object_unref0 (_data_->output); 3898 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3899 _data_->output = _data_->_tmp1_; 3900 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3901 if (_data_->_inner_error_ != NULL) { 3902 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3903 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 3904 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3905 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 3906 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3907 g_error_free (_data_->_inner_error_); 3908 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3909 _g_object_unref0 (_data_->output); 3910 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3911 _g_object_unref0 (_data_->input); 3912 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3913 block7_data_unref (_data_->_data7_); 3914 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3915 _data_->_data7_ = NULL; 3916 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3917 if (_data_->_state_ == 0) { 3918 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3919 g_simple_async_result_complete_in_idle (_data_->_async_result); 3920 #line 3921 "tracker-bus.c" 3921 } else { 3922 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3923 g_simple_async_result_complete (_data_->_async_result); 3924 #line 3925 "tracker-bus.c" 3925 } 3926 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3927 g_object_unref (_data_->_async_result); 3928 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3929 return FALSE; 3930 #line 3931 "tracker-bus.c" 3931 } else { 3932 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3933 _g_object_unref0 (_data_->output); 3934 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3935 _g_object_unref0 (_data_->input); 3936 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3937 block7_data_unref (_data_->_data7_); 3938 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3939 _data_->_data7_ = NULL; 3940 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3941 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 3942 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3943 g_clear_error (&_data_->_inner_error_); 3944 #line 242 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3945 return FALSE; 3946 #line 3947 "tracker-bus.c" 3947 } 3948 } 3949 #line 245 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3950 _data_->_data7_->dbus_res = NULL; 3951 #line 246 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3952 _data_->_data7_->sent_update = FALSE; 3953 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3954 _data_->_tmp2_ = _data_->input; 3955 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3956 _data_->_tmp3_ = _data_->cancellable; 3957 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3958 tracker_bus_connection_send_update (_data_->self, "UpdateBlank", _data_->_tmp2_, _data_->_tmp3_, ___lambda7__gasync_ready_callback, _data_->_data7_, &_data_->_inner_error_); 3959 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3960 if (_data_->_inner_error_ != NULL) { 3961 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3962 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 3963 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3964 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 3965 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3966 g_error_free (_data_->_inner_error_); 3967 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3968 _g_object_unref0 (_data_->output); 3969 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3970 _g_object_unref0 (_data_->input); 3971 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3972 block7_data_unref (_data_->_data7_); 3973 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3974 _data_->_data7_ = NULL; 3975 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3976 if (_data_->_state_ == 0) { 3977 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3978 g_simple_async_result_complete_in_idle (_data_->_async_result); 3979 #line 3980 "tracker-bus.c" 3980 } else { 3981 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3982 g_simple_async_result_complete (_data_->_async_result); 3983 #line 3984 "tracker-bus.c" 3984 } 3985 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3986 g_object_unref (_data_->_async_result); 3987 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3988 return FALSE; 3989 #line 3990 "tracker-bus.c" 3990 } else { 3991 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3992 _g_object_unref0 (_data_->output); 3993 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3994 _g_object_unref0 (_data_->input); 3995 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3996 block7_data_unref (_data_->_data7_); 3997 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 3998 _data_->_data7_ = NULL; 3999 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4000 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 4001 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4002 g_clear_error (&_data_->_inner_error_); 4003 #line 247 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4004 return FALSE; 4005 #line 4006 "tracker-bus.c" 4006 } 4007 } 4008 #line 255 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4009 _data_->_tmp4_ = _data_->output; 4010 #line 255 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4011 _data_->_tmp5_ = g_data_output_stream_new ((GOutputStream*) _data_->_tmp4_); 4012 #line 255 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4013 _data_->data_stream = _data_->_tmp5_; 4014 #line 256 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4015 _data_->_tmp6_ = _data_->data_stream; 4016 #line 256 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4017 g_data_output_stream_set_byte_order (_data_->_tmp6_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN); 4018 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4019 _data_->_tmp7_ = _data_->data_stream; 4020 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4021 _data_->_tmp8_ = _data_->sparql; 4022 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4023 _data_->_tmp9_ = strlen (_data_->_tmp8_); 4024 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4025 _data_->_tmp10_ = _data_->_tmp9_; 4026 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4027 g_data_output_stream_put_int32 (_data_->_tmp7_, (gint32) _data_->_tmp10_, NULL, &_data_->_inner_error_); 4028 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4029 if (_data_->_inner_error_ != NULL) { 4030 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4031 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 4032 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4033 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 4034 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4035 g_error_free (_data_->_inner_error_); 4036 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4037 _g_object_unref0 (_data_->data_stream); 4038 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4039 _g_object_unref0 (_data_->output); 4040 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4041 _g_object_unref0 (_data_->input); 4042 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4043 block7_data_unref (_data_->_data7_); 4044 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4045 _data_->_data7_ = NULL; 4046 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4047 if (_data_->_state_ == 0) { 4048 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4049 g_simple_async_result_complete_in_idle (_data_->_async_result); 4050 #line 4051 "tracker-bus.c" 4051 } else { 4052 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4053 g_simple_async_result_complete (_data_->_async_result); 4054 #line 4055 "tracker-bus.c" 4055 } 4056 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4057 g_object_unref (_data_->_async_result); 4058 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4059 return FALSE; 4060 #line 4061 "tracker-bus.c" 4061 } else { 4062 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4063 _g_object_unref0 (_data_->data_stream); 4064 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4065 _g_object_unref0 (_data_->output); 4066 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4067 _g_object_unref0 (_data_->input); 4068 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4069 block7_data_unref (_data_->_data7_); 4070 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4071 _data_->_data7_ = NULL; 4072 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4073 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 4074 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4075 g_clear_error (&_data_->_inner_error_); 4076 #line 257 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4077 return FALSE; 4078 #line 4079 "tracker-bus.c" 4079 } 4080 } 4081 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4082 _data_->_tmp11_ = _data_->data_stream; 4083 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4084 _data_->_tmp12_ = _data_->sparql; 4085 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4086 g_data_output_stream_put_string (_data_->_tmp11_, _data_->_tmp12_, NULL, &_data_->_inner_error_); 4087 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4088 if (_data_->_inner_error_ != NULL) { 4089 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4090 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 4091 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4092 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 4093 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4094 g_error_free (_data_->_inner_error_); 4095 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4096 _g_object_unref0 (_data_->data_stream); 4097 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4098 _g_object_unref0 (_data_->output); 4099 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4100 _g_object_unref0 (_data_->input); 4101 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4102 block7_data_unref (_data_->_data7_); 4103 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4104 _data_->_data7_ = NULL; 4105 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4106 if (_data_->_state_ == 0) { 4107 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4108 g_simple_async_result_complete_in_idle (_data_->_async_result); 4109 #line 4110 "tracker-bus.c" 4110 } else { 4111 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4112 g_simple_async_result_complete (_data_->_async_result); 4113 #line 4114 "tracker-bus.c" 4114 } 4115 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4116 g_object_unref (_data_->_async_result); 4117 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4118 return FALSE; 4119 #line 4120 "tracker-bus.c" 4120 } else { 4121 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4122 _g_object_unref0 (_data_->data_stream); 4123 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4124 _g_object_unref0 (_data_->output); 4125 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4126 _g_object_unref0 (_data_->input); 4127 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4128 block7_data_unref (_data_->_data7_); 4129 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4130 _data_->_data7_ = NULL; 4131 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4132 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 4133 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4134 g_clear_error (&_data_->_inner_error_); 4135 #line 258 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4136 return FALSE; 4137 #line 4138 "tracker-bus.c" 4138 } 4139 } 4140 #line 259 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4141 _g_object_unref0 (_data_->data_stream); 4142 #line 259 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4143 _data_->data_stream = NULL; 4144 #line 262 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4145 _data_->_data7_->sent_update = TRUE; 4146 #line 263 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4147 _data_->_tmp13_ = _data_->_data7_->dbus_res; 4148 #line 263 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4149 if (_data_->_tmp13_ == NULL) { 4150 #line 264 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4151 _data_->_state_ = 1; 4152 #line 264 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4153 return FALSE; 4154 #line 4155 "tracker-bus.c" 4155 _state_1: 4156 ; 4157 } 4158 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4159 _data_->_tmp14_ = _data_->self->priv->bus; 4160 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4161 _data_->_tmp15_ = _data_->_data7_->dbus_res; 4162 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4163 _data_->_tmp16_ = NULL; 4164 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4165 _data_->_tmp16_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp14_, _data_->_tmp15_, &_data_->_inner_error_); 4166 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4167 _data_->reply = _data_->_tmp16_; 4168 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4169 if (_data_->_inner_error_ != NULL) { 4170 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4171 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 4172 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4173 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 4174 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4175 g_error_free (_data_->_inner_error_); 4176 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4177 _g_object_unref0 (_data_->data_stream); 4178 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4179 _g_object_unref0 (_data_->output); 4180 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4181 _g_object_unref0 (_data_->input); 4182 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4183 block7_data_unref (_data_->_data7_); 4184 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4185 _data_->_data7_ = NULL; 4186 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4187 if (_data_->_state_ == 0) { 4188 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4189 g_simple_async_result_complete_in_idle (_data_->_async_result); 4190 #line 4191 "tracker-bus.c" 4191 } else { 4192 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4193 g_simple_async_result_complete (_data_->_async_result); 4194 #line 4195 "tracker-bus.c" 4195 } 4196 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4197 g_object_unref (_data_->_async_result); 4198 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4199 return FALSE; 4200 #line 4201 "tracker-bus.c" 4201 } else { 4202 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4203 _g_object_unref0 (_data_->data_stream); 4204 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4205 _g_object_unref0 (_data_->output); 4206 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4207 _g_object_unref0 (_data_->input); 4208 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4209 block7_data_unref (_data_->_data7_); 4210 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4211 _data_->_data7_ = NULL; 4212 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4213 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 4214 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4215 g_clear_error (&_data_->_inner_error_); 4216 #line 267 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4217 return FALSE; 4218 #line 4219 "tracker-bus.c" 4219 } 4220 } 4221 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4222 _data_->_tmp17_ = _data_->reply; 4223 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4224 tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp17_, &_data_->_inner_error_); 4225 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4226 if (_data_->_inner_error_ != NULL) { 4227 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4228 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 4229 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4230 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 4231 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4232 g_error_free (_data_->_inner_error_); 4233 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4234 _g_object_unref0 (_data_->reply); 4235 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4236 _g_object_unref0 (_data_->data_stream); 4237 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4238 _g_object_unref0 (_data_->output); 4239 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4240 _g_object_unref0 (_data_->input); 4241 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4242 block7_data_unref (_data_->_data7_); 4243 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4244 _data_->_data7_ = NULL; 4245 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4246 if (_data_->_state_ == 0) { 4247 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4248 g_simple_async_result_complete_in_idle (_data_->_async_result); 4249 #line 4250 "tracker-bus.c" 4250 } else { 4251 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4252 g_simple_async_result_complete (_data_->_async_result); 4253 #line 4254 "tracker-bus.c" 4254 } 4255 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4256 g_object_unref (_data_->_async_result); 4257 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4258 return FALSE; 4259 #line 4260 "tracker-bus.c" 4260 } else { 4261 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4262 _g_object_unref0 (_data_->reply); 4263 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4264 _g_object_unref0 (_data_->data_stream); 4265 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4266 _g_object_unref0 (_data_->output); 4267 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4268 _g_object_unref0 (_data_->input); 4269 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4270 block7_data_unref (_data_->_data7_); 4271 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4272 _data_->_data7_ = NULL; 4273 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4274 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 4275 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4276 g_clear_error (&_data_->_inner_error_); 4277 #line 268 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4278 return FALSE; 4279 #line 4280 "tracker-bus.c" 4280 } 4281 } 4282 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4283 _data_->_tmp18_ = _data_->reply; 4284 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4285 _data_->_tmp19_ = NULL; 4286 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4287 _data_->_tmp19_ = g_dbus_message_get_body (_data_->_tmp18_); 4288 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4289 _data_->_tmp20_ = NULL; 4290 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4291 _data_->_tmp20_ = g_variant_get_child_value (_data_->_tmp19_, (gsize) 0); 4292 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4293 _data_->result = _data_->_tmp20_; 4294 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4295 _g_object_unref0 (_data_->reply); 4296 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4297 _g_object_unref0 (_data_->data_stream); 4298 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4299 _g_object_unref0 (_data_->output); 4300 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4301 _g_object_unref0 (_data_->input); 4302 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4303 block7_data_unref (_data_->_data7_); 4304 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4305 _data_->_data7_ = NULL; 4306 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4307 if (_data_->_state_ == 0) { 4308 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4309 g_simple_async_result_complete_in_idle (_data_->_async_result); 4310 #line 4311 "tracker-bus.c" 4311 } else { 4312 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4313 g_simple_async_result_complete (_data_->_async_result); 4314 #line 4315 "tracker-bus.c" 4315 } 4316 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4317 g_object_unref (_data_->_async_result); 4318 #line 269 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4319 return FALSE; 4320 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4321 _g_object_unref0 (_data_->reply); 4322 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4323 _g_object_unref0 (_data_->data_stream); 4324 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4325 _g_object_unref0 (_data_->output); 4326 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4327 _g_object_unref0 (_data_->input); 4328 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4329 block7_data_unref (_data_->_data7_); 4330 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4331 _data_->_data7_ = NULL; 4332 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4333 if (_data_->_state_ == 0) { 4334 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4335 g_simple_async_result_complete_in_idle (_data_->_async_result); 4336 #line 4337 "tracker-bus.c" 4337 } else { 4338 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4339 g_simple_async_result_complete (_data_->_async_result); 4340 #line 4341 "tracker-bus.c" 4341 } 4342 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4343 g_object_unref (_data_->_async_result); 4344 #line 239 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4345 return FALSE; 4346 #line 4347 "tracker-bus.c" 4347 } 4348 4349 4350 static void tracker_bus_connection_real_load (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GError** error) { 4351 TrackerBusConnection * self; 4352 GDBusMessage* _tmp0_; 4353 GDBusMessage* message; 4354 GDBusMessage* _tmp1_; 4355 GFile* _tmp2_; 4356 gchar* _tmp3_ = NULL; 4357 gchar* _tmp4_; 4358 GVariant* _tmp5_; 4359 GVariant* _tmp6_; 4360 GDBusConnection* _tmp7_; 4361 GDBusMessage* _tmp8_; 4362 gint _tmp9_; 4363 GCancellable* _tmp10_; 4364 GDBusMessage* _tmp11_ = NULL; 4365 GDBusMessage* reply; 4366 GDBusMessage* _tmp12_; 4367 GError * _inner_error_ = NULL; 4368 #line 272 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4369 self = (TrackerBusConnection*) base; 4370 #line 272 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4371 g_return_if_fail (file != NULL); 4372 #line 273 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4373 _tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_RESOURCES, TRACKER_DBUS_INTERFACE_RESOURCES, "Load"); 4374 #line 273 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4375 message = _tmp0_; 4376 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4377 _tmp1_ = message; 4378 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4379 _tmp2_ = file; 4380 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4381 _tmp3_ = g_file_get_uri (_tmp2_); 4382 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4383 _tmp4_ = _tmp3_; 4384 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4385 _tmp5_ = g_variant_new ("(s)", _tmp4_, NULL); 4386 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4387 g_variant_ref_sink (_tmp5_); 4388 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4389 _tmp6_ = _tmp5_; 4390 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4391 g_dbus_message_set_body (_tmp1_, _tmp6_); 4392 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4393 _g_variant_unref0 (_tmp6_); 4394 #line 274 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4395 _g_free0 (_tmp4_); 4396 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4397 _tmp7_ = self->priv->bus; 4398 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4399 _tmp8_ = message; 4400 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4401 _tmp9_ = G_MAXINT; 4402 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4403 _tmp10_ = cancellable; 4404 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4405 _tmp11_ = g_dbus_connection_send_message_with_reply_sync (_tmp7_, _tmp8_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp9_, NULL, _tmp10_, &_inner_error_); 4406 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4407 reply = _tmp11_; 4408 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4409 if (_inner_error_ != NULL) { 4410 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4411 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 4412 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4413 g_propagate_error (error, _inner_error_); 4414 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4415 _g_object_unref0 (message); 4416 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4417 return; 4418 #line 4419 "tracker-bus.c" 4419 } else { 4420 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4421 _g_object_unref0 (message); 4422 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4423 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 4424 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4425 g_clear_error (&_inner_error_); 4426 #line 276 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4427 return; 4428 #line 4429 "tracker-bus.c" 4429 } 4430 } 4431 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4432 _tmp12_ = reply; 4433 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4434 tracker_bus_connection_handle_error_reply (self, _tmp12_, &_inner_error_); 4435 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4436 if (_inner_error_ != NULL) { 4437 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4438 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 4439 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4440 g_propagate_error (error, _inner_error_); 4441 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4442 _g_object_unref0 (reply); 4443 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4444 _g_object_unref0 (message); 4445 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4446 return; 4447 #line 4448 "tracker-bus.c" 4448 } else { 4449 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4450 _g_object_unref0 (reply); 4451 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4452 _g_object_unref0 (message); 4453 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4454 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 4455 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4456 g_clear_error (&_inner_error_); 4457 #line 277 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4458 return; 4459 #line 4460 "tracker-bus.c" 4460 } 4461 } 4462 #line 272 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4463 _g_object_unref0 (reply); 4464 #line 272 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4465 _g_object_unref0 (message); 4466 #line 4467 "tracker-bus.c" 4467 } 4468 4469 4470 static void tracker_bus_connection_real_load_async_data_free (gpointer _data) { 4471 TrackerBusConnectionLoadAsyncData* _data_; 4472 _data_ = _data; 4473 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4474 _g_object_unref0 (_data_->file); 4475 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4476 _g_object_unref0 (_data_->cancellable); 4477 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4478 _g_object_unref0 (_data_->self); 4479 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4480 g_slice_free (TrackerBusConnectionLoadAsyncData, _data_); 4481 #line 4482 "tracker-bus.c" 4482 } 4483 4484 4485 static void tracker_bus_connection_real_load_async (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) { 4486 TrackerBusConnection * self; 4487 TrackerBusConnectionLoadAsyncData* _data_; 4488 TrackerBusConnection* _tmp0_; 4489 GFile* _tmp1_; 4490 GFile* _tmp2_; 4491 GCancellable* _tmp3_; 4492 GCancellable* _tmp4_; 4493 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4494 self = (TrackerBusConnection*) base; 4495 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4496 _data_ = g_slice_new0 (TrackerBusConnectionLoadAsyncData); 4497 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4498 _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_load_async); 4499 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4500 g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_load_async_data_free); 4501 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4502 _tmp0_ = _g_object_ref0 (self); 4503 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4504 _data_->self = _tmp0_; 4505 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4506 _tmp1_ = file; 4507 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4508 _tmp2_ = _g_object_ref0 (_tmp1_); 4509 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4510 _g_object_unref0 (_data_->file); 4511 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4512 _data_->file = _tmp2_; 4513 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4514 _tmp3_ = cancellable; 4515 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4516 _tmp4_ = _g_object_ref0 (_tmp3_); 4517 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4518 _g_object_unref0 (_data_->cancellable); 4519 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4520 _data_->cancellable = _tmp4_; 4521 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4522 tracker_bus_connection_real_load_async_co (_data_); 4523 #line 4524 "tracker-bus.c" 4524 } 4525 4526 4527 static void tracker_bus_connection_real_load_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) { 4528 TrackerBusConnectionLoadAsyncData* _data_;
variable '_data_' set but not used
(emitted by gcc)
4529 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4530 if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { 4531 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4532 return; 4533 #line 4534 "tracker-bus.c" 4534 } 4535 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4536 _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
Value stored to '_data_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4537 #line 4538 "tracker-bus.c" 4538 } 4539 4540 4541 static void tracker_bus_connection_load_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { 4542 TrackerBusConnectionLoadAsyncData* _data_; 4543 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4544 _data_ = _user_data_; 4545 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4546 _data_->_source_object_ = source_object; 4547 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4548 _data_->_res_ = _res_; 4549 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4550 tracker_bus_connection_real_load_async_co (_data_); 4551 #line 4552 "tracker-bus.c" 4552 } 4553 4554 4555 static gboolean tracker_bus_connection_real_load_async_co (TrackerBusConnectionLoadAsyncData* _data_) { 4556 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4557 switch (_data_->_state_) { 4558 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4559 case 0: 4560 #line 4561 "tracker-bus.c" 4561 goto _state_0; 4562 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4563 case 1: 4564 #line 4565 "tracker-bus.c" 4565 goto _state_1; 4566 default: 4567 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4568 g_assert_not_reached (); 4569 #line 4570 "tracker-bus.c" 4570 } 4571 _state_0: 4572 #line 281 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4573 _data_->_tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_RESOURCES, TRACKER_DBUS_INTERFACE_RESOURCES, "Load"); 4574 #line 281 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4575 _data_->message = _data_->_tmp0_; 4576 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4577 _data_->_tmp1_ = _data_->message; 4578 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4579 _data_->_tmp2_ = _data_->file; 4580 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4581 _data_->_tmp3_ = NULL; 4582 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4583 _data_->_tmp3_ = g_file_get_uri (_data_->_tmp2_); 4584 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4585 _data_->_tmp4_ = _data_->_tmp3_; 4586 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4587 _data_->_tmp5_ = g_variant_new ("(s)", _data_->_tmp4_, NULL); 4588 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4589 g_variant_ref_sink (_data_->_tmp5_); 4590 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4591 _data_->_tmp6_ = _data_->_tmp5_; 4592 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4593 g_dbus_message_set_body (_data_->_tmp1_, _data_->_tmp6_); 4594 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4595 _g_variant_unref0 (_data_->_tmp6_); 4596 #line 282 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4597 _g_free0 (_data_->_tmp4_); 4598 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4599 _data_->_tmp7_ = _data_->self->priv->bus; 4600 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4601 _data_->_tmp8_ = _data_->message; 4602 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4603 _data_->_tmp9_ = G_MAXINT; 4604 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4605 _data_->_tmp10_ = _data_->cancellable; 4606 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4607 _data_->_state_ = 1; 4608 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4609 g_dbus_connection_send_message_with_reply (_data_->_tmp7_, _data_->_tmp8_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _data_->_tmp9_, NULL, _data_->_tmp10_, tracker_bus_connection_load_async_ready, _data_); 4610 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4611 return FALSE; 4612 #line 4613 "tracker-bus.c" 4613 _state_1: 4614 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4615 _data_->_tmp11_ = NULL; 4616 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4617 _data_->_tmp11_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp7_, _data_->_res_, &_data_->_inner_error_); 4618 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4619 _data_->reply = _data_->_tmp11_; 4620 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4621 if (_data_->_inner_error_ != NULL) { 4622 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4623 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 4624 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4625 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 4626 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4627 g_error_free (_data_->_inner_error_); 4628 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4629 _g_object_unref0 (_data_->message); 4630 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4631 if (_data_->_state_ == 0) { 4632 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4633 g_simple_async_result_complete_in_idle (_data_->_async_result); 4634 #line 4635 "tracker-bus.c" 4635 } else { 4636 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4637 g_simple_async_result_complete (_data_->_async_result); 4638 #line 4639 "tracker-bus.c" 4639 } 4640 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4641 g_object_unref (_data_->_async_result); 4642 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4643 return FALSE; 4644 #line 4645 "tracker-bus.c" 4645 } else { 4646 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4647 _g_object_unref0 (_data_->message); 4648 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4649 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 4650 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4651 g_clear_error (&_data_->_inner_error_); 4652 #line 284 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4653 return FALSE; 4654 #line 4655 "tracker-bus.c" 4655 } 4656 } 4657 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4658 _data_->_tmp12_ = _data_->reply; 4659 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4660 tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp12_, &_data_->_inner_error_); 4661 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4662 if (_data_->_inner_error_ != NULL) { 4663 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4664 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 4665 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4666 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 4667 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4668 g_error_free (_data_->_inner_error_); 4669 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4670 _g_object_unref0 (_data_->reply); 4671 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4672 _g_object_unref0 (_data_->message); 4673 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4674 if (_data_->_state_ == 0) { 4675 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4676 g_simple_async_result_complete_in_idle (_data_->_async_result); 4677 #line 4678 "tracker-bus.c" 4678 } else { 4679 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4680 g_simple_async_result_complete (_data_->_async_result); 4681 #line 4682 "tracker-bus.c" 4682 } 4683 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4684 g_object_unref (_data_->_async_result); 4685 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4686 return FALSE; 4687 #line 4688 "tracker-bus.c" 4688 } else { 4689 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4690 _g_object_unref0 (_data_->reply); 4691 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4692 _g_object_unref0 (_data_->message); 4693 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4694 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 4695 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4696 g_clear_error (&_data_->_inner_error_); 4697 #line 285 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4698 return FALSE; 4699 #line 4700 "tracker-bus.c" 4700 } 4701 } 4702 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4703 _g_object_unref0 (_data_->reply); 4704 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4705 _g_object_unref0 (_data_->message); 4706 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4707 if (_data_->_state_ == 0) { 4708 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4709 g_simple_async_result_complete_in_idle (_data_->_async_result); 4710 #line 4711 "tracker-bus.c" 4711 } else { 4712 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4713 g_simple_async_result_complete (_data_->_async_result); 4714 #line 4715 "tracker-bus.c" 4715 } 4716 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4717 g_object_unref (_data_->_async_result); 4718 #line 280 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4719 return FALSE; 4720 #line 4721 "tracker-bus.c" 4721 } 4722 4723 4724 static gchar** _variant_get2 (GVariant* value, int* result_length1, int* result_length2) { 4725 gchar** _tmp12_; 4726 int _tmp12__length; 4727 int _tmp12__size; 4728 int _tmp12__length1; 4729 GVariantIter _tmp13_; 4730 GVariant* _tmp14_; 4731 _tmp12_ = g_new (gchar*, 5); 4732 _tmp12__length = 0; 4733 _tmp12__size = 4; 4734 _tmp12__length1 = 0; 4735 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4736 g_variant_iter_init (&_tmp13_, value); 4737 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4738 for (; (_tmp14_ = g_variant_iter_next_value (&_tmp13_)) != NULL; _tmp12__length1++) { 4739 #line 4740 "tracker-bus.c" 4740 int _tmp12__length2; 4741 GVariantIter _tmp15_; 4742 GVariant* _tmp16_; 4743 _tmp12__length2 = 0; 4744 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4745 g_variant_iter_init (&_tmp15_, _tmp14_); 4746 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4747 for (; (_tmp16_ = g_variant_iter_next_value (&_tmp15_)) != NULL; _tmp12__length2++) { 4748 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4749 if (_tmp12__size == _tmp12__length) { 4750 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4751 _tmp12__size = 2 * _tmp12__size; 4752 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4753 _tmp12_ = g_renew (gchar*, _tmp12_, _tmp12__size + 1); 4754 #line 4755 "tracker-bus.c" 4755 } 4756 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4757 _tmp12_[_tmp12__length++] = g_variant_dup_string (_tmp16_, NULL); 4758 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4759 g_variant_unref (_tmp16_); 4760 #line 4761 "tracker-bus.c" 4761 } 4762 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4763 *result_length2 = _tmp12__length2; 4764 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4765 g_variant_unref (_tmp14_); 4766 #line 4767 "tracker-bus.c" 4767 } 4768 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4769 *result_length1 = _tmp12__length1; 4770 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4771 _tmp12_[_tmp12__length] = NULL; 4772 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4773 return _tmp12_; 4774 #line 4775 "tracker-bus.c" 4775 } 4776 4777 4778 static TrackerSparqlCursor* tracker_bus_connection_real_statistics (TrackerSparqlConnection* base, GCancellable* cancellable, GError** error) { 4779 TrackerBusConnection * self; 4780 TrackerSparqlCursor* result = NULL; 4781 GDBusMessage* _tmp0_; 4782 GDBusMessage* message; 4783 GDBusConnection* _tmp1_; 4784 GDBusMessage* _tmp2_; 4785 gint _tmp3_; 4786 GCancellable* _tmp4_; 4787 GDBusMessage* _tmp5_ = NULL; 4788 GDBusMessage* reply; 4789 GDBusMessage* _tmp6_; 4790 GDBusMessage* _tmp7_; 4791 GVariant* _tmp8_ = NULL; 4792 GVariant* _tmp9_ = NULL; 4793 GVariant* _tmp10_; 4794 gchar** _tmp11_; 4795 gint _tmp11__length1; 4796 gint _tmp11__length2; 4797 gchar** _tmp17_; 4798 gint _tmp17__length1; 4799 gint _tmp17__length2; 4800 gchar** results; 4801 gint results_length1; 4802 gint results_length2; 4803 TrackerSparqlValueType* _tmp18_ = NULL; 4804 TrackerSparqlValueType* types; 4805 gint types_length1; 4806 gint _types_size_; 4807 gchar** _tmp19_ = NULL; 4808 gchar** var_names; 4809 gint var_names_length1; 4810 gint _var_names_size_; 4811 gchar** _tmp20_; 4812 gint _tmp20__length1; 4813 gchar* _tmp21_; 4814 gchar* _tmp22_; 4815 gchar** _tmp23_; 4816 gint _tmp23__length1; 4817 gchar* _tmp24_; 4818 gchar* _tmp25_; 4819 TrackerSparqlValueType* _tmp26_; 4820 gint _tmp26__length1; 4821 TrackerSparqlValueType _tmp27_; 4822 TrackerSparqlValueType* _tmp28_; 4823 gint _tmp28__length1; 4824 TrackerSparqlValueType _tmp29_; 4825 gchar** _tmp30_; 4826 gint _tmp30__length1; 4827 gint _tmp30__length2; 4828 gchar** _tmp31_; 4829 gint _tmp31__length1; 4830 gint _tmp31__length2; 4831 gint _tmp32_; 4832 gchar** _tmp33_; 4833 gint _tmp33__length1;
variable '_tmp33__length1' set but not used
(emitted by gcc)
4834 gint _tmp33__length2; 4835 gint _tmp34_; 4836 gchar** _tmp35_; 4837 gint _tmp35__length1; 4838 TrackerSparqlValueType* _tmp36_; 4839 gint _tmp36__length1; 4840 TrackerBusArrayCursor* _tmp37_; 4841 GError * _inner_error_ = NULL; 4842 #line 288 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4843 self = (TrackerBusConnection*) base; 4844 #line 289 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4845 _tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STATISTICS, TRACKER_DBUS_INTERFACE_STATISTICS, "Get"); 4846 #line 289 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4847 message = _tmp0_; 4848 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4849 _tmp1_ = self->priv->bus; 4850 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4851 _tmp2_ = message; 4852 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4853 _tmp3_ = G_MAXINT; 4854 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4855 _tmp4_ = cancellable; 4856 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4857 _tmp5_ = g_dbus_connection_send_message_with_reply_sync (_tmp1_, _tmp2_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp3_, NULL, _tmp4_, &_inner_error_); 4858 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4859 reply = _tmp5_; 4860 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4861 if (_inner_error_ != NULL) { 4862 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4863 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 4864 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4865 g_propagate_error (error, _inner_error_); 4866 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4867 _g_object_unref0 (message); 4868 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4869 return NULL; 4870 #line 4871 "tracker-bus.c" 4871 } else { 4872 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4873 _g_object_unref0 (message); 4874 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4875 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 4876 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4877 g_clear_error (&_inner_error_); 4878 #line 291 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4879 return NULL; 4880 #line 4881 "tracker-bus.c" 4881 } 4882 } 4883 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4884 _tmp6_ = reply; 4885 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4886 tracker_bus_connection_handle_error_reply (self, _tmp6_, &_inner_error_); 4887 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4888 if (_inner_error_ != NULL) { 4889 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4890 if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) { 4891 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4892 g_propagate_error (error, _inner_error_); 4893 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4894 _g_object_unref0 (reply); 4895 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4896 _g_object_unref0 (message); 4897 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4898 return NULL; 4899 #line 4900 "tracker-bus.c" 4900 } else { 4901 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4902 _g_object_unref0 (reply); 4903 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4904 _g_object_unref0 (message); 4905 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4906 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); 4907 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4908 g_clear_error (&_inner_error_); 4909 #line 292 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4910 return NULL; 4911 #line 4912 "tracker-bus.c" 4912 } 4913 } 4914 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4915 _tmp7_ = reply; 4916 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4917 _tmp8_ = g_dbus_message_get_body (_tmp7_); 4918 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4919 _tmp9_ = g_variant_get_child_value (_tmp8_, (gsize) 0); 4920 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4921 _tmp10_ = _tmp9_; 4922 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4923 _tmp11_ = _variant_get2 (_tmp10_, &_tmp11__length1, &_tmp11__length2); 4924 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4925 _tmp17_ = _tmp11_; 4926 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4927 _tmp17__length1 = _tmp11__length1; 4928 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4929 _tmp17__length2 = _tmp11__length2;
Assigned value is garbage or undefined
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4930 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4931 _g_variant_unref0 (_tmp10_); 4932 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4933 results = _tmp17_; 4934 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4935 results_length1 = _tmp17__length1; 4936 #line 294 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4937 results_length2 = _tmp17__length2; 4938 #line 295 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4939 _tmp18_ = g_new0 (TrackerSparqlValueType, 2); 4940 #line 295 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4941 types = _tmp18_; 4942 #line 295 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4943 types_length1 = 2; 4944 #line 295 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4945 _types_size_ = types_length1;
Value stored to '_types_size_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4946 #line 296 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4947 _tmp19_ = g_new0 (gchar*, 2 + 1); 4948 #line 296 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4949 var_names = _tmp19_; 4950 #line 296 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4951 var_names_length1 = 2; 4952 #line 296 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4953 _var_names_size_ = var_names_length1;
Value stored to '_var_names_size_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4954 #line 298 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4955 _tmp20_ = var_names; 4956 #line 298 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4957 _tmp20__length1 = var_names_length1;
Value stored to '_tmp20__length1' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4958 #line 298 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4959 _tmp21_ = g_strdup ("class"); 4960 #line 298 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4961 _g_free0 (_tmp20_[0]); 4962 #line 298 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4963 _tmp20_[0] = _tmp21_; 4964 #line 298 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4965 _tmp22_ = _tmp20_[0];
Value stored to '_tmp22_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4966 #line 299 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4967 _tmp23_ = var_names; 4968 #line 299 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4969 _tmp23__length1 = var_names_length1;
Value stored to '_tmp23__length1' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4970 #line 299 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4971 _tmp24_ = g_strdup ("count"); 4972 #line 299 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4973 _g_free0 (_tmp23_[1]); 4974 #line 299 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4975 _tmp23_[1] = _tmp24_; 4976 #line 299 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4977 _tmp25_ = _tmp23_[1];
Value stored to '_tmp25_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4978 #line 300 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4979 _tmp26_ = types; 4980 #line 300 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4981 _tmp26__length1 = types_length1;
Value stored to '_tmp26__length1' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4982 #line 300 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4983 _tmp26_[0] = TRACKER_SPARQL_VALUE_TYPE_STRING; 4984 #line 300 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4985 _tmp27_ = _tmp26_[0];
Value stored to '_tmp27_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4986 #line 301 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4987 _tmp28_ = types; 4988 #line 301 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4989 _tmp28__length1 = types_length1;
Value stored to '_tmp28__length1' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4990 #line 301 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4991 _tmp28_[1] = TRACKER_SPARQL_VALUE_TYPE_INTEGER; 4992 #line 301 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4993 _tmp29_ = _tmp28_[1];
Value stored to '_tmp29_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

4994 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4995 _tmp30_ = results; 4996 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4997 _tmp30__length1 = results_length1; 4998 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 4999 _tmp30__length2 = results_length2; 5000 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5001 results = NULL; 5002 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5003 _tmp31_ = results;
Value stored to '_tmp31_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

5004 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5005 _tmp31__length1 = results_length1; 5006 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5007 _tmp31__length2 = results_length2;
Value stored to '_tmp31__length2' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

5008 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5009 _tmp32_ = _tmp31__length1; 5010 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5011 _tmp33_ = results;
Value stored to '_tmp33_' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

5012 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5013 _tmp33__length1 = results_length1;
Value stored to '_tmp33__length1' is never read
(emitted by clang-analyzer)

TODO: a detailed trace is available in the data model (not yet rendered in this report)

5014 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5015 _tmp33__length2 = results_length2; 5016 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5017 _tmp34_ = _tmp33__length2; 5018 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5019 _tmp35_ = var_names; 5020 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5021 _tmp35__length1 = var_names_length1; 5022 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5023 _tmp36_ = types; 5024 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5025 _tmp36__length1 = types_length1; 5026 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5027 _tmp37_ = tracker_bus_array_cursor_new (_tmp30_, _tmp30__length1, _tmp30__length2, _tmp32_, _tmp34_, _tmp35_, _tmp35__length1, _tmp36_, _tmp36__length1); 5028 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5029 result = (TrackerSparqlCursor*) _tmp37_; 5030 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5031 var_names = (_vala_array_free (var_names, var_names_length1, (GDestroyNotify) g_free), NULL); 5032 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5033 types = (g_free (types), NULL); 5034 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5035 results = (_vala_array_free (results, results_length1 * results_length2, (GDestroyNotify) g_free), NULL); 5036 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5037 _g_object_unref0 (reply); 5038 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5039 _g_object_unref0 (message); 5040 #line 303 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5041 return result; 5042 #line 5043 "tracker-bus.c" 5043 } 5044 5045 5046 static void tracker_bus_connection_real_statistics_async_data_free (gpointer _data) { 5047 TrackerBusConnectionStatisticsAsyncData* _data_; 5048 _data_ = _data; 5049 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5050 _g_object_unref0 (_data_->cancellable); 5051 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5052 _g_object_unref0 (_data_->result); 5053 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5054 _g_object_unref0 (_data_->self); 5055 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5056 g_slice_free (TrackerBusConnectionStatisticsAsyncData, _data_); 5057 #line 5058 "tracker-bus.c" 5058 } 5059 5060 5061 static void tracker_bus_connection_real_statistics_async (TrackerSparqlConnection* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) { 5062 TrackerBusConnection * self; 5063 TrackerBusConnectionStatisticsAsyncData* _data_; 5064 TrackerBusConnection* _tmp0_; 5065 GCancellable* _tmp1_; 5066 GCancellable* _tmp2_; 5067 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5068 self = (TrackerBusConnection*) base; 5069 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5070 _data_ = g_slice_new0 (TrackerBusConnectionStatisticsAsyncData); 5071 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5072 _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_statistics_async); 5073 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5074 g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_statistics_async_data_free); 5075 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5076 _tmp0_ = _g_object_ref0 (self); 5077 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5078 _data_->self = _tmp0_; 5079 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5080 _tmp1_ = cancellable; 5081 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5082 _tmp2_ = _g_object_ref0 (_tmp1_); 5083 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5084 _g_object_unref0 (_data_->cancellable); 5085 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5086 _data_->cancellable = _tmp2_; 5087 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5088 tracker_bus_connection_real_statistics_async_co (_data_); 5089 #line 5090 "tracker-bus.c" 5090 } 5091 5092 5093 static TrackerSparqlCursor* tracker_bus_connection_real_statistics_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) { 5094 TrackerSparqlCursor* result; 5095 TrackerBusConnectionStatisticsAsyncData* _data_; 5096 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5097 if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) { 5098 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5099 return NULL; 5100 #line 5101 "tracker-bus.c" 5101 } 5102 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5103 _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_)); 5104 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5105 result = _data_->result; 5106 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5107 _data_->result = NULL; 5108 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5109 return result; 5110 #line 5111 "tracker-bus.c" 5111 } 5112 5113 5114 static void tracker_bus_connection_statistics_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) { 5115 TrackerBusConnectionStatisticsAsyncData* _data_; 5116 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5117 _data_ = _user_data_; 5118 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5119 _data_->_source_object_ = source_object; 5120 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5121 _data_->_res_ = _res_; 5122 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5123 tracker_bus_connection_real_statistics_async_co (_data_); 5124 #line 5125 "tracker-bus.c" 5125 } 5126 5127 5128 static gchar** _variant_get3 (GVariant* value, int* result_length1, int* result_length2) { 5129 gchar** _tmp12_; 5130 int _tmp12__length; 5131 int _tmp12__size; 5132 int _tmp12__length1; 5133 GVariantIter _tmp13_; 5134 GVariant* _tmp14_; 5135 _tmp12_ = g_new (gchar*, 5); 5136 _tmp12__length = 0; 5137 _tmp12__size = 4; 5138 _tmp12__length1 = 0; 5139 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5140 g_variant_iter_init (&_tmp13_, value); 5141 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5142 for (; (_tmp14_ = g_variant_iter_next_value (&_tmp13_)) != NULL; _tmp12__length1++) { 5143 #line 5144 "tracker-bus.c" 5144 int _tmp12__length2; 5145 GVariantIter _tmp15_; 5146 GVariant* _tmp16_; 5147 _tmp12__length2 = 0; 5148 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5149 g_variant_iter_init (&_tmp15_, _tmp14_); 5150 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5151 for (; (_tmp16_ = g_variant_iter_next_value (&_tmp15_)) != NULL; _tmp12__length2++) { 5152 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5153 if (_tmp12__size == _tmp12__length) { 5154 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5155 _tmp12__size = 2 * _tmp12__size; 5156 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5157 _tmp12_ = g_renew (gchar*, _tmp12_, _tmp12__size + 1); 5158 #line 5159 "tracker-bus.c" 5159 } 5160 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5161 _tmp12_[_tmp12__length++] = g_variant_dup_string (_tmp16_, NULL); 5162 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5163 g_variant_unref (_tmp16_); 5164 #line 5165 "tracker-bus.c" 5165 } 5166 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5167 *result_length2 = _tmp12__length2; 5168 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5169 g_variant_unref (_tmp14_); 5170 #line 5171 "tracker-bus.c" 5171 } 5172 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5173 *result_length1 = _tmp12__length1; 5174 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5175 _tmp12_[_tmp12__length] = NULL; 5176 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5177 return _tmp12_; 5178 #line 5179 "tracker-bus.c" 5179 } 5180 5181 5182 static gboolean tracker_bus_connection_real_statistics_async_co (TrackerBusConnectionStatisticsAsyncData* _data_) { 5183 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5184 switch (_data_->_state_) { 5185 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5186 case 0: 5187 #line 5188 "tracker-bus.c" 5188 goto _state_0; 5189 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5190 case 1: 5191 #line 5192 "tracker-bus.c" 5192 goto _state_1; 5193 default: 5194 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5195 g_assert_not_reached (); 5196 #line 5197 "tracker-bus.c" 5197 } 5198 _state_0: 5199 #line 311 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5200 _data_->_tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STATISTICS, TRACKER_DBUS_INTERFACE_STATISTICS, "Get"); 5201 #line 311 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5202 _data_->message = _data_->_tmp0_; 5203 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5204 _data_->_tmp1_ = _data_->self->priv->bus; 5205 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5206 _data_->_tmp2_ = _data_->message; 5207 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5208 _data_->_tmp3_ = G_MAXINT; 5209 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5210 _data_->_tmp4_ = _data_->cancellable; 5211 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5212 _data_->_state_ = 1; 5213 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5214 g_dbus_connection_send_message_with_reply (_data_->_tmp1_, _data_->_tmp2_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _data_->_tmp3_, NULL, _data_->_tmp4_, tracker_bus_connection_statistics_async_ready, _data_); 5215 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5216 return FALSE; 5217 #line 5218 "tracker-bus.c" 5218 _state_1: 5219 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5220 _data_->_tmp5_ = NULL; 5221 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5222 _data_->_tmp5_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp1_, _data_->_res_, &_data_->_inner_error_); 5223 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5224 _data_->reply = _data_->_tmp5_; 5225 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5226 if (_data_->_inner_error_ != NULL) { 5227 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5228 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 5229 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5230 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 5231 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5232 g_error_free (_data_->_inner_error_); 5233 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5234 _g_object_unref0 (_data_->message); 5235 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5236 if (_data_->_state_ == 0) { 5237 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5238 g_simple_async_result_complete_in_idle (_data_->_async_result); 5239 #line 5240 "tracker-bus.c" 5240 } else { 5241 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5242 g_simple_async_result_complete (_data_->_async_result); 5243 #line 5244 "tracker-bus.c" 5244 } 5245 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5246 g_object_unref (_data_->_async_result); 5247 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5248 return FALSE; 5249 #line 5250 "tracker-bus.c" 5250 } else { 5251 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5252 _g_object_unref0 (_data_->message); 5253 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5254 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 5255 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5256 g_clear_error (&_data_->_inner_error_); 5257 #line 313 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5258 return FALSE; 5259 #line 5260 "tracker-bus.c" 5260 } 5261 } 5262 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5263 _data_->_tmp6_ = _data_->reply; 5264 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5265 tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp6_, &_data_->_inner_error_); 5266 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5267 if (_data_->_inner_error_ != NULL) { 5268 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5269 if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) { 5270 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5271 g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_); 5272 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5273 g_error_free (_data_->_inner_error_); 5274 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5275 _g_object_unref0 (_data_->reply); 5276 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5277 _g_object_unref0 (_data_->message); 5278 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5279 if (_data_->_state_ == 0) { 5280 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5281 g_simple_async_result_complete_in_idle (_data_->_async_result); 5282 #line 5283 "tracker-bus.c" 5283 } else { 5284 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5285 g_simple_async_result_complete (_data_->_async_result); 5286 #line 5287 "tracker-bus.c" 5287 } 5288 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5289 g_object_unref (_data_->_async_result); 5290 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5291 return FALSE; 5292 #line 5293 "tracker-bus.c" 5293 } else { 5294 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5295 _g_object_unref0 (_data_->reply); 5296 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5297 _g_object_unref0 (_data_->message); 5298 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5299 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code); 5300 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5301 g_clear_error (&_data_->_inner_error_); 5302 #line 314 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5303 return FALSE; 5304 #line 5305 "tracker-bus.c" 5305 } 5306 } 5307 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5308 _data_->_tmp7_ = _data_->reply; 5309 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5310 _data_->_tmp8_ = NULL; 5311 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5312 _data_->_tmp8_ = g_dbus_message_get_body (_data_->_tmp7_); 5313 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5314 _data_->_tmp9_ = NULL; 5315 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5316 _data_->_tmp9_ = g_variant_get_child_value (_data_->_tmp8_, (gsize) 0); 5317 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5318 _data_->_tmp10_ = _data_->_tmp9_; 5319 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5320 _data_->_tmp11_ = _variant_get3 (_data_->_tmp10_, &_data_->_tmp11__length1, &_data_->_tmp11__length2); 5321 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5322 _data_->_tmp17_ = _data_->_tmp11_; 5323 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5324 _data_->_tmp17__length1 = _data_->_tmp11__length1; 5325 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5326 _data_->_tmp17__length2 = _data_->_tmp11__length2; 5327 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5328 _g_variant_unref0 (_data_->_tmp10_); 5329 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5330 _data_->results = _data_->_tmp17_; 5331 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5332 _data_->results_length1 = _data_->_tmp17__length1; 5333 #line 316 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5334 _data_->results_length2 = _data_->_tmp17__length2; 5335 #line 317 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5336 _data_->_tmp18_ = NULL; 5337 #line 317 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5338 _data_->_tmp18_ = g_new0 (TrackerSparqlValueType, 2); 5339 #line 317 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5340 _data_->types = _data_->_tmp18_; 5341 #line 317 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5342 _data_->types_length1 = 2; 5343 #line 317 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5344 _data_->_types_size_ = _data_->types_length1; 5345 #line 318 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5346 _data_->_tmp19_ = NULL; 5347 #line 318 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5348 _data_->_tmp19_ = g_new0 (gchar*, 2 + 1); 5349 #line 318 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5350 _data_->var_names = _data_->_tmp19_; 5351 #line 318 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5352 _data_->var_names_length1 = 2; 5353 #line 318 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5354 _data_->_var_names_size_ = _data_->var_names_length1; 5355 #line 320 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5356 _data_->_tmp20_ = _data_->var_names; 5357 #line 320 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5358 _data_->_tmp20__length1 = _data_->var_names_length1; 5359 #line 320 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5360 _data_->_tmp21_ = g_strdup ("class"); 5361 #line 320 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5362 _g_free0 (_data_->_tmp20_[0]); 5363 #line 320 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5364 _data_->_tmp20_[0] = _data_->_tmp21_; 5365 #line 320 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5366 _data_->_tmp22_ = _data_->_tmp20_[0]; 5367 #line 321 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5368 _data_->_tmp23_ = _data_->var_names; 5369 #line 321 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5370 _data_->_tmp23__length1 = _data_->var_names_length1; 5371 #line 321 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5372 _data_->_tmp24_ = g_strdup ("count"); 5373 #line 321 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5374 _g_free0 (_data_->_tmp23_[1]); 5375 #line 321 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5376 _data_->_tmp23_[1] = _data_->_tmp24_; 5377 #line 321 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5378 _data_->_tmp25_ = _data_->_tmp23_[1]; 5379 #line 322 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5380 _data_->_tmp26_ = _data_->types; 5381 #line 322 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5382 _data_->_tmp26__length1 = _data_->types_length1; 5383 #line 322 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5384 _data_->_tmp26_[0] = TRACKER_SPARQL_VALUE_TYPE_STRING; 5385 #line 322 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5386 _data_->_tmp27_ = _data_->_tmp26_[0]; 5387 #line 323 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5388 _data_->_tmp28_ = _data_->types; 5389 #line 323 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5390 _data_->_tmp28__length1 = _data_->types_length1; 5391 #line 323 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5392 _data_->_tmp28_[1] = TRACKER_SPARQL_VALUE_TYPE_INTEGER; 5393 #line 323 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5394 _data_->_tmp29_ = _data_->_tmp28_[1]; 5395 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5396 _data_->_tmp30_ = _data_->results; 5397 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5398 _data_->_tmp30__length1 = _data_->results_length1; 5399 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5400 _data_->_tmp30__length2 = _data_->results_length2; 5401 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5402 _data_->results = NULL; 5403 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5404 _data_->_tmp31_ = _data_->results; 5405 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5406 _data_->_tmp31__length1 = _data_->results_length1; 5407 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5408 _data_->_tmp31__length2 = _data_->results_length2; 5409 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5410 _data_->_tmp32_ = _data_->_tmp31__length1; 5411 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5412 _data_->_tmp33_ = _data_->results; 5413 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5414 _data_->_tmp33__length1 = _data_->results_length1; 5415 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5416 _data_->_tmp33__length2 = _data_->results_length2; 5417 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5418 _data_->_tmp34_ = _data_->_tmp33__length2; 5419 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5420 _data_->_tmp35_ = _data_->var_names; 5421 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5422 _data_->_tmp35__length1 = _data_->var_names_length1; 5423 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5424 _data_->_tmp36_ = _data_->types; 5425 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5426 _data_->_tmp36__length1 = _data_->types_length1; 5427 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5428 _data_->_tmp37_ = tracker_bus_array_cursor_new (_data_->_tmp30_, _data_->_tmp30__length1, _data_->_tmp30__length2, _data_->_tmp32_, _data_->_tmp34_, _data_->_tmp35_, _data_->_tmp35__length1, _data_->_tmp36_, _data_->_tmp36__length1); 5429 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5430 _data_->result = (TrackerSparqlCursor*) _data_->_tmp37_; 5431 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5432 _data_->var_names = (_vala_array_free (_data_->var_names, _data_->var_names_length1, (GDestroyNotify) g_free), NULL); 5433 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5434 _data_->types = (g_free (_data_->types), NULL); 5435 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5436 _data_->results = (_vala_array_free (_data_->results, _data_->results_length1 * _data_->results_length2, (GDestroyNotify) g_free), NULL); 5437 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5438 _g_object_unref0 (_data_->reply); 5439 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5440 _g_object_unref0 (_data_->message); 5441 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5442 if (_data_->_state_ == 0) { 5443 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5444 g_simple_async_result_complete_in_idle (_data_->_async_result); 5445 #line 5446 "tracker-bus.c" 5446 } else { 5447 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5448 g_simple_async_result_complete (_data_->_async_result); 5449 #line 5450 "tracker-bus.c" 5450 } 5451 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5452 g_object_unref (_data_->_async_result); 5453 #line 325 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5454 return FALSE; 5455 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5456 _data_->var_names = (_vala_array_free (_data_->var_names, _data_->var_names_length1, (GDestroyNotify) g_free), NULL); 5457 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5458 _data_->types = (g_free (_data_->types), NULL); 5459 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5460 _data_->results = (_vala_array_free (_data_->results, _data_->results_length1 * _data_->results_length2, (GDestroyNotify) g_free), NULL); 5461 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5462 _g_object_unref0 (_data_->reply); 5463 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5464 _g_object_unref0 (_data_->message); 5465 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5466 if (_data_->_state_ == 0) { 5467 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5468 g_simple_async_result_complete_in_idle (_data_->_async_result); 5469 #line 5470 "tracker-bus.c" 5470 } else { 5471 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5472 g_simple_async_result_complete (_data_->_async_result); 5473 #line 5474 "tracker-bus.c" 5474 } 5475 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5476 g_object_unref (_data_->_async_result); 5477 #line 310 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5478 return FALSE; 5479 #line 5480 "tracker-bus.c" 5480 } 5481 5482 5483 static void tracker_bus_connection_class_init (TrackerBusConnectionClass * klass) { 5484 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5485 tracker_bus_connection_parent_class = g_type_class_peek_parent (klass); 5486 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5487 g_type_class_add_private (klass, sizeof (TrackerBusConnectionPrivate)); 5488 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5489 TRACKER_SPARQL_CONNECTION_CLASS (klass)->query = tracker_bus_connection_real_query; 5490 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5491 TRACKER_SPARQL_CONNECTION_CLASS (klass)->query_async = tracker_bus_connection_real_query_async; 5492 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5493 TRACKER_SPARQL_CONNECTION_CLASS (klass)->query_finish = tracker_bus_connection_real_query_finish; 5494 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5495 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update = tracker_bus_connection_real_update; 5496 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5497 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_async = tracker_bus_connection_real_update_async; 5498 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5499 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_finish = tracker_bus_connection_real_update_finish; 5500 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5501 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_array_async = tracker_bus_connection_real_update_array_async; 5502 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5503 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_array_finish = tracker_bus_connection_real_update_array_finish; 5504 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5505 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_blank = tracker_bus_connection_real_update_blank; 5506 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5507 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_blank_async = tracker_bus_connection_real_update_blank_async; 5508 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5509 TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_blank_finish = tracker_bus_connection_real_update_blank_finish; 5510 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5511 TRACKER_SPARQL_CONNECTION_CLASS (klass)->load = tracker_bus_connection_real_load; 5512 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5513 TRACKER_SPARQL_CONNECTION_CLASS (klass)->load_async = tracker_bus_connection_real_load_async; 5514 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5515 TRACKER_SPARQL_CONNECTION_CLASS (klass)->load_finish = tracker_bus_connection_real_load_finish; 5516 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5517 TRACKER_SPARQL_CONNECTION_CLASS (klass)->statistics = tracker_bus_connection_real_statistics; 5518 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5519 TRACKER_SPARQL_CONNECTION_CLASS (klass)->statistics_async = tracker_bus_connection_real_statistics_async; 5520 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5521 TRACKER_SPARQL_CONNECTION_CLASS (klass)->statistics_finish = tracker_bus_connection_real_statistics_finish; 5522 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5523 G_OBJECT_CLASS (klass)->finalize = tracker_bus_connection_finalize; 5524 #line 5525 "tracker-bus.c" 5525 } 5526 5527 5528 static void tracker_bus_connection_instance_init (TrackerBusConnection * self) { 5529 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5530 self->priv = TRACKER_BUS_CONNECTION_GET_PRIVATE (self); 5531 #line 5532 "tracker-bus.c" 5532 } 5533 5534 5535 static void tracker_bus_connection_finalize (GObject* obj) { 5536 TrackerBusConnection * self; 5537 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5538 self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnection); 5539 #line 21 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5540 _g_object_unref0 (self->priv->bus); 5541 #line 20 "/home/martyn/Source/tracker/src/libtracker-bus/tracker-bus.vala" 5542 G_OBJECT_CLASS (tracker_bus_connection_parent_class)->finalize (obj); 5543 #line 5544 "tracker-bus.c" 5544 } 5545 5546 5547 GType tracker_bus_connection_get_type (void) { 5548 static volatile gsize tracker_bus_connection_type_id__volatile = 0; 5549 if (g_once_init_enter (&tracker_bus_connection_type_id__volatile)) { 5550 static const GTypeInfo g_define_type_info = { sizeof (TrackerBusConnectionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_bus_connection_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerBusConnection), 0, (GInstanceInitFunc) tracker_bus_connection_instance_init, NULL }; 5551 GType tracker_bus_connection_type_id; 5552 tracker_bus_connection_type_id = g_type_register_static (TRACKER_SPARQL_TYPE_CONNECTION, "TrackerBusConnection", &g_define_type_info, 0); 5553 g_once_init_leave (&tracker_bus_connection_type_id__volatile, tracker_bus_connection_type_id); 5554 } 5555 return tracker_bus_connection_type_id__volatile; 5556 } 5557 5558 5559 static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { 5560 if ((array != NULL) && (destroy_func != NULL)) { 5561 int i; 5562 for (i = 0; i < array_length; i = i + 1) { 5563 if (((gpointer*) array)[i] != NULL) { 5564 destroy_func (((gpointer*) array)[i]); 5565 } 5566 } 5567 } 5568 } 5569 5570 5571 static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { 5572 _vala_array_destroy (array, array_length, destroy_func); 5573 g_free (array); 5574 }