Lines Matching refs:line_buf
1445 char *line_buf = NULL; in get_languages() local
1473 int len = getline (&line_buf, &line_len, fp); in get_languages()
1480 if (len > 0 && line_buf[len - 1] == '\n') in get_languages()
1481 line_buf[--len] = '\0'; in get_languages()
1483 && (line_buf[len - 1] == ' ' in get_languages()
1484 || line_buf[len - 1] == '\t' in get_languages()
1485 || line_buf[len - 1] == '\r')) in get_languages()
1486 line_buf[--len] = '\0'; in get_languages()
1489 if (!(*line_buf == '\0' || *line_buf == '#')) in get_languages()
1491 add_languages (languages, desired_languages, line_buf, len); in get_languages()
1494 free (line_buf); in get_languages()