| /netbsd-src/external/bsd/byacc/dist/test/btyacc/ |
| H A D | btyacc_demo.output | 23 12 decl : decl_specs declarator $$3 block_statement 44 26 declarator_list : declarator_list ',' $$4 $$5 declarator 45 27 | declarator 47 28 declarator : 54 32 declarator : '(' $$6 $$7 declarator ')' 55 33 | '*' cv_quals $$4 $$5 declarator 56 34 | declarator '[' $$4 expr ']' 57 35 | declarator '(' $$4 formal_arg_list ')' cv_quals 65 40 formal_arg : decl_specs declarator 203 decl : decl_specs . declarator $$3 block_statement (12) [all …]
|
| H A D | grammar.output | 35 23 declarator_list : declarator 36 24 | declarator_list ',' declarator 42 …27 function_definition : decl_specifiers declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCH… 46 29 function_definition : declarator $$4 opt_declaration_list T_LBRACE T_MATCHRBRACE 98 70 init_declarator : declarator 102 72 init_declarator : declarator '=' $$5 T_INITIALIZER 113 79 declarator : pointer direct_declarator 117 82 | '(' declarator ')' 137 96 parameter_declaration : decl_specifiers declarator 208 declarator goto 41 [all …]
|
| H A D | grammar.dot | 12 …declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara… 14 …declarator -> . pointer direct_declarator\l declarator -> . direct_declarator\l direct_declarato… 46 …declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l decl_specifiers -> decl_specifie… 53 …EXTERN T_AUTO T_DEFINE_NAME T_TYPEDEF_NAME }\l function_definition -> declarator . $$4 opt_declar… 54 …q42 [label="42:\l declarator -> direct_declarator . { ')' '=' ',' ';' T_VA_DCL T_LBRACE T_TYPE_QU… 56 …EDEF_NAME\l declarator -> pointer . direct_declarator\l direct_declarator -> . identifier_or_ref… 60 …declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara… 69 q57 [label="57:\l direct_declarator -> '(' declarator . ')'\l"]; 83 …ers declarator . $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l init_declarator -> declara… 84 …SION T_TYPEDEF\l any_typedef -> . T_TYPEDEF\l function_definition -> declarator $$4 . opt_declar… [all …]
|
| /netbsd-src/external/bsd/byacc/dist/test/yacc/ |
| H A D | grammar.output | 35 23 declarator_list : declarator 36 24 | declarator_list ',' declarator 42 …27 function_definition : decl_specifiers declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCH… 46 29 function_definition : declarator $$4 opt_declaration_list T_LBRACE T_MATCHRBRACE 98 70 init_declarator : declarator 102 72 init_declarator : declarator '=' $$5 T_INITIALIZER 113 79 declarator : pointer direct_declarator 117 82 | '(' declarator ')' 137 96 parameter_declaration : decl_specifiers declarator 208 declarator goto 41 [all …]
|
| H A D | grammar.dot | 12 …declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara… 14 …declarator -> . pointer direct_declarator\l declarator -> . direct_declarator\l direct_declarato… 46 …declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l decl_specifiers -> decl_specifie… 53 …EXTERN T_AUTO T_DEFINE_NAME T_TYPEDEF_NAME }\l function_definition -> declarator . $$4 opt_declar… 54 …q42 [label="42:\l declarator -> direct_declarator . { ')' '=' ',' ';' T_VA_DCL T_LBRACE T_TYPE_QU… 56 …EDEF_NAME\l declarator -> pointer . direct_declarator\l direct_declarator -> . identifier_or_ref… 60 …declarator $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l function_definition -> . declara… 69 q57 [label="57:\l direct_declarator -> '(' declarator . ')'\l"]; 83 …ers declarator . $$2 opt_declaration_list T_LBRACE $$3 T_MATCHRBRACE\l init_declarator -> declara… 84 …SION T_TYPEDEF\l any_typedef -> . T_TYPEDEF\l function_definition -> declarator $$4 . opt_declar… [all …]
|
| /netbsd-src/external/bsd/byacc/dist/test/ |
| H A D | btyacc_demo.y | 63 %type <decl> declarator(<scope>, <type>) formal_arg(<scope>) 112 | decl_specs declarator($e,$1) block_statement(start_fn_def($e, $2)) 145 declarator_list ',' declarator($e, $t) 146 | declarator 149 declarator($e, $t): in declarator() function 153 | '(' declarator($e, $t) ')' { $$ = $2; } 154 | '*' cv_quals declarator($e, $t) %prec PREFIX 156 | declarator '[' expr($e) ']' 158 | declarator '(' formal_arg_list($e) ')' cv_quals 170 decl_specs declarator($e,$1) { $$ = $2; } in formal_arg()
|
| H A D | grammar.y | 73 %type <declarator> init_declarator declarator direct_declarator 74 %type <declarator> abs_declarator direct_abs_declarator 185 Declarator *declarator; member 209 Declarator *declarator; member 274 extern void put_body (FILE *outf, DeclSpec *decl_spec, Declarator *declarator); 353 if (p->declarator->func_def == FUNC_ANSI) { in haveAnsiParam() 461 : declarator 473 | declarator_list ',' declarator 485 : decl_specifiers declarator 521 | declarator [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/ |
| H A D | friend.c | 479 do_friend (tree scope, tree declarator, tree decl, in do_friend() argument 511 if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR) in do_friend() 513 declarator = TREE_OPERAND (declarator, 0); in do_friend() 514 if (!identifier_p (declarator)) in do_friend() 515 declarator = OVL_NAME (declarator); in do_friend() 549 if (flags == NO_SPECIAL && declarator == cname) in do_friend()
|
| H A D | parser.c | 1457 cp_declarator *declarator; in make_declarator() local 1459 declarator = (cp_declarator *) alloc_declarator (sizeof (cp_declarator)); in make_declarator() 1460 declarator->kind = kind; in make_declarator() 1461 declarator->parenthesized = UNKNOWN_LOCATION; in make_declarator() 1462 declarator->attributes = NULL_TREE; in make_declarator() 1463 declarator->std_attributes = NULL_TREE; in make_declarator() 1464 declarator->declarator = NULL; in make_declarator() 1465 declarator->parameter_pack_p = false; in make_declarator() 1466 declarator->id_loc = UNKNOWN_LOCATION; in make_declarator() 1468 return declarator; in make_declarator() [all …]
|
| H A D | decl.c | 5178 const cp_declarator *declarator, in groktypename() argument 5187 type = grokdeclarator (declarator, type_specifiers, context, 0, &attrs); in groktypename() 5223 start_decl (const cp_declarator *declarator, in start_decl() argument 5245 decl = grokdeclarator (declarator, declspecs, NORMAL, initialized, in start_decl() 5410 permerror (declarator->id_loc, in start_decl() 9442 tree declarator, in grokfndecl() argument 9479 error_at (location, "concept %qD has no definition", declarator); in grokfndecl() 9485 decl = build_lang_decl_loc (location, FUNCTION_DECL, declarator, type); in grokfndecl() 9632 && (MAIN_NAME_P (declarator) in grokfndecl() 9633 || (IDENTIFIER_LENGTH (declarator) > 10 in grokfndecl() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | friend.cc | 497 do_friend (tree scope, tree declarator, tree decl, in do_friend() argument 522 if (TREE_CODE (declarator) == TEMPLATE_ID_EXPR) in do_friend() 524 declarator = TREE_OPERAND (declarator, 0); in do_friend() 525 if (!identifier_p (declarator)) in do_friend() 526 declarator = OVL_NAME (declarator); in do_friend() 560 if (flags == NO_SPECIAL && declarator == cname) in do_friend()
|
| H A D | parser.cc | 1555 cp_declarator *declarator; in make_declarator() local 1557 declarator = (cp_declarator *) alloc_declarator (sizeof (cp_declarator)); in make_declarator() 1558 declarator->kind = kind; in make_declarator() 1559 declarator->parenthesized = UNKNOWN_LOCATION; in make_declarator() 1560 declarator->attributes = NULL_TREE; in make_declarator() 1561 declarator->std_attributes = NULL_TREE; in make_declarator() 1562 declarator->declarator = NULL; in make_declarator() 1563 declarator->parameter_pack_p = false; in make_declarator() 1564 declarator->id_loc = UNKNOWN_LOCATION; in make_declarator() 1565 declarator->init_loc = UNKNOWN_LOCATION; in make_declarator() [all …]
|
| H A D | decl.cc | 5509 const cp_declarator *declarator, in groktypename() argument 5518 type = grokdeclarator (declarator, type_specifiers, context, 0, &attrs); in groktypename() 5558 start_decl (const cp_declarator *declarator, in start_decl() argument 5577 decl = grokdeclarator (declarator, declspecs, NORMAL, initialized, in start_decl() 5747 permerror (declarator->id_loc, in start_decl() 5764 error_at (declarator->id_loc, in start_decl() 10070 tree declarator, in grokfndecl() argument 10106 error_at (location, "concept %qD has no definition", declarator); in grokfndecl() 10112 decl = build_lang_decl_loc (location, FUNCTION_DECL, declarator, type); in grokfndecl() 10264 && (MAIN_NAME_P (declarator) in grokfndecl() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/c/ |
| H A D | c-decl.c | 4841 struct c_declarator *declarator = XOBNEW (&parser_obstack, in build_array_declarator() local 4843 declarator->id_loc = loc; in build_array_declarator() 4844 declarator->kind = cdk_array; in build_array_declarator() 4845 declarator->declarator = 0; in build_array_declarator() 4846 declarator->u.array.dimen = expr; in build_array_declarator() 4849 declarator->u.array.attrs = quals->attrs; in build_array_declarator() 4850 declarator->u.array.quals = quals_from_declspecs (quals); in build_array_declarator() 4854 declarator->u.array.attrs = NULL_TREE; in build_array_declarator() 4855 declarator->u.array.quals = 0; in build_array_declarator() 4857 declarator->u.array.static_p = static_p; in build_array_declarator() [all …]
|
| H A D | c-tree.h | 462 struct c_declarator *declarator; member 500 struct c_declarator *declarator; member 510 struct c_declarator *declarator; member
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/c/ |
| H A D | c-decl.cc | 4933 struct c_declarator *declarator = XOBNEW (&parser_obstack, in build_array_declarator() local 4935 declarator->id_loc = loc; in build_array_declarator() 4936 declarator->kind = cdk_array; in build_array_declarator() 4937 declarator->declarator = 0; in build_array_declarator() 4938 declarator->u.array.dimen = expr; in build_array_declarator() 4941 declarator->u.array.attrs = quals->attrs; in build_array_declarator() 4942 declarator->u.array.quals = quals_from_declspecs (quals); in build_array_declarator() 4946 declarator->u.array.attrs = NULL_TREE; in build_array_declarator() 4947 declarator->u.array.quals = 0; in build_array_declarator() 4949 declarator->u.array.static_p = static_p; in build_array_declarator() [all …]
|
| H A D | c-tree.h | 464 struct c_declarator *declarator; member 502 struct c_declarator *declarator; member 512 struct c_declarator *declarator; member
|
| H A D | gimple-parser.cc | 2042 struct c_declarator *declarator; in c_parser_gimple_declaration() local 2059 declarator = c_parser_declarator (parser, in c_parser_gimple_declaration() 2073 struct c_declarator *id_declarator = declarator; in c_parser_gimple_declaration() 2075 id_declarator = id_declarator->declarator; in c_parser_gimple_declaration() 2077 && (declarator->kind == cdk_pointer in c_parser_gimple_declaration() 2086 struct c_declarator *p = declarator; in c_parser_gimple_declaration() 2091 p = p->declarator; in c_parser_gimple_declaration() 2101 tree decl = start_decl (declarator, specs, false, in c_parser_gimple_declaration()
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/cxxcom/ |
| H A D | cgram.y | 242 %type <nodep> e .e term enum_dcl struct_dcl cast_type declarator 281 funtype: /* no type given */ declarator { 285 | declaration_specifiers declarator { $$ = fundef($1,$2); } 443 declarator: '*' declarator { $$ = bdty(UMUL, $2); } 444 | '*' type_qualifier_list declarator { 450 | '(' attr_spec_list declarator ')' { 454 | '(' declarator ')' { $$ = $2; } 455 | declarator '[' e ']' { $$ = biop(LB, $1, $3); } 456 | declarator '[' C_CLASS e ']' { 462 | declarator '[' ']' { $$ = biop(LB, $1, bcon(NOOFFSET)); } [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaType.cpp | 160 Declarator &declarator; member in __anonfc6727220111::TypeProcessingState 199 TypeProcessingState(Sema &sema, Declarator &declarator) in TypeProcessingState() argument 200 : sema(sema), declarator(declarator), in TypeProcessingState() 201 chunkIndex(declarator.getNumTypeObjects()), trivial(true), in TypeProcessingState() 209 return declarator; in getDeclarator() 213 return chunkIndex == declarator.getNumTypeObjects(); in isProcessingDeclSpec() 221 assert(idx <= declarator.getNumTypeObjects()); in setCurrentChunkIndex() 228 return declarator.getTypeObject(chunkIndex).getAttrs(); in getCurrentAttributes() 332 return const_cast<DeclSpec&>(declarator.getDeclSpec()); in getMutableDeclSpec() 394 static DeclaratorChunk *maybeMovePastReturnType(Declarator &declarator, in maybeMovePastReturnType() argument [all …]
|
| /netbsd-src/external/bsd/pcc/dist/pcc/cc/ccom/ |
| H A D | cgram.y | 269 %type <nodep> e .e term enum_dcl struct_dcl cast_type declarator 308 funtype: /* no type given */ declarator { 312 | declaration_specifiers declarator { fundef($1,$2); } 394 declarator: '*' declarator { $$ = bdty(UMUL, $2); } 395 | '*' type_qualifier_list declarator { 400 | '(' attr_spec_list declarator ')' { 404 | '(' declarator ')' { $$ = $2; } 405 | declarator '[' ecq ']' { $$ = biop(LB, $1, $3); } 406 | declarator '(' parameter_type_list ')' { 409 | declarator '(' identifier_list ')' { [all …]
|
| /netbsd-src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| H A D | dt_grammar.y | 171 %type <l_decl> declarator 248 DT_KEY_INLINE declaration_specifiers declarator 721 declarator { 746 declarator { dt_decl_member(NULL); } 748 | declarator DT_TOK_COLON constant_expression { 776 declarator: direct_declarator 782 | lparen declarator DT_TOK_RPAR { $$ = $2; } 819 | parameter_declaration_specifiers declarator {
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gengtype-parse.cc | 767 declarator (type_p ty, const char **namep, options_p *optsp, in declarator() function 823 dty = declarator (ty, &name, &dopts, true); in struct_field_seq() 1079 dty = declarator (ty, &name, &opts); in typedef_decl() 1126 dty = declarator (ty, &name, &dopts); in extern_or_static()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | gengtype-parse.c | 767 declarator (type_p ty, const char **namep, options_p *optsp, 823 dty = declarator (ty, &name, &dopts, true); in struct_field_seq() 1079 dty = declarator (ty, &name, &opts); in typedef_decl() 1126 dty = declarator (ty, &name, &dopts); in extern_or_static()
|
| /netbsd-src/usr.bin/indent/ |
| H A D | .indent.pro | 13 -nbc /* Don't force each declarator on a separate line. */
|