Lines Matching refs:ps
95 int l_just_saw_decl = ps.just_saw_decl; in pr_comment()
102 ps.just_saw_decl = 0; in pr_comment()
104 ps.box_com = false; /* at first, assume that we are not in in pr_comment()
107 ++ps.out_coms; /* keep track of number of comments */ in pr_comment()
114 if (ps.col_1 && !format_col1_comments) { /* if comment starts in column in pr_comment()
116 ps.box_com = true; in pr_comment()
117 ps.com_col = 1; in pr_comment()
122 ps.box_com = true; /* A comment with a '-' or '*' immediately in pr_comment()
137 ps.com_col = (ps.ind_level - ps.unindent_displace) * ps.ind_size + 1; in pr_comment()
139 if (ps.com_col <= 1) in pr_comment()
140 ps.com_col = 1 + !format_col1_comments; in pr_comment()
152 ps.com_col = ps.decl_on_line || ps.ind_level == 0 ? ps.decl_com_ind : ps.com_ind; in pr_comment()
153 if (ps.com_col < target_col) in pr_comment()
154 ps.com_col = ((target_col + 7) & ~7) + 1; in pr_comment()
155 if (ps.com_col + 24 > adj_max_col) in pr_comment()
156 adj_max_col = ps.com_col + 24; in pr_comment()
159 if (ps.box_com) { in pr_comment()
161 ps.n_comment_delta = 1 - count_spaces(1, in_buffer); in pr_comment()
165 ps.n_comment_delta = 0; in pr_comment()
169 ps.comment_delta = 0; in pr_comment()
172 if (*buf_ptr != ' ' && !ps.box_com) in pr_comment()
181 now_col = count_spaces(ps.com_col, s_com); /* figure what column we in pr_comment()
191 ps.last_nl = 0; in pr_comment()
195 if (!ps.box_com) { /* in a text comment, break the line here */ in pr_comment()
196 ps.use_ff = true; in pr_comment()
220 if (ps.box_com || ps.last_nl) { /* if this is a boxed comment, in pr_comment()
227 if (!ps.box_com && e_com - s_com > 3) { in pr_comment()
246 now_col = ps.com_col; in pr_comment()
249 ps.last_nl = 1; in pr_comment()
258 ps.com_col = (ps.ind_level - ps.unindent_displace) * ps.ind_size + 1; in pr_comment()
259 if (ps.com_col <= 1) in pr_comment()
260 ps.com_col = 2; in pr_comment()
266 now_col = ps.com_col; in pr_comment()
292 if (!ps.box_com) { in pr_comment()
324 if (*(e_com - 1) != ' ' && !ps.box_com) { /* insure blank before in pr_comment()
345 now_col = ps.com_col; in pr_comment()
351 ps.just_saw_decl = l_just_saw_decl; in pr_comment()
379 if (now_col > adj_max_col && !ps.box_com && unix_comment == 1 && e_com[-1] > ' ') { in pr_comment()
423 now_col = count_spaces(ps.com_col, s_com); /* recompute current in pr_comment()