Lines Matching refs:buf_ptr
106 if (*buf_ptr == '-' || *buf_ptr == '*' || in pr_comment()
107 (*buf_ptr == '\n' && !opt.format_block_comments)) { in pr_comment()
156 start = buf_ptr >= save_com && buf_ptr < save_com + sc_size ? in pr_comment()
158 ps.n_comment_delta = 1 - count_spaces_until(1, start, buf_ptr - 2); in pr_comment()
162 while (*buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment()
163 buf_ptr++; in pr_comment()
168 if (*buf_ptr != ' ' && !ps.box_com) in pr_comment()
175 for (t_ptr = buf_ptr; *t_ptr != '\0' && *t_ptr != '\n'; t_ptr++) { in pr_comment()
179 if (adj_max_col >= count_spaces_until(ps.com_col, buf_ptr, t_ptr + 2)) in pr_comment()
201 switch (*buf_ptr) { /* this checks for various spcl cases */ in pr_comment()
211 while (*++buf_ptr == ' ' || *buf_ptr == '\t') in pr_comment()
215 if (++buf_ptr >= buf_end) in pr_comment()
260 if (++buf_ptr >= buf_end) in pr_comment()
262 if (*buf_ptr == '*' && --nstar >= 0) { in pr_comment()
263 if (++buf_ptr >= buf_end) in pr_comment()
265 if (*buf_ptr == '/') in pr_comment()
268 } while (*buf_ptr == ' ' || *buf_ptr == '\t'); in pr_comment()
270 else if (++buf_ptr >= buf_end) in pr_comment()
276 if (++buf_ptr >= buf_end) /* get to next char after * */ in pr_comment()
279 if (*buf_ptr == '/') { /* it is the end!!! */ in pr_comment()
281 if (++buf_ptr >= buf_end) in pr_comment()
304 *e_com = *buf_ptr++; in pr_comment()
305 if (buf_ptr >= buf_end) in pr_comment()
311 } while (!memchr("*\n\r\b\t", *buf_ptr, 6) && in pr_comment()