Home | History | Annotate | Download | only in tests

Lines Matching defs:chars

77 char chars[] = 
115 for (i = 0; chars[i]; i++)
116 g_tree_insert (tree, &chars[i], &chars[i]);
120 g_assert (g_tree_nnodes (tree) == strlen (chars));
123 p = chars;
128 removed = g_tree_remove (tree, &chars[i + 10]);
145 g_tree_insert (tree, &chars[i + 10], &chars[i + 10]);
147 p = chars;
213 for (i = 0; chars[i]; i++)
214 g_tree_insert (tree, &chars[i], &chars[i]);
219 g_assert (destroyed_value == &chars[0]);
225 g_assert (destroyed_key == &chars[1]);
226 g_assert (destroyed_value == &chars[1]);
233 g_assert (destroyed_key == &chars[2]);
234 g_assert (destroyed_value == &chars[2]);