Home
last modified time | relevance | path

Searched refs:formals (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/parsing/
Dpreparser.cc115 PreParserFormalParameters formals(function_scope); in PreParseFunction() local
134 formals.is_simple = function_scope->has_simple_parameters(); in PreParseFunction()
143 ParseFormalParameterList(&formals); in PreParseFunction()
144 if (formals_scope.has_duplicate()) formals.set_has_duplicate(); in PreParseFunction()
145 if (!formals.is_simple) { in PreParseFunction()
146 BuildParameterInitializationBlock(formals); in PreParseFunction()
152 CheckArityRestrictions(formals.arity, kind, formals.has_rest, in PreParseFunction()
160 if (!formals.is_simple) { in PreParseFunction()
167 ParseStatementListAndLogFunction(&formals); in PreParseFunction()
174 if (formals.is_simple) { in PreParseFunction()
[all …]
Dparser.cc938 ParserFormalParameters formals(scope); in DoParseFunction() local
947 ParseFormalParameterList(&formals); in DoParseFunction()
951 ParameterParsingScope scope(impl(), &formals); in DoParseFunction()
952 ParseFormalParameter(&formals); in DoParseFunction()
953 DeclareFormalParameters(&formals); in DoParseFunction()
955 formals.duplicate_loc = formals_scope.duplicate_location(); in DoParseFunction()
966 for (auto p : formals.params) { in DoParseFunction()
976 Expression* expression = ParseArrowFunctionLiteral(formals); in DoParseFunction()
2919 ParserFormalParameters formals(function_scope); in ParseFunction() local
2930 AddFormalParameter(&formals, argument, NullExpression(), in ParseFunction()
[all …]
Dpreparser.h1022 void ParseStatementListAndLogFunction(PreParserFormalParameters* formals);
/external/bcc/src/cc/frontends/b/
Dparser.cc148 StmtNode * Parser::struct_add(IdentExprNode *type, FormalList *formals) { in struct_add() argument
149 auto struct_decl = new StructDeclStmtNode(IdentExprNode::Ptr(type), move(*formals)); in struct_add()
174 StmtNode * Parser::result_add(int token, IdentExprNode *id, FormalList *formals, BlockStmtNode *bod… in result_add() argument
178 … stmt = new MatchDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in result_add()
181 stmt = new MissDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in result_add()
184 … stmt = new FailureDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in result_add()
193 IdentExprNode *id, FormalList *formals, BlockStmtNode *body) { in func_add() argument
194 …auto decl = new FuncDeclStmtNode(IdentExprNode::Ptr(id), move(*formals), BlockStmtNode::Ptr(body)); in func_add()
201 for (auto it = formals->begin(); it != formals->end(); ++it) in func_add()
Dparser.h48 IdentExprNode *id, FormalList *formals, BlockStmtNode *body);
50 StmtNode * struct_add(IdentExprNode *type, FormalList *formals);
51 StmtNode * result_add(int token, IdentExprNode *id, FormalList *formals, BlockStmtNode *body);
Dnode.h557 MatchDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in MatchDeclStmtNode() argument
558 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in MatchDeclStmtNode()
568 MissDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in MissDeclStmtNode() argument
569 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in MissDeclStmtNode()
579 FailureDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in FailureDeclStmtNode() argument
580 : id_(move(id)), formals_(move(formals)), block_(move(block)) {} in FailureDeclStmtNode()
613 FuncDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in FuncDeclStmtNode() argument
614 : id_(move(id)), formals_(move(formals)), block_(move(block)), scope_(NULL) {} in FuncDeclStmtNode()
Dparser.yy66 FormalList *formals;
93 %type <formals> struct_decl_stmts formals
262 …: type_specifiers ident enter_statescope enter_varscope TLPAREN formals TRPAREN block exit_varscop…
276 : TMATCH ident enter_varscope TLPAREN formals TRPAREN block exit_varscope TSEMI
284 | TFAILURE ident enter_varscope TLPAREN formals TRPAREN block exit_varscope TSEMI
290 formals
293 | formals TCOMMA TSTRUCT ptr_decl
Dcodegen_llvm.cc1157 vector<Type *> formals; in visit_func_decl_stmt_node() local
1166 formals.push_back(PointerType::getUnqual(stype)); in visit_func_decl_stmt_node()
1168 formals.push_back(B.getIntNTy(formal->bit_width_)); in visit_func_decl_stmt_node()
1171 FunctionType *fn_type = FunctionType::get(B.getInt32Ty(), formals, /*isVarArg=*/false); in visit_func_decl_stmt_node()
/external/turbine/java/com/google/turbine/binder/
DTypeBinder.java269 ImmutableList<ParamInfo> formals; in maybeDefaultConstructor() local
271 formals = ImmutableList.of(enclosingInstanceParameter()); in maybeDefaultConstructor()
273 formals = ImmutableList.of(); in maybeDefaultConstructor()
276 syntheticConstructor(formals, TurbineVisibility.fromAccess(base.access()))); in maybeDefaultConstructor()
280 ImmutableList<ParamInfo> formals, TurbineVisibility visibility) { in syntheticConstructor() argument
287 formals, in syntheticConstructor()
DConstBinder.java142 private ImmutableList<ParamInfo> bindParameters(ImmutableList<ParamInfo> formals) { in bindParameters() argument
144 for (ParamInfo base : formals) { in bindParameters()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java414 ImmutableList.Builder<ParamInfo> formals = ImmutableList.builder(); in bindMethod() local
428 formals.add(new ParamInfo(BytecodeBinder.bindTy(tySig, scope), name, annotations, access)); in bindMethod()
446 formals.build(), in bindMethod()
/external/turbine/java/com/google/turbine/parse/
DParser.java851 ImmutableList.Builder<VarDecl> formals = ImmutableList.builder(); in methodRest() local
852 formalParams(formals, access); in methodRest()
899 formals.build(), in methodRest()
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz