Lines Matching refs:str
166 char *str;
170 str = g_data_input_stream_read_line (stream, &length, NULL, error);
172 if (str == NULL)
175 g_assert (strstr (str, eol) == NULL);
176 g_assert (strlen (str) == length);
178 g_string_append (string, str);
180 g_free (str);
186 build_comparison (GString *str,
193 g_string_append (str, stream->pieces[i]);
195 if (str->len && str->str[str->len - 1] != '\n')
196 g_string_append_c (str, '\n');
218 g_assert_cmpstr (one->str, ==, two->str);
237 gchar *str;
241 str = g_data_input_stream_read_line_finish (data, result, &length, &error);
243 if (str == NULL)
251 g_assert (length == strlen (str));
252 g_string_append (two, str);
254 g_free (str);
276 g_assert_cmpstr (one->str, ==, two->str);