Home | History | Annotate | Download | only in tests

Lines Matching refs:buffer

142   gchar *buffer;
148 buffer = (gchar *)g_mapped_file_get_contents (map);
149 buffer[0] = '1';
150 buffer[1] = '2';
151 buffer[2] = '3';
154 if (!g_file_get_contents (filename, &buffer, &len, &error))
162 g_assert (strcmp (buffer, "ABC") == 0);
163 g_free (buffer);
172 gchar *buffer;
199 buffer = (gchar *)g_mapped_file_get_contents (map);
200 buffer[0] = '1';
201 buffer[1] = '2';
202 buffer[2] = '3';
214 if (!g_file_get_contents (childname, &buffer, &len, &error))
223 g_assert (strcmp (buffer, "ABC") == 0);
224 g_free (buffer);