Lines Matching full:ps

87     int         l_just_saw_decl = ps.just_saw_decl;  in pr_comment()
90 ps.just_saw_decl = 0; in pr_comment()
92 ps.box_com = false; /* at first, assume that we are not in in pr_comment()
95 ++ps.out_coms; /* keep track of number of comments */ in pr_comment()
99 if (ps.col_1 && !opt.format_col1_comments) { /* if comment starts in column in pr_comment()
101 ps.box_com = true; in pr_comment()
103 ps.com_col = 1; in pr_comment()
108 ps.box_com = true; /* A comment with a '-' or '*' immediately in pr_comment()
117 if ( /* ps.bl_line && */ (s_lab == e_lab) && (s_code == e_code)) { in pr_comment()
123 ps.com_col = (ps.ind_level - opt.unindent_displace) * opt.ind_size + 1; in pr_comment()
125 if (ps.com_col <= 1) in pr_comment()
126 ps.com_col = 1 + !opt.format_col1_comments; in pr_comment()
138 ps.com_col = ps.decl_on_line || ps.ind_level == 0 ? opt.decl_com_ind : opt.com_ind; in pr_comment()
139 if (ps.com_col <= target_col) in pr_comment()
140 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1; in pr_comment()
141 if (ps.com_col + 24 > adj_max_col) in pr_comment()
142 adj_max_col = ps.com_col + 24; in pr_comment()
145 if (ps.box_com) { in pr_comment()
158 ps.n_comment_delta = 1 - count_spaces_until(1, start, buf_ptr - 2); in pr_comment()
161 ps.n_comment_delta = 0; in pr_comment()
165 ps.comment_delta = 0; in pr_comment()
168 if (*buf_ptr != ' ' && !ps.box_com) in pr_comment()
179 if (adj_max_col >= count_spaces_until(ps.com_col, buf_ptr, t_ptr + 2)) in pr_comment()
189 if (opt.blanklines_before_blockcomments && ps.last_token != lbrace) in pr_comment()
193 if (!ps.box_com && opt.star_comment_cont) in pr_comment()
204 if (!ps.box_com) { /* in a text comment, break the line here */ in pr_comment()
205 ps.use_ff = true; in pr_comment()
209 if (!ps.box_com && opt.star_comment_cont) in pr_comment()
229 if (ps.box_com || ps.last_nl) { /* if this is a boxed comment, in pr_comment()
233 if (!ps.box_com && e_com - s_com > 3) { in pr_comment()
239 if (!ps.box_com && opt.star_comment_cont) in pr_comment()
243 ps.last_nl = 1; in pr_comment()
256 if (!ps.box_com) { in pr_comment()
291 if (e_com[-1] != ' ' && e_com[-1] != '\t' && !ps.box_com) in pr_comment()
294 ps.just_saw_decl = l_just_saw_decl; in pr_comment()
301 now_col = count_spaces_until(ps.com_col, s_com, e_com); in pr_comment()
313 ps.last_nl = false; in pr_comment()
314 if (now_col > adj_max_col && !ps.box_com && e_com[-1] > ' ') { in pr_comment()
320 if (!ps.box_com && opt.star_comment_cont) in pr_comment()
327 if (!ps.box_com && opt.star_comment_cont) in pr_comment()