Home
last modified time | relevance | path

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

/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/auto/common/src/main/java/com/google/auto/common/
DOverrides.java263 List<? extends TypeParameterElement> formals = element.getTypeParameters(); in erasedParameterTypes() local
264 Verify.verify(actuals.size() == formals.size()); in erasedParameterTypes()
266 typeBindings.put(formals.get(i), actuals.get(i)); in erasedParameterTypes()
/external/turbine/java/com/google/turbine/binder/
DTypeBinder.java271 ImmutableList<ParamInfo> formals; in maybeDefaultConstructor() local
273 formals = ImmutableList.of(enclosingInstanceParameter(symbol)); in maybeDefaultConstructor()
275 formals = ImmutableList.of(); in maybeDefaultConstructor()
278 syntheticConstructor(symbol, formals, TurbineVisibility.fromAccess(base.access()))); in maybeDefaultConstructor()
282 MethodSymbol symbol, ImmutableList<ParamInfo> formals, TurbineVisibility visibility) { in syntheticConstructor() argument
289 formals, in syntheticConstructor()
DConstBinder.java154 private ImmutableList<ParamInfo> bindParameters(ImmutableList<ParamInfo> formals) { in bindParameters() argument
156 for (ParamInfo base : formals) { in bindParameters()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DLocalizationChecker.cpp849 auto formals = OMD->parameters(); in checkPreObjCMessage() local
850 for (unsigned i = 0, ei = formals.size(); i != ei; ++i) { in checkPreObjCMessage()
851 if (isAnnotatedAsTakingLocalized(formals[i])) { in checkPreObjCMessage()
889 auto formals = FD->parameters(); in checkPreCall() local
890 for (unsigned i = 0, ei = std::min(static_cast<unsigned>(formals.size()), in checkPreCall()
892 if (isAnnotatedAsTakingLocalized(formals[i])) { in checkPreCall()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java420 ImmutableList.Builder<ParamInfo> formals = ImmutableList.builder(); in bindMethod() local
438 formals.add( in bindMethod()
467 formals.build(), in bindMethod()
/external/turbine/java/com/google/turbine/parse/
DParser.java867 ImmutableList.Builder<VarDecl> formals = ImmutableList.builder(); in methodRest() local
868 formalParams(formals, access); in methodRest()
916 formals.build(), in methodRest()
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dospd.txt.gz