Lines Matching refs:lines
56 char **lines;
83 lines = g_strsplit (hal_mtab_buf, "\n", 0);
88 for (i = 0; lines[i] != NULL && !found; i++) {
92 printf (" line = '%s'\n", lines[i]);
95 if ((lines[i])[0] == '#')
98 line_elements = g_strsplit (lines[i], "\t", 6);
115 line_to_free = lines[i];
116 for (j = i; lines[j] != NULL; j++) {
117 lines[j] = lines[j+1];
119 lines[j] = NULL;
140 for (i = 0; lines[i] != NULL; i++) {
148 if (fwrite (lines[i], 1, strlen (lines[i]), hal_mtab_new) != strlen (lines[i])) {
155 g_strfreev (lines);