Lines Matching refs:line_end
2445 char *line_end = NULL; in semanage_get_line_end() local
2452 line_end = semanage_strnchr(buf, buf_len, '\n'); in semanage_get_line_end()
2453 if (!line_end) in semanage_get_line_end()
2454 line_end = semanage_strnchr(buf, buf_len, '\r'); in semanage_get_line_end()
2455 if (!line_end) in semanage_get_line_end()
2456 line_end = semanage_strnchr(buf, buf_len, EOF); in semanage_get_line_end()
2458 return line_end; in semanage_get_line_end()
2474 const char *line_buf, *line_end; in semanage_fc_sort() local
2512 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_fc_sort()
2513 line_len = line_end - line_buf + 1; in semanage_fc_sort()
2524 line_buf = line_end + 1; in semanage_fc_sort()
2536 line_buf = line_end + 1; in semanage_fc_sort()
2542 line_buf = line_end + 1; in semanage_fc_sort()
2584 line_buf = line_end + 1; in semanage_fc_sort()
2605 line_buf = line_end + 1; in semanage_fc_sort()
2617 line_buf = line_end + 1; in semanage_fc_sort()
2642 line_buf = line_end + 1; in semanage_fc_sort()
2675 line_buf = line_end + 1; in semanage_fc_sort()
2816 const char *line_buf, *line_end; in semanage_nc_sort() local
2835 while ((line_end = semanage_get_line_end(line_buf, buf_remainder))) { in semanage_nc_sort()
2836 line_len = line_end - line_buf + 1; in semanage_nc_sort()
2840 line_buf = line_end + 1; in semanage_nc_sort()
2852 line_buf = line_end + 1; in semanage_nc_sort()
2858 line_buf = line_end + 1; in semanage_nc_sort()
2916 line_buf = line_end + 1; in semanage_nc_sort()