Lines Matching refs:line_end
2417 char *line_end = NULL; in semanage_get_line_end() local
2424 line_end = semanage_strnchr(buf, buf_len, '\n'); in semanage_get_line_end()
2425 if (!line_end) in semanage_get_line_end()
2426 line_end = semanage_strnchr(buf, buf_len, '\r'); in semanage_get_line_end()
2427 if (!line_end) in semanage_get_line_end()
2428 line_end = semanage_strnchr(buf, buf_len, EOF); in semanage_get_line_end()
2430 return line_end; in semanage_get_line_end()
2446 const char *line_buf, *line_end; in semanage_fc_sort() local
2484 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_fc_sort()
2485 line_len = line_end - line_buf + 1; in semanage_fc_sort()
2496 line_buf = line_end + 1; in semanage_fc_sort()
2508 line_buf = line_end + 1; in semanage_fc_sort()
2514 line_buf = line_end + 1; in semanage_fc_sort()
2556 line_buf = line_end + 1; in semanage_fc_sort()
2577 line_buf = line_end + 1; in semanage_fc_sort()
2589 line_buf = line_end + 1; in semanage_fc_sort()
2614 line_buf = line_end + 1; in semanage_fc_sort()
2647 line_buf = line_end + 1; in semanage_fc_sort()
2788 const char *line_buf, *line_end; in semanage_nc_sort() local
2807 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_nc_sort()
2808 line_len = line_end - line_buf + 1; in semanage_nc_sort()
2812 line_buf = line_end + 1; in semanage_nc_sort()
2824 line_buf = line_end + 1; in semanage_nc_sort()
2830 line_buf = line_end + 1; in semanage_nc_sort()
2888 line_buf = line_end + 1; in semanage_nc_sort()