Home
last modified time | relevance | path

Searched refs:strv2 (Results 1 – 4 of 4) sorted by relevance

/third_party/glib/glib/
Dgtestutils.h114 #define g_assert_cmpstrv(strv1, strv2) \ argument
118 const char * const *__strv2 = (const char * const *) (strv2); \
124 … "assertion failed (" #strv1 " == " #strv2 "): " #strv2 " is NULL, but " #strv1 " is not"); \
129 … "assertion failed (" #strv1 " == " #strv2 "): " #strv1 " is NULL, but " #strv2 " is not"); \
139 …__msg = g_strdup_printf ("assertion failed (" #strv1 " == " #strv2 "): length %u does not equal le…
151 #strv1 " == " #strv2, \
Dgstrfuncs.c3253 const gchar * const *strv2) in g_strv_equal() argument
3256 g_return_val_if_fail (strv2 != NULL, FALSE); in g_strv_equal()
3258 if (strv1 == strv2) in g_strv_equal()
3261 for (; *strv1 != NULL && *strv2 != NULL; strv1++, strv2++) in g_strv_equal()
3263 if (!g_str_equal (*strv1, *strv2)) in g_strv_equal()
3267 return (*strv1 == NULL && *strv2 == NULL); in g_strv_equal()
Dgstrfuncs.h324 const gchar * const *strv2);
/third_party/glib/glib/tests/
Dtesting.c89 const char *strv2[] = { "one", "two", NULL }; in test_assertions_bad_cmpstrv_length() local
90 g_assert_cmpstrv (strv1, strv2); in test_assertions_bad_cmpstrv_length()
98 const char *strv2[] = { "one", "too", "three", NULL }; in test_assertions_bad_cmpstrv_values() local
99 g_assert_cmpstrv (strv1, strv2); in test_assertions_bad_cmpstrv_values()
170 const char *strv2[] = { "one", "two", "three", NULL }; in test_assertions() local
200 g_assert_cmpstrv (strv1, strv2); in test_assertions()