Lines Matching +full:buffered +full:- +full:positive

1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
103 int squest; /* when this is positive, we have seen a ? in main()
115 /*-----------------------------------------------*\ in main()
117 \*-----------------------------------------------*/ in main()
139 l_com = combuf + bufsize - 5; in main()
140 l_lab = labbuf + bufsize - 5; in main()
141 l_code = codebuf + bufsize - 5; in main()
142 l_token = tokenbuf + bufsize - 5; in main()
146 opt.else_if = 1; /* Default else-if special processing to on */ in main()
179 /*--------------------------------------------------*\ in main()
181 \*--------------------------------------------------*/ in main()
184 max_col = 78; /* -l78 */ in main()
185 lineup_to_parens = 1; /* -lp */ in main()
186 lineup_to_parens_always = 0; /* -nlpl */ in main()
187 ps.ljust_decl = 0; /* -ndj */ in main()
188 ps.com_ind = 33; /* -c33 */ in main()
189 star_comment_cont = 1; /* -sc */ in main()
190 ps.ind_size = 8; /* -i8 */ in main()
192 ps.decl_indent = 16; /* -di16 */ in main()
193 ps.local_decl_indent = -1; /* if this is not set to some nonnegative value in main()
196 ps.indent_parameters = 1; /* -ip */ in main()
197 ps.decl_com_ind = 0; /* if this is not set to some positive value in main()
200 btype_2 = 1; /* -br */ in main()
201 cuddle_else = 1; /* -ce */ in main()
202 ps.unindent_displace = 0; /* -d0 */ in main()
203 ps.case_indent = 0; /* -cli0 */ in main()
204 format_block_comments = 1; /* -fcb */ in main()
205 format_col1_comments = 1; /* -fc1 */ in main()
206 procnames_start_line = 1; /* -psl */ in main()
207 proc_calls_space = 0; /* -npcs */ in main()
208 comment_delimiter_on_blankline = 1; /* -cdb */ in main()
209 ps.leave_comma = 1; /* -nbc */ in main()
213 if (strcmp(argv[i], "-npro") == 0) in main()
215 else if (argv[i][0] == '-' && argv[i][1] == 'P' && argv[i][2] != '\0') in main()
216 profile_name = argv[i]; /* non-empty -P (set profile) */ in main()
226 if (argv[i][0] != '-') {/* no flag on parameter */ in main()
278 opt.decl_com_ind = opt.ljust_decl ? (opt.com_ind <= 10 ? 2 : opt.com_ind - 8) : opt.com_ind; in main()
292 col = opt.tabsize * (1 + (col - 1) / opt.tabsize) + 1; in main()
317 * placement (-br, -bl) and cuddling "else" (-ce). in main()
348 memcpy(sc_buf, in_buffer, buf_ptr - in_buffer - 4); in main()
349 save_com = sc_buf + (buf_ptr - in_buffer - 4); in main()
364 diag2(1, "Internal buffer overflow - Move big comment from right after if, while, or whatever"); in main()
375 * Put KNF-style lbraces before the buffered up tokens and in main()
403 e_code != s_code && e_code[-1] == '}') in main()
414 while (sc_end > save_com && isblank((unsigned char)sc_end[-1])) { in main()
415 sc_end--; in main()
420 while (sc_end > save_com && sc_end[-1] == '\n') { in main()
421 sc_end--; in main()
427 --line_no; /* this will be re-increased when the in main()
462 * the tokens - this time for normal processing. in main()
466 * which is needed mostly for comment-related considerations. in main()
533 int len = e_com - s_com; in main()
551 /*-----------------------------------------------------*\ in main()
553 \*-----------------------------------------------------*/ in main()
580 ps.p_l_follow--; in main()
594 * one iff -bs; all other keywords (>2) always get a space in main()
600 ps.paren_indents[ps.p_l_follow - 1] = count_spaces_until(1, s_code, e_code) - 1; in main()
622 ps.cast_mask &= (1 << ps.p_l_follow) - 1; in main()
626 ps.not_cast_mask &= (1 << ps.p_l_follow) - 1; in main()
627 if (--ps.p_l_follow < 0) { in main()
664 indent_declaration(dec_ind - i, tabs_to_var); in main()
671 int len = e_token - s_token; in main()
682 int len = e_token - s_token; in main()
693 case postop: /* got a trailing ++ or -- */ in main()
715 --squest; in main()
733 int len = e_code - s_code; in main()
763 ps.just_saw_decl--; in main()
768 indent_declaration(dec_ind - 1, tabs_to_var); in main()
849 ps.dec_nest--; in main()
885 ps.block_init_level--; in main()
895 if (ps.dec_nest > 0) { /* we are in multi-level structure in main()
897 dec_ind = di_stack[--ps.dec_nest]; in main()
930 if (e_code != s_code && (!opt.cuddle_else || e_code[-1] != '}')) { in main()
1024 int len = e_token - s_token; in main()
1038 int len = e_token - s_token; in main()
1062 indent_declaration(dec_ind - 1, tabs_to_var); in main()
1071 opt.max_col - opt.tabsize)) in main()
1111 com_start = e_lab - s_lab - 2; in main()
1126 com_end = e_lab - s_lab; in main()
1132 while (e_lab > s_lab && (e_lab[-1] == ' ' || e_lab[-1] == '\t')) in main()
1133 e_lab--; in main()
1134 if (e_lab - s_lab == com_end && bp_save == NULL) { in main()
1145 --line_no; in main()
1147 if (sc_end - save_com + com_end - com_start > sc_size) in main()
1149 memmove(sc_end, s_lab + com_start, com_end - com_start); in main()
1150 sc_end += com_end - com_start; in main()
1152 while (e_lab > s_lab && (e_lab[-1] == ' ' || e_lab[-1] == '\t')) in main()
1153 e_lab--; in main()
1170 match_state[ifdef_level].tos = -1; in main()
1180 match_state[ifdef_level - 1] = ps; in main()
1181 ps = state_stack[ifdef_level - 1]; in main()
1188 ifdef_level--; in main()
1203 while (--d >= 0) in main()
1249 p--; in bakcopy()
1266 /* re-open backup file as the input file */ in bakcopy()
1281 int pos = e_code - s_code; in indent_declaration()
1300 CHECK_SIZE_CODE(cur_dec_ind - pos + 1); in indent_declaration()