Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Enumerations | Functions | Variables
test-lens.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 <unity-protocol.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  _MainTestMergeStrategy
struct  _MainTestMergeStrategyClass
struct  _Block7Data
struct  _Block8Data
struct  _Block9Data
struct  _Block10Data
struct  _Block11Data
struct  _Block12Data
struct  _Block13Data
struct  _Block14Data
struct  _Block15Data
struct  _Block16Data
struct  _Block17Data
struct  _Block18Data
struct  _Block19Data
struct  _Block20Data
struct  _Block21Data
struct  _MainSignalWrapper
struct  _MainSignalWrapperClass
struct  _MainSignalWrapperPrivate
struct  _MainParamSpecSignalWrapper
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_main_loop_unref0(var)   ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _g_variant_type_free0(var)   ((var == NULL) ? NULL : (var = (g_variant_type_free (var), NULL)))
#define _g_variant_builder_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))
#define MAIN_TYPE_SIGNAL_WRAPPER   (main_signal_wrapper_get_type ())
#define MAIN_SIGNAL_WRAPPER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapper))
#define MAIN_SIGNAL_WRAPPER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapperClass))
#define MAIN_IS_SIGNAL_WRAPPER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAIN_TYPE_SIGNAL_WRAPPER))
#define MAIN_IS_SIGNAL_WRAPPER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), MAIN_TYPE_SIGNAL_WRAPPER))
#define MAIN_SIGNAL_WRAPPER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapperClass))
#define MAIN_TYPE_TEST_MERGE_STRATEGY   (main_test_merge_strategy_get_type ())
#define MAIN_TEST_MERGE_STRATEGY(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIN_TYPE_TEST_MERGE_STRATEGY, MainTestMergeStrategy))
#define MAIN_TEST_MERGE_STRATEGY_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), MAIN_TYPE_TEST_MERGE_STRATEGY, MainTestMergeStrategyClass))
#define MAIN_IS_TEST_MERGE_STRATEGY(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAIN_TYPE_TEST_MERGE_STRATEGY))
#define MAIN_IS_TEST_MERGE_STRATEGY_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), MAIN_TYPE_TEST_MERGE_STRATEGY))
#define MAIN_TEST_MERGE_STRATEGY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), MAIN_TYPE_TEST_MERGE_STRATEGY, MainTestMergeStrategyClass))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_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);
#define MAIN_SIGNAL_WRAPPER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapperPrivate))

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 _MainSignalWrapper
typedef struct _MainSignalWrapperClass
typedef struct _Block6Data
typedef struct _MainTestMergeStrategy
typedef struct _MainTestMergeStrategyClass
typedef struct _MainTestMergeStrategyPrivate
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 _Block15Data
typedef struct _Block16Data
typedef struct _Block17Data
typedef struct _Block18Data
typedef struct _Block19Data
typedef struct _Block20Data
typedef struct _Block21Data
typedef struct _MainSignalWrapperPrivate
typedef struct _MainParamSpecSignalWrapper
typedef struct _ParamSpecMain

Enumerations

enum  { MAIN_TEST_MERGE_STRATEGY_DUMMY_PROPERTY }

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)
static gboolean _vala_string_array_contains (gchar **stack, int stack_length, gchar *needle)
void main_test_lens_export (void)
static void _main_test_lens_export_gtest_data_func (gpointer self)
void main_test_remote_scope_init (void)
static void _main_test_remote_scope_init_gtest_data_func (gpointer self)
void main_test_local_scope_init (void)
static void _main_test_local_scope_init_gtest_data_func (gpointer self)
void main_test_local_scope_search_on_first_view (void)
static void _main_test_local_scope_search_on_first_view_gtest_data_func (gpointer self)
void main_test_lens_search (void)
static void _main_test_lens_search_gtest_data_func (gpointer self)
void main_test_local_scope_search (void)
static void _main_test_local_scope_search_gtest_data_func (gpointer self)
void main_test_merge_strategy (void)
static void _main_test_merge_strategy_gtest_data_func (gpointer self)
void main_test_lens_return_after_scope_finish (void)
static void _main_test_lens_return_after_scope_finish_gtest_data_func (gpointer self)
void main_test_lens_successive_searches (void)
static void _main_test_lens_successive_searches_gtest_data_func (gpointer self)
void main_test_lens_two_searches (void)
static void _main_test_lens_two_searches_gtest_data_func (gpointer self)
void main_test_lens_model_sync (void)
static void _main_test_lens_model_sync_gtest_data_func (gpointer self)
void main_test_lens_reply_hint (void)
static void _main_test_lens_reply_hint_gtest_data_func (gpointer self)
void main_test_lens_sources (void)
static void _main_test_lens_sources_gtest_data_func (gpointer self)
void main_test_lens_activation (void)
static void _main_test_lens_activation_gtest_data_func (gpointer self)
void main_test_lens_preview (void)
static void _main_test_lens_preview_gtest_data_func (gpointer self)
void main_test_lens_preview_signal (void)
static void _main_test_lens_preview_signal_gtest_data_func (gpointer self)
gboolean main_run_with_timeout (GMainLoop *ml, guint timeout_ms)
static Block1Data * block1_data_ref (Block1Data *_data1_)
static void block1_data_unref (void *_userdata_)
static gboolean __lambda7_ (Block1Data *_data1_)
static gboolean ___lambda7__gsource_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 Block2Data * block2_data_ref (Block2Data *_data2_)
static void block2_data_unref (void *_userdata_)
static void __lambda5_ (Block2Data *_data2_)
static void ___lambda5__gbus_name_appeared_callback (GDBusConnection *connection, const gchar *name, const gchar *name_owner, gpointer self)
static void __lambda6_ (Block2Data *_data2_)
static void ___lambda6__gbus_name_vanished_callback (GDBusConnection *connection, const gchar *name, gpointer self)
static void main_flush_bus (void)
static void main_call_lens_method (const gchar *method_name, GVariant *parameters, GFunc cb, void *cb_target)
static Block3Data * block3_data_ref (Block3Data *_data3_)
static void block3_data_unref (void *_userdata_)
static void __lambda11_ (Block3Data *_data3_, GObject *obj, GAsyncResult *res)
static void ___lambda11__gasync_ready_callback (GObject *source_object, GAsyncResult *res, gpointer self)
static void main_call_lens_search (const gchar *search_string, GFunc cb, void *cb_target)
static void main_call_lens_activate (const gchar *uri, guint action_type, GFunc cb, void *cb_target)
static void main_call_lens_update_preview_property (const gchar *uri, GHashTable *props, GFunc cb, void *cb_target)
static GVariant * _variant_new1 (GHashTable *value)
static Block4Data * block4_data_ref (Block4Data *_data4_)
static void block4_data_unref (void *_userdata_)
static gboolean __lambda10_ (Block4Data *_data4_)
static gboolean ___lambda10__gsource_func (gpointer self)
static Block5Data * block5_data_ref (Block5Data *_data5_)
static void block5_data_unref (void *_userdata_)
gpointer main_signal_wrapper_ref (gpointer instance)
void main_signal_wrapper_unref (gpointer instance)
GParamSpec * main_param_spec_signal_wrapper (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags)
void main_value_set_signal_wrapper (GValue *value, gpointer v_object)
void main_value_take_signal_wrapper (GValue *value, gpointer v_object)
gpointer main_value_get_signal_wrapper (const GValue *value)
GType main_signal_wrapper_get_type (void)
static void main_signal_wrapper_finalize (MainSignalWrapper *obj)
static DeeModelIter * main_test_merge_strategy_real_merge_result (UnityMergeStrategy *base, DeeModel *target, GVariant **row, int row_length1)
static void main_test_merge_strategy_finalize (GObject *obj)
static void main_finalize (Main *obj)
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func)
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func)
int main (int argc, char **argv)
static gpointer _g_main_loop_ref0 (gpointer self)
static gpointer _g_object_ref0 (gpointer self)
static void __lambda9_ (Block5Data *_data5_, UnityLensSearch *lens_search, UnitySearchType search_type)
static void ___lambda9__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add1 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static Block6Data * block6_data_ref (Block6Data *_data6_)
static void block6_data_unref (void *_userdata_)
static void __lambda12_ (Block6Data *_data6_, UnityLensSearch *lens_search)
static void ___lambda12__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add2 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static Block7Data * block7_data_ref (Block7Data *_data7_)
static void block7_data_unref (void *_userdata_)
static gboolean __lambda8_ (Block7Data *_data7_)
static gboolean ___lambda8__gsource_func (gpointer self)
static Block8Data * block8_data_ref (Block8Data *_data8_)
static void block8_data_unref (void *_userdata_)
static Block9Data * block9_data_ref (Block9Data *_data9_)
static void block9_data_unref (void *_userdata_)
static gboolean __lambda14_ (Block9Data *_data9_)
static gboolean ___lambda14__gsource_func (gpointer self)
static void __lambda13_ (Block8Data *_data8_, UnityLensSearch *lens_search)
static void ___lambda13__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add3 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static void __lambda15_ (Block8Data *_data8_)
static void ___lambda15__gfunc (gconstpointer data, gpointer self)
static Block10Data * block10_data_ref (Block10Data *_data10_)
static void block10_data_unref (void *_userdata_)
static Block11Data * block11_data_ref (Block11Data *_data11_)
static void block11_data_unref (void *_userdata_)
static gboolean __lambda17_ (Block11Data *_data11_)
static gboolean ___lambda17__gsource_func (gpointer self)
static void __lambda16_ (Block10Data *_data10_, UnityLensSearch *lens_search)
static void ___lambda16__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add4 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static gpointer _g_variant_ref0 (gpointer self)
static void __lambda18_ (Block10Data *_data10_, GVariant *_result_)
static void ___lambda18__gfunc (gconstpointer data, gpointer self)
static void __lambda19_ (Block10Data *_data10_, GVariant *_result_)
static void ___lambda19__gfunc (gconstpointer data, gpointer self)
static Block12Data * block12_data_ref (Block12Data *_data12_)
static void block12_data_unref (void *_userdata_)
static Block13Data * block13_data_ref (Block13Data *_data13_)
static void block13_data_unref (void *_userdata_)
static gboolean __lambda21_ (Block13Data *_data13_)
static gboolean ___lambda21__gsource_func (gpointer self)
static void __lambda20_ (Block12Data *_data12_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static void ___lambda20__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add5 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static void __lambda22_ (Block12Data *_data12_)
static void ___lambda22__gfunc (gconstpointer data, gpointer self)
static void __lambda23_ (Block12Data *_data12_)
static void ___lambda23__gfunc (gconstpointer data, gpointer self)
static gboolean __lambda24_ (void)
static gboolean ___lambda24__gsource_func (gpointer self)
static Block14Data * block14_data_ref (Block14Data *_data14_)
static void block14_data_unref (void *_userdata_)
static Block15Data * block15_data_ref (Block15Data *_data15_)
static void block15_data_unref (void *_userdata_)
static gboolean __lambda26_ (Block15Data *_data15_)
static gboolean ___lambda26__gsource_func (gpointer self)
static void __lambda25_ (Block14Data *_data14_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static void ___lambda25__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add6 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static GHashTable * _variant_get2 (GVariant *value)
static void __lambda27_ (Block14Data *_data14_, GVariant *reply)
static void ___lambda27__gfunc (gconstpointer data, gpointer self)
static Block16Data * block16_data_ref (Block16Data *_data16_)
static void block16_data_unref (void *_userdata_)
static Block17Data * block17_data_ref (Block17Data *_data17_)
static void block17_data_unref (void *_userdata_)
static gboolean __lambda29_ (Block17Data *_data17_)
static gboolean ___lambda29__gsource_func (gpointer self)
static void __lambda28_ (Block16Data *_data16_, UnityLensSearch *lens_search, UnitySearchType search_type, GCancellable *cancellable)
static void ___lambda28__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add7 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static GHashTable * _variant_get3 (GVariant *value)
static void __lambda30_ (Block16Data *_data16_, GVariant *reply)
static void ___lambda30__gfunc (gconstpointer data, gpointer self)
static Block18Data * block18_data_ref (Block18Data *_data18_)
static void block18_data_unref (void *_userdata_)
static gboolean __lambda31_ (Block18Data *_data18_)
static gboolean ___lambda31__gsource_func (gpointer self)
static void __lambda32_ (UnityLensSearch *lens_search)
static void ___lambda32__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add8 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static void __lambda33_ (Block18Data *_data18_)
static void ___lambda33__gfunc (gconstpointer data, gpointer self)
static gboolean __lambda34_ (Block18Data *_data18_)
static gboolean ___lambda34__gsource_func (gpointer self)
static gboolean __lambda35_ (Block18Data *_data18_)
static gboolean ___lambda35__gsource_func (gpointer self)
static void __lambda36_ (Block18Data *_data18_)
static void ___lambda36__gfunc (gconstpointer data, gpointer self)
static gboolean __lambda37_ (Block18Data *_data18_)
static gboolean ___lambda37__gsource_func (gpointer self)
static Block19Data * block19_data_ref (Block19Data *_data19_)
static void block19_data_unref (void *_userdata_)
static void __lambda38_ (UnityLensSearch *lens_search)
static void ___lambda38__unity_scope_search_changed (UnityScope *_sender, UnityLensSearch *search, UnitySearchType search_type, GCancellable *cancellable, gpointer self)
static void _vala_array_add9 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static GHashTable * _variant_get4 (GVariant *value)
static void __lambda39_ (Block19Data *_data19_, GVariant *search_ret)
static void ___lambda39__gfunc (gconstpointer data, gpointer self)
static UnityActivationResponse * __lambda40_ (Block19Data *_data19_, const gchar *uri)
static UnityActivationResponse * ___lambda40__unity_scope_activate_uri (UnityScope *_sender, const gchar *uri, gpointer self)
static void _vala_array_add10 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static void __lambda41_ (Block19Data *_data19_)
static void ___lambda41__gfunc (gconstpointer data, gpointer self)
static Block20Data * block20_data_ref (Block20Data *_data20_)
static void block20_data_unref (void *_userdata_)
static UnityActivationResponse * __lambda42_ (Block20Data *_data20_, const gchar *uri)
static UnityActivationResponse * ___lambda42__unity_scope_activate_uri (UnityScope *_sender, const gchar *uri, gpointer self)
static void _vala_array_add11 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static UnityPreview * __lambda43_ (Block20Data *_data20_, const gchar *uri)
static UnityPreview * ___lambda43__unity_scope_preview_uri (UnityScope *_sender, const gchar *uri, gpointer self)
static void _vala_array_add12 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static void _variant_get5 (GVariant *value, UnityProtocolActivationReplyRaw *result)
static void __lambda44_ (Block20Data *_data20_, GVariant *reply)
static void ___lambda44__gfunc (gconstpointer data, gpointer self)
static UnityActivationResponse * __lambda45_ (Block20Data *_data20_)
static UnityActivationResponse * ___lambda45__unity_preview_action_activated (UnityPreviewAction *_sender, const gchar *uri, gpointer self)
static void __lambda46_ (Block20Data *_data20_, GVariant *reply)
static void ___lambda46__gfunc (gconstpointer data, gpointer self)
static Block21Data * block21_data_ref (Block21Data *_data21_)
static void block21_data_unref (void *_userdata_)
static UnityActivationResponse * __lambda47_ (Block21Data *_data21_, const gchar *uri)
static UnityActivationResponse * ___lambda47__unity_scope_activate_uri (UnityScope *_sender, const gchar *uri, gpointer self)
static void _vala_array_add13 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static UnityPreview * __lambda48_ (Block21Data *_data21_, const gchar *uri)
static UnityPreview * ___lambda48__unity_series_preview_request_item_preview (UnitySeriesPreview *_sender, const gchar *uri, gpointer self)
static void _vala_array_add14 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static UnityPreview * __lambda49_ (Block21Data *_data21_, const gchar *uri)
static UnityPreview * ___lambda49__unity_scope_preview_uri (UnityScope *_sender, const gchar *uri, gpointer self)
static void _vala_array_add15 (MainSignalWrapper ***array, int *length, int *size, MainSignalWrapper *value)
static void _variant_get6 (GVariant *value, UnityProtocolActivationReplyRaw *result)
static void __lambda50_ (Block21Data *_data21_, GVariant *reply)
static void ___lambda50__gfunc (gconstpointer data, gpointer self)
static GHashTable * _variant_get7 (GVariant *value)
static void __lambda51_ (Block21Data *_data21_, GVariant *reply)
static void ___lambda51__gfunc (gconstpointer data, gpointer self)
static GHashTable * _variant_get8 (GVariant *value)
static GHashTable * _variant_get9 (GVariant *value)
static void __lambda52_ (Block21Data *_data21_, GVariant *reply)
static void ___lambda52__gfunc (gconstpointer data, gpointer self)
Main * main_construct (GType object_type)
Main * main_new (void)
MainSignalWrapper * main_signal_wrapper_construct (GType object_type, GObject *o, gulong signal_id)
MainSignalWrapper * main_signal_wrapper_new (GObject *o, gulong signal_id)
static void main_value_signal_wrapper_init (GValue *value)
static void main_value_signal_wrapper_free_value (GValue *value)
static void main_value_signal_wrapper_copy_value (const GValue *src_value, GValue *dest_value)
static gpointer main_value_signal_wrapper_peek_pointer (const GValue *value)
static gchar * main_value_signal_wrapper_collect_value (GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static gchar * main_value_signal_wrapper_lcopy_value (const GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static void main_signal_wrapper_class_init (MainSignalWrapperClass *klass)
static void main_signal_wrapper_instance_init (MainSignalWrapper *self)
static MainTestMergeStrategy * main_test_merge_strategy_construct (GType object_type)
static MainTestMergeStrategy * main_test_merge_strategy_new (void)
static void main_test_merge_strategy_class_init (MainTestMergeStrategyClass *klass)
static void main_test_merge_strategy_unity_merge_strategy_interface_init (UnityMergeStrategyIface *iface)
static void main_test_merge_strategy_instance_init (MainTestMergeStrategy *self)
static GType main_test_merge_strategy_get_type (void)
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 gboolean main_remote_scope_test = FALSE
static UnityLens * main_exported_lens = NULL
static gboolean main_name_owned = FALSE
static UnityScope * main_local_scope = NULL
static gpointer main_signal_wrapper_parent_class = NULL
static gpointer main_test_merge_strategy_parent_class = NULL
static UnityMergeStrategyIface * main_test_merge_strategy_unity_merge_strategy_parent_iface = 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 _MainTestMergeStrategy

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

Collaboration diagram for _MainTestMergeStrategy:
Class Members
gint n_rows
GObject parent_instance
MainTestMergeStrategyPrivate * priv
struct _MainTestMergeStrategyClass

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

Class Members
GObjectClass parent_class
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 _Block15Data

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

Class Members
Block14Data * _data14_
int _ref_count_
UnityLensSearch * lens_search
struct _Block16Data

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

Class Members
int _ref_count_
gboolean got_search_changed
gchar * hint_reply
GMainLoop * ml
struct _Block17Data

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

Class Members
Block16Data * _data16_
int _ref_count_
UnityLensSearch * lens_search
struct _Block18Data

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

Class Members
int _ref_count_
GMainLoop * ml
struct _Block19Data

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

Class Members
int _ref_count_
gboolean got_activate_uri_signal
GMainLoop * ml
guint64 seqnum
struct _Block20Data

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

Class Members
int _ref_count_
UnityPreviewAction * action
gboolean got_action_activated_signal
gboolean got_activate_uri_signal
gboolean got_preview_uri_signal
GMainLoop * ml
UnityProtocolPreview * reconstructed
struct _Block21Data

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

Class Members
int _ref_count_
gboolean got_activate_uri_signal
gboolean got_preview_uri_signal
UnityProtocolGenericPreview * gp_reconstructed
GMainLoop * ml
gint request_item_signal_count
gchar * request_item_signal_uri
UnitySeriesPreview * series_preview
UnityProtocolSeriesPreview * sp_reconstructed
struct _MainSignalWrapper

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

Class Members
GTypeInstance parent_instance
MainSignalWrapperPrivate * priv
volatile int ref_count
struct _MainSignalWrapperPrivate

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

Collaboration diagram for _MainSignalWrapperPrivate:
Class Members
GObject * obj
gulong sig_id
struct _MainParamSpecSignalWrapper

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

Class Members
GParamSpec parent_instance
struct _ParamSpecMain

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

Class Members
GParamSpec parent_instance

Define Documentation

#define _g_error_free0 (   var)    ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

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

#define _g_free0 (   var)    (var = (g_free (var), NULL))

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

#define _g_hash_table_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

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

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

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

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

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

#define _g_variant_builder_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))

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

#define _g_variant_type_free0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_type_free (var), NULL)))

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

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

Definition at line 51 of file test-lens.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 98 of file test-lens.c.

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

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

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

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

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

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

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

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

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

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

#define MAIN_IS_SIGNAL_WRAPPER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAIN_TYPE_SIGNAL_WRAPPER))

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

#define MAIN_IS_SIGNAL_WRAPPER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), MAIN_TYPE_SIGNAL_WRAPPER))

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

#define MAIN_IS_TEST_MERGE_STRATEGY (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MAIN_TYPE_TEST_MERGE_STRATEGY))

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

#define MAIN_IS_TEST_MERGE_STRATEGY_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), MAIN_TYPE_TEST_MERGE_STRATEGY))

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

#define MAIN_SIGNAL_WRAPPER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapper))

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

#define MAIN_SIGNAL_WRAPPER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapperClass))

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

#define MAIN_SIGNAL_WRAPPER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapperClass))

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

#define MAIN_SIGNAL_WRAPPER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapperPrivate))
#define MAIN_TEST_MERGE_STRATEGY (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), MAIN_TYPE_TEST_MERGE_STRATEGY, MainTestMergeStrategy))

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

#define MAIN_TEST_MERGE_STRATEGY_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), MAIN_TYPE_TEST_MERGE_STRATEGY, MainTestMergeStrategyClass))

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

#define MAIN_TEST_MERGE_STRATEGY_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), MAIN_TYPE_TEST_MERGE_STRATEGY, MainTestMergeStrategyClass))

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

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

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

#define TYPE_MAIN   (main_get_type ())

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


Typedef Documentation

typedef struct _Block10Data

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

typedef struct _Block11Data

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

typedef struct _Block12Data

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

typedef struct _Block13Data

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

typedef struct _Block14Data

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

typedef struct _Block15Data

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

typedef struct _Block16Data

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

typedef struct _Block17Data

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

typedef struct _Block18Data

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

typedef struct _Block19Data

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

typedef struct _Block1Data

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

typedef struct _Block20Data

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

typedef struct _Block21Data

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

typedef struct _Block2Data

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

typedef struct _Block3Data

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

typedef struct _Block4Data

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

typedef struct _Block5Data

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

typedef struct _Block6Data

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

typedef struct _Block7Data

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

typedef struct _Block8Data

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

typedef struct _Block9Data

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

typedef struct _Main

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

typedef struct _MainClass

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

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

typedef struct _MainPrivate

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

typedef struct _MainSignalWrapper

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

typedef struct _MainSignalWrapperClass

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

typedef struct _MainSignalWrapperPrivate

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

typedef struct _MainTestMergeStrategy

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

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

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

typedef struct _ParamSpecMain

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


Enumeration Type Documentation

anonymous enum
Enumerator:
MAIN_TEST_MERGE_STRATEGY_DUMMY_PROPERTY 

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


Function Documentation

static gboolean ___lambda10__gsource_func ( gpointer  self) [static]

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda11__gasync_ready_callback ( GObject *  source_object,
GAsyncResult *  res,
gpointer  self 
) [static]

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

                                                                                                          {
       __lambda11_ (self, source_object, res);
       block3_data_unref (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

                                                                                                                                                                          {
       __lambda12_ (self, search);
}

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 1598 of file test-lens.c.

                                                                                                                                                                          {
       __lambda13_ (self, search);
}

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 1573 of file test-lens.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 void ___lambda15__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda15_ (self);
}

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 1752 of file test-lens.c.

                                                                                                                                                                          {
       __lambda16_ (self, search);
}

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 1727 of file test-lens.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 void ___lambda18__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda18_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda19__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda19_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

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

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 1908 of file test-lens.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda22__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda22_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda23__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda23_ (self);
}

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 2039 of file test-lens.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda26__gsource_func ( gpointer  self) [static]

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda27__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda27_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda29__gsource_func ( gpointer  self) [static]

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

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

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 775 of file test-lens.c.

                                                                                                               {
       __lambda2_ ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda30__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda30_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda31__gsource_func ( gpointer  self) [static]

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

                                                                                                                                                                          {
       __lambda32_ (search);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda33__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda33_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda34__gsource_func ( gpointer  self) [static]

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda35__gsource_func ( gpointer  self) [static]

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda36__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda36_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda37__gsource_func ( gpointer  self) [static]

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

                                                                                                                                                                          {
       __lambda38_ (search);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda39__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda39_ (self, data);
}

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 785 of file test-lens.c.

                                                                                                                    {
       __lambda3_ ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityActivationResponse* ___lambda40__unity_scope_activate_uri ( UnityScope *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

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

                                                                                                                             {
       UnityActivationResponse* result;
       result = __lambda40_ (self, uri);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda41__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda41_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityActivationResponse* ___lambda42__unity_scope_activate_uri ( UnityScope *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

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

                                                                                                                             {
       UnityActivationResponse* result;
       result = __lambda42_ (self, uri);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityPreview* ___lambda43__unity_scope_preview_uri ( UnityScope *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

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

                                                                                                                 {
       UnityPreview* result;
       result = __lambda43_ (self, uri);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda44__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda44_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityActivationResponse* ___lambda45__unity_preview_action_activated ( UnityPreviewAction *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

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

                                                                                                                                           {
       UnityActivationResponse* result;
       result = __lambda45_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda46__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda46_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityActivationResponse* ___lambda47__unity_scope_activate_uri ( UnityScope *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

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

                                                                                                                             {
       UnityActivationResponse* result;
       result = __lambda47_ (self, uri);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityPreview* ___lambda48__unity_series_preview_request_item_preview ( UnitySeriesPreview *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

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

                                                                                                                                           {
       UnityPreview* result;
       result = __lambda48_ (self, uri);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityPreview* ___lambda49__unity_scope_preview_uri ( UnityScope *  _sender,
const gchar *  uri,
gpointer  self 
) [static]

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

                                                                                                                 {
       UnityPreview* result;
       result = __lambda49_ (self, uri);
       return result;
}

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 796 of file test-lens.c.

                                                                                                                {
       __lambda4_ ();
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda50__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda50_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda51__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda51_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda52__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

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

                                                                   {
       __lambda52_ (self, data);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

                                                                                                                                             {
       __lambda5_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

                                                                                                                    {
       __lambda6_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean ___lambda7__gsource_func ( gpointer  self) [static]

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

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

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 1471 of file test-lens.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 void ___lambda9__unity_scope_search_changed ( UnityScope *  _sender,
UnityLensSearch *  search,
UnitySearchType  search_type,
GCancellable *  cancellable,
gpointer  self 
) [static]

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

                                                                                                                                                                         {
       __lambda9_ (self, search, search_type);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda10_ ( Block4Data *  _data4_) [static]

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

                                                  {
       gboolean result = FALSE;
       gboolean _tmp0_;
       gboolean _tmp1_;
       _tmp0_ = main_name_owned;
       if (_tmp0_) {
              g_main_loop_quit (_data4_->ml);
       }
       _tmp1_ = main_name_owned;
       result = !_tmp1_;
       return result;
}

Here is the caller graph for this function:

static void __lambda11_ ( Block3Data *  _data3_,
GObject *  obj,
GAsyncResult *  res 
) [static]

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

                                                                               {
       GError * _inner_error_ = NULL;
       g_return_if_fail (res != NULL);
       {
              GDBusConnection* _tmp0_;
              GAsyncResult* _tmp1_;
              GVariant* _tmp2_ = NULL;
              GVariant* reply;
              GFunc _tmp3_;
              void* _tmp3__target;
              _tmp0_ = _data3_->bus;
              _tmp1_ = res;
              _tmp2_ = g_dbus_connection_call_finish (_tmp0_, _tmp1_, &_inner_error_);
              reply = _tmp2_;
              if (_inner_error_ != NULL) {
                     goto __catch1_g_error;
              }
              _tmp3_ = _data3_->cb;
              _tmp3__target = _data3_->cb_target;
              if (_tmp3_ != NULL) {
                     GFunc _tmp4_;
                     void* _tmp4__target;
                     _tmp4_ = _data3_->cb;
                     _tmp4__target = _data3_->cb_target;
                     _tmp4_ (reply, _tmp4__target);
              }
              _g_variant_unref0 (reply);
       }
       goto __finally1;
       __catch1_g_error:
       {
              GError* e = NULL;
              GError* _tmp5_;
              const gchar* _tmp6_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp5_ = e;
              _tmp6_ = _tmp5_->message;
              g_warning ("test-lens.vala:189: %s", _tmp6_);
              _g_error_free0 (e);
       }
       __finally1:
       if (_inner_error_ != 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;
       }
}

Here is the caller graph for this function:

static void __lambda12_ ( Block6Data *  _data6_,
UnityLensSearch *  lens_search 
) [static]

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

                                                                            {
       UnityLensSearch* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       UnityLensSearch* _tmp3_;
       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\"");
       _data6_->got_search_changed = TRUE;
       _tmp3_ = lens_search;
       g_signal_emit_by_name (_tmp3_, "finished");
       g_main_loop_quit (_data6_->ml);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda13_ ( Block8Data *  _data8_,
UnityLensSearch *  lens_search 
) [static]

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

                                                                            {
       Block9Data* _data9_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       g_return_if_fail (lens_search != 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_;
       _data8_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 750, ___lambda14__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 __lambda14_ ( Block9Data *  _data9_) [static]

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

                                                  {
       Block8Data* _data8_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       _data8_ = _data9_->_data8_;
       _data8_->finish_called = TRUE;
       _tmp0_ = _data9_->lens_search;
       g_signal_emit_by_name (_tmp0_, "finished");
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda15_ ( Block8Data *  _data8_) [static]

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

                                              {
       g_main_loop_quit (_data8_->ml);
}

Here is the caller graph for this function:

static void __lambda16_ ( Block10Data *  _data10_,
UnityLensSearch *  lens_search 
) [static]

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

                                                                              {
       Block11Data* _data11_;
       UnityLensSearch* _tmp0_;
       UnityLensSearch* _tmp1_;
       g_return_if_fail (lens_search != 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_;
       _data10_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 750, ___lambda17__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 __lambda17_ ( Block11Data *  _data11_) [static]

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

                                                    {
       Block10Data* _data10_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* _tmp2_;
       UnityLensSearch* _tmp3_;
       DeeSerializableModel* _tmp4_;
       DeeSerializableModel* _tmp5_;
       UnityLensSearch* _tmp6_;
       _data10_ = _data11_->_data10_;
       _tmp0_ = _data11_->lens_search;
       _tmp1_ = unity_lens_search_get_results_model (_tmp0_);
       _tmp2_ = _tmp1_;
       dee_model_clear ((DeeModel*) _tmp2_);
       _tmp3_ = _data11_->lens_search;
       _tmp4_ = unity_lens_search_get_results_model (_tmp3_);
       _tmp5_ = _tmp4_;
       dee_model_append ((DeeModel*) _tmp5_, "", "", 0, "", "", "", "", NULL);
       _tmp6_ = _data11_->lens_search;
       g_signal_emit_by_name (_tmp6_, "finished");
       _data10_->finish_called = TRUE;
       result = FALSE;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda18_ ( Block10Data *  _data10_,
GVariant *  _result_ 
) [static]

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

                                                                    {
       GVariant* _tmp0_;
       GVariant* _tmp1_;
       _tmp0_ = _result_;
       _tmp1_ = _g_variant_ref0 (_tmp0_);
       _g_variant_unref0 (_data10_->result1);
       _data10_->result1 = _tmp1_;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda19_ ( Block10Data *  _data10_,
GVariant *  _result_ 
) [static]

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

                                                                    {
       GVariant* _tmp0_;
       GVariant* _tmp1_;
       _tmp0_ = _result_;
       _tmp1_ = _g_variant_ref0 (_tmp0_);
       _g_variant_unref0 (_data10_->result2);
       _data10_->result2 = _tmp1_;
       g_main_loop_quit (_data10_->ml);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

                                                                                                                                      {
       Block13Data* _data13_;
       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;
       GMainLoop* _tmp12_;
       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_;
       _data12_->got_search_changed = TRUE;
       _tmp2_ = _data13_->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 (_data12_->canc1);
                            _data12_->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 (_data12_->canc2);
                            _data12_->canc2 = _tmp11_;
                            break;
                     }
              }
       } else {
              switch (0) {
                     default:
                     {
                            g_assert_not_reached ();
                     }
              }
       }
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 1000, ___lambda21__gsource_func, block13_data_ref (_data13_), block13_data_unref);
       _tmp12_ = _data12_->ml;
       g_main_loop_quit (_tmp12_);
       block13_data_unref (_data13_);
       _data13_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda21_ ( Block13Data *  _data13_) [static]

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

                                                    {
       Block12Data* _data12_;
       gboolean result = FALSE;
       guint _tmp0_;
       UnityLensSearch* _tmp1_;
       _data12_ = _data13_->_data12_;
       _tmp0_ = _data12_->finish_calls;
       _data12_->finish_calls = _tmp0_ + 1;
       _tmp1_ = _data13_->lens_search;
       g_signal_emit_by_name (_tmp1_, "finished");
       if (_data12_->finish_calls == ((guint) 2)) {
              GMainLoop* _tmp2_;
              _tmp2_ = _data12_->ml;
              g_main_loop_quit (_tmp2_);
       }
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda22_ ( Block12Data *  _data12_) [static]

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

                                                {
       gchar* _tmp0_;
       _tmp0_ = g_strconcat (_data12_->order, "1", NULL);
       _g_free0 (_data12_->order);
       _data12_->order = _tmp0_;
       _data12_->replies = _data12_->replies + 1;
       if (_data12_->replies == 2) {
              g_main_loop_quit (_data12_->reply_ml);
       }
}

Here is the caller graph for this function:

static void __lambda23_ ( Block12Data *  _data12_) [static]

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

                                                {
       gchar* _tmp0_;
       _tmp0_ = g_strconcat (_data12_->order, "2", NULL);
       _g_free0 (_data12_->order);
       _data12_->order = _tmp0_;
       _data12_->replies = _data12_->replies + 1;
       if (_data12_->replies == 2) {
              g_main_loop_quit (_data12_->reply_ml);
       }
}

Here is the caller graph for this function:

static gboolean __lambda24_ ( void  ) [static]

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

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

Here is the caller graph for this function:

static void __lambda25_ ( Block14Data *  _data14_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

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

                                                                                                                                      {
       Block15Data* _data15_;
       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);
       _data15_ = g_slice_new0 (Block15Data);
       _data15_->_ref_count_ = 1;
       _data15_->_data14_ = block14_data_ref (_data14_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data15_->lens_search = _tmp1_;
       _tmp2_ = _data15_->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\"");
       _data14_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 300, ___lambda26__gsource_func, block15_data_ref (_data15_), block15_data_unref);
       block15_data_unref (_data15_);
       _data15_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda26_ ( Block15Data *  _data15_) [static]

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

                                                    {
       Block14Data* _data14_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* _tmp2_;
       DeeSerializableModel* _tmp3_;
       DeeSerializableModel* model;
       UnityLensSearch* _tmp4_;
       _data14_ = _data15_->_data14_;
       _tmp0_ = _data15_->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_ = _data15_->lens_search;
       g_signal_emit_by_name (_tmp4_, "finished");
       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 void __lambda27_ ( Block14Data *  _data14_,
GVariant *  reply 
) [static]

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

                                                                 {
       GVariant* _tmp0_;
       GVariant* _tmp1_;
       GVariant* _tmp2_ = NULL;
       GVariant* _tmp3_;
       GHashTable* _tmp4_;
       GHashTable* _tmp9_;
       GHashTable* ht;
       gconstpointer _tmp10_ = NULL;
       GVariant* seqnum_v;
       guint64 _tmp11_ = 0ULL;
       _tmp0_ = reply;
       _vala_assert (_tmp0_ != NULL, "reply != null");
       _tmp1_ = reply;
       _tmp2_ = g_variant_get_child_value (_tmp1_, (gsize) 0);
       _tmp3_ = _tmp2_;
       _tmp4_ = _variant_get2 (_tmp3_);
       _tmp9_ = _tmp4_;
       _g_variant_unref0 (_tmp3_);
       ht = _tmp9_;
       _tmp10_ = g_hash_table_lookup (ht, "model-seqnum");
       seqnum_v = (GVariant*) _tmp10_;
       _vala_assert (seqnum_v != NULL, "seqnum_v != null");
       _tmp11_ = g_variant_get_uint64 (seqnum_v);
       _data14_->seqnum = _tmp11_;
       g_main_loop_quit (_data14_->ml);
       _g_hash_table_unref0 (ht);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda28_ ( Block16Data *  _data16_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type,
GCancellable *  cancellable 
) [static]

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

                                                                                                                                      {
       Block17Data* _data17_;
       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);
       _data17_ = g_slice_new0 (Block17Data);
       _data17_->_ref_count_ = 1;
       _data17_->_data16_ = block16_data_ref (_data16_);
       _tmp0_ = lens_search;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _data17_->lens_search = _tmp1_;
       _tmp2_ = _data17_->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\"");
       _data16_->got_search_changed = TRUE;
       g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 10, ___lambda29__gsource_func, block17_data_ref (_data17_), block17_data_unref);
       block17_data_unref (_data17_);
       _data17_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda29_ ( Block17Data *  _data17_) [static]

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

                                                    {
       Block16Data* _data16_;
       gboolean result = FALSE;
       UnityLensSearch* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* _tmp2_;
       DeeSerializableModel* _tmp3_;
       DeeSerializableModel* model;
       UnityLensSearch* _tmp4_;
       GVariant* _tmp5_;
       GVariant* _tmp6_;
       UnityLensSearch* _tmp7_;
       _data16_ = _data17_->_data16_;
       _tmp0_ = _data17_->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_ = _data17_->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_ = _data17_->lens_search;
       g_signal_emit_by_name (_tmp7_, "finished");
       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 void __lambda2_ ( void  ) [static]

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

                              {
}

Here is the caller graph for this function:

static void __lambda30_ ( Block16Data *  _data16_,
GVariant *  reply 
) [static]

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

                                                                 {
       GVariant* _tmp0_;
       GVariant* _tmp1_;
       GVariant* _tmp2_ = NULL;
       GVariant* _tmp3_;
       GHashTable* _tmp4_;
       GHashTable* _tmp9_;
       GHashTable* ht;
       gconstpointer _tmp10_ = NULL;
       GVariant* hint_v;
       const gchar* _tmp11_ = NULL;
       gchar* _tmp12_;
       _tmp0_ = reply;
       _vala_assert (_tmp0_ != NULL, "reply != null");
       _tmp1_ = reply;
       _tmp2_ = g_variant_get_child_value (_tmp1_, (gsize) 0);
       _tmp3_ = _tmp2_;
       _tmp4_ = _variant_get3 (_tmp3_);
       _tmp9_ = _tmp4_;
       _g_variant_unref0 (_tmp3_);
       ht = _tmp9_;
       _tmp10_ = g_hash_table_lookup (ht, "test-reply-hint");
       hint_v = (GVariant*) _tmp10_;
       _vala_assert (hint_v != NULL, "hint_v != null");
       _tmp11_ = g_variant_get_string (hint_v, NULL);
       _tmp12_ = g_strdup (_tmp11_);
       _g_free0 (_data16_->hint_reply);
       _data16_->hint_reply = _tmp12_;
       g_main_loop_quit (_data16_->ml);
       _g_hash_table_unref0 (ht);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda31_ ( Block18Data *  _data18_) [static]

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

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

Here is the caller graph for this function:

static void __lambda32_ ( UnityLensSearch *  lens_search) [static]

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

                                                       {
       UnityLensSearch* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       gboolean _tmp3_ = FALSE;
       UnityLensSearch* _tmp4_;
       g_return_if_fail (lens_search != NULL);
       _tmp0_ = lens_search;
       _tmp1_ = unity_lens_search_get_search_string (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp3_ = g_str_has_prefix (_tmp2_, "sources-test");
       _vala_assert (_tmp3_, "lens_search.search_string.has_prefix (\"sources-test\")");
       _tmp4_ = lens_search;
       g_signal_emit_by_name (_tmp4_, "finished");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda33_ ( Block18Data *  _data18_) [static]

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

                                                {
       GMainLoop* _tmp0_;
       _tmp0_ = _data18_->ml;
       g_main_loop_quit (_tmp0_);
}

Here is the caller graph for this function:

static gboolean __lambda34_ ( Block18Data *  _data18_) [static]

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

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

Here is the caller graph for this function:

static gboolean __lambda35_ ( Block18Data *  _data18_) [static]

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

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

Here is the caller graph for this function:

static void __lambda36_ ( Block18Data *  _data18_) [static]

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

                                                {
       GMainLoop* _tmp0_;
       _tmp0_ = _data18_->ml;
       g_main_loop_quit (_tmp0_);
}

Here is the caller graph for this function:

static gboolean __lambda37_ ( Block18Data *  _data18_) [static]

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

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

Here is the caller graph for this function:

static void __lambda38_ ( UnityLensSearch *  lens_search) [static]

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

                                                       {
       UnityLensSearch* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       gboolean _tmp3_ = FALSE;
       UnityLensSearch* _tmp4_;
       DeeSerializableModel* _tmp5_;
       DeeSerializableModel* _tmp6_;
       DeeSerializableModel* _tmp7_;
       DeeSerializableModel* model;
       UnityLensSearch* _tmp8_;
       g_return_if_fail (lens_search != NULL);
       _tmp0_ = lens_search;
       _tmp1_ = unity_lens_search_get_search_string (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp3_ = g_str_has_prefix (_tmp2_, "activation-test");
       _vala_assert (_tmp3_, "lens_search.search_string.has_prefix (\"activation-test\")");
       _tmp4_ = lens_search;
       _tmp5_ = unity_lens_search_get_results_model (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = _g_object_ref0 (_tmp6_);
       model = _tmp7_;
       dee_model_clear ((DeeModel*) model);
       dee_model_append ((DeeModel*) model, "scheme://local/", "icon", 0, "mimetype", "display-name", "comment", "dnd-uri", NULL);
       _tmp8_ = lens_search;
       g_signal_emit_by_name (_tmp8_, "finished");
       _g_object_unref0 (model);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda39_ ( Block19Data *  _data19_,
GVariant *  search_ret 
) [static]

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

                                                                      {
       GVariant* _tmp0_;
       GVariant* _tmp1_ = NULL;
       GVariant* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp8_;
       GHashTable* ht;
       gconstpointer _tmp9_ = NULL;
       guint64 _tmp10_ = 0ULL;
       GMainLoop* _tmp11_;
       _tmp0_ = search_ret;
       _tmp1_ = g_variant_get_child_value (_tmp0_, (gsize) 0);
       _tmp2_ = _tmp1_;
       _tmp3_ = _variant_get4 (_tmp2_);
       _tmp8_ = _tmp3_;
       _g_variant_unref0 (_tmp2_);
       ht = _tmp8_;
       _tmp9_ = g_hash_table_lookup (ht, "model-seqnum");
       _tmp10_ = g_variant_get_uint64 ((GVariant*) _tmp9_);
       _data19_->seqnum = _tmp10_;
       _tmp11_ = _data19_->ml;
       g_main_loop_quit (_tmp11_);
       _g_hash_table_unref0 (ht);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda3_ ( void  ) [static]

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

                              {
       main_name_owned = TRUE;
}

Here is the caller graph for this function:

static UnityActivationResponse* __lambda40_ ( Block19Data *  _data19_,
const gchar *  uri 
) [static]

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

                                                                                      {
       UnityActivationResponse* result = NULL;
       const gchar* _tmp0_;
       g_return_val_if_fail (uri != NULL, NULL);
       _tmp0_ = uri;
       _vala_assert (g_strcmp0 (_tmp0_, "scheme://local/") == 0, "uri == \"scheme://local/\"");
       _data19_->got_activate_uri_signal = TRUE;
       result = NULL;
       return result;
}

Here is the caller graph for this function:

static void __lambda41_ ( Block19Data *  _data19_) [static]

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

                                                {
       GMainLoop* _tmp0_;
       _tmp0_ = _data19_->ml;
       g_main_loop_quit (_tmp0_);
}

Here is the caller graph for this function:

static UnityActivationResponse* __lambda42_ ( Block20Data *  _data20_,
const gchar *  uri 
) [static]

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

                                                                                      {
       UnityActivationResponse* result = NULL;
       g_return_val_if_fail (uri != NULL, NULL);
       _data20_->got_activate_uri_signal = TRUE;
       result = NULL;
       return result;
}

Here is the caller graph for this function:

static UnityPreview* __lambda43_ ( Block20Data *  _data20_,
const gchar *  uri 
) [static]

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

                                                                           {
       UnityPreview* result = NULL;
       const gchar* _tmp0_;
       UnityGenericPreview* _tmp1_;
       UnityGenericPreview* p;
       UnityPreviewAction* _tmp2_;
       g_return_val_if_fail (uri != NULL, NULL);
       _tmp0_ = uri;
       _vala_assert (g_strcmp0 (_tmp0_, "scheme://local/") == 0, "uri == \"scheme://local/\"");
       _data20_->got_preview_uri_signal = TRUE;
       _tmp1_ = unity_generic_preview_new ("An item", "description", NULL);
       p = _tmp1_;
       _tmp2_ = unity_preview_action_new ("button1", "Do stuff!", NULL);
       _g_object_unref0 (_data20_->action);
       _data20_->action = _tmp2_;
       unity_preview_add_action ((UnityPreview*) p, _data20_->action);
       result = (UnityPreview*) p;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda44_ ( Block20Data *  _data20_,
GVariant *  reply 
) [static]

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

                                                                 {
       GVariant* _tmp0_;
       GVariant* _tmp1_ = NULL;
       GVariant* v;
       UnityProtocolActivationReplyRaw _tmp2_;
       UnityProtocolActivationReplyRaw reply_struct;
       UnityProtocolActivationReplyRaw _tmp12_;
       GHashTable* _tmp13_;
       gconstpointer _tmp14_ = NULL;
       UnityProtocolPreview* _tmp15_ = NULL;
       GMainLoop* _tmp16_;
       _tmp0_ = reply;
       _tmp1_ = g_variant_get_child_value (_tmp0_, (gsize) 0);
       v = _tmp1_;
       _variant_get5 (v, &_tmp2_);
       reply_struct = _tmp2_;
       _tmp12_ = reply_struct;
       _tmp13_ = _tmp12_.hints;
       _tmp14_ = g_hash_table_lookup (_tmp13_, "preview");
       _tmp15_ = unity_protocol_preview_parse ((GVariant*) _tmp14_);
       _g_object_unref0 (_data20_->reconstructed);
       _data20_->reconstructed = _tmp15_;
       _tmp16_ = _data20_->ml;
       g_main_loop_quit (_tmp16_);
       unity_protocol_activation_reply_raw_destroy (&reply_struct);
       _g_variant_unref0 (v);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityActivationResponse* __lambda45_ ( Block20Data *  _data20_) [static]

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

                                                                    {
       UnityActivationResponse* result = NULL;
       UnityActivationResponse* _tmp0_;
       _data20_->got_action_activated_signal = TRUE;
       _tmp0_ = unity_activation_response_new (UNITY_HANDLED_TYPE_NOT_HANDLED, "");
       g_object_ref_sink (_tmp0_);
       result = _tmp0_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda46_ ( Block20Data *  _data20_,
GVariant *  reply 
) [static]

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

                                                                 {
       GMainLoop* _tmp0_;
       _tmp0_ = _data20_->ml;
       g_main_loop_quit (_tmp0_);
}

Here is the caller graph for this function:

static UnityActivationResponse* __lambda47_ ( Block21Data *  _data21_,
const gchar *  uri 
) [static]

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

                                                                                      {
       UnityActivationResponse* result = NULL;
       g_return_val_if_fail (uri != NULL, NULL);
       _data21_->got_activate_uri_signal = TRUE;
       result = NULL;
       return result;
}

Here is the caller graph for this function:

static UnityPreview* __lambda48_ ( Block21Data *  _data21_,
const gchar *  uri 
) [static]

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

                                                                           {
       UnityPreview* result = NULL;
       gint _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       UnityGenericPreview* _tmp3_;
       g_return_val_if_fail (uri != NULL, NULL);
       _tmp0_ = _data21_->request_item_signal_count;
       _data21_->request_item_signal_count = _tmp0_ + 1;
       _tmp1_ = uri;
       _tmp2_ = g_strdup (_tmp1_);
       _g_free0 (_data21_->request_item_signal_uri);
       _data21_->request_item_signal_uri = _tmp2_;
       _tmp3_ = unity_generic_preview_new ("child preview", "this is a child preview", NULL);
       result = (UnityPreview*) _tmp3_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityPreview* __lambda49_ ( Block21Data *  _data21_,
const gchar *  uri 
) [static]

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

                                                                           {
       UnityPreview* result = NULL;
       const gchar* _tmp0_;
       UnityPreview* _tmp1_;
       g_return_val_if_fail (uri != NULL, NULL);
       _tmp0_ = uri;
       _vala_assert (g_strcmp0 (_tmp0_, "scheme://local/") == 0, "uri == \"scheme://local/\"");
       _data21_->got_preview_uri_signal = TRUE;
       _tmp1_ = _g_object_ref0 ((UnityPreview*) _data21_->series_preview);
       result = _tmp1_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda4_ ( void  ) [static]

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

                              {
       g_debug ("test-lens.vala:109: Name lost");
       g_assert_not_reached ();
}

Here is the caller graph for this function:

static void __lambda50_ ( Block21Data *  _data21_,
GVariant *  reply 
) [static]

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

                                                                 {
       GVariant* _tmp0_;
       GVariant* _tmp1_ = NULL;
       GVariant* v;
       UnityProtocolActivationReplyRaw _tmp2_;
       UnityProtocolActivationReplyRaw reply_struct;
       UnityProtocolActivationReplyRaw _tmp12_;
       GHashTable* _tmp13_;
       gconstpointer _tmp14_ = NULL;
       UnityProtocolPreview* _tmp15_ = NULL;
       GMainLoop* _tmp16_;
       _tmp0_ = reply;
       _tmp1_ = g_variant_get_child_value (_tmp0_, (gsize) 0);
       v = _tmp1_;
       _variant_get6 (v, &_tmp2_);
       reply_struct = _tmp2_;
       _tmp12_ = reply_struct;
       _tmp13_ = _tmp12_.hints;
       _tmp14_ = g_hash_table_lookup (_tmp13_, "preview");
       _tmp15_ = unity_protocol_preview_parse ((GVariant*) _tmp14_);
       _g_object_unref0 (_data21_->sp_reconstructed);
       _data21_->sp_reconstructed = G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, UNITY_PROTOCOL_TYPE_SERIES_PREVIEW, UnityProtocolSeriesPreview);
       _tmp16_ = _data21_->ml;
       g_main_loop_quit (_tmp16_);
       unity_protocol_activation_reply_raw_destroy (&reply_struct);
       _g_variant_unref0 (v);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda51_ ( Block21Data *  _data21_,
GVariant *  reply 
) [static]

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

                                                                 {
       GVariant* _tmp0_;
       GVariant* _tmp1_ = NULL;
       GVariant* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp8_;
       GHashTable* ht;
       gboolean _tmp9_ = FALSE;
       gconstpointer _tmp10_ = NULL;
       UnityProtocolPreview* _tmp11_ = NULL;
       GMainLoop* _tmp12_;
       _tmp0_ = reply;
       _tmp1_ = g_variant_get_child_value (_tmp0_, (gsize) 0);
       _tmp2_ = _tmp1_;
       _tmp3_ = _variant_get7 (_tmp2_);
       _tmp8_ = _tmp3_;
       _g_variant_unref0 (_tmp2_);
       ht = _tmp8_;
       _tmp9_ = g_hash_table_contains (ht, "preview");
       _vala_assert (_tmp9_, "ht.contains(\"preview\")");
       _tmp10_ = g_hash_table_lookup (ht, "preview");
       _tmp11_ = unity_protocol_preview_parse ((GVariant*) _tmp10_);
       _g_object_unref0 (_data21_->gp_reconstructed);
       _data21_->gp_reconstructed = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreview);
       _tmp12_ = _data21_->ml;
       g_main_loop_quit (_tmp12_);
       _g_hash_table_unref0 (ht);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda52_ ( Block21Data *  _data21_,
GVariant *  reply 
) [static]

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

                                                                 {
       GVariant* _tmp0_;
       GVariant* _tmp1_ = NULL;
       GVariant* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp8_;
       GHashTable* ht;
       gboolean _tmp9_ = FALSE;
       gconstpointer _tmp10_ = NULL;
       UnityProtocolPreview* _tmp11_ = NULL;
       GMainLoop* _tmp12_;
       _tmp0_ = reply;
       _tmp1_ = g_variant_get_child_value (_tmp0_, (gsize) 0);
       _tmp2_ = _tmp1_;
       _tmp3_ = _variant_get9 (_tmp2_);
       _tmp8_ = _tmp3_;
       _g_variant_unref0 (_tmp2_);
       ht = _tmp8_;
       _tmp9_ = g_hash_table_contains (ht, "preview");
       _vala_assert (_tmp9_ == TRUE, "ht.contains(\"preview\") == true");
       _tmp10_ = g_hash_table_lookup (ht, "preview");
       _tmp11_ = unity_protocol_preview_parse ((GVariant*) _tmp10_);
       _g_object_unref0 (_data21_->gp_reconstructed);
       _data21_->gp_reconstructed = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, UNITY_PROTOCOL_TYPE_GENERIC_PREVIEW, UnityProtocolGenericPreview);
       _tmp12_ = _data21_->ml;
       g_main_loop_quit (_tmp12_);
       _g_hash_table_unref0 (ht);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda5_ ( Block2Data *  _data2_) [static]

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

                                             {
       _data2_->scope_up = TRUE;
       g_main_loop_quit (_data2_->ml);
}

Here is the caller graph for this function:

static void __lambda6_ ( Block2Data *  _data2_) [static]

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

                                             {
       _data2_->scope_up = FALSE;
}

Here is the caller graph for this function:

static gboolean __lambda7_ ( Block1Data *  _data1_) [static]

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

                                                 {
       gboolean result = FALSE;
       GMainLoop* _tmp0_;
       _data1_->timeout_reached = TRUE;
       g_debug ("test-lens.vala:89: Timeout reached");
       _tmp0_ = _data1_->ml;
       g_main_loop_quit (_tmp0_);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean __lambda8_ ( Block7Data *  _data7_) [static]

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

                                                 {
       gboolean result = FALSE;
       g_main_loop_quit (_data7_->ml);
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void __lambda9_ ( Block5Data *  _data5_,
UnityLensSearch *  lens_search,
UnitySearchType  search_type 
) [static]

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

                                                                                                        {
       UnityLensSearch* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       UnitySearchType _tmp3_;
       UnityLensSearch* _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_, "") == 0, "lens_search.search_string == \"\"");
       _tmp3_ = search_type;
       if (_tmp3_ == UNITY_SEARCH_TYPE_GLOBAL) {
              _data5_->got_global_search = TRUE;
       } else {
              _data5_->got_lens_search = TRUE;
       }
       _tmp4_ = lens_search;
       g_signal_emit_by_name (_tmp4_, "finished");
       g_main_loop_quit (_data5_->ml);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gpointer _g_main_loop_ref0 ( gpointer  self) [static]

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

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

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

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

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

Here is the caller graph for this function:

static gpointer _g_variant_ref0 ( gpointer  self) [static]

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

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

Here is the caller graph for this function:

static void _main_test_lens_activation_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_export_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_model_sync_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_preview_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_preview_signal_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_reply_hint_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_return_after_scope_finish_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_search_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_sources_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_successive_searches_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_lens_two_searches_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_local_scope_init_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_local_scope_search_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_local_scope_search_on_first_view_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_merge_strategy_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _main_test_remote_scope_init_gtest_data_func ( gpointer  self) [static]

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

Here is the call graph for this function:

static void _vala_array_add1 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add10 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                             {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add11 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                             {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add12 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                             {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add13 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                             {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add14 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                             {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add15 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                             {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add2 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add3 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add4 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add5 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add6 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add7 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add8 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_add9 ( MainSignalWrapper ***  array,
int *  length,
int *  size,
MainSignalWrapper *  value 
) [static]

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

                                                                                                            {
       if ((*length) == (*size)) {
              *size = (*size) ? (2 * (*size)) : 4;
              *array = g_renew (MainSignalWrapper*, *array, (*size) + 1);
       }
       (*array)[(*length)++] = value;
       (*array)[*length] = NULL;
}

Here is the caller graph for this function:

static void _vala_array_destroy ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

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

                                                                                                 {
       if ((array != NULL) && (destroy_func != NULL)) {
              int i;
              for (i = 0; i < array_length; i = i + 1) {
                     if (((gpointer*) array)[i] != NULL) {
                            destroy_func (((gpointer*) array)[i]);
                     }
              }
       }
}

Here is the caller graph for this function:

static void _vala_array_free ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

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

                                                                                              {
       _vala_array_destroy (array, array_length, destroy_func);
       g_free (array);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _vala_string_array_contains ( gchar **  stack,
int  stack_length,
gchar *  needle 
) [static]

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

                                                                                             {
       int i;
       for (i = 0; i < stack_length; i++) {
              if (g_strcmp0 (stack[i], needle) == 0) {
                     return TRUE;
              }
       }
       return FALSE;
}
static GHashTable* _variant_get2 ( GVariant *  value) [static]

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

                                                   {
       GHashTable* _tmp5_;
       GVariantIter _tmp6_;
       GVariant* _tmp7_;
       GVariant* _tmp8_;
       _tmp5_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp6_, value);
       while (g_variant_iter_loop (&_tmp6_, "{?*}", &_tmp7_, &_tmp8_)) {
              g_hash_table_insert (_tmp5_, g_variant_dup_string (_tmp7_, NULL), g_variant_get_variant (_tmp8_));
       }
       return _tmp5_;
}

Here is the caller graph for this function:

static GHashTable* _variant_get3 ( GVariant *  value) [static]

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

                                                   {
       GHashTable* _tmp5_;
       GVariantIter _tmp6_;
       GVariant* _tmp7_;
       GVariant* _tmp8_;
       _tmp5_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp6_, value);
       while (g_variant_iter_loop (&_tmp6_, "{?*}", &_tmp7_, &_tmp8_)) {
              g_hash_table_insert (_tmp5_, g_variant_dup_string (_tmp7_, NULL), g_variant_get_variant (_tmp8_));
       }
       return _tmp5_;
}

Here is the caller graph for this function:

static GHashTable* _variant_get4 ( GVariant *  value) [static]

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

                                                   {
       GHashTable* _tmp4_;
       GVariantIter _tmp5_;
       GVariant* _tmp6_;
       GVariant* _tmp7_;
       _tmp4_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp5_, value);
       while (g_variant_iter_loop (&_tmp5_, "{?*}", &_tmp6_, &_tmp7_)) {
              g_hash_table_insert (_tmp4_, g_variant_dup_string (_tmp6_, NULL), g_variant_get_variant (_tmp7_));
       }
       return _tmp4_;
}

Here is the caller graph for this function:

static void _variant_get5 ( GVariant *  value,
UnityProtocolActivationReplyRaw *  result 
) [static]

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

                                                                                     {
       UnityProtocolActivationReplyRaw _tmp3_;
       GVariantIter _tmp4_;
       GVariant* _tmp5_;
       GVariant* _tmp6_;
       GVariant* _tmp7_;
       GHashTable* _tmp8_;
       GVariantIter _tmp9_;
       GVariant* _tmp10_;
       GVariant* _tmp11_;
       g_variant_iter_init (&_tmp4_, value);
       _tmp5_ = g_variant_iter_next_value (&_tmp4_);
       _tmp3_.uri = g_variant_dup_string (_tmp5_, NULL);
       g_variant_unref (_tmp5_);
       _tmp6_ = g_variant_iter_next_value (&_tmp4_);
       _tmp3_.handled = g_variant_get_uint32 (_tmp6_);
       g_variant_unref (_tmp6_);
       _tmp7_ = g_variant_iter_next_value (&_tmp4_);
       _tmp8_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp9_, _tmp7_);
       while (g_variant_iter_loop (&_tmp9_, "{?*}", &_tmp10_, &_tmp11_)) {
              g_hash_table_insert (_tmp8_, g_variant_dup_string (_tmp10_, NULL), g_variant_get_variant (_tmp11_));
       }
       _tmp3_.hints = _tmp8_;
       g_variant_unref (_tmp7_);
       *result = _tmp3_;
}

Here is the caller graph for this function:

static void _variant_get6 ( GVariant *  value,
UnityProtocolActivationReplyRaw *  result 
) [static]

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

                                                                                     {
       UnityProtocolActivationReplyRaw _tmp3_;
       GVariantIter _tmp4_;
       GVariant* _tmp5_;
       GVariant* _tmp6_;
       GVariant* _tmp7_;
       GHashTable* _tmp8_;
       GVariantIter _tmp9_;
       GVariant* _tmp10_;
       GVariant* _tmp11_;
       g_variant_iter_init (&_tmp4_, value);
       _tmp5_ = g_variant_iter_next_value (&_tmp4_);
       _tmp3_.uri = g_variant_dup_string (_tmp5_, NULL);
       g_variant_unref (_tmp5_);
       _tmp6_ = g_variant_iter_next_value (&_tmp4_);
       _tmp3_.handled = g_variant_get_uint32 (_tmp6_);
       g_variant_unref (_tmp6_);
       _tmp7_ = g_variant_iter_next_value (&_tmp4_);
       _tmp8_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp9_, _tmp7_);
       while (g_variant_iter_loop (&_tmp9_, "{?*}", &_tmp10_, &_tmp11_)) {
              g_hash_table_insert (_tmp8_, g_variant_dup_string (_tmp10_, NULL), g_variant_get_variant (_tmp11_));
       }
       _tmp3_.hints = _tmp8_;
       g_variant_unref (_tmp7_);
       *result = _tmp3_;
}

Here is the caller graph for this function:

static GHashTable* _variant_get7 ( GVariant *  value) [static]

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

                                                   {
       GHashTable* _tmp4_;
       GVariantIter _tmp5_;
       GVariant* _tmp6_;
       GVariant* _tmp7_;
       _tmp4_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp5_, value);
       while (g_variant_iter_loop (&_tmp5_, "{?*}", &_tmp6_, &_tmp7_)) {
              g_hash_table_insert (_tmp4_, g_variant_dup_string (_tmp6_, NULL), g_variant_get_variant (_tmp7_));
       }
       return _tmp4_;
}

Here is the caller graph for this function:

static GHashTable* _variant_get8 ( GVariant *  value) [static]

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

                                                   {
       GHashTable* _tmp51_;
       GVariantIter _tmp52_;
       GVariant* _tmp53_;
       GVariant* _tmp54_;
       _tmp51_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp52_, value);
       while (g_variant_iter_loop (&_tmp52_, "{?*}", &_tmp53_, &_tmp54_)) {
              g_hash_table_insert (_tmp51_, g_variant_dup_string (_tmp53_, NULL), g_variant_get_variant (_tmp54_));
       }
       return _tmp51_;
}

Here is the caller graph for this function:

static GHashTable* _variant_get9 ( GVariant *  value) [static]

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

                                                   {
       GHashTable* _tmp4_;
       GVariantIter _tmp5_;
       GVariant* _tmp6_;
       GVariant* _tmp7_;
       _tmp4_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
       g_variant_iter_init (&_tmp5_, value);
       while (g_variant_iter_loop (&_tmp5_, "{?*}", &_tmp6_, &_tmp7_)) {
              g_hash_table_insert (_tmp4_, g_variant_dup_string (_tmp6_, NULL), g_variant_get_variant (_tmp7_));
       }
       return _tmp4_;
}

Here is the caller graph for this function:

static GVariant * _variant_new1 ( GHashTable *  value) [static]

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

                                                   {
       GVariantBuilder _tmp6_;
       GHashTableIter _tmp7_;
       gpointer _tmp8_;
       gpointer _tmp9_;
       g_hash_table_iter_init (&_tmp7_, value);
       g_variant_builder_init (&_tmp6_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp7_, &_tmp8_, &_tmp9_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp8_;
              _value = (GVariant*) _tmp9_;
              g_variant_builder_add (&_tmp6_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       return g_variant_ref_sink (g_variant_builder_end (&_tmp6_));
}

Here is the caller graph for this function:

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

Definition at line 1664 of file test-lens.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 1670 of file test-lens.c.

                                                   {
       Block10Data* _data10_;
       _data10_ = (Block10Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
              _g_variant_unref0 (_data10_->result2);
              _g_variant_unref0 (_data10_->result1);
              _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 1682 of file test-lens.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 1688 of file test-lens.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 1850 of file test-lens.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 1856 of file test-lens.c.

                                                   {
       Block12Data* _data12_;
       _data12_ = (Block12Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data12_->_ref_count_)) {
              _g_main_loop_unref0 (_data12_->reply_ml);
              _g_free0 (_data12_->order);
              _g_object_unref0 (_data12_->canc2);
              _g_object_unref0 (_data12_->canc1);
              _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 1870 of file test-lens.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 1876 of file test-lens.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 2141 of file test-lens.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 2147 of file test-lens.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 Block15Data* block15_data_ref ( Block15Data *  _data15_) [static]

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

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

Here is the caller graph for this function:

static void block15_data_unref ( void *  _userdata_) [static]

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

                                                   {
       Block15Data* _data15_;
       _data15_ = (Block15Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data15_->_ref_count_)) {
              _g_object_unref0 (_data15_->lens_search);
              block14_data_unref (_data15_->_data14_);
              _data15_->_data14_ = NULL;
              g_slice_free (Block15Data, _data15_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static Block16Data* block16_data_ref ( Block16Data *  _data16_) [static]

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

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

Here is the caller graph for this function:

static void block16_data_unref ( void *  _userdata_) [static]

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

                                                   {
       Block16Data* _data16_;
       _data16_ = (Block16Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data16_->_ref_count_)) {
              _g_free0 (_data16_->hint_reply);
              _g_main_loop_unref0 (_data16_->ml);
              g_slice_free (Block16Data, _data16_);
       }
}

Here is the caller graph for this function:

static Block17Data* block17_data_ref ( Block17Data *  _data17_) [static]

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

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

Here is the caller graph for this function:

static void block17_data_unref ( void *  _userdata_) [static]

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

                                                   {
       Block17Data* _data17_;
       _data17_ = (Block17Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data17_->_ref_count_)) {
              _g_object_unref0 (_data17_->lens_search);
              block16_data_unref (_data17_->_data16_);
              _data17_->_data16_ = NULL;
              g_slice_free (Block17Data, _data17_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static Block18Data* block18_data_ref ( Block18Data *  _data18_) [static]

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

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

Here is the caller graph for this function:

static void block18_data_unref ( void *  _userdata_) [static]

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

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

Here is the caller graph for this function:

static Block19Data* block19_data_ref ( Block19Data *  _data19_) [static]

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

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

Here is the caller graph for this function:

static void block19_data_unref ( void *  _userdata_) [static]

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

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

Here is the caller graph for this function:

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

Definition at line 699 of file test-lens.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 705 of file test-lens.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 Block20Data* block20_data_ref ( Block20Data *  _data20_) [static]

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

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

Here is the caller graph for this function:

static void block20_data_unref ( void *  _userdata_) [static]

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

                                                   {
       Block20Data* _data20_;
       _data20_ = (Block20Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data20_->_ref_count_)) {
              _g_object_unref0 (_data20_->reconstructed);
              _g_object_unref0 (_data20_->action);
              _g_main_loop_unref0 (_data20_->ml);
              g_slice_free (Block20Data, _data20_);
       }
}

Here is the caller graph for this function:

static Block21Data* block21_data_ref ( Block21Data *  _data21_) [static]

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

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

Here is the caller graph for this function:

static void block21_data_unref ( void *  _userdata_) [static]

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

                                                   {
       Block21Data* _data21_;
       _data21_ = (Block21Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data21_->_ref_count_)) {
              _g_object_unref0 (_data21_->gp_reconstructed);
              _g_object_unref0 (_data21_->sp_reconstructed);
              _g_object_unref0 (_data21_->series_preview);
              _g_free0 (_data21_->request_item_signal_uri);
              _g_main_loop_unref0 (_data21_->ml);
              g_slice_free (Block21Data, _data21_);
       }
}

Here is the caller graph for this function:

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

Definition at line 849 of file test-lens.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 855 of file test-lens.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 917 of file test-lens.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 923 of file test-lens.c.

                                                  {
       Block3Data* _data3_;
       _data3_ = (Block3Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
              _g_object_unref0 (_data3_->bus);
              g_slice_free (Block3Data, _data3_);
       }
}

Here is the caller graph for this function:

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

Definition at line 1154 of file test-lens.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 1160 of file test-lens.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 1206 of file test-lens.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 1212 of file test-lens.c.

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

Here is the caller graph for this function:

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

Definition at line 1305 of file test-lens.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 1311 of file test-lens.c.

                                                  {
       Block6Data* _data6_;
       _data6_ = (Block6Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
              _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 1447 of file test-lens.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 1453 of file test-lens.c.

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

Here is the caller graph for this function:

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

Definition at line 1526 of file test-lens.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 1532 of file test-lens.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 1542 of file test-lens.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 1548 of file test-lens.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 688 of file test-lens.c.

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

Here is the call graph for this function:

static void main_call_lens_activate ( const gchar *  uri,
guint  action_type,
GFunc  cb,
void *  cb_target 
) [static]

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

                                                                                                     {
       const gchar* _tmp0_;
       guint _tmp1_;
       GVariant* _tmp2_;
       GVariant* parameters;
       GFunc _tmp3_;
       void* _tmp3__target;
       g_return_if_fail (uri != NULL);
       _tmp0_ = uri;
       _tmp1_ = action_type;
       _tmp2_ = g_variant_new ("(su)", _tmp0_, _tmp1_, NULL);
       g_variant_ref_sink (_tmp2_);
       parameters = _tmp2_;
       _tmp3_ = cb;
       _tmp3__target = cb_target;
       main_call_lens_method ("Activate", parameters, _tmp3_, _tmp3__target);
       _g_variant_unref0 (parameters);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void main_call_lens_method ( const gchar *  method_name,
GVariant *  parameters,
GFunc  cb,
void *  cb_target 
) [static]

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

                                                                                                              {
       Block3Data* _data3_;
       GFunc _tmp0_;
       void* _tmp0__target;
       GDBusConnection* _tmp3_;
       const gchar* _tmp4_;
       GVariant* _tmp5_;
       GError * _inner_error_ = NULL;
       g_return_if_fail (method_name != NULL);
       _data3_ = g_slice_new0 (Block3Data);
       _data3_->_ref_count_ = 1;
       _tmp0_ = cb;
       _tmp0__target = cb_target;
       _data3_->cb = _tmp0_;
       _data3_->cb_target = _tmp0__target;
       _data3_->bus = NULL;
       {
              GDBusConnection* _tmp1_ = NULL;
              GDBusConnection* _tmp2_;
              _tmp1_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
              _tmp2_ = _tmp1_;
              if (_inner_error_ != NULL) {
                     goto __catch0_g_error;
              }
              _g_object_unref0 (_data3_->bus);
              _data3_->bus = _tmp2_;
       }
       goto __finally0;
       __catch0_g_error:
       {
              GError* e = NULL;
              e = _inner_error_;
              _inner_error_ = NULL;
              _g_error_free0 (e);
       }
       __finally0:
       if (_inner_error_ != NULL) {
              block3_data_unref (_data3_);
              _data3_ = 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;
       }
       _tmp3_ = _data3_->bus;
       _tmp4_ = method_name;
       _tmp5_ = parameters;
       g_dbus_connection_call (_tmp3_, "com.canonical.Unity.Lens.Test", "/com/canonical/Unity/Lens/Test", "com.canonical.Unity.Lens", _tmp4_, _tmp5_, NULL, 0, -1, NULL, ___lambda11__gasync_ready_callback, block3_data_ref (_data3_));
       block3_data_unref (_data3_);
       _data3_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void main_call_lens_search ( const gchar *  search_string,
GFunc  cb,
void *  cb_target 
) [static]

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

                                                                                          {
       GVariantType* _tmp0_;
       GVariantType* _tmp1_;
       GVariantBuilder* _tmp2_;
       GVariantBuilder* _tmp3_;
       GVariantBuilder* vb;
       const gchar* _tmp4_;
       GVariantType* _tmp5_;
       GVariantType* _tmp6_;
       GVariant* _tmp7_ = NULL;
       GVariant* _tmp8_;
       GFunc _tmp9_;
       void* _tmp9__target;
       g_return_if_fail (search_string != NULL);
       _tmp0_ = g_variant_type_new ("(sa{sv})");
       _tmp1_ = _tmp0_;
       _tmp2_ = g_variant_builder_new (_tmp1_);
       _tmp3_ = _tmp2_;
       _g_variant_type_free0 (_tmp1_);
       vb = _tmp3_;
       _tmp4_ = search_string;
       g_variant_builder_add (vb, "s", _tmp4_, NULL);
       _tmp5_ = g_variant_type_new ("a{sv}");
       _tmp6_ = _tmp5_;
       g_variant_builder_open (vb, _tmp6_);
       _g_variant_type_free0 (_tmp6_);
       g_variant_builder_close (vb);
       _tmp7_ = g_variant_builder_end (vb);
       g_variant_ref_sink (_tmp7_);
       _tmp8_ = _tmp7_;
       _tmp9_ = cb;
       _tmp9__target = cb_target;
       main_call_lens_method ("Search", _tmp8_, _tmp9_, _tmp9__target);
       _g_variant_unref0 (_tmp8_);
       _g_variant_builder_unref0 (vb);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void main_call_lens_update_preview_property ( const gchar *  uri,
GHashTable *  props,
GFunc  cb,
void *  cb_target 
) [static]

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

                                                                                                                    {
       GVariantType* _tmp0_;
       GVariantType* _tmp1_;
       GVariantBuilder* _tmp2_;
       GVariantBuilder* _tmp3_;
       GVariantBuilder* vb;
       const gchar* _tmp4_;
       GHashTable* _tmp5_;
       GVariant* _tmp10_;
       GVariant* _tmp11_ = NULL;
       GVariant* _tmp12_;
       GFunc _tmp13_;
       void* _tmp13__target;
       g_return_if_fail (uri != NULL);
       g_return_if_fail (props != NULL);
       _tmp0_ = g_variant_type_new ("(sa{sv})");
       _tmp1_ = _tmp0_;
       _tmp2_ = g_variant_builder_new (_tmp1_);
       _tmp3_ = _tmp2_;
       _g_variant_type_free0 (_tmp1_);
       vb = _tmp3_;
       _tmp4_ = uri;
       g_variant_builder_add (vb, "s", _tmp4_, NULL);
       _tmp5_ = props;
       _tmp10_ = _variant_new1 (_tmp5_);
       g_variant_builder_add_value (vb, _tmp10_);
       _tmp11_ = g_variant_builder_end (vb);
       g_variant_ref_sink (_tmp11_);
       _tmp12_ = _tmp11_;
       _tmp13_ = cb;
       _tmp13__target = cb_target;
       main_call_lens_method ("UpdatePreviewProperty", _tmp12_, _tmp13_, _tmp13__target);
       _g_variant_unref0 (_tmp12_);
       _g_variant_builder_unref0 (vb);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void main_class_init ( MainClass *  klass) [static]

Definition at line 4477 of file test-lens.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)

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

                                         {
       Main* self = NULL;
       self = (Main*) g_type_create_instance (object_type);
       return self;
}
static void main_finalize ( Main *  obj) [static]

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

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

Here is the caller graph for this function:

static void main_flush_bus ( void  ) [static]

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

                                  {
       Block7Data* _data7_;
       GMainLoop* _tmp2_;
       GError * _inner_error_ = NULL;
       _data7_ = g_slice_new0 (Block7Data);
       _data7_->_ref_count_ = 1;
       {
              GDBusConnection* _tmp0_ = NULL;
              GDBusConnection* bus;
              GDBusConnection* _tmp1_;
              _tmp0_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
              bus = _tmp0_;
              if (_inner_error_ != NULL) {
                     goto __catch2_g_error;
              }
              _tmp1_ = bus;
              g_dbus_connection_flush_sync (_tmp1_, NULL, &_inner_error_);
              if (_inner_error_ != NULL) {
                     _g_object_unref0 (bus);
                     goto __catch2_g_error;
              }
              _g_object_unref0 (bus);
       }
       goto __finally2;
       __catch2_g_error:
       {
              GError* e = NULL;
              e = _inner_error_;
              _inner_error_ = NULL;
              _g_error_free0 (e);
       }
       __finally2:
       if (_inner_error_ != NULL) {
              block7_data_unref (_data7_);
              _data7_ = 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;
       }
       _tmp2_ = g_main_loop_new (NULL, FALSE);
       _data7_->ml = _tmp2_;
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda8__gsource_func, block7_data_ref (_data7_), block7_data_unref);
       g_main_loop_run (_data7_->ml);
       block7_data_unref (_data7_);
       _data7_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

GType main_get_type ( void  )

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

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

Definition at line 4483 of file test-lens.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;
}
Main* main_new ( void  )

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

                      {
       return main_construct (TYPE_MAIN);
}

Here is the call graph for this function:

GParamSpec * main_param_spec_signal_wrapper ( const gchar *  name,
const gchar *  nick,
const gchar *  blurb,
GType  object_type,
GParamFlags  flags 
)

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

                                                                                                                                            {
       MainParamSpecSignalWrapper* spec;
       g_return_val_if_fail (g_type_is_a (object_type, MAIN_TYPE_SIGNAL_WRAPPER), NULL);
       spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
       G_PARAM_SPEC (spec)->value_type = object_type;
       return G_PARAM_SPEC (spec);
}
gpointer main_ref ( gpointer  instance)
gboolean main_run_with_timeout ( GMainLoop *  ml,
guint  timeout_ms 
)

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

                                                                 {
       gboolean result = FALSE;
       Block1Data* _data1_;
       GMainLoop* _tmp0_;
       GMainLoop* _tmp1_;
       guint _tmp2_;
       guint _tmp3_ = 0U;
       guint t_id;
       GMainLoop* _tmp4_;
       gboolean _tmp5_;
       gboolean _tmp7_;
       g_return_val_if_fail (ml != NULL, FALSE);
       _data1_ = g_slice_new0 (Block1Data);
       _data1_->_ref_count_ = 1;
       _tmp0_ = ml;
       _tmp1_ = _g_main_loop_ref0 (_tmp0_);
       _data1_->ml = _tmp1_;
       _data1_->timeout_reached = FALSE;
       _tmp2_ = timeout_ms;
       _tmp3_ = g_timeout_add_full (G_PRIORITY_DEFAULT, _tmp2_, ___lambda7__gsource_func, block1_data_ref (_data1_), block1_data_unref);
       t_id = _tmp3_;
       _tmp4_ = _data1_->ml;
       g_main_loop_run (_tmp4_);
       _tmp5_ = _data1_->timeout_reached;
       if (!_tmp5_) {
              guint _tmp6_;
              _tmp6_ = t_id;
              g_source_remove (_tmp6_);
       }
       _tmp7_ = _data1_->timeout_reached;
       result = !_tmp7_;
       block1_data_unref (_data1_);
       _data1_ = NULL;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void main_signal_wrapper_class_init ( MainSignalWrapperClass *  klass) [static]

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

                                                                            {
       main_signal_wrapper_parent_class = g_type_class_peek_parent (klass);
       MAIN_SIGNAL_WRAPPER_CLASS (klass)->finalize = main_signal_wrapper_finalize;
       g_type_class_add_private (klass, sizeof (MainSignalWrapperPrivate));
}

Here is the call graph for this function:

MainSignalWrapper* main_signal_wrapper_construct ( GType  object_type,
GObject *  o,
gulong  signal_id 
)

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

                                                                                                   {
       MainSignalWrapper* self = NULL;
       GObject* _tmp0_;
       gulong _tmp1_;
       g_return_val_if_fail (o != NULL, NULL);
       self = (MainSignalWrapper*) g_type_create_instance (object_type);
       _tmp0_ = o;
       self->priv->obj = _tmp0_;
       _tmp1_ = signal_id;
       self->priv->sig_id = _tmp1_;
       return self;
}

Here is the caller graph for this function:

static void main_signal_wrapper_finalize ( MainSignalWrapper *  obj) [static]

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

                                                                  {
       MainSignalWrapper * self;
       GObject* _tmp0_;
       gulong _tmp1_;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, MAIN_TYPE_SIGNAL_WRAPPER, MainSignalWrapper);
       _tmp0_ = self->priv->obj;
       _tmp1_ = self->priv->sig_id;
       g_signal_handler_disconnect (_tmp0_, _tmp1_);
}

Here is the caller graph for this function:

GType main_signal_wrapper_get_type ( void  )

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

      {
       MAIN_SIGNAL_WRAPPER_DUMMY_PROPERTY
};
static void main_signal_wrapper_instance_init ( MainSignalWrapper *  self) [static]

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

                                                                         {
       self->priv = MAIN_SIGNAL_WRAPPER_GET_PRIVATE (self);
       self->ref_count = 1;
}
MainSignalWrapper* main_signal_wrapper_new ( GObject *  o,
gulong  signal_id 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

gpointer main_signal_wrapper_ref ( gpointer  instance)

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

                                                     {
       MainSignalWrapper* self;
       self = instance;
       g_atomic_int_inc (&self->ref_count);
       return instance;
}

Here is the caller graph for this function:

void main_signal_wrapper_unref ( gpointer  instance)

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

                                                   {
       MainSignalWrapper* self;
       self = instance;
       if (g_atomic_int_dec_and_test (&self->ref_count)) {
              MAIN_SIGNAL_WRAPPER_GET_CLASS (self)->finalize (self);
              g_type_free_instance ((GTypeInstance *) self);
       }
}

Here is the caller graph for this function:

void main_test_lens_activation ( void  )

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

                                      {
       Block19Data* _data19_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       GMainLoop* _tmp7_;
       UnityLens* _tmp8_;
       DeeModel* _tmp9_ = NULL;
       DeeSharedModel* _tmp10_;
       DeeSharedModel* lens_results_model;
       DeeModelIter* _tmp11_ = NULL;
       DeeModelIter* iter;
       const gchar* _tmp12_ = NULL;
       gchar* _tmp13_;
       gchar* mangled_uri;
       MainSignalWrapper** _tmp14_;
       gint _tmp14__length1;
       UnityScope* _tmp15_;
       UnityScope* _tmp16_;
       gulong _tmp17_ = 0UL;
       MainSignalWrapper* _tmp18_;
       GMainLoop* _tmp19_;
       GMainLoop* _tmp20_;
       _data19_ = g_slice_new0 (Block19Data);
       _data19_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data19_->ml = _tmp1_;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect (_tmp4_, "search-changed", (GCallback) ___lambda38__unity_scope_search_changed, NULL);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add9 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       _data19_->seqnum = (guint64) 0;
       main_call_lens_search ("activation-test", ___lambda39__gfunc, _data19_);
       _tmp7_ = _data19_->ml;
       main_run_with_timeout (_tmp7_, (guint) 5000);
       _tmp8_ = main_exported_lens;
       _tmp9_ = unity_lens_get_model_internal (_tmp8_, 0);
       _tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, dee_shared_model_get_type ()) ? ((DeeSharedModel*) _tmp9_) : NULL);
       lens_results_model = _tmp10_;
       _tmp11_ = dee_model_get_first_iter ((DeeModel*) lens_results_model);
       iter = _tmp11_;
       _tmp12_ = dee_model_get_string ((DeeModel*) lens_results_model, iter, (guint) 0);
       _tmp13_ = g_strdup (_tmp12_);
       mangled_uri = _tmp13_;
       _data19_->got_activate_uri_signal = FALSE;
       _tmp14_ = signals;
       _tmp14__length1 = signals_length1;
       _tmp15_ = main_local_scope;
       _tmp16_ = main_local_scope;
       _tmp17_ = g_signal_connect_data (_tmp16_, "activate-uri", (GCallback) ___lambda40__unity_scope_activate_uri, block19_data_ref (_data19_), (GClosureNotify) block19_data_unref, 0);
       _tmp18_ = main_signal_wrapper_new ((GObject*) _tmp15_, _tmp17_);
       _vala_array_add10 (&signals, &signals_length1, &_signals_size_, _tmp18_);
       _tmp19_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data19_->ml);
       _data19_->ml = _tmp19_;
       main_call_lens_activate (mangled_uri, (guint) 0, ___lambda41__gfunc, _data19_);
       _tmp20_ = _data19_->ml;
       main_run_with_timeout (_tmp20_, (guint) 5000);
       _vala_assert (_data19_->got_activate_uri_signal, "got_activate_uri_signal");
       _g_free0 (mangled_uri);
       _g_object_unref0 (lens_results_model);
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block19_data_unref (_data19_);
       _data19_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_lens_export ( void  )

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

                                  {
       UnityLens* _tmp0_;
       UnityLens* lens;
       UnityLens* _tmp1_;
       GError * _inner_error_ = NULL;
       g_bus_own_name_with_closures (G_BUS_TYPE_SESSION, "com.canonical.Unity.Lens.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_lens_new ("/com/canonical/Unity/Lens/Test", "unity_lens_test");
       lens = _tmp0_;
       unity_lens_set_search_in_global (lens, FALSE);
       unity_lens_set_search_hint (lens, "Search hint");
       unity_lens_export (lens, &_inner_error_);
       if (_inner_error_ != NULL) {
              _g_object_unref0 (lens);
              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 (lens);
       _g_object_unref0 (main_exported_lens);
       main_exported_lens = _tmp1_;
       _g_object_unref0 (lens);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_lens_model_sync ( void  )

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

                                      {
       Block14Data* _data14_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       _data14_ = g_slice_new0 (Block14Data);
       _data14_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _data14_->got_search_changed = FALSE;
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data14_->ml = _tmp1_;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect_data (_tmp4_, "search-changed", (GCallback) ___lambda25__unity_scope_search_changed, block14_data_ref (_data14_), (GClosureNotify) block14_data_unref, 0);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add6 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       _data14_->seqnum = (guint64) 0;
       main_call_lens_search ("model-sync", ___lambda27__gfunc, _data14_);
       main_run_with_timeout (_data14_->ml, (guint) 3000);
       _vala_assert (_data14_->got_search_changed == TRUE, "got_search_changed == true");
       _vala_assert (_data14_->seqnum > ((guint64) 0), "seqnum > 0");
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       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_lens_preview ( void  )

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

                                   {
       Block20Data* _data20_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityLens* _tmp2_;
       DeeModel* _tmp3_ = NULL;
       DeeSharedModel* _tmp4_;
       DeeSharedModel* lens_results_model;
       DeeModelIter* _tmp5_ = NULL;
       DeeModelIter* iter;
       const gchar* _tmp6_ = NULL;
       gchar* _tmp7_;
       gchar* mangled_uri;
       MainSignalWrapper** _tmp8_;
       gint _tmp8__length1;
       UnityScope* _tmp9_;
       UnityScope* _tmp10_;
       gulong _tmp11_ = 0UL;
       MainSignalWrapper* _tmp12_;
       MainSignalWrapper** _tmp13_;
       gint _tmp13__length1;
       UnityScope* _tmp14_;
       UnityScope* _tmp15_;
       gulong _tmp16_ = 0UL;
       MainSignalWrapper* _tmp17_;
       GMainLoop* _tmp18_;
       GMainLoop* _tmp19_;
       GMainLoop* _tmp20_;
       const gchar* _tmp21_;
       const gchar* _tmp22_;
       gchar* _tmp23_ = NULL;
       gchar* _tmp24_;
       GMainLoop* _tmp25_;
       _data20_ = g_slice_new0 (Block20Data);
       _data20_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data20_->ml = _tmp1_;
       _tmp2_ = main_exported_lens;
       _tmp3_ = unity_lens_get_model_internal (_tmp2_, 0);
       _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, dee_shared_model_get_type ()) ? ((DeeSharedModel*) _tmp3_) : NULL);
       lens_results_model = _tmp4_;
       _tmp5_ = dee_model_get_first_iter ((DeeModel*) lens_results_model);
       iter = _tmp5_;
       _tmp6_ = dee_model_get_string ((DeeModel*) lens_results_model, iter, (guint) 0);
       _tmp7_ = g_strdup (_tmp6_);
       mangled_uri = _tmp7_;
       _data20_->got_activate_uri_signal = FALSE;
       _data20_->got_preview_uri_signal = FALSE;
       _data20_->action = NULL;
       _tmp8_ = signals;
       _tmp8__length1 = signals_length1;
       _tmp9_ = main_local_scope;
       _tmp10_ = main_local_scope;
       _tmp11_ = g_signal_connect_data (_tmp10_, "activate-uri", (GCallback) ___lambda42__unity_scope_activate_uri, block20_data_ref (_data20_), (GClosureNotify) block20_data_unref, 0);
       _tmp12_ = main_signal_wrapper_new ((GObject*) _tmp9_, _tmp11_);
       _vala_array_add11 (&signals, &signals_length1, &_signals_size_, _tmp12_);
       _tmp13_ = signals;
       _tmp13__length1 = signals_length1;
       _tmp14_ = main_local_scope;
       _tmp15_ = main_local_scope;
       _tmp16_ = g_signal_connect_data (_tmp15_, "preview-uri", (GCallback) ___lambda43__unity_scope_preview_uri, block20_data_ref (_data20_), (GClosureNotify) block20_data_unref, 0);
       _tmp17_ = main_signal_wrapper_new ((GObject*) _tmp14_, _tmp16_);
       _vala_array_add12 (&signals, &signals_length1, &_signals_size_, _tmp17_);
       _tmp18_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data20_->ml);
       _data20_->ml = _tmp18_;
       _data20_->reconstructed = NULL;
       main_call_lens_activate (mangled_uri, (guint) 1, ___lambda44__gfunc, _data20_);
       _tmp19_ = _data20_->ml;
       main_run_with_timeout (_tmp19_, (guint) 5000);
       _vala_assert (_data20_->reconstructed != NULL, "reconstructed != null");
       _vala_assert (_data20_->action != NULL, "action != null");
       _vala_assert (_data20_->got_preview_uri_signal, "got_preview_uri_signal");
       _vala_assert (!_data20_->got_activate_uri_signal, "!got_activate_uri_signal");
       _data20_->got_action_activated_signal = FALSE;
       g_signal_connect_data (_data20_->action, "activated", (GCallback) ___lambda45__unity_preview_action_activated, block20_data_ref (_data20_), (GClosureNotify) block20_data_unref, 0);
       _tmp20_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data20_->ml);
       _data20_->ml = _tmp20_;
       _tmp21_ = unity_preview_action_get_id (_data20_->action);
       _tmp22_ = _tmp21_;
       _tmp23_ = g_strdup_printf ("%s:%s", _tmp22_, mangled_uri);
       _tmp24_ = _tmp23_;
       main_call_lens_activate (_tmp24_, (guint) 2, ___lambda46__gfunc, _data20_);
       _g_free0 (_tmp24_);
       _tmp25_ = _data20_->ml;
       main_run_with_timeout (_tmp25_, (guint) 5000);
       _vala_assert (_data20_->got_action_activated_signal, "got_action_activated_signal");
       _g_free0 (mangled_uri);
       _g_object_unref0 (lens_results_model);
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block20_data_unref (_data20_);
       _data20_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

                                          {
       Block21Data* _data21_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       UnityLens* _tmp2_;
       DeeModel* _tmp3_ = NULL;
       DeeSharedModel* _tmp4_;
       DeeSharedModel* lens_results_model;
       DeeModelIter* _tmp5_ = NULL;
       DeeModelIter* iter;
       const gchar* _tmp6_ = NULL;
       gchar* _tmp7_;
       gchar* mangled_uri;
       UnityPreviewAction* action;
       MainSignalWrapper** _tmp8_;
       gint _tmp8__length1;
       UnityScope* _tmp9_;
       UnityScope* _tmp10_;
       gulong _tmp11_ = 0UL;
       MainSignalWrapper* _tmp12_;
       UnitySeriesItem* _tmp13_;
       UnitySeriesItem* item1;
       UnitySeriesItem* _tmp14_;
       UnitySeriesItem* item2;
       UnitySeriesItem* _tmp15_;
       UnitySeriesItem* _tmp16_;
       UnitySeriesItem** _tmp17_ = NULL;
       UnitySeriesItem** _tmp18_;
       gint _tmp18__length1;
       UnitySeriesPreview* _tmp19_;
       UnitySeriesPreview* _tmp20_;
       MainSignalWrapper** _tmp21_;
       gint _tmp21__length1;
       gulong _tmp22_ = 0UL;
       MainSignalWrapper* _tmp23_;
       MainSignalWrapper** _tmp24_;
       gint _tmp24__length1;
       UnityScope* _tmp25_;
       UnityScope* _tmp26_;
       gulong _tmp27_ = 0UL;
       MainSignalWrapper* _tmp28_;
       GMainLoop* _tmp29_;
       GMainLoop* _tmp30_;
       gint _tmp31_;
       gint _tmp32_;
       GHashTable* _tmp33_ = NULL;
       GHashTable* updates;
       GHashTable* _tmp34_;
       GHashTable* _tmp35_;
       guint _tmp36_ = 0U;
       GHashTable* _tmp37_;
       gboolean _tmp38_ = FALSE;
       GHashTable* _tmp39_;
       gconstpointer _tmp40_ = NULL;
       gint32 _tmp41_ = 0;
       GMainLoop* _tmp42_;
       GHashTable* _tmp43_;
       GMainLoop* _tmp44_;
       const gchar* _tmp45_;
       const gchar* _tmp46_;
       gint _tmp47_;
       GMainLoop* _tmp48_;
       GVariant* _tmp49_ = NULL;
       GVariant* updates_var;
       GHashTable* _tmp50_;
       GHashTable* _tmp55_;
       GMainLoop* _tmp56_;
       const gchar* _tmp57_;
       const gchar* _tmp58_;
       gint _tmp59_;
       _data21_ = g_slice_new0 (Block21Data);
       _data21_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data21_->ml = _tmp1_;
       _tmp2_ = main_exported_lens;
       _tmp3_ = unity_lens_get_model_internal (_tmp2_, 0);
       _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, dee_shared_model_get_type ()) ? ((DeeSharedModel*) _tmp3_) : NULL);
       lens_results_model = _tmp4_;
       _tmp5_ = dee_model_get_first_iter ((DeeModel*) lens_results_model);
       iter = _tmp5_;
       _tmp6_ = dee_model_get_string ((DeeModel*) lens_results_model, iter, (guint) 0);
       _tmp7_ = g_strdup (_tmp6_);
       mangled_uri = _tmp7_;
       _data21_->got_activate_uri_signal = FALSE;
       _data21_->got_preview_uri_signal = FALSE;
       _data21_->request_item_signal_uri = NULL;
       _data21_->request_item_signal_count = 0;
       action = NULL;
       _tmp8_ = signals;
       _tmp8__length1 = signals_length1;
       _tmp9_ = main_local_scope;
       _tmp10_ = main_local_scope;
       _tmp11_ = g_signal_connect_data (_tmp10_, "activate-uri", (GCallback) ___lambda47__unity_scope_activate_uri, block21_data_ref (_data21_), (GClosureNotify) block21_data_unref, 0);
       _tmp12_ = main_signal_wrapper_new ((GObject*) _tmp9_, _tmp11_);
       _vala_array_add13 (&signals, &signals_length1, &_signals_size_, _tmp12_);
       _tmp13_ = unity_series_item_new ("file:///series_item_1.jpg", "Item #1", NULL);
       item1 = _tmp13_;
       _tmp14_ = unity_series_item_new ("file:///series_item_2.jpg", "Item #2", NULL);
       item2 = _tmp14_;
       _tmp15_ = _g_object_ref0 (item1);
       _tmp16_ = _g_object_ref0 (item2);
       _tmp17_ = g_new0 (UnitySeriesItem*, 2 + 1);
       _tmp17_[0] = _tmp15_;
       _tmp17_[1] = _tmp16_;
       _tmp18_ = _tmp17_;
       _tmp18__length1 = 2;
       _tmp19_ = unity_series_preview_new (_tmp18_, 2, "file:///series_item_1.jpg");
       _tmp20_ = _tmp19_;
       _tmp18_ = (_vala_array_free (_tmp18_, _tmp18__length1, (GDestroyNotify) g_object_unref), NULL);
       _data21_->series_preview = _tmp20_;
       _tmp21_ = signals;
       _tmp21__length1 = signals_length1;
       _tmp22_ = g_signal_connect_data (_data21_->series_preview, "request-item-preview", (GCallback) ___lambda48__unity_series_preview_request_item_preview, block21_data_ref (_data21_), (GClosureNotify) block21_data_unref, 0);
       _tmp23_ = main_signal_wrapper_new ((GObject*) _data21_->series_preview, _tmp22_);
       _vala_array_add14 (&signals, &signals_length1, &_signals_size_, _tmp23_);
       _tmp24_ = signals;
       _tmp24__length1 = signals_length1;
       _tmp25_ = main_local_scope;
       _tmp26_ = main_local_scope;
       _tmp27_ = g_signal_connect_data (_tmp26_, "preview-uri", (GCallback) ___lambda49__unity_scope_preview_uri, block21_data_ref (_data21_), (GClosureNotify) block21_data_unref, 0);
       _tmp28_ = main_signal_wrapper_new ((GObject*) _tmp25_, _tmp27_);
       _vala_array_add15 (&signals, &signals_length1, &_signals_size_, _tmp28_);
       _tmp29_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data21_->ml);
       _data21_->ml = _tmp29_;
       _data21_->sp_reconstructed = NULL;
       main_call_lens_activate (mangled_uri, (guint) UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT, ___lambda50__gfunc, _data21_);
       _tmp30_ = _data21_->ml;
       main_run_with_timeout (_tmp30_, (guint) 5000);
       _vala_assert (_data21_->sp_reconstructed != NULL, "sp_reconstructed != null");
       _tmp31_ = unity_protocol_series_preview_get_selected_item (_data21_->sp_reconstructed);
       _tmp32_ = _tmp31_;
       _vala_assert (_tmp32_ == 0, "sp_reconstructed.selected_item == 0");
       _vala_assert (_data21_->got_preview_uri_signal, "got_preview_uri_signal");
       _vala_assert (!_data21_->got_activate_uri_signal, "!got_activate_uri_signal");
       unity_protocol_preview_begin_updates ((UnityProtocolPreview*) _data21_->sp_reconstructed);
       unity_protocol_series_preview_set_selected_item (_data21_->sp_reconstructed, 1);
       _tmp33_ = unity_protocol_preview_end_updates_as_hashtable ((UnityProtocolPreview*) _data21_->sp_reconstructed);
       updates = _tmp33_;
       _tmp34_ = updates;
       _vala_assert (_tmp34_ != NULL, "updates != null");
       _tmp35_ = updates;
       _tmp36_ = g_hash_table_size (_tmp35_);
       _vala_assert (_tmp36_ == ((guint) 1), "updates.size() == 1");
       _tmp37_ = updates;
       _tmp38_ = g_hash_table_contains (_tmp37_, "series-active-index");
       _vala_assert (_tmp38_, "updates.contains(\"series-active-index\")");
       _tmp39_ = updates;
       _tmp40_ = g_hash_table_lookup (_tmp39_, "series-active-index");
       _tmp41_ = g_variant_get_int32 ((GVariant*) _tmp40_);
       _vala_assert (_tmp41_ == ((gint32) 1), "updates[\"series-active-index\"].get_int32() == 1");
       _data21_->gp_reconstructed = NULL;
       _tmp42_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data21_->ml);
       _data21_->ml = _tmp42_;
       _tmp43_ = updates;
       main_call_lens_update_preview_property (mangled_uri, _tmp43_, ___lambda51__gfunc, _data21_);
       _tmp44_ = _data21_->ml;
       main_run_with_timeout (_tmp44_, (guint) 5000);
       _vala_assert (_data21_->gp_reconstructed != NULL, "gp_reconstructed != null");
       _tmp45_ = unity_series_item_get_uri (item2);
       _tmp46_ = _tmp45_;
       _vala_assert (g_strcmp0 (_data21_->request_item_signal_uri, _tmp46_) == 0, "request_item_signal_uri == item2.uri");
       _tmp47_ = _data21_->request_item_signal_count;
       _vala_assert (_tmp47_ > 1, "request_item_signal_count > 1");
       _tmp48_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data21_->ml);
       _data21_->ml = _tmp48_;
       _data21_->request_item_signal_count = 0;
       unity_protocol_preview_begin_updates ((UnityProtocolPreview*) _data21_->sp_reconstructed);
       unity_protocol_series_preview_set_selected_item (_data21_->sp_reconstructed, 1);
       _tmp49_ = unity_protocol_preview_end_updates ((UnityProtocolPreview*) _data21_->sp_reconstructed);
       updates_var = _tmp49_;
       _tmp50_ = _variant_get8 (updates_var);
       _g_hash_table_unref0 (updates);
       updates = _tmp50_;
       _tmp55_ = updates;
       main_call_lens_update_preview_property (mangled_uri, _tmp55_, ___lambda52__gfunc, _data21_);
       _tmp56_ = _data21_->ml;
       main_run_with_timeout (_tmp56_, (guint) 5000);
       _vala_assert (_data21_->gp_reconstructed != NULL, "gp_reconstructed != null");
       _tmp57_ = unity_series_item_get_uri (item2);
       _tmp58_ = _tmp57_;
       _vala_assert (g_strcmp0 (_data21_->request_item_signal_uri, _tmp58_) == 0, "request_item_signal_uri == item2.uri");
       _tmp59_ = _data21_->request_item_signal_count;
       _vala_assert (_tmp59_ == 0, "request_item_signal_count == 0");
       _g_variant_unref0 (updates_var);
       _g_hash_table_unref0 (updates);
       _g_object_unref0 (item2);
       _g_object_unref0 (item1);
       _g_object_unref0 (action);
       _g_free0 (mangled_uri);
       _g_object_unref0 (lens_results_model);
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block21_data_unref (_data21_);
       _data21_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_lens_reply_hint ( void  )

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

                                      {
       Block16Data* _data16_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       _data16_ = g_slice_new0 (Block16Data);
       _data16_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _data16_->got_search_changed = FALSE;
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data16_->ml = _tmp1_;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect_data (_tmp4_, "search-changed", (GCallback) ___lambda28__unity_scope_search_changed, block16_data_ref (_data16_), (GClosureNotify) block16_data_unref, 0);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add7 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       _data16_->hint_reply = NULL;
       main_call_lens_search ("reply-hint", ___lambda30__gfunc, _data16_);
       main_run_with_timeout (_data16_->ml, (guint) 3000);
       _vala_assert (_data16_->got_search_changed == TRUE, "got_search_changed == true");
       _vala_assert (g_strcmp0 (_data16_->hint_reply, "value") == 0, "hint_reply == \"value\"");
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block16_data_unref (_data16_);
       _data16_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

                                                     {
       Block8Data* _data8_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       _data8_ = g_slice_new0 (Block8Data);
       _data8_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data8_->ml = _tmp1_;
       _data8_->got_search_changed = FALSE;
       _data8_->finish_called = FALSE;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect_data (_tmp4_, "search-changed", (GCallback) ___lambda13__unity_scope_search_changed, block8_data_ref (_data8_), (GClosureNotify) block8_data_unref, 0);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add3 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       main_call_lens_search ("qoo", ___lambda15__gfunc, _data8_);
       main_run_with_timeout (_data8_->ml, (guint) 5000);
       _vala_assert (_data8_->got_search_changed == TRUE, "got_search_changed == true");
       _vala_assert (_data8_->finish_called == TRUE, "finish_called == true");
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       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_lens_search ( void  )

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

                                  {
       Block4Data* _data4_;
       GMainLoop* _tmp0_;
       _data4_ = g_slice_new0 (Block4Data);
       _data4_->_ref_count_ = 1;
       _tmp0_ = g_main_loop_new (NULL, FALSE);
       _data4_->ml = _tmp0_;
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda10__gsource_func, block4_data_ref (_data4_), block4_data_unref);
       g_main_loop_run (_data4_->ml);
       main_call_lens_search ("foo", NULL, NULL);
       block4_data_unref (_data4_);
       _data4_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_lens_sources ( void  )

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

                                   {
       Block18Data* _data18_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       UnityScope* _tmp1_;
       UnityOptionsFilter* _tmp2_;
       UnityOptionsFilter* _tmp3_;
       UnityFilterOption* _tmp4_ = NULL;
       UnityFilterOption* _tmp5_;
       UnityScope* _tmp6_;
       UnityOptionsFilter* _tmp7_;
       UnityOptionsFilter* _tmp8_;
       UnityFilterOption* _tmp9_ = NULL;
       UnityFilterOption* _tmp10_;
       GMainLoop* _tmp11_;
       GMainLoop* _tmp12_;
       GMainLoop* _tmp13_;
       MainSignalWrapper** _tmp14_;
       gint _tmp14__length1;
       UnityScope* _tmp15_;
       UnityScope* _tmp16_;
       gulong _tmp17_ = 0UL;
       MainSignalWrapper* _tmp18_;
       GMainLoop* _tmp19_;
       GMainLoop* _tmp20_;
       GMainLoop* _tmp21_;
       gboolean found1;
       gboolean found2;
       gboolean remote1;
       gboolean remote2;
       UnityLens* _tmp22_;
       UnityOptionsFilter* _tmp23_ = NULL;
       GList* _tmp24_;
       gboolean _tmp52_;
       gboolean _tmp53_;
       gboolean _tmp54_;
       UnityScope* _tmp57_;
       UnityOptionsFilter* _tmp58_;
       UnityOptionsFilter* _tmp59_;
       GMainLoop* _tmp60_;
       GMainLoop* _tmp61_;
       GMainLoop* _tmp62_;
       GMainLoop* _tmp63_;
       GMainLoop* _tmp64_;
       GMainLoop* _tmp65_;
       UnityLens* _tmp66_;
       UnityOptionsFilter* _tmp67_ = NULL;
       GList* _tmp68_;
       gboolean _tmp96_;
       gboolean _tmp97_;
       gboolean _tmp98_;
       _data18_ = g_slice_new0 (Block18Data);
       _data18_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = main_local_scope;
       _tmp2_ = unity_scope_get_sources (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = unity_options_filter_add_option (_tmp3_, "id1", "Source1", NULL);
       _tmp5_ = _tmp4_;
       _g_object_unref0 (_tmp5_);
       _tmp6_ = main_local_scope;
       _tmp7_ = unity_scope_get_sources (_tmp6_);
       _tmp8_ = _tmp7_;
       _tmp9_ = unity_options_filter_add_option (_tmp8_, "id2", "Source2", NULL);
       _tmp10_ = _tmp9_;
       _g_object_unref0 (_tmp10_);
       _tmp11_ = g_main_loop_new (NULL, FALSE);
       _data18_->ml = _tmp11_;
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda31__gsource_func, block18_data_ref (_data18_), block18_data_unref);
       _tmp12_ = _data18_->ml;
       g_main_loop_run (_tmp12_);
       _tmp13_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data18_->ml);
       _data18_->ml = _tmp13_;
       _tmp14_ = signals;
       _tmp14__length1 = signals_length1;
       _tmp15_ = main_local_scope;
       _tmp16_ = main_local_scope;
       _tmp17_ = g_signal_connect (_tmp16_, "search-changed", (GCallback) ___lambda32__unity_scope_search_changed, NULL);
       _tmp18_ = main_signal_wrapper_new ((GObject*) _tmp15_, _tmp17_);
       _vala_array_add8 (&signals, &signals_length1, &_signals_size_, _tmp18_);
       main_call_lens_search ("sources-test", ___lambda33__gfunc, _data18_);
       _tmp19_ = _data18_->ml;
       g_main_loop_run (_tmp19_);
       _tmp20_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data18_->ml);
       _data18_->ml = _tmp20_;
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda34__gsource_func, block18_data_ref (_data18_), block18_data_unref);
       _tmp21_ = _data18_->ml;
       g_main_loop_run (_tmp21_);
       found1 = FALSE;
       found2 = FALSE;
       remote1 = FALSE;
       remote2 = FALSE;
       _tmp22_ = main_exported_lens;
       _tmp23_ = unity_lens_get_sources_internal (_tmp22_);
       _tmp24_ = _tmp23_->options;
       {
              GList* filter_option_collection = NULL;
              GList* filter_option_it = NULL;
              filter_option_collection = _tmp24_;
              for (filter_option_it = filter_option_collection; filter_option_it != NULL; filter_option_it = filter_option_it->next) {
                     UnityFilterOption* _tmp25_;
                     UnityFilterOption* filter_option = NULL;
                     _tmp25_ = _g_object_ref0 ((UnityFilterOption*) filter_option_it->data);
                     filter_option = _tmp25_;
                     {
                            gboolean _tmp26_ = FALSE;
                            UnityFilterOption* _tmp27_;
                            const gchar* _tmp28_;
                            const gchar* _tmp29_;
                            gboolean _tmp30_ = FALSE;
                            gboolean _tmp34_;
                            _tmp27_ = filter_option;
                            _tmp28_ = unity_filter_option_get_id (_tmp27_);
                            _tmp29_ = _tmp28_;
                            _tmp30_ = g_str_has_suffix (_tmp29_, "id1");
                            if (_tmp30_) {
                                   UnityFilterOption* _tmp31_;
                                   const gchar* _tmp32_;
                                   const gchar* _tmp33_;
                                   _tmp31_ = filter_option;
                                   _tmp32_ = unity_filter_option_get_id (_tmp31_);
                                   _tmp33_ = _tmp32_;
                                   _tmp26_ = g_strcmp0 (_tmp33_, "id1") != 0;
                            } else {
                                   _tmp26_ = FALSE;
                            }
                            _tmp34_ = _tmp26_;
                            if (_tmp34_) {
                                   found1 = TRUE;
                            } else {
                                   gboolean _tmp35_ = FALSE;
                                   UnityFilterOption* _tmp36_;
                                   const gchar* _tmp37_;
                                   const gchar* _tmp38_;
                                   gboolean _tmp39_ = FALSE;
                                   gboolean _tmp43_;
                                   _tmp36_ = filter_option;
                                   _tmp37_ = unity_filter_option_get_id (_tmp36_);
                                   _tmp38_ = _tmp37_;
                                   _tmp39_ = g_str_has_suffix (_tmp38_, "id2");
                                   if (_tmp39_) {
                                          UnityFilterOption* _tmp40_;
                                          const gchar* _tmp41_;
                                          const gchar* _tmp42_;
                                          _tmp40_ = filter_option;
                                          _tmp41_ = unity_filter_option_get_id (_tmp40_);
                                          _tmp42_ = _tmp41_;
                                          _tmp35_ = g_strcmp0 (_tmp42_, "id2") != 0;
                                   } else {
                                          _tmp35_ = FALSE;
                                   }
                                   _tmp43_ = _tmp35_;
                                   if (_tmp43_) {
                                          found2 = TRUE;
                                   } else {
                                          UnityFilterOption* _tmp44_;
                                          const gchar* _tmp45_;
                                          const gchar* _tmp46_;
                                          gboolean _tmp47_ = FALSE;
                                          _tmp44_ = filter_option;
                                          _tmp45_ = unity_filter_option_get_id (_tmp44_);
                                          _tmp46_ = _tmp45_;
                                          _tmp47_ = g_str_has_suffix (_tmp46_, "id1-remote");
                                          if (_tmp47_) {
                                                 remote1 = TRUE;
                                          } else {
                                                 UnityFilterOption* _tmp48_;
                                                 const gchar* _tmp49_;
                                                 const gchar* _tmp50_;
                                                 gboolean _tmp51_ = FALSE;
                                                 _tmp48_ = filter_option;
                                                 _tmp49_ = unity_filter_option_get_id (_tmp48_);
                                                 _tmp50_ = _tmp49_;
                                                 _tmp51_ = g_str_has_suffix (_tmp50_, "id2-remote");
                                                 if (_tmp51_) {
                                                        remote2 = TRUE;
                                                 }
                                          }
                                   }
                            }
                            _g_object_unref0 (filter_option);
                     }
              }
       }
       _tmp52_ = found1;
       _vala_assert (_tmp52_, "found1");
       _tmp53_ = found2;
       _vala_assert (_tmp53_, "found2");
       _tmp54_ = main_remote_scope_test;
       if (_tmp54_) {
              gboolean _tmp55_;
              gboolean _tmp56_;
              _tmp55_ = remote1;
              _vala_assert (_tmp55_, "remote1");
              _tmp56_ = remote2;
              _vala_assert (_tmp56_, "remote2");
       }
       _tmp57_ = main_local_scope;
       _tmp58_ = unity_scope_get_sources (_tmp57_);
       _tmp59_ = _tmp58_;
       unity_options_filter_remove_option (_tmp59_, "id1");
       _tmp60_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data18_->ml);
       _data18_->ml = _tmp60_;
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda35__gsource_func, block18_data_ref (_data18_), block18_data_unref);
       _tmp61_ = _data18_->ml;
       g_main_loop_run (_tmp61_);
       _tmp62_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data18_->ml);
       _data18_->ml = _tmp62_;
       main_call_lens_search ("sources-test-2", ___lambda36__gfunc, _data18_);
       _tmp63_ = _data18_->ml;
       g_main_loop_run (_tmp63_);
       _tmp64_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data18_->ml);
       _data18_->ml = _tmp64_;
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda37__gsource_func, block18_data_ref (_data18_), block18_data_unref);
       _tmp65_ = _data18_->ml;
       g_main_loop_run (_tmp65_);
       found1 = FALSE;
       found2 = FALSE;
       remote1 = FALSE;
       remote2 = FALSE;
       _tmp66_ = main_exported_lens;
       _tmp67_ = unity_lens_get_sources_internal (_tmp66_);
       _tmp68_ = _tmp67_->options;
       {
              GList* filter_option_collection = NULL;
              GList* filter_option_it = NULL;
              filter_option_collection = _tmp68_;
              for (filter_option_it = filter_option_collection; filter_option_it != NULL; filter_option_it = filter_option_it->next) {
                     UnityFilterOption* _tmp69_;
                     UnityFilterOption* filter_option = NULL;
                     _tmp69_ = _g_object_ref0 ((UnityFilterOption*) filter_option_it->data);
                     filter_option = _tmp69_;
                     {
                            gboolean _tmp70_ = FALSE;
                            UnityFilterOption* _tmp71_;
                            const gchar* _tmp72_;
                            const gchar* _tmp73_;
                            gboolean _tmp74_ = FALSE;
                            gboolean _tmp78_;
                            _tmp71_ = filter_option;
                            _tmp72_ = unity_filter_option_get_id (_tmp71_);
                            _tmp73_ = _tmp72_;
                            _tmp74_ = g_str_has_suffix (_tmp73_, "id1");
                            if (_tmp74_) {
                                   UnityFilterOption* _tmp75_;
                                   const gchar* _tmp76_;
                                   const gchar* _tmp77_;
                                   _tmp75_ = filter_option;
                                   _tmp76_ = unity_filter_option_get_id (_tmp75_);
                                   _tmp77_ = _tmp76_;
                                   _tmp70_ = g_strcmp0 (_tmp77_, "id1") != 0;
                            } else {
                                   _tmp70_ = FALSE;
                            }
                            _tmp78_ = _tmp70_;
                            if (_tmp78_) {
                                   found1 = TRUE;
                            } else {
                                   gboolean _tmp79_ = FALSE;
                                   UnityFilterOption* _tmp80_;
                                   const gchar* _tmp81_;
                                   const gchar* _tmp82_;
                                   gboolean _tmp83_ = FALSE;
                                   gboolean _tmp87_;
                                   _tmp80_ = filter_option;
                                   _tmp81_ = unity_filter_option_get_id (_tmp80_);
                                   _tmp82_ = _tmp81_;
                                   _tmp83_ = g_str_has_suffix (_tmp82_, "id2");
                                   if (_tmp83_) {
                                          UnityFilterOption* _tmp84_;
                                          const gchar* _tmp85_;
                                          const gchar* _tmp86_;
                                          _tmp84_ = filter_option;
                                          _tmp85_ = unity_filter_option_get_id (_tmp84_);
                                          _tmp86_ = _tmp85_;
                                          _tmp79_ = g_strcmp0 (_tmp86_, "id2") != 0;
                                   } else {
                                          _tmp79_ = FALSE;
                                   }
                                   _tmp87_ = _tmp79_;
                                   if (_tmp87_) {
                                          found2 = TRUE;
                                   } else {
                                          UnityFilterOption* _tmp88_;
                                          const gchar* _tmp89_;
                                          const gchar* _tmp90_;
                                          gboolean _tmp91_ = FALSE;
                                          _tmp88_ = filter_option;
                                          _tmp89_ = unity_filter_option_get_id (_tmp88_);
                                          _tmp90_ = _tmp89_;
                                          _tmp91_ = g_str_has_suffix (_tmp90_, "id1-remote");
                                          if (_tmp91_) {
                                                 remote1 = TRUE;
                                          } else {
                                                 UnityFilterOption* _tmp92_;
                                                 const gchar* _tmp93_;
                                                 const gchar* _tmp94_;
                                                 gboolean _tmp95_ = FALSE;
                                                 _tmp92_ = filter_option;
                                                 _tmp93_ = unity_filter_option_get_id (_tmp92_);
                                                 _tmp94_ = _tmp93_;
                                                 _tmp95_ = g_str_has_suffix (_tmp94_, "id2-remote");
                                                 if (_tmp95_) {
                                                        remote2 = TRUE;
                                                 }
                                          }
                                   }
                            }
                            _g_object_unref0 (filter_option);
                     }
              }
       }
       _tmp96_ = found1;
       _vala_assert (_tmp96_ == FALSE, "found1 == false");
       _tmp97_ = found2;
       _vala_assert (_tmp97_, "found2");
       _tmp98_ = main_remote_scope_test;
       if (_tmp98_) {
              gboolean _tmp99_;
              gboolean _tmp100_;
              _tmp99_ = remote1;
              _vala_assert (_tmp99_ == FALSE, "remote1 == false");
              _tmp100_ = remote2;
              _vala_assert (_tmp100_, "remote2");
       }
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block18_data_unref (_data18_);
       _data18_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

                                               {
       Block10Data* _data10_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       gboolean _tmp7_ = FALSE;
       _data10_ = g_slice_new0 (Block10Data);
       _data10_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data10_->ml = _tmp1_;
       _data10_->got_search_changed = FALSE;
       _data10_->finish_called = FALSE;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect_data (_tmp4_, "search-changed", (GCallback) ___lambda16__unity_scope_search_changed, block10_data_ref (_data10_), (GClosureNotify) block10_data_unref, 0);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add4 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       _data10_->result1 = NULL;
       _data10_->result2 = NULL;
       main_call_lens_search ("successive-searches", ___lambda18__gfunc, _data10_);
       main_call_lens_search ("successive-searches", ___lambda19__gfunc, _data10_);
       main_run_with_timeout (_data10_->ml, (guint) 5000);
       _vala_assert (_data10_->got_search_changed == TRUE, "got_search_changed == true");
       _vala_assert (_data10_->finish_called == TRUE, "finish_called == true");
       _tmp7_ = g_variant_equal (_data10_->result1, _data10_->result2);
       _vala_assert (_tmp7_, "result1.equal (result2)");
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       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_lens_two_searches ( void  )

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

                                        {
       Block12Data* _data12_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       gchar* _tmp7_;
       GMainLoop* _tmp8_;
       GFunc foo1_finished_cb;
       void* foo1_finished_cb_target;
       GDestroyNotify foo1_finished_cb_target_destroy_notify;
       GFunc foo2_finished_cb;
       void* foo2_finished_cb_target;
       GDestroyNotify foo2_finished_cb_target_destroy_notify;
       guint _tmp9_ = 0U;
       guint bad_timer;
       GMainLoop* _tmp10_;
       GMainLoop* _tmp11_;
       GMainLoop* _tmp12_;
       gboolean _tmp13_ = FALSE;
       gboolean _tmp14_ = FALSE;
       _data12_ = g_slice_new0 (Block12Data);
       _data12_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data12_->ml = _tmp1_;
       _data12_->canc1 = NULL;
       _data12_->canc2 = NULL;
       _data12_->got_search_changed = FALSE;
       _data12_->finish_calls = (guint) 0;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect_data (_tmp4_, "search-changed", (GCallback) ___lambda20__unity_scope_search_changed, block12_data_ref (_data12_), (GClosureNotify) block12_data_unref, 0);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add5 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       _tmp7_ = g_strdup ("");
       _data12_->order = _tmp7_;
       _tmp8_ = g_main_loop_new (NULL, FALSE);
       _data12_->reply_ml = _tmp8_;
       _data12_->replies = 0;
       foo1_finished_cb = ___lambda22__gfunc;
       foo1_finished_cb_target = block12_data_ref (_data12_);
       foo1_finished_cb_target_destroy_notify = block12_data_unref;
       foo2_finished_cb = ___lambda23__gfunc;
       foo2_finished_cb_target = block12_data_ref (_data12_);
       foo2_finished_cb_target_destroy_notify = block12_data_unref;
       _tmp9_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, ___lambda24__gsource_func, NULL, NULL);
       bad_timer = _tmp9_;
       main_call_lens_search ("foo1", foo1_finished_cb, foo1_finished_cb_target);
       _tmp10_ = _data12_->ml;
       g_main_loop_run (_tmp10_);
       main_flush_bus ();
       _tmp11_ = g_main_loop_new (NULL, FALSE);
       _g_main_loop_unref0 (_data12_->ml);
       _data12_->ml = _tmp11_;
       main_call_lens_search ("foo2", foo2_finished_cb, foo2_finished_cb_target);
       _tmp12_ = _data12_->ml;
       g_main_loop_run (_tmp12_);
       g_source_remove (bad_timer);
       _vala_assert (_data12_->canc1 != NULL, "canc1 != null");
       _vala_assert (_data12_->canc2 != NULL, "canc2 != null");
       _tmp13_ = g_cancellable_is_cancelled (_data12_->canc1);
       _vala_assert (_tmp13_ == TRUE, "canc1.is_cancelled () == true");
       _tmp14_ = g_cancellable_is_cancelled (_data12_->canc2);
       _vala_assert (_tmp14_ == FALSE, "canc2.is_cancelled () == false");
       main_flush_bus ();
       g_main_loop_run (_data12_->reply_ml);
       _vala_assert (g_strcmp0 (_data12_->order, "12") == 0, "order == \"12\"");
       (foo2_finished_cb_target_destroy_notify == NULL) ? NULL : (foo2_finished_cb_target_destroy_notify (foo2_finished_cb_target), NULL);
       foo2_finished_cb = NULL;
       foo2_finished_cb_target = NULL;
       foo2_finished_cb_target_destroy_notify = NULL;
       (foo1_finished_cb_target_destroy_notify == NULL) ? NULL : (foo1_finished_cb_target_destroy_notify (foo1_finished_cb_target), NULL);
       foo1_finished_cb = NULL;
       foo1_finished_cb_target = NULL;
       foo1_finished_cb_target_destroy_notify = NULL;
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block12_data_unref (_data12_);
       _data12_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_local_scope_init ( void  )

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

                                       {
       UnityLens* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* scope;
       UnityScope* _tmp2_;
       UnityLens* _tmp3_;
       _tmp0_ = main_exported_lens;
       _vala_assert (_tmp0_ != NULL, "exported_lens != null");
       _tmp1_ = unity_scope_new ("/com/canonical/Unity/LocalScope/Test");
       scope = _tmp1_;
       _tmp2_ = _g_object_ref0 (scope);
       _g_object_unref0 (main_local_scope);
       main_local_scope = _tmp2_;
       _tmp3_ = main_exported_lens;
       unity_lens_add_local_scope (_tmp3_, scope);
       _g_object_unref0 (scope);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

                                         {
       Block6Data* _data6_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       _data6_ = g_slice_new0 (Block6Data);
       _data6_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data6_->ml = _tmp1_;
       _data6_->got_search_changed = FALSE;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect_data (_tmp4_, "search-changed", (GCallback) ___lambda12__unity_scope_search_changed, block6_data_ref (_data6_), (GClosureNotify) block6_data_unref, 0);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add2 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       main_run_with_timeout (_data6_->ml, (guint) 1000);
       _vala_assert (_data6_->got_search_changed == TRUE, "got_search_changed == true");
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block6_data_unref (_data6_);
       _data6_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

                                                       {
       Block5Data* _data5_;
       MainSignalWrapper** signals;
       gint signals_length1;
       gint _signals_size_;
       UnityScope* _tmp0_;
       GMainLoop* _tmp1_;
       MainSignalWrapper** _tmp2_;
       gint _tmp2__length1;
       UnityScope* _tmp3_;
       UnityScope* _tmp4_;
       gulong _tmp5_ = 0UL;
       MainSignalWrapper* _tmp6_;
       UnityScope* _tmp7_;
       UnityScope* _tmp8_;
       _data5_ = g_slice_new0 (Block5Data);
       _data5_->_ref_count_ = 1;
       signals = NULL;
       signals_length1 = 0;
       _signals_size_ = signals_length1;
       _tmp0_ = main_local_scope;
       _vala_assert (_tmp0_ != NULL, "local_scope != null");
       _tmp1_ = g_main_loop_new (NULL, FALSE);
       _data5_->ml = _tmp1_;
       _data5_->got_global_search = FALSE;
       _data5_->got_lens_search = FALSE;
       _tmp2_ = signals;
       _tmp2__length1 = signals_length1;
       _tmp3_ = main_local_scope;
       _tmp4_ = main_local_scope;
       _tmp5_ = g_signal_connect_data (_tmp4_, "search-changed", (GCallback) ___lambda9__unity_scope_search_changed, block5_data_ref (_data5_), (GClosureNotify) block5_data_unref, 0);
       _tmp6_ = main_signal_wrapper_new ((GObject*) _tmp3_, _tmp5_);
       _vala_array_add1 (&signals, &signals_length1, &_signals_size_, _tmp6_);
       _tmp7_ = main_local_scope;
       unity_scope_set_view_type_internal (_tmp7_, UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW);
       main_run_with_timeout (_data5_->ml, (guint) 1000);
       _vala_assert (_data5_->got_global_search == TRUE, "got_global_search == true");
       _tmp8_ = main_local_scope;
       unity_scope_set_view_type_internal (_tmp8_, UNITY_PROTOCOL_VIEW_TYPE_HIDDEN);
       signals = (_vala_array_free (signals, signals_length1, (GDestroyNotify) main_signal_wrapper_unref), NULL);
       block5_data_unref (_data5_);
       _data5_ = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void main_test_merge_strategy ( void  )

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

                                     {
       UnityLens* _tmp0_;
       UnityScope* _tmp1_;
       UnityLens* _tmp2_;
       UnityMergeStrategy* _tmp3_;
       UnityMergeStrategy* _tmp4_;
       UnityMergeStrategy* _tmp5_;
       UnityMergeStrategy* old_merge_strategy;
       UnityScope* _tmp6_;
       DeeSerializableModel* _tmp7_;
       DeeSerializableModel* _tmp8_;
       MainTestMergeStrategy* _tmp9_;
       MainTestMergeStrategy* merge_strategy;
       UnityLens* _tmp10_;
       UnityScope* _tmp11_;
       DeeSerializableModel* _tmp12_;
       DeeSerializableModel* _tmp13_;
       UnityScope* _tmp14_;
       DeeSerializableModel* _tmp15_;
       DeeSerializableModel* _tmp16_;
       gint _tmp17_;
       UnityLens* _tmp18_;
       _tmp0_ = main_exported_lens;
       _vala_assert (_tmp0_ != NULL, "exported_lens != null");
       _tmp1_ = main_local_scope;
       _vala_assert (_tmp1_ != NULL, "local_scope != null");
       _tmp2_ = main_exported_lens;
       _tmp3_ = unity_lens_get_merge_strategy (_tmp2_);
       _tmp4_ = _tmp3_;
       _tmp5_ = _g_object_ref0 (_tmp4_);
       old_merge_strategy = _tmp5_;
       _tmp6_ = main_local_scope;
       _tmp7_ = unity_scope_get_results_model (_tmp6_);
       _tmp8_ = _tmp7_;
       dee_model_clear ((DeeModel*) _tmp8_);
       _tmp9_ = main_test_merge_strategy_new ();
       merge_strategy = _tmp9_;
       _tmp10_ = main_exported_lens;
       unity_lens_set_merge_strategy (_tmp10_, (UnityMergeStrategy*) merge_strategy);
       _tmp11_ = main_local_scope;
       _tmp12_ = unity_scope_get_results_model (_tmp11_);
       _tmp13_ = _tmp12_;
       dee_model_append ((DeeModel*) _tmp13_, "uri", "icon", 0, "mimetype", "display-name", "comment", "dnd-uri", NULL);
       _tmp14_ = main_local_scope;
       _tmp15_ = unity_scope_get_results_model (_tmp14_);
       _tmp16_ = _tmp15_;
       dee_model_append ((DeeModel*) _tmp16_, "uri", "icon", 0, "mimetype", "display-name", "comment", "dnd-uri", NULL);
       _tmp17_ = merge_strategy->n_rows;
       _vala_assert (_tmp17_ == 2, "merge_strategy.n_rows == 2");
       _tmp18_ = main_exported_lens;
       unity_lens_set_merge_strategy (_tmp18_, old_merge_strategy);
       _g_object_unref0 (merge_strategy);
       _g_object_unref0 (old_merge_strategy);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void main_test_merge_strategy_class_init ( MainTestMergeStrategyClass *  klass) [static]

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

                                                                                     {
       main_test_merge_strategy_parent_class = g_type_class_peek_parent (klass);
       G_OBJECT_CLASS (klass)->finalize = main_test_merge_strategy_finalize;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static MainTestMergeStrategy* main_test_merge_strategy_construct ( GType  object_type) [static]

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

                                                                                     {
       MainTestMergeStrategy * self = NULL;
       self = (MainTestMergeStrategy*) g_object_new (object_type, NULL);
       return self;
}

Here is the caller graph for this function: