Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions | Variables
test-remote-scope.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <unity-internal.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <gio/gio.h>
#include <dee.h>
#include <gobject/gvaluecollector.h>

Go to the source code of this file.

Classes

struct  _Main
struct  _MainClass
struct  _Block1Data
struct  _Block2Data
struct  _Block3Data
struct  _Block4Data
struct  _Block5Data
struct  _Block6Data
struct  _Block7Data
struct  _Block8Data
struct  _Block9Data
struct  _Block10Data
struct  _Block11Data
struct  _Block12Data
struct  _Block13Data
struct  _Block14Data
struct  _ParamSpecMain

Defines

#define TYPE_MAIN   (main_get_type ())
#define MAIN(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MAIN, Main))
#define MAIN_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MAIN, MainClass))
#define IS_MAIN(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MAIN))
#define IS_MAIN_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MAIN))
#define MAIN_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MAIN, MainClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_main_loop_unref0(var)   ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _vala_assert(expr, msg)   if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

Typedefs

typedef struct _Main
typedef struct _MainClass
typedef struct _MainPrivate
typedef struct _Block1Data
typedef struct _Block2Data
typedef struct _Block3Data
typedef struct _Block4Data
typedef struct _Block5Data
typedef struct _Block6Data
typedef struct _Block7Data
typedef struct _Block8Data
typedef struct _Block9Data
typedef struct _Block10Data
typedef struct _Block11Data
typedef struct _Block12Data
typedef struct _Block13Data
typedef struct _Block14Data
typedef struct _ParamSpecMain

Functions

gpointer main_ref (gpointer instance)
void main_unref (gpointer instance)
GParamSpec * param_spec_main (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags)
void value_set_main (GValue *value, gpointer v_object)
void value_take_main (GValue *value, gpointer v_object)
gpointer value_get_main (const GValue *value)
GType main_get_type (void)
gint main_main (gchar **args, int args_length1)
void main_test_scope_export (void)
static void _main_test_scope_export_gtest_data_func (gpointer self)
void main_test_scope_search (void)
static void _main_test_scope_search_gtest_data_func (gpointer self)
void main_test_scope_search2 (void)
static void _main_test_scope_search2_gtest_data_func (gpointer self)
void main_test_scope_successive_searches (void)
static void _main_test_scope_successive_searches_gtest_data_func (gpointer self)
void main_test_scope_two_searches (void)
static void _main_test_scope_two_searches_gtest_data_func (gpointer self)
void main_test_scope_model_sync (void)
static void _main_test_scope_model_sync_gtest_data_func (gpointer self)
void main_test_scope_reply_hint (void)
static void _main_test_scope_reply_hint_gtest_data_func (gpointer self)
void main_test_scope_sources (void)
static void _main_test_scope_sources_gtest_data_func (gpointer self)
void main_test_scope_finalize (void)
static void _main_test_scope_finalize_gtest_data_func (gpointer self)
static void __lambda2_ (void)
static void ___lambda2__gbus_acquired_callback (GDBusConnection *connection, const gchar *name, gpointer self)
static void __lambda3_ (void)
static void ___lambda3__gbus_name_acquired_callback (GDBusConnection *connection, const gchar *name, gpointer self)
static void __lambda4_ (void)
static void ___lambda4__gbus_name_lost_callback (GDBusConnection *connection, const gchar *name, gpointer self)
static Block1Data * block1_data_ref (Block1Data *_data1_)
static void block1_data_unref (void *_userdata_)
static void __lambda5_ (Block1Data *_data1_, UnityLensSearch *lens_search)
static void ___lambda5__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda6_ (Block1Data *_data1_)
static gboolean ___lambda6__gsource_func (gpointer self)
static Block2Data * block2_data_ref (Block2Data *_data2_)
static void block2_data_unref (void *_userdata_)
static void __lambda7_ (Block2Data *_data2_, UnityLensSearch *lens_search)
static Block3Data * block3_data_ref (Block3Data *_data3_)
static void block3_data_unref (void *_userdata_)
static gboolean __lambda8_ (Block3Data *_data3_)
static gboolean ___lambda8__gsource_func (gpointer self)
static void ___lambda7__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda9_ (Block2Data *_data2_)
static gboolean ___lambda9__gsource_func (gpointer self)
static Block4Data * block4_data_ref (Block4Data *_data4_)
static void block4_data_unref (void *_userdata_)
static void __lambda10_ (Block4Data *_data4_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static Block5Data * block5_data_ref (Block5Data *_data5_)
static void block5_data_unref (void *_userdata_)
static gboolean __lambda11_ (Block5Data *_data5_)
static gboolean ___lambda11__gsource_func (gpointer self)
static void ___lambda10__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda12_ (Block4Data *_data4_)
static gboolean ___lambda12__gsource_func (gpointer self)
static Block6Data * block6_data_ref (Block6Data *_data6_)
static void block6_data_unref (void *_userdata_)
static void __lambda13_ (Block6Data *_data6_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static Block7Data * block7_data_ref (Block7Data *_data7_)
static void block7_data_unref (void *_userdata_)
static gboolean __lambda14_ (Block7Data *_data7_)
static gboolean ___lambda14__gsource_func (gpointer self)
static void ___lambda13__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda15_ (Block6Data *_data6_)
static gboolean ___lambda15__gsource_func (gpointer self)
static Block8Data * block8_data_ref (Block8Data *_data8_)
static void block8_data_unref (void *_userdata_)
static void __lambda16_ (Block8Data *_data8_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static Block9Data * block9_data_ref (Block9Data *_data9_)
static void block9_data_unref (void *_userdata_)
static gboolean __lambda17_ (Block9Data *_data9_)
static gboolean ___lambda17__gsource_func (gpointer self)
static void ___lambda16__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda18_ (void)
static gboolean ___lambda18__gsource_func (gpointer self)
static Block10Data * block10_data_ref (Block10Data *_data10_)
static void block10_data_unref (void *_userdata_)
static void __lambda19_ (Block10Data *_data10_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static Block11Data * block11_data_ref (Block11Data *_data11_)
static void block11_data_unref (void *_userdata_)
static gboolean __lambda20_ (Block11Data *_data11_)
static gboolean ___lambda20__gsource_func (gpointer self)
static void ___lambda19__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda21_ (void)
static gboolean ___lambda21__gsource_func (gpointer self)
static Block12Data * block12_data_ref (Block12Data *_data12_)
static void block12_data_unref (void *_userdata_)
static void __lambda22_ (Block12Data *_data12_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static Block13Data * block13_data_ref (Block13Data *_data13_)
static void block13_data_unref (void *_userdata_)
static gboolean __lambda23_ (Block13Data *_data13_)
static gboolean ___lambda23__gsource_func (gpointer self)
static void ___lambda22__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static gboolean __lambda24_ (void)
static gboolean ___lambda24__gsource_func (gpointer self)
static gboolean __lambda25_ (void)
static gboolean ___lambda25__gsource_func (gpointer self)
static Block14Data * block14_data_ref (Block14Data *_data14_)
static void block14_data_unref (void *_userdata_)
static void __lambda26_ (void)
static void ___lambda26__gbus_name_appeared_callback (GDBusConnection *connection, const gchar *name, const gchar *name_owner, gpointer self)
static void __lambda27_ (Block14Data *_data14_)
static void ___lambda27__gbus_name_vanished_callback (GDBusConnection *connection, const gchar *name, gpointer self)
Main * main_new (void)
Main * main_construct (GType object_type)
static void main_finalize (Main *obj)
int main (int argc, char **argv)
static gpointer _g_object_ref0 (gpointer self)
static void value_main_init (GValue *value)
static void value_main_free_value (GValue *value)
static void value_main_copy_value (const GValue *src_value, GValue *dest_value)
static gpointer value_main_peek_pointer (const GValue *value)
static gchar * value_main_collect_value (GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static gchar * value_main_lcopy_value (const GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static void main_class_init (MainClass *klass)
static void main_instance_init (Main *self)

Variables

static gpointer main_parent_class = NULL
static UnityScope * main_exported_scope = NULL

Class Documentation

struct _Main

Definition at line 56 of file test-launcher-integration.c.

Class Members
GTypeInstance parent_instance
MainPrivate * priv
volatile int ref_count
struct _Block1Data

Definition at line 224 of file protocol-previews.c.

Class Members
gpointer _async_data_
int _ref_count_
UnityProtocolApplicationPreview * _result_
Mpris2Controller * contr
Mpris2Controller * controller
gchar * desc
gboolean got_generate_preview_signal
gboolean got_search_changed
GMainLoop * ml
UnityScopeProxy * scope
UnityLensImpl * self
gboolean timeout_reached
gchar * title
gboolean was_changed
struct _Block2Data

Definition at line 243 of file protocol-previews.c.

Class Members
gpointer _async_data_
int _ref_count_
UnityProtocolMusicPreview * _result_
GHashTable * _result_
Mpris2Controller * controller
gboolean got_search_changed
gboolean got_signal
GMainLoop * ml
gint num_scopes
gboolean scope_up
UnityLensImpl * self
gboolean timeout_reached
struct _Block3Data

Definition at line 263 of file protocol-previews.c.

Class Members
gpointer _async_data_
Block2Data * _data2_
int _ref_count_
UnityProtocolMoviePreview * _result_
GDBusConnection * bus
GFunc cb
gpointer cb_target
Mpris2Controller * contr
gboolean got_signal
UnityLensSearch * lens_search
GMainLoop * ml
guint64 seqnum
struct _Block4Data

Definition at line 292 of file protocol-previews.c.

Class Members
Block3Data * _data3_
int _ref_count_
UnityProtocolSeriesPreview * _result_
gboolean got_changed_signal
gboolean got_gen_signal
gboolean got_search_changed
GMainLoop * ml
gulong update_sig_id
struct _Block5Data

Definition at line 370 of file unity-lens-private.c.

Class Members
gpointer _async_data_
Block4Data * _data4_
int _ref_count_
gboolean got_global_search
gboolean got_lens_search
UnityLensSearch * lens_search
GMainLoop * ml
gint num_changed_signals
gint num_gen_signals
gint num_scopes
UnityScope * scope
UnityLensImpl * self
struct _Block6Data

Definition at line 377 of file unity-lens-private.c.

Class Members
Block5Data * _data5_
int _ref_count_
GCancellable * canc1
GCancellable * canc2
gboolean got_search_changed
GMainLoop * ml
gint num_changed
guint num_searches
guint64 seqnum
struct _Block7Data

Definition at line 383 of file unity-lens-private.c.

Class Members
Block6Data * _data6_
int _ref_count_
GCancellable * canc
UnityLensSearch * lens_search
GMainLoop * ml
UnityScope * scope
gulong update_sig_id
struct _Block8Data

Definition at line 221 of file unity-scope-private.c.

Class Members
gpointer _async_data_
int _ref_count_
gboolean finish_called
gboolean got_search_changed
GMainLoop * ml
UnitySearchType search_type
UnityScopeImpl * self
struct _Block9Data

Definition at line 282 of file unity-scope-private.c.

Class Members
gpointer _async_data_
Block8Data * _data8_
int _ref_count_
GHashTable * _result_
GFunc cb
gpointer cb_target
GFunc error_cb
gpointer error_cb_target
UnityLensSearch * lens_search
UnityLensSearch * s
UnityScopeImpl * self
gulong sig_id
struct _Block10Data

Definition at line 179 of file unity-sound-menu-mpris.c.

Class Members
Block9Data * _data9_
int _ref_count_
GDBusConnection * bus
gchar * dbus_name
gboolean finish_called
gboolean got_search_changed
GMainLoop * ml
GVariant * result1
GVariant * result2
UnityMPRISGateway * self
struct _Block11Data

Definition at line 226 of file unity-sound-menu-mpris.c.

Class Members
Block10Data * _data10_
int _ref_count_
UnityTesterLensInfo info
gchar * interface_name
UnityLensSearch * lens_search
GMainLoop * ml
UnityPropertyUpdateManager * self
struct _Block12Data

Definition at line 191 of file test-lens.c.

Class Members
int _ref_count_
GCancellable * canc1
GCancellable * canc2
guint finish_calls
gboolean got_search_changed
GMainLoop * ml
gchar * order
gboolean remove_option
gint replies
GMainLoop * reply_ml
struct _Block13Data

Definition at line 203 of file test-lens.c.

Class Members
Block12Data * _data12_
int _ref_count_
UnityTesterDBusLensUtil * c
GtkTreeIter iter
UnityLensSearch * lens_search
UnityTesterUnityToolUi * self
struct _Block14Data

Definition at line 209 of file test-lens.c.

Class Members
int _ref_count_
gboolean got_search_changed
GMainLoop * ml
guint64 seqnum
struct _ParamSpecMain

Definition at line 73 of file test-launcher-integration.c.

Class Members
GParamSpec parent_instance

Define Documentation

#define _g_main_loop_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))

Definition at line 46 of file test-remote-scope.c.

#define _g_object_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

Definition at line 44 of file test-remote-scope.c.

#define _g_variant_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))

Definition at line 57 of file test-remote-scope.c.

#define _vala_assert (   expr,
  msg 
)    if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);

Definition at line 62 of file test-remote-scope.c.

#define IS_MAIN (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MAIN))

Definition at line 37 of file test-remote-scope.c.

#define IS_MAIN_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MAIN))

Definition at line 38 of file test-remote-scope.c.

#define MAIN (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MAIN, Main))

Definition at line 35 of file test-remote-scope.c.

#define MAIN_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MAIN, MainClass))

Definition at line 36 of file test-remote-scope.c.

#define MAIN_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MAIN, MainClass))

Definition at line 39 of file test-remote-scope.c.

#define TYPE_MAIN   (main_get_type ())

Definition at line 34 of file test-remote-scope.c.


Typedef Documentation

typedef struct _Block10Data

Definition at line 55 of file test-remote-scope.c.

typedef struct _Block11Data

Definition at line 56 of file test-remote-scope.c.

typedef struct _Block12Data

Definition at line 58 of file test-remote-scope.c.

typedef struct _Block13Data

Definition at line 59 of file test-remote-scope.c.

typedef struct _Block14Data

Definition at line 60 of file test-remote-scope.c.

typedef struct _Block1Data

Definition at line 45 of file test-remote-scope.c.

typedef struct _Block2Data

Definition at line 47 of file test-remote-scope.c.

typedef struct _Block3Data

Definition at line 48 of file test-remote-scope.c.

typedef struct _Block4Data

Definition at line 49 of file test-remote-scope.c.

typedef struct _Block5Data

Definition at line 50 of file test-remote-scope.c.

typedef struct _Block6Data

Definition at line 51 of file test-remote-scope.c.

typedef struct _Block7Data

Definition at line 52 of file test-remote-scope.c.

typedef struct _Block8Data

Definition at line 53 of file test-remote-scope.c.

typedef struct _Block9Data

Definition at line 54 of file test-remote-scope.c.

typedef struct _Main

Definition at line 41 of file test-remote-scope.c.

typedef struct _MainClass

Definition at line 42 of file test-remote-scope.c.

typedef struct _MainPrivate

Definition at line 43 of file test-remote-scope.c.

typedef struct _ParamSpecMain

Definition at line 61 of file test-remote-scope.c.


Function Documentation

static void ___lambda10__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 768 of file test-remote-scope.c.

                                                                                                                                                                          {
       __lambda10_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda11__gsource_func ( gpointer  self) [static]

Definition at line 735 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda11_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda12__gsource_func ( gpointer  self) [static]

Definition at line 783 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda12_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda13__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 979 of file test-remote-scope.c.

                                                                                                                                                                          {
       __lambda13_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda14__gsource_func ( gpointer  self) [static]

Definition at line 906 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda14_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda15__gsource_func ( gpointer  self) [static]

Definition at line 994 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda15_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda16__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 1172 of file test-remote-scope.c.

                                                                                                                                                                          {
       __lambda16_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda17__gsource_func ( gpointer  self) [static]

Definition at line 1139 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda17_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda18__gsource_func ( gpointer  self) [static]

Definition at line 1184 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda18_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda19__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 1352 of file test-remote-scope.c.

                                                                                                                                                                          {
       __lambda19_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda20__gsource_func ( gpointer  self) [static]

Definition at line 1319 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda20_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda21__gsource_func ( gpointer  self) [static]

Definition at line 1364 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda21_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda22__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 1523 of file test-remote-scope.c.

                                                                                                                                                                          {
       __lambda22_ (self, search, search_type, cancellable);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda23__gsource_func ( gpointer  self) [static]

Definition at line 1478 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda23_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda24__gsource_func ( gpointer  self) [static]

Definition at line 1535 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda24_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda25__gsource_func ( gpointer  self) [static]

Definition at line 1549 of file test-remote-scope.c.

                                                          {
       gboolean result;
       result = __lambda25_ ();
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda26__gbus_name_appeared_callback ( GDBusConnection *  connection,
const gchar *  name,
const gchar *  name_owner,
gpointer  self 
) [static]

Definition at line 1662 of file test-remote-scope.c.

                                                                                                                                              {
       __lambda26_ ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda27__gbus_name_vanished_callback ( GDBusConnection *  connection,
const gchar *  name,
gpointer  self 
) [static]

Definition at line 1672 of file test-remote-scope.c.

                                                                                                                     {
       __lambda27_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda2__gbus_acquired_callback ( GDBusConnection *  connection,
const gchar *  name,
gpointer  self 
) [static]

Definition at line 358 of file test-remote-scope.c.

                                                                                                               {
       __lambda2_ ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda3__gbus_name_acquired_callback ( GDBusConnection *  connection,
const gchar *  name,
gpointer  self 
) [static]

Definition at line 367 of file test-remote-scope.c.

                                                                                                                    {
       __lambda3_ ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda4__gbus_name_lost_callback ( GDBusConnection *  connection,
const gchar *  name,
gpointer  self 
) [static]

Definition at line 378 of file test-remote-scope.c.

                                                                                                                {
       __lambda4_ ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda5__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 445 of file test-remote-scope.c.

                                                                                                                                                                         {
       __lambda5_ (self, search);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda6__gsource_func ( gpointer  self) [static]

Definition at line 460 of file test-remote-scope.c.

                                                         {
       gboolean result;
       result = __lambda6_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda7__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

Definition at line 606 of file test-remote-scope.c.

                                                                                                                                                                         {
       __lambda7_ (self, search);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda8__gsource_func ( gpointer  self) [static]

Definition at line 574 of file test-remote-scope.c.

                                                         {
       gboolean result;
       result = __lambda8_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda9__gsource_func ( gpointer  self) [static]

Definition at line 621 of file test-remote-scope.c.

                                                         {
       gboolean result;
       result = __lambda9_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda10_ ( Block4Data *  _data4_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 742 of file test-remote-scope.c.

                                                                                                                                    {
       Block5Data* _data5_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       const gchar* _tmp3_;
       const gchar* _tmp4_;
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       _data5_ = g_slice_new0 (Block5Data);
       _data5_->_ref_count_ = 1;
       _data5_->_data4_ = block4_data_ref (_data4_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data5_->lens_search = _tmp1_;
       _tmp2_ = _data5_->lens_search;
       _tmp3_ = unity_lens_search_get_search_string (_tmp2_);
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "successive-searches") == 0, "lens_search.search_string == \"successive-searches\"");
       _data4_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda11__gsource_func, block5_data_ref (_data5_), block5_data_unref);
       block5_data_unref (_data5_);
       _data5_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda11_ ( Block5Data *  _data5_) [static]

Definition at line 720 of file test-remote-scope.c.

                                                  {
       Block4Data* _data4_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       GMainLoop* _tmp1_;
       _data4_ = _data5_->_data4_;
       _tmp0_ = _data5_->lens_search;
       g_signal_emit_by_name (_tmp0_, "finished");
       _tmp1_ = _data4_->ml;
       g_main_loop_quit (_tmp1_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda12_ ( Block4Data *  _data4_) [static]

Definition at line 773 of file test-remote-scope.c.

                                                  {
       gboolean result = FALSE;
       GMainLoop* _tmp0_;
       _tmp0_ = _data4_->ml;
       g_main_loop_quit (_tmp0_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda13_ ( Block6Data *  _data6_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 913 of file test-remote-scope.c.

                                                                                                                                    {
       Block7Data* _data7_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       const gchar* _tmp3_;
       const gchar* _tmp4_;
       const gchar* _tmp5_;
       GQuark _tmp7_ = 0U;
       static GQuark _tmp6_label0 = 0;
       static GQuark _tmp6_label1 = 0;
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       _data7_ = g_slice_new0 (Block7Data);
       _data7_->_ref_count_ = 1;
       _data7_->_data6_ = block6_data_ref (_data6_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data7_->lens_search = _tmp1_;
       _tmp2_ = _data7_->lens_search;
       _tmp3_ = unity_lens_search_get_search_string (_tmp2_);
       _tmp4_ = _tmp3_;
       _tmp5_ = _tmp4_;
       _tmp7_ = (NULL == _tmp5_) ? 0 : g_quark_from_string (_tmp5_);
       if (_tmp7_ == ((0 != _tmp6_label0) ? _tmp6_label0 : (_tmp6_label0 = g_quark_from_static_string ("foo1")))) {
              switch (0) {
                     default:
                     {
                            GCancellable* _tmp8_;
                            GCancellable* _tmp9_;
                            _tmp8_ = cancellable;
                            _tmp9_ = _g_object_ref0 (_tmp8_);
                            _g_object_unref0 (_data6_->canc1);
                            _data6_->canc1 = _tmp9_;
                            break;
                     }
              }
       } else if (_tmp7_ == ((0 != _tmp6_label1) ? _tmp6_label1 : (_tmp6_label1 = g_quark_from_static_string ("foo2")))) {
              switch (0) {
                     default:
                     {
                            GCancellable* _tmp10_;
                            GCancellable* _tmp11_;
                            _tmp10_ = cancellable;
                            _tmp11_ = _g_object_ref0 (_tmp10_);
                            _g_object_unref0 (_data6_->canc2);
                            _data6_->canc2 = _tmp11_;
                            break;
                     }
              }
       } else {
              switch (0) {
                     default:
                     {
                            g_assert_not_reached ();
                            break;
                     }
              }
       }
       _data6_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda14__gsource_func, block7_data_ref (_data7_), block7_data_unref);
       block7_data_unref (_data7_);
       _data7_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda14_ ( Block7Data *  _data7_) [static]

Definition at line 884 of file test-remote-scope.c.

                                                  {
       Block6Data* _data6_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       guint _tmp1_;
       guint _tmp2_;
       _data6_ = _data7_->_data6_;
       _tmp0_ = _data7_->lens_search;
       g_signal_emit_by_name (_tmp0_, "finished");
       _tmp1_ = _data6_->num_searches;
       _data6_->num_searches = _tmp1_ + 1;
       _tmp2_ = _data6_->num_searches;
       if (_tmp2_ == ((guint) 2)) {
              GMainLoop* _tmp3_;
              _tmp3_ = _data6_->ml;
              g_main_loop_quit (_tmp3_);
       }
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda15_ ( Block6Data *  _data6_) [static]

Definition at line 984 of file test-remote-scope.c.

                                                  {
       gboolean result = FALSE;
       GMainLoop* _tmp0_;
       _tmp0_ = _data6_->ml;
       g_main_loop_quit (_tmp0_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda16_ ( Block8Data *  _data8_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 1146 of file test-remote-scope.c.

                                                                                                                                    {
       Block9Data* _data9_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       const gchar* _tmp3_;
       const gchar* _tmp4_;
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       _data9_ = g_slice_new0 (Block9Data);
       _data9_->_ref_count_ = 1;
       _data9_->_data8_ = block8_data_ref (_data8_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data9_->lens_search = _tmp1_;
       _tmp2_ = _data9_->lens_search;
       _tmp3_ = unity_lens_search_get_search_string (_tmp2_);
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "model-sync") == 0, "lens_search.search_string == \"model-sync\"");
       _data8_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 500, ___lambda17__gsource_func, block9_data_ref (_data9_), block9_data_unref);
       block9_data_unref (_data9_);
       _data9_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda17_ ( Block9Data *  _data9_) [static]

Definition at line 1112 of file test-remote-scope.c.

                                                  {
       Block8Data* _data8_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* _tmp2_;
       DeeSerializableModel* _tmp3_;
       DeeSerializableModel* model;
       UnityLensSearch* _tmp4_;
       GMainLoop* _tmp5_;
       _data8_ = _data9_->_data8_;
       _tmp0_ = _data9_->lens_search;
       _tmp1_ = unity_lens_search_get_results_model (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp3_ = _g_object_ref0 (_tmp2_);
       model = _tmp3_;
       dee_model_append ((DeeModel*) model, "uri", "icon", 0, "mimetype", "display-name", "comment", "dnd-uri", NULL);
       _tmp4_ = _data9_->lens_search;
       g_signal_emit_by_name (_tmp4_, "finished");
       _tmp5_ = _data8_->ml;
       g_main_loop_quit (_tmp5_);
       result = FALSE;
       _g_object_unref0 (model);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda18_ ( void  ) [static]

Definition at line 1177 of file test-remote-scope.c.

                                   {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static void __lambda19_ ( Block10Data *  _data10_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 1326 of file test-remote-scope.c.

                                                                                                                                      {
       Block11Data* _data11_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       const gchar* _tmp3_;
       const gchar* _tmp4_;
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       _data11_ = g_slice_new0 (Block11Data);
       _data11_->_ref_count_ = 1;
       _data11_->_data10_ = block10_data_ref (_data10_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data11_->lens_search = _tmp1_;
       _tmp2_ = _data11_->lens_search;
       _tmp3_ = unity_lens_search_get_search_string (_tmp2_);
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "reply-hint") == 0, "lens_search.search_string == \"reply-hint\"");
       _data10_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 100, ___lambda20__gsource_func, block11_data_ref (_data11_), block11_data_unref);
       block11_data_unref (_data11_);
       _data11_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda20_ ( Block11Data *  _data11_) [static]

Definition at line 1283 of file test-remote-scope.c.

                                                    {
       Block10Data* _data10_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* _tmp2_;
       DeeSerializableModel* _tmp3_;
       DeeSerializableModel* model;
       UnityLensSearch* _tmp4_;
       GVariant* _tmp5_;
       GVariant* _tmp6_;
       UnityLensSearch* _tmp7_;
       GMainLoop* _tmp8_;
       _data10_ = _data11_->_data10_;
       _tmp0_ = _data11_->lens_search;
       _tmp1_ = unity_lens_search_get_results_model (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp3_ = _g_object_ref0 (_tmp2_);
       model = _tmp3_;
       dee_model_append ((DeeModel*) model, "uri", "icon", 0, "mimetype", "display-name", "comment", "dnd-uri", NULL);
       _tmp4_ = _data11_->lens_search;
       _tmp5_ = g_variant_new_string ("value");
       g_variant_ref_sink (_tmp5_);
       _tmp6_ = _tmp5_;
       unity_lens_search_set_reply_hint (_tmp4_, "test-reply-hint", _tmp6_);
       _g_variant_unref0 (_tmp6_);
       _tmp7_ = _data11_->lens_search;
       g_signal_emit_by_name (_tmp7_, "finished");
       _tmp8_ = _data10_->ml;
       g_main_loop_quit (_tmp8_);
       result = FALSE;
       _g_object_unref0 (model);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda21_ ( void  ) [static]

Definition at line 1357 of file test-remote-scope.c.

                                   {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static void __lambda22_ ( Block12Data *  _data12_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

Definition at line 1485 of file test-remote-scope.c.

                                                                                                                                      {
       Block13Data* _data13_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       const gchar* _tmp3_;
       const gchar* _tmp4_;
       gboolean _tmp5_ = FALSE;
       gboolean _tmp6_;
       g_return_if_fail (lens_search != NULL);
       g_return_if_fail (cancellable != NULL);
       _data13_ = g_slice_new0 (Block13Data);
       _data13_->_ref_count_ = 1;
       _data13_->_data12_ = block12_data_ref (_data12_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data13_->lens_search = _tmp1_;
       _tmp2_ = _data13_->lens_search;
       _tmp3_ = unity_lens_search_get_search_string (_tmp2_);
       _tmp4_ = _tmp3_;
       _tmp5_ = g_str_has_prefix (_tmp4_, "sources-test");
       _vala_assert (_tmp5_, "lens_search.search_string.has_prefix (\"sources-test\")");
       _tmp6_ = _data12_->remove_option;
       if (_tmp6_) {
              UnityScope* _tmp7_;
              UnityOptionsFilter* _tmp8_;
              UnityOptionsFilter* _tmp9_;
              _tmp7_ = main_exported_scope;
              _tmp8_ = unity_scope_get_sources (_tmp7_);
              _tmp9_ = _tmp8_;
              unity_options_filter_remove_option (_tmp9_, "id1-remote");
       }
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda23__gsource_func, block13_data_ref (_data13_), block13_data_unref);
       block13_data_unref (_data13_);
       _data13_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda23_ ( Block13Data *  _data13_) [static]

Definition at line 1463 of file test-remote-scope.c.

                                                    {
       Block12Data* _data12_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       GMainLoop* _tmp1_;
       _data12_ = _data13_->_data12_;
       _tmp0_ = _data13_->lens_search;
       g_signal_emit_by_name (_tmp0_, "finished");
       _tmp1_ = _data12_->ml;
       g_main_loop_quit (_tmp1_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda24_ ( void  ) [static]

Definition at line 1528 of file test-remote-scope.c.

                                   {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda25_ ( void  ) [static]

Definition at line 1542 of file test-remote-scope.c.

                                   {
       gboolean result = FALSE;
       g_assert_not_reached ();
       return result;
}

Here is the caller graph for this function:

static void __lambda26_ ( void  ) [static]

Definition at line 1658 of file test-remote-scope.c.

                               {
}

Here is the caller graph for this function:

static void __lambda27_ ( Block14Data *  _data14_) [static]

Definition at line 1667 of file test-remote-scope.c.

                                                {
       g_main_loop_quit (_data14_->ml);
}

Here is the caller graph for this function:

static void __lambda2_ ( void  ) [static]

Definition at line 354 of file test-remote-scope.c.

                              {
}

Here is the caller graph for this function:

static void __lambda3_ ( void  ) [static]

Definition at line 363 of file test-remote-scope.c.

                              {
}

Here is the caller graph for this function:

static void __lambda4_ ( void  ) [static]

Definition at line 372 of file test-remote-scope.c.

                              {
       g_debug ("test-remote-scope.vala:49: Name lost");
       g_assert_not_reached ();
}

Here is the caller graph for this function:

static void __lambda5_ ( Block1Data *  _data1_,
UnityLensSearch *  lens_search 
) [static]

Definition at line 426 of file test-remote-scope.c.

                                                                           {
       UnityLensSearch* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       UnityLensSearch* _tmp3_;
       GMainLoop* _tmp4_;
       g_return_if_fail (lens_search != NULL);
       _tmp0_ = lens_search;
       _tmp1_ = unity_lens_search_get_search_string (_tmp0_);
       _tmp2_ = _tmp1_;
       _vala_assert (g_strcmp0 (_tmp2_, "foo") == 0, "lens_search.search_string == \"foo\"");
       _data1_->got_search_changed = TRUE;
       _tmp3_ = lens_search;
       g_signal_emit_by_name (_tmp3_, "finished");
       _tmp4_ = _data1_->ml;
       g_main_loop_quit (_tmp4_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda6_ ( Block1Data *  _data1_) [static]

Definition at line 450 of file test-remote-scope.c.

                                                 {
       gboolean result = FALSE;
       GMainLoop* _tmp0_;
       _tmp0_ = _data1_->ml;
       g_main_loop_quit (_tmp0_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda7_ ( Block2Data *  _data2_,
UnityLensSearch *  lens_search 
) [static]

Definition at line 581 of file test-remote-scope.c.

                                                                           {
       Block3Data* _data3_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       const gchar* _tmp3_;
       const gchar* _tmp4_;
       g_return_if_fail (lens_search != NULL);
       _data3_ = g_slice_new0 (Block3Data);
       _data3_->_ref_count_ = 1;
       _data3_->_data2_ = block2_data_ref (_data2_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data3_->lens_search = _tmp1_;
       _tmp2_ = _data3_->lens_search;
       _tmp3_ = unity_lens_search_get_search_string (_tmp2_);
       _tmp4_ = _tmp3_;
       _vala_assert (g_strcmp0 (_tmp4_, "qoo") == 0, "lens_search.search_string == \"qoo\"");
       _data2_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 400, ___lambda8__gsource_func, block3_data_ref (_data3_), block3_data_unref);
       block3_data_unref (_data3_);
       _data3_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda8_ ( Block3Data *  _data3_) [static]

Definition at line 559 of file test-remote-scope.c.

                                                 {
       Block2Data* _data2_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       GMainLoop* _tmp1_;
       _data2_ = _data3_->_data2_;
       _tmp0_ = _data3_->lens_search;
       g_signal_emit_by_name (_tmp0_, "finished");
       _tmp1_ = _data2_->ml;
       g_main_loop_quit (_tmp1_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda9_ ( Block2Data *  _data2_) [static]

Definition at line 611 of file test-remote-scope.c.

                                                 {
       gboolean result = FALSE;
       GMainLoop* _tmp0_;
       _tmp0_ = _data2_->ml;
       g_main_loop_quit (_tmp0_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 383 of file test-remote-scope.c.

                                               {
       return self ? g_object_ref (self) : NULL;
}

Here is the caller graph for this function:

static void _main_test_scope_export_gtest_data_func ( gpointer  self) [static]

Definition at line 284 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_finalize_gtest_data_func ( gpointer  self) [static]

Definition at line 324 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_model_sync_gtest_data_func ( gpointer  self) [static]

Definition at line 309 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_reply_hint_gtest_data_func ( gpointer  self) [static]

Definition at line 314 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_search2_gtest_data_func ( gpointer  self) [static]

Definition at line 294 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_search_gtest_data_func ( gpointer  self) [static]

Definition at line 289 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_sources_gtest_data_func ( gpointer  self) [static]

Definition at line 319 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_successive_searches_gtest_data_func ( gpointer  self) [static]

Definition at line 299 of file test-remote-scope.c.

Here is the call graph for this function:

static void _main_test_scope_two_searches_gtest_data_func ( gpointer  self) [static]

Definition at line 304 of file test-remote-scope.c.

Here is the call graph for this function:

static Block10Data * block10_data_ref ( Block10Data *  _data10_) [static]

Definition at line 1249 of file test-remote-scope.c.

                                                             {
       g_atomic_int_inc (&_data10_->_ref_count_);
       return _data10_;
}

Here is the caller graph for this function:

static void block10_data_unref ( void *  _userdata_) [static]

Definition at line 1255 of file test-remote-scope.c.

                                                   {
       Block10Data* _data10_;
       _data10_ = (Block10Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
              _g_main_loop_unref0 (_data10_->ml);
              g_slice_free (Block10Data, _data10_);
       }
}

Here is the caller graph for this function:

static Block11Data * block11_data_ref ( Block11Data *  _data11_) [static]

Definition at line 1265 of file test-remote-scope.c.

                                                             {
       g_atomic_int_inc (&_data11_->_ref_count_);
       return _data11_;
}

Here is the caller graph for this function:

static void block11_data_unref ( void *  _userdata_) [static]

Definition at line 1271 of file test-remote-scope.c.

                                                   {
       Block11Data* _data11_;
       _data11_ = (Block11Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
              _g_object_unref0 (_data11_->lens_search);
              block10_data_unref (_data11_->_data10_);
              _data11_->_data10_ = NULL;
              g_slice_free (Block11Data, _data11_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static Block12Data * block12_data_ref ( Block12Data *  _data12_) [static]

Definition at line 1429 of file test-remote-scope.c.

                                                             {
       g_atomic_int_inc (&_data12_->_ref_count_);
       return _data12_;
}

Here is the caller graph for this function:

static void block12_data_unref ( void *  _userdata_) [static]

Definition at line 1435 of file test-remote-scope.c.

                                                   {
       Block12Data* _data12_;
       _data12_ = (Block12Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data12_->_ref_count_)) {
              _g_main_loop_unref0 (_data12_->ml);
              g_slice_free (Block12Data, _data12_);
       }
}

Here is the caller graph for this function:

static Block13Data * block13_data_ref ( Block13Data *  _data13_) [static]

Definition at line 1445 of file test-remote-scope.c.

                                                             {
       g_atomic_int_inc (&_data13_->_ref_count_);
       return _data13_;
}

Here is the caller graph for this function:

static void block13_data_unref ( void *  _userdata_) [static]

Definition at line 1451 of file test-remote-scope.c.

                                                   {
       Block13Data* _data13_;
       _data13_ = (Block13Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data13_->_ref_count_)) {
              _g_object_unref0 (_data13_->lens_search);
              block12_data_unref (_data13_->_data12_);
              _data13_->_data12_ = NULL;
              g_slice_free (Block13Data, _data13_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static Block14Data * block14_data_ref ( Block14Data *  _data14_) [static]

Definition at line 1642 of file test-remote-scope.c.

                                                             {
       g_atomic_int_inc (&_data14_->_ref_count_);
       return _data14_;
}

Here is the caller graph for this function:

static void block14_data_unref ( void *  _userdata_) [static]

Definition at line 1648 of file test-remote-scope.c.

                                                   {
       Block14Data* _data14_;
       _data14_ = (Block14Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data14_->_ref_count_)) {
              _g_main_loop_unref0 (_data14_->ml);
              g_slice_free (Block14Data, _data14_);
       }
}

Here is the caller graph for this function:

static Block1Data * block1_data_ref ( Block1Data *  _data1_) [static]

Definition at line 410 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data1_->_ref_count_);
       return _data1_;
}

Here is the caller graph for this function:

static void block1_data_unref ( void *  _userdata_) [static]

Definition at line 416 of file test-remote-scope.c.

                                                  {
       Block1Data* _data1_;
       _data1_ = (Block1Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
              _g_main_loop_unref0 (_data1_->ml);
              g_slice_free (Block1Data, _data1_);
       }
}

Here is the caller graph for this function:

static Block2Data * block2_data_ref ( Block2Data *  _data2_) [static]

Definition at line 525 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data2_->_ref_count_);
       return _data2_;
}

Here is the caller graph for this function:

static void block2_data_unref ( void *  _userdata_) [static]

Definition at line 531 of file test-remote-scope.c.

                                                  {
       Block2Data* _data2_;
       _data2_ = (Block2Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
              _g_main_loop_unref0 (_data2_->ml);
              g_slice_free (Block2Data, _data2_);
       }
}

Here is the caller graph for this function:

static Block3Data * block3_data_ref ( Block3Data *  _data3_) [static]

Definition at line 541 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data3_->_ref_count_);
       return _data3_;
}

Here is the caller graph for this function:

static void block3_data_unref ( void *  _userdata_) [static]

Definition at line 547 of file test-remote-scope.c.

                                                  {
       Block3Data* _data3_;
       _data3_ = (Block3Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
              _g_object_unref0 (_data3_->lens_search);
              block2_data_unref (_data3_->_data2_);
              _data3_->_data2_ = NULL;
              g_slice_free (Block3Data, _data3_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static Block4Data * block4_data_ref ( Block4Data *  _data4_) [static]

Definition at line 686 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data4_->_ref_count_);
       return _data4_;
}

Here is the caller graph for this function:

static void block4_data_unref ( void *  _userdata_) [static]

Definition at line 692 of file test-remote-scope.c.

                                                  {
       Block4Data* _data4_;
       _data4_ = (Block4Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
              _g_main_loop_unref0 (_data4_->ml);
              g_slice_free (Block4Data, _data4_);
       }
}

Here is the caller graph for this function:

static Block5Data * block5_data_ref ( Block5Data *  _data5_) [static]

Definition at line 702 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data5_->_ref_count_);
       return _data5_;
}

Here is the caller graph for this function:

static void block5_data_unref ( void *  _userdata_) [static]

Definition at line 708 of file test-remote-scope.c.

                                                  {
       Block5Data* _data5_;
       _data5_ = (Block5Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
              _g_object_unref0 (_data5_->lens_search);
              block4_data_unref (_data5_->_data4_);
              _data5_->_data4_ = NULL;
              g_slice_free (Block5Data, _data5_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static Block6Data * block6_data_ref ( Block6Data *  _data6_) [static]

Definition at line 848 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data6_->_ref_count_);
       return _data6_;
}

Here is the caller graph for this function:

static void block6_data_unref ( void *  _userdata_) [static]

Definition at line 854 of file test-remote-scope.c.

                                                  {
       Block6Data* _data6_;
       _data6_ = (Block6Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
              _g_object_unref0 (_data6_->canc2);
              _g_object_unref0 (_data6_->canc1);
              _g_main_loop_unref0 (_data6_->ml);
              g_slice_free (Block6Data, _data6_);
       }
}

Here is the caller graph for this function:

static Block7Data * block7_data_ref ( Block7Data *  _data7_) [static]

Definition at line 866 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data7_->_ref_count_);
       return _data7_;
}

Here is the caller graph for this function:

static void block7_data_unref ( void *  _userdata_) [static]

Definition at line 872 of file test-remote-scope.c.

                                                  {
       Block7Data* _data7_;
       _data7_ = (Block7Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
              _g_object_unref0 (_data7_->lens_search);
              block6_data_unref (_data7_->_data6_);
              _data7_->_data6_ = NULL;
              g_slice_free (Block7Data, _data7_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static Block8Data * block8_data_ref ( Block8Data *  _data8_) [static]

Definition at line 1078 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data8_->_ref_count_);
       return _data8_;
}

Here is the caller graph for this function:

static void block8_data_unref ( void *  _userdata_) [static]

Definition at line 1084 of file test-remote-scope.c.

                                                  {
       Block8Data* _data8_;
       _data8_ = (Block8Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
              _g_main_loop_unref0 (_data8_->ml);
              g_slice_free (Block8Data, _data8_);
       }
}

Here is the caller graph for this function:

static Block9Data * block9_data_ref ( Block9Data *  _data9_) [static]

Definition at line 1094 of file test-remote-scope.c.

                                                         {
       g_atomic_int_inc (&_data9_->_ref_count_);
       return _data9_;
}

Here is the caller graph for this function:

static void block9_data_unref ( void *  _userdata_) [static]

Definition at line 1100 of file test-remote-scope.c.

                                                  {
       Block9Data* _data9_;
       _data9_ = (Block9Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
              _g_object_unref0 (_data9_->lens_search);
              block8_data_unref (_data9_->_data8_);
              _data9_->_data8_ = NULL;
              g_slice_free (Block9Data, _data9_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 348 of file test-remote-scope.c.

                                  {
       g_type_init ();
       return main_main (argv, argc);
}

Here is the call graph for this function:

static void main_class_init ( MainClass *  klass) [static]

Definition at line 1817 of file test-remote-scope.c.

                                                {
       main_parent_class = g_type_class_peek_parent (klass);
       MAIN_CLASS (klass)->finalize = main_finalize;
}

Here is the call graph for this function:

Main* main_construct ( GType  object_type)
static void main_finalize ( Main *  obj) [static]

Definition at line 1828 of file test-remote-scope.c.

                                      {
       Main * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MAIN, Main);
}

Here is the caller graph for this function:

GType main_get_type ( void  )

Definition at line 176 of file test-remote-scope.c.

      {
       MAIN_DUMMY_PROPERTY
};
static void main_instance_init ( Main *  self) [static]

Definition at line 1823 of file test-remote-scope.c.

                                             {
       self->ref_count = 1;
}
gint main_main ( gchar **  args,
int  args_length1 
)

Definition at line 147 of file test-launcher-integration.c.

                                                {
       gint result = 0;
       const gchar* _tmp0_ = NULL;
       gchar* _tmp1_;
       gchar* datadirs;
       const gchar* _tmp2_;
       const gchar* _tmp6_;
       _tmp0_ = g_getenv ("XDG_DATA_DIRS");
       _tmp1_ = g_strdup (_tmp0_);
       datadirs = _tmp1_;
       _tmp2_ = datadirs;
       if (_tmp2_ != NULL) {
              const gchar* _tmp3_;
              gchar* _tmp4_;
              _tmp3_ = datadirs;
              _tmp4_ = g_strconcat (TESTDIR "/data:", _tmp3_, NULL);
              _g_free0 (datadirs);
              datadirs = _tmp4_;
       } else {
              gchar* _tmp5_;
              _tmp5_ = g_strdup (TESTDIR "/data");
              _g_free0 (datadirs);
              datadirs = _tmp5_;
       }
       _tmp6_ = datadirs;
       g_setenv ("XDG_DATA_DIRS", _tmp6_, TRUE);
       g_setenv ("GSETTINGS_BACKEND", "memory", TRUE);
       g_test_init (&args_length1, &args, NULL);
       g_test_add_data_func ("/Integration/Launcher/Favorites/UnknownApps", NULL, _main_test_has_unknown_apps_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/HasSampleApps", NULL, _main_test_has_sample_apps_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/Lookup", NULL, _main_test_lookup_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/EnumerateIds", NULL, _main_test_enumerate_ids_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/EnumerateAppInfos", NULL, _main_test_enumerate_app_infos_gtest_data_func);
       g_test_add_data_func ("/Integration/Launcher/Favorites/Changes", NULL, _main_test_changes_gtest_data_func);
       g_test_run ();
       result = 0;
       _g_free0 (datadirs);
       return result;
}

Here is the call graph for this function:

Main* main_new ( void  )
gpointer main_ref ( gpointer  instance)
void main_test_scope_export ( void  )

Definition at line 388 of file test-remote-scope.c.

                                   {
       UnityScope* _tmp0_;
       UnityScope* scope;
       UnityScope* _tmp1_;
       GError * _inner_error_ = NULL;
       g_bus_own_name_with_closures (G_BUS_TYPE_SESSION, "com.canonical.Unity.Scope0.Test", 0, (GClosure*) ((___lambda2__gbus_acquired_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda2__gbus_acquired_callback, NULL, NULL)), (GClosure*) ((___lambda3__gbus_name_acquired_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda3__gbus_name_acquired_callback, NULL, NULL)), (GClosure*) ((___lambda4__gbus_name_lost_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda4__gbus_name_lost_callback, NULL, NULL)));
       _tmp0_ = unity_scope_new ("/com/canonical/Unity/Scope0/Test");
       scope = _tmp0_;
       unity_scope_export (scope, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (scope);
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp1_ = _g_object_ref0 (scope);
       _g_object_unref0 (main_exported_scope);
       main_exported_scope = _tmp1_;
       _g_object_unref0 (scope);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_scope_finalize ( void  )

Definition at line 1677 of file test-remote-scope.c.

                                     {
       Block14Data* _data14_;
       GMainLoop* _tmp0_;
       guint _tmp1_ = 0U;
       guint watch_id;
       _data14_ = g_slice_new0 (Block14Data);
       _data14_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data14_->ml = _tmp0_;
       _tmp1_ = g_bus_watch_name_with_closures (G_BUS_TYPE_SESSION, "com.canonical.Unity.Lens.Test", 0, (GClosure*) ((___lambda26__gbus_name_appeared_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda26__gbus_name_appeared_callback, NULL, NULL)), (GClosure*) ((___lambda27__gbus_name_vanished_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda27__gbus_name_vanished_callback, block14_data_ref (_data14_), block14_data_unref)));
       watch_id = _tmp1_;
       g_main_loop_run (_data14_->ml);
       g_bus_unwatch_name (watch_id);
       block14_data_unref (_data14_);
       _data14_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_scope_model_sync ( void  )

Definition at line 1191 of file test-remote-scope.c.

                                       {
       Block8Data* _data8_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityScope* _tmp2_;
       gulong _tmp3_ = 0UL;
       gulong sig_id;
       GMainLoop* _tmp4_;
       gboolean _tmp5_;
       UnityScope* _tmp6_;
       gulong _tmp7_;
       GDBusConnection* _tmp8_ = NULL;
       GDBusConnection* bus;
       GDBusConnection* _tmp9_;
       GError * _inner_error_ = NULL;
       _data8_ = g_slice_new0 (Block8Data);
       _data8_->_ref_count_ = 1;
       _tmp0_ = main_exported_scope;
       _vala_assert (_tmp0_ != NULL, "exported_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data8_->ml = _tmp1_;
       _data8_->got_search_changed = FALSE;
       _tmp2_ = main_exported_scope;
       _tmp3_ = g_signal_connect_data (_tmp2_, "search-changed", (GCallback) ___lambda16__unity_scope_search_changed, block8_data_ref (_data8_), (GClosureNotify) block8_data_unref, 0);
       sig_id = _tmp3_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda18__gsource_func, NULL, NULL);
       _tmp4_ = _data8_->ml;
       g_main_loop_run (_tmp4_);
       _tmp5_ = _data8_->got_search_changed;
       _vala_assert (_tmp5_ == TRUE, "got_search_changed == true");
       _tmp6_ = main_exported_scope;
       _tmp7_ = sig_id;
       g_signal_handler_disconnect (_tmp6_, _tmp7_);
       _tmp8_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       bus = _tmp8_;
       if (_inner_error_ != NULL) {
              block8_data_unref (_data8_);
              _data8_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp9_ = bus;
       g_dbus_connection_flush_sync (_tmp9_, NULL, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (bus);
              block8_data_unref (_data8_);
              _data8_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _g_object_unref0 (bus);
       block8_data_unref (_data8_);
       _data8_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_scope_reply_hint ( void  )

Definition at line 1371 of file test-remote-scope.c.

                                       {
       Block10Data* _data10_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityScope* _tmp2_;
       gulong _tmp3_ = 0UL;
       gulong sig_id;
       GMainLoop* _tmp4_;
       gboolean _tmp5_;
       UnityScope* _tmp6_;
       gulong _tmp7_;
       GDBusConnection* _tmp8_ = NULL;
       GDBusConnection* bus;
       GDBusConnection* _tmp9_;
       GError * _inner_error_ = NULL;
       _data10_ = g_slice_new0 (Block10Data);
       _data10_->_ref_count_ = 1;
       _tmp0_ = main_exported_scope;
       _vala_assert (_tmp0_ != NULL, "exported_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data10_->ml = _tmp1_;
       _data10_->got_search_changed = FALSE;
       _tmp2_ = main_exported_scope;
       _tmp3_ = g_signal_connect_data (_tmp2_, "search-changed", (GCallback) ___lambda19__unity_scope_search_changed, block10_data_ref (_data10_), (GClosureNotify) block10_data_unref, 0);
       sig_id = _tmp3_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda21__gsource_func, NULL, NULL);
       _tmp4_ = _data10_->ml;
       g_main_loop_run (_tmp4_);
       _tmp5_ = _data10_->got_search_changed;
       _vala_assert (_tmp5_ == TRUE, "got_search_changed == true");
       _tmp6_ = main_exported_scope;
       _tmp7_ = sig_id;
       g_signal_handler_disconnect (_tmp6_, _tmp7_);
       _tmp8_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       bus = _tmp8_;
       if (_inner_error_ != NULL) {
              block10_data_unref (_data10_);
              _data10_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp9_ = bus;
       g_dbus_connection_flush_sync (_tmp9_, NULL, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (bus);
              block10_data_unref (_data10_);
              _data10_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _g_object_unref0 (bus);
       block10_data_unref (_data10_);
       _data10_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_scope_search ( void  )

Definition at line 467 of file test-remote-scope.c.

                                   {
       Block1Data* _data1_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityScope* _tmp2_;
       gulong _tmp3_ = 0UL;
       gulong sig_id;
       GMainLoop* _tmp4_;
       gboolean _tmp5_;
       UnityScope* _tmp6_;
       gulong _tmp7_;
       GDBusConnection* _tmp8_ = NULL;
       GDBusConnection* bus;
       GDBusConnection* _tmp9_;
       GError * _inner_error_ = NULL;
       _data1_ = g_slice_new0 (Block1Data);
       _data1_->_ref_count_ = 1;
       _tmp0_ = main_exported_scope;
       _vala_assert (_tmp0_ != NULL, "exported_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data1_->ml = _tmp1_;
       _data1_->got_search_changed = FALSE;
       _tmp2_ = main_exported_scope;
       _tmp3_ = g_signal_connect_data (_tmp2_, "search-changed", (GCallback) ___lambda5__unity_scope_search_changed, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
       sig_id = _tmp3_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda6__gsource_func, block1_data_ref (_data1_), block1_data_unref);
       _tmp4_ = _data1_->ml;
       g_main_loop_run (_tmp4_);
       _tmp5_ = _data1_->got_search_changed;
       _vala_assert (_tmp5_ == TRUE, "got_search_changed == true");
       _tmp6_ = main_exported_scope;
       _tmp7_ = sig_id;
       g_signal_handler_disconnect (_tmp6_, _tmp7_);
       _tmp8_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       bus = _tmp8_;
       if (_inner_error_ != NULL) {
              block1_data_unref (_data1_);
              _data1_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp9_ = bus;
       g_dbus_connection_flush_sync (_tmp9_, NULL, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (bus);
              block1_data_unref (_data1_);
              _data1_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _g_object_unref0 (bus);
       block1_data_unref (_data1_);
       _data1_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_scope_search2 ( void  )

Definition at line 628 of file test-remote-scope.c.

                                    {
       Block2Data* _data2_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityScope* _tmp2_;
       gulong _tmp3_ = 0UL;
       gulong sig_id;
       GMainLoop* _tmp4_;
       gboolean _tmp5_;
       UnityScope* _tmp6_;
       gulong _tmp7_;
       GDBusConnection* _tmp8_ = NULL;
       GDBusConnection* bus;
       GDBusConnection* _tmp9_;
       GError * _inner_error_ = NULL;
       _data2_ = g_slice_new0 (Block2Data);
       _data2_->_ref_count_ = 1;
       _tmp0_ = main_exported_scope;
       _vala_assert (_tmp0_ != NULL, "exported_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data2_->ml = _tmp1_;
       _data2_->got_search_changed = FALSE;
       _tmp2_ = main_exported_scope;
       _tmp3_ = g_signal_connect_data (_tmp2_, "search-changed", (GCallback) ___lambda7__unity_scope_search_changed, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
       sig_id = _tmp3_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda9__gsource_func, block2_data_ref (_data2_), block2_data_unref);
       _tmp4_ = _data2_->ml;
       g_main_loop_run (_tmp4_);
       _tmp5_ = _data2_->got_search_changed;
       _vala_assert (_tmp5_ == TRUE, "got_search_changed == true");
       _tmp6_ = main_exported_scope;
       _tmp7_ = sig_id;
       g_signal_handler_disconnect (_tmp6_, _tmp7_);
       _tmp8_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       bus = _tmp8_;
       if (_inner_error_ != NULL) {
              block2_data_unref (_data2_);
              _data2_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp9_ = bus;
       g_dbus_connection_flush_sync (_tmp9_, NULL, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (bus);
              block2_data_unref (_data2_);
              _data2_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _g_object_unref0 (bus);
       block2_data_unref (_data2_);
       _data2_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_scope_sources ( void  )

Definition at line 1556 of file test-remote-scope.c.

                                    {
       Block12Data* _data12_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityScope* _tmp2_;
       UnityOptionsFilter* _tmp3_;
       UnityOptionsFilter* _tmp4_;
       UnityFilterOption* _tmp5_ = NULL;
       UnityFilterOption* _tmp6_;
       UnityScope* _tmp7_;
       UnityOptionsFilter* _tmp8_;
       UnityOptionsFilter* _tmp9_;
       UnityFilterOption* _tmp10_ = NULL;
       UnityFilterOption* _tmp11_;
       UnityScope* _tmp12_;
       gulong _tmp13_ = 0UL;
       gulong sig_id;
       GMainLoop* _tmp14_;
       GMainLoop* _tmp15_;
       GMainLoop* _tmp16_;
       UnityScope* _tmp17_;
       gulong _tmp18_;
       GDBusConnection* _tmp19_ = NULL;
       GDBusConnection* bus;
       GDBusConnection* _tmp20_;
       GError * _inner_error_ = NULL;
       _data12_ = g_slice_new0 (Block12Data);
       _data12_->_ref_count_ = 1;
       _tmp0_ = main_exported_scope;
       _vala_assert (_tmp0_ != NULL, "exported_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data12_->ml = _tmp1_;
       _tmp2_ = main_exported_scope;
       _tmp3_ = unity_scope_get_sources (_tmp2_);
       _tmp4_ = _tmp3_;
       _tmp5_ = unity_options_filter_add_option (_tmp4_, "id1-remote", "Remote 1", NULL);
       _tmp6_ = _tmp5_;
       _g_object_unref0 (_tmp6_);
       _tmp7_ = main_exported_scope;
       _tmp8_ = unity_scope_get_sources (_tmp7_);
       _tmp9_ = _tmp8_;
       _tmp10_ = unity_options_filter_add_option (_tmp9_, "id2-remote", "Remote 2", NULL);
       _tmp11_ = _tmp10_;
       _g_object_unref0 (_tmp11_);
       _data12_->remove_option = FALSE;
       _tmp12_ = main_exported_scope;
       _tmp13_ = g_signal_connect_data (_tmp12_, "search-changed", (GCallback) ___lambda22__unity_scope_search_changed, block12_data_ref (_data12_), (GClosureNotify) block12_data_unref, 0);
       sig_id = _tmp13_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda24__gsource_func, NULL, NULL);
       _tmp14_ = _data12_->ml;
       g_main_loop_run (_tmp14_);
       _data12_->remove_option = TRUE;
       _tmp15_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data12_->ml);
       _data12_->ml = _tmp15_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda25__gsource_func, NULL, NULL);
       _tmp16_ = _data12_->ml;
       g_main_loop_run (_tmp16_);
       _tmp17_ = main_exported_scope;
       _tmp18_ = sig_id;
       g_signal_handler_disconnect (_tmp17_, _tmp18_);
       _tmp19_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       bus = _tmp19_;
       if (_inner_error_ != NULL) {
              block12_data_unref (_data12_);
              _data12_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp20_ = bus;
       g_dbus_connection_flush_sync (_tmp20_, NULL, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (bus);
              block12_data_unref (_data12_);
              _data12_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _g_object_unref0 (bus);
       block12_data_unref (_data12_);
       _data12_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 790 of file test-remote-scope.c.

                                                {
       Block4Data* _data4_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityScope* _tmp2_;
       gulong _tmp3_ = 0UL;
       gulong sig_id;
       GMainLoop* _tmp4_;
       gboolean _tmp5_;
       UnityScope* _tmp6_;
       gulong _tmp7_;
       GDBusConnection* _tmp8_ = NULL;
       GDBusConnection* bus;
       GDBusConnection* _tmp9_;
       GError * _inner_error_ = NULL;
       _data4_ = g_slice_new0 (Block4Data);
       _data4_->_ref_count_ = 1;
       _tmp0_ = main_exported_scope;
       _vala_assert (_tmp0_ != NULL, "exported_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data4_->ml = _tmp1_;
       _data4_->got_search_changed = FALSE;
       _tmp2_ = main_exported_scope;
       _tmp3_ = g_signal_connect_data (_tmp2_, "search-changed", (GCallback) ___lambda10__unity_scope_search_changed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
       sig_id = _tmp3_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda12__gsource_func, block4_data_ref (_data4_), block4_data_unref);
       _tmp4_ = _data4_->ml;
       g_main_loop_run (_tmp4_);
       _tmp5_ = _data4_->got_search_changed;
       _vala_assert (_tmp5_ == TRUE, "got_search_changed == true");
       _tmp6_ = main_exported_scope;
       _tmp7_ = sig_id;
       g_signal_handler_disconnect (_tmp6_, _tmp7_);
       _tmp8_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       bus = _tmp8_;
       if (_inner_error_ != NULL) {
              block4_data_unref (_data4_);
              _data4_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp9_ = bus;
       g_dbus_connection_flush_sync (_tmp9_, NULL, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (bus);
              block4_data_unref (_data4_);
              _data4_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _g_object_unref0 (bus);
       block4_data_unref (_data4_);
       _data4_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 1001 of file test-remote-scope.c.

                                         {
       Block6Data* _data6_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityScope* _tmp2_;
       gulong _tmp3_ = 0UL;
       gulong sig_id;
       GMainLoop* _tmp4_;
       gboolean _tmp5_;
       GCancellable* _tmp6_;
       GCancellable* _tmp7_;
       GCancellable* _tmp8_;
       gboolean _tmp9_ = FALSE;
       GCancellable* _tmp10_;
       gboolean _tmp11_ = FALSE;
       UnityScope* _tmp12_;
       gulong _tmp13_;
       GDBusConnection* _tmp14_ = NULL;
       GDBusConnection* bus;
       GDBusConnection* _tmp15_;
       GError * _inner_error_ = NULL;
       _data6_ = g_slice_new0 (Block6Data);
       _data6_->_ref_count_ = 1;
       _tmp0_ = main_exported_scope;
       _vala_assert (_tmp0_ != NULL, "exported_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data6_->ml = _tmp1_;
       _data6_->got_search_changed = FALSE;
       _data6_->canc1 = NULL;
       _data6_->canc2 = NULL;
       _data6_->num_searches = (guint) 0;
       _tmp2_ = main_exported_scope;
       _tmp3_ = g_signal_connect_data (_tmp2_, "search-changed", (GCallback) ___lambda13__unity_scope_search_changed, block6_data_ref (_data6_), (GClosureNotify) block6_data_unref, 0);
       sig_id = _tmp3_;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda15__gsource_func, block6_data_ref (_data6_), block6_data_unref);
       _tmp4_ = _data6_->ml;
       g_main_loop_run (_tmp4_);
       _tmp5_ = _data6_->got_search_changed;
       _vala_assert (_tmp5_ == TRUE, "got_search_changed == true");
       _tmp6_ = _data6_->canc1;
       _vala_assert (_tmp6_ != NULL, "canc1 != null");
       _tmp7_ = _data6_->canc2;
       _vala_assert (_tmp7_ != NULL, "canc2 != null");
       _tmp8_ = _data6_->canc1;
       _tmp9_ = g_cancellable_is_cancelled (_tmp8_);
       _vala_assert (_tmp9_ == TRUE, "canc1.is_cancelled () == true");
       _tmp10_ = _data6_->canc2;
       _tmp11_ = g_cancellable_is_cancelled (_tmp10_);
       _vala_assert (_tmp11_ == FALSE, "canc2.is_cancelled () == false");
       _tmp12_ = main_exported_scope;
       _tmp13_ = sig_id;
       g_signal_handler_disconnect (_tmp12_, _tmp13_);
       _tmp14_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       bus = _tmp14_;
       if (_inner_error_ != NULL) {
              block6_data_unref (_data6_);
              _data6_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _tmp15_ = bus;
       g_dbus_connection_flush_sync (_tmp15_, NULL, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (bus);
              block6_data_unref (_data6_);
              _data6_ = NULL;
              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);
              g_clear_error (&_inner_error_);
              return;
       }
       _g_object_unref0 (bus);
       block6_data_unref (_data6_);
       _data6_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_unref ( gpointer  instance)
GParamSpec* param_spec_main ( const gchar *  name,
const gchar *  nick,
const gchar *  blurb,
GType  object_type,
GParamFlags  flags 
)
gpointer value_get_main ( const GValue *  value)
static gchar* value_main_collect_value ( GValue *  value,
guint  n_collect_values,
GTypeCValue *  collect_values,
guint  collect_flags 
) [static]

Definition at line 1733 of file test-remote-scope.c.

                                                                                                                                 {
       if (collect_values[0].v_pointer) {
              Main* object;
              object = collect_values[0].v_pointer;
              if (object->parent_instance.g_class == NULL) {
                     return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
              } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
                     return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
              }
              value->data[0].v_pointer = main_ref (object);
       } else {
              value->data[0].v_pointer = NULL;
       }
       return NULL;
}

Here is the call graph for this function:

static void value_main_copy_value ( const GValue *  src_value,
GValue *  dest_value 
) [static]

Definition at line 1719 of file test-remote-scope.c.

                                                                                {
       if (src_value->data[0].v_pointer) {
              dest_value->data[0].v_pointer = main_ref (src_value->data[0].v_pointer);
       } else {
              dest_value->data[0].v_pointer = NULL;
       }
}

Here is the call graph for this function:

static void value_main_free_value ( GValue *  value) [static]

Definition at line 1712 of file test-remote-scope.c.

                                                  {
       if (value->data[0].v_pointer) {
              main_unref (value->data[0].v_pointer);
       }
}

Here is the call graph for this function:

static void value_main_init ( GValue *  value) [static]

Definition at line 1707 of file test-remote-scope.c.

                                            {
       value->data[0].v_pointer = NULL;
}
static gchar* value_main_lcopy_value ( const GValue *  value,
guint  n_collect_values,
GTypeCValue *  collect_values,
guint  collect_flags 
) [static]

Definition at line 1750 of file test-remote-scope.c.

                                                                                                                                     {
       Main** object_p;
       object_p = collect_values[0].v_pointer;
       if (!object_p) {
              return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
       }
       if (!value->data[0].v_pointer) {
              *object_p = NULL;
       } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
              *object_p = value->data[0].v_pointer;
       } else {
              *object_p = main_ref (value->data[0].v_pointer);
       }
       return NULL;
}

Here is the call graph for this function:

static gpointer value_main_peek_pointer ( const GValue *  value) [static]

Definition at line 1728 of file test-remote-scope.c.

                                                              {
       return value->data[0].v_pointer;
}
void value_set_main ( GValue *  value,
gpointer  v_object 
)
void value_take_main ( GValue *  value,
gpointer  v_object 
)

Variable Documentation

static UnityScope * main_exported_scope = NULL [static]

Definition at line 167 of file test-remote-scope.c.

gpointer main_parent_class = NULL [static]

Definition at line 166 of file test-remote-scope.c.