Lines Matching +full:board +full:- +full:level
1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
66 * level, followed by any comments */ in dump_line()
77 suppress_blanklines--; in dump_line()
96 while (--n_real_blanklines >= 0) in dump_line()
102 * at bracket level 0 */ in dump_line()
113 while (e_lab > s_lab && (e_lab[-1] == ' ' || e_lab[-1] == '\t')) in dump_line()
114 e_lab--; in dump_line()
120 if (e_lab[-1] == '\n') e_lab--; in dump_line()
127 (int)(e_lab - s), s); in dump_line()
129 else fprintf(output, "%.*s", (int)(e_lab - s_lab), s_lab); in dump_line()
150 ps.paren_indents[i] = -(ps.paren_indents[i] + target_col); in dump_line()
172 target = opt.tabsize * (1 + (target - 1) / opt.tabsize) + 1; in dump_line()
183 while (e_com > com_st && isspace((unsigned char)e_com[-1])) in dump_line()
184 e_com--; in dump_line()
186 fwrite(com_st, e_com - com_st, 1, output); in dump_line()
219 paren_target = -ps.paren_indents[ps.paren_level - 1]; in dump_line()
238 if ((w = count_spaces(t, s_code) - opt.max_col) > 0 in compute_code_target()
240 t -= w + 1; in compute_code_target()
258 : opt.ind_size * (ps.ind_level - label_offset) + 1; in compute_label_target()
263 * Copyright (C) 1976 by the Board of Trustees of the University of Illinois
294 int size = (in_buffer_limit - in_buffer) * 2 + 10; in fill_buffer()
295 int offset = p - in_buffer; in fill_buffer()
300 in_buffer_limit = in_buffer + size - 2; in fill_buffer()
315 if (p - in_buffer > 2 && p[-2] == '/' && p[-3] == '*') { in fill_buffer()
346 if (!(inhibit_formatting = com - 1)) { in fill_buffer()
366 * Copyright (C) 1976 by the Board of Trustees of the University of Illinois
409 while ((tcur = opt.tabsize * (1 + (curr - 1) / opt.tabsize) + 1) <= target) { in pad_output()
421 * Copyright (C) 1976 by the Board of Trustees of the University of Illinois
458 cur = opt.tabsize * (1 + (cur - 1) / opt.tabsize) + 1; in count_spaces_until()
462 --cur; in count_spaces_until()
480 diag4(int level, const char *msg, int a, int b) in diag4() argument
482 if (level) in diag4()
485 fprintf(stdout, "/**INDENT** %s@%d: ", level == 0 ? "Warning" : "Error", line_no); in diag4()
490 fprintf(stderr, "%s@%d: ", level == 0 ? "Warning" : "Error", line_no); in diag4()
497 diag3(int level, const char *msg, int a) in diag3() argument
499 if (level) in diag3()
502 fprintf(stdout, "/**INDENT** %s@%d: ", level == 0 ? "Warning" : "Error", line_no); in diag3()
507 fprintf(stderr, "%s@%d: ", level == 0 ? "Warning" : "Error", line_no); in diag3()
514 diag2(int level, const char *msg) in diag2() argument
516 if (level) in diag2()
519 fprintf(stdout, "/**INDENT** %s@%d: ", level == 0 ? "Warning" : "Error", line_no); in diag2()
524 fprintf(stderr, "%s@%d: ", level == 0 ? "Warning" : "Error", line_no); in diag2()