Home
last modified time | relevance | path

Searched refs:paren_depth (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/bmake/
H A Dcond.c246 int paren_depth; in CondGetArg() local
275 paren_depth = 0; in CondGetArg()
280 if ((ch == '&' || ch == '|') && paren_depth == 0) in CondGetArg()
301 paren_depth++; in CondGetArg()
303 if (ch == ')' && --paren_depth < 0) in CondGetArg()
/freebsd-12.1/contrib/gcclibs/libcpp/
H A Dtraditional.c350 unsigned int c, paren_depth = 0, quote; in _cpp_scan_out_logical_line() local
528 paren_depth++; in _cpp_scan_out_logical_line()
536 paren_depth = 1; in _cpp_scan_out_logical_line()
549 if (quote == 0 && lex_state == ls_fun_close && paren_depth == 1) in _cpp_scan_out_logical_line()
556 paren_depth--; in _cpp_scan_out_logical_line()
557 if (lex_state == ls_fun_close && paren_depth == 0) in _cpp_scan_out_logical_line()
H A Dmacro.c603 unsigned int paren_depth = 0; in collect_args() local
628 paren_depth++; in collect_args()
631 if (paren_depth-- == 0) in collect_args()
638 if (paren_depth == 0 in collect_args()
/freebsd-12.1/contrib/gdb/gdb/
H A Dm2-exp.y856 paren_depth++; in yylex()
861 if (paren_depth == 0) in yylex()
863 paren_depth--; in yylex()
868 if (comma_terminates && paren_depth == 0) in yylex()
H A Df-exp.y985 paren_depth++; in yylex()
990 if (paren_depth == 0) in yylex()
992 paren_depth--; in yylex()
997 if (comma_terminates && paren_depth == 0) in yylex()
H A Dparser-defs.h197 extern int paren_depth;
H A Djv-exp.y934 paren_depth++; in yylex()
939 if (paren_depth == 0) in yylex()
941 paren_depth--; in yylex()
946 if (comma_terminates && paren_depth == 0) in yylex()
H A Dp-exp.y1156 paren_depth++; in yylex()
1161 if (paren_depth == 0) in yylex()
1163 paren_depth--; in yylex()
1168 if (comma_terminates && paren_depth == 0) in yylex()
H A Dobjc-exp.y1328 paren_depth++; in yylex()
1333 if (paren_depth == 0) in yylex()
1335 paren_depth--; in yylex()
1340 if (comma_terminates && paren_depth == 0) in yylex()
H A Dm2-exp.c2346 paren_depth++; in yylex()
2351 if (paren_depth == 0) in yylex()
2353 paren_depth--; in yylex()
2358 if (comma_terminates && paren_depth == 0) in yylex()
H A Dc-exp.y1419 paren_depth++; in yylex()
1424 if (paren_depth == 0) in yylex()
1426 paren_depth--; in yylex()
1432 && paren_depth == 0 in yylex()
H A Df-exp.c2359 paren_depth++; in yylex()
2364 if (paren_depth == 0) in yylex()
2366 paren_depth--; in yylex()
2371 if (comma_terminates && paren_depth == 0) in yylex()
H A Djv-exp.c2305 paren_depth++; in yylex()
2310 if (paren_depth == 0) in yylex()
2312 paren_depth--; in yylex()
2317 if (comma_terminates && paren_depth == 0) in yylex()
H A Dp-exp.c2478 paren_depth++; in yylex()
2483 if (paren_depth == 0) in yylex()
2485 paren_depth--; in yylex()
2490 if (comma_terminates && paren_depth == 0) in yylex()
H A Dparse.c93 int paren_depth; variable
1031 paren_depth = 0; in parse_exp_1()
H A Dobjc-exp.c2970 paren_depth++; in yylex()
2975 if (paren_depth == 0) in yylex()
2977 paren_depth--; in yylex()
2982 if (comma_terminates && paren_depth == 0) in yylex()
H A Dc-exp.c3049 paren_depth++; in yylex()
3054 if (paren_depth == 0) in yylex()
3056 paren_depth--; in yylex()
3062 && paren_depth == 0 in yylex()
/freebsd-12.1/contrib/gcc/
H A Dprotoize.c1326 int paren_depth; in find_corresponding_lparen() local
1328 for (paren_depth = 1, q = p-1; paren_depth; q--) in find_corresponding_lparen()
1333 paren_depth++; in find_corresponding_lparen()
1336 paren_depth--; in find_corresponding_lparen()
3756 int paren_depth; in careful_find_l_paren() local
3758 for (paren_depth = 1, q = p-1; paren_depth; check_source (--q >= clean_text_base, 0)) in careful_find_l_paren()
3763 paren_depth++; in careful_find_l_paren()
3766 paren_depth--; in careful_find_l_paren()
/freebsd-12.1/contrib/gcc/cp/
H A Dparser.c2353 unsigned paren_depth = 0; in cp_parser_skip_to_closing_parenthesis() local
2386 if (recovering && or_comma && !brace_depth && !paren_depth) in cp_parser_skip_to_closing_parenthesis()
2392 ++paren_depth; in cp_parser_skip_to_closing_parenthesis()
2396 if (!brace_depth && !paren_depth--) in cp_parser_skip_to_closing_parenthesis()