Home
last modified time | relevance | path

Searched refs:target_col (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/indent/
H A Dio.c68 target_col = 1; in dump_line() local
144 target_col = compute_code_target(); in dump_line()
150 ps.paren_indents[i] = -(ps.paren_indents[i] + target_col); in dump_line()
152 cur_col = pad_output(cur_col, target_col); in dump_line()
155 fprintf(output, "%d", target_col * 7); in dump_line()
226 int target_col = opt.ind_size * ps.ind_level + 1; in compute_code_target() local
230 target_col += opt.continuation_indent * in compute_code_target()
233 target_col = paren_target; in compute_code_target()
239 && count_spaces(target_col, s_code) <= opt.max_col) { in compute_code_target()
241 if (t > target_col) in compute_code_target()
[all …]
H A Dpr_comment.c129 int target_col; in pr_comment() local
132 target_col = count_spaces(compute_code_target(), s_code); in pr_comment()
134 target_col = 1; in pr_comment()
136 target_col = count_spaces(compute_label_target(), s_lab); 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()