Lines Matching refs:a

114 _g_strv_equal0 (gchar **a, gchar **b)  in _g_strv_equal0()  argument
118 if (a == NULL && b == NULL) in _g_strv_equal0()
123 if (a == NULL || b == NULL) in _g_strv_equal0()
125 if (g_strv_length (a) != g_strv_length (b)) in _g_strv_equal0()
127 for (n = 0; a[n] != NULL; n++) in _g_strv_equal0()
128 if (g_strcmp0 (a[n], b[n]) != 0) in _g_strv_equal0()
136 _g_variant_equal0 (GVariant *a, GVariant *b) in _g_variant_equal0() argument
139 if (a == NULL && b == NULL) in _g_variant_equal0()
144 if (a == NULL || b == NULL) in _g_variant_equal0()
146 ret = g_variant_equal (a, b); in _g_variant_equal0()
152 _g_value_equal (const GValue *a, const GValue *b) in _g_value_equal() argument
155 g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); in _g_value_equal()
156 switch (G_VALUE_TYPE (a)) in _g_value_equal()
159 ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); in _g_value_equal()
162 ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); in _g_value_equal()
165 ret = (g_value_get_int (a) == g_value_get_int (b)); in _g_value_equal()
168 ret = (g_value_get_uint (a) == g_value_get_uint (b)); in _g_value_equal()
171 ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); in _g_value_equal()
174 ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); in _g_value_equal()
179 gdouble da = g_value_get_double (a); in _g_value_equal()
185 ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); in _g_value_equal()
188 ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); in _g_value_equal()
191 if (G_VALUE_TYPE (a) == G_TYPE_STRV) in _g_value_equal()
192 ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); in _g_value_equal()
194 g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); in _g_value_equal()