Lines Matching defs:lines
281 char **lines;
344 lines = g_strsplit (hal_mtab_buf, "\n", 0);
351 for (i = 0; lines[i] != NULL; i++) {
357 printf (" line = '%s'\n", lines[i]);
360 if ((lines[i])[0] == '#')
363 line_elements = g_strsplit (lines[i], "\t", 6);
393 line_to_free = lines[i];
395 for (j = i; lines[j] != NULL; j++) {
396 lines[j] = lines[j+1];
398 lines[j] = NULL;
432 for (i = 0; lines[i] != NULL; i++) {
440 if (fwrite (lines[i], 1, strlen (lines[i]), hal_mtab_new) != strlen (lines[i])) {
447 g_strfreev (lines);