Home
last modified time | relevance | path

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

/dragonfly/usr.bin/indent/
HDio.c66 target_col = 1; in dump_line() local
142 target_col = compute_code_target(); in dump_line()
148 ps.paren_indents[i] = -(ps.paren_indents[i] + target_col); in dump_line()
150 cur_col = pad_output(cur_col, target_col); in dump_line()
153 fprintf(output, "%d", target_col * 7); in dump_line()
224 int target_col = opt.ind_size * ps.ind_level + 1; in compute_code_target() local
228 target_col += opt.continuation_indent * in compute_code_target()
231 target_col = paren_target; in compute_code_target()
237 && count_spaces(target_col, s_code) <= opt.max_col) { in compute_code_target()
239 if (t > target_col) in compute_code_target()
[all …]
HDpr_comment.c127 int target_col; in pr_comment() local
130 target_col = count_spaces(compute_code_target(), s_code); in pr_comment()
132 target_col = 1; in pr_comment()
134 target_col = count_spaces(compute_label_target(), s_lab); in pr_comment()
137 if (ps.com_col <= target_col) in pr_comment()
138 ps.com_col = opt.tabsize * (1 + (target_col - 1) / opt.tabsize) + 1; in pr_comment()