Lines Matching refs:newline
105 const char *newline; in remove_line_continuations() local
106 while ((newline = strchr(search_start, '\n')) != NULL) { in remove_line_continuations()
110 int n = newline - shader; in remove_line_continuations()
113 if (n >= 1 && newline[-1] == '\\') in remove_line_continuations()
114 backslash = newline - 1; in remove_line_continuations()
115 else if (n >= 2 && newline[-1] == '\r' && newline[-2] == '\\') in remove_line_continuations()
116 backslash = newline - 2; in remove_line_continuations()
134 shader = newline + 1; in remove_line_continuations()
139 ralloc_strncat(&clean, shader, newline - shader + 1); in remove_line_continuations()
140 shader = newline + 1; in remove_line_continuations()
146 search_start = newline + 1; in remove_line_continuations()