/external/llvm-project/clang/lib/AST/ |
D | StmtObjC.cpp | 36 Stmt **Stmts = getStmts(); in ObjCAtTryStmt() local 37 Stmts[0] = atTryStmt; in ObjCAtTryStmt() 39 Stmts[I + 1] = CatchStmts[I]; in ObjCAtTryStmt() 42 Stmts[NumCatchStmts + 1] = atFinallyStmt; in ObjCAtTryStmt()
|
D | StmtCXX.cpp | 42 Stmt **Stmts = getStmts(); in CXXTryStmt() local 43 Stmts[0] = tryBlock; in CXXTryStmt() 44 std::copy(handlers.begin(), handlers.end(), Stmts + 1); in CXXTryStmt()
|
D | Stmt.cpp | 364 CompoundStmt::CompoundStmt(ArrayRef<Stmt *> Stmts, SourceLocation LB, in CompoundStmt() argument 367 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt() 368 setStmts(Stmts); in CompoundStmt() 372 void CompoundStmt::setStmts(ArrayRef<Stmt *> Stmts) { in setStmts() argument 373 assert(CompoundStmtBits.NumStmts == Stmts.size() && in setStmts() 376 std::copy(Stmts.begin(), Stmts.end(), body_begin()); in setStmts() 379 CompoundStmt *CompoundStmt::Create(const ASTContext &C, ArrayRef<Stmt *> Stmts, in Create() argument 382 C.Allocate(totalSizeToAlloc<Stmt *>(Stmts.size()), alignof(CompoundStmt)); in Create() 383 return new (Mem) CompoundStmt(Stmts, LB, RB); in Create()
|
/external/clang/lib/AST/ |
D | StmtObjC.cpp | 37 Stmt **Stmts = getStmts(); in ObjCAtTryStmt() local 38 Stmts[0] = atTryStmt; in ObjCAtTryStmt() 40 Stmts[I + 1] = CatchStmts[I]; in ObjCAtTryStmt() 43 Stmts[NumCatchStmts + 1] = atFinallyStmt; in ObjCAtTryStmt()
|
D | StmtCXX.cpp | 47 Stmt **Stmts = reinterpret_cast<Stmt **>(this + 1); in CXXTryStmt() local 48 Stmts[0] = tryBlock; in CXXTryStmt() 49 std::copy(handlers.begin(), handlers.end(), Stmts + 1); in CXXTryStmt()
|
D | Stmt.cpp | 282 CompoundStmt::CompoundStmt(const ASTContext &C, ArrayRef<Stmt*> Stmts, in CompoundStmt() argument 285 CompoundStmtBits.NumStmts = Stmts.size(); in CompoundStmt() 286 assert(CompoundStmtBits.NumStmts == Stmts.size() && in CompoundStmt() 289 if (Stmts.size() == 0) { in CompoundStmt() 294 Body = new (C) Stmt*[Stmts.size()]; in CompoundStmt() 295 std::copy(Stmts.begin(), Stmts.end(), Body); in CompoundStmt() 298 void CompoundStmt::setStmts(const ASTContext &C, ArrayRef<Stmt *> Stmts) { in setStmts() argument 301 CompoundStmtBits.NumStmts = Stmts.size(); in setStmts() 302 assert(CompoundStmtBits.NumStmts == Stmts.size() && in setStmts() 305 Body = new (C) Stmt*[Stmts.size()]; in setStmts() [all …]
|
/external/clang/lib/Analysis/ |
D | BodyFarm.cpp | 105 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() argument 106 return new (C) CompoundStmt(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound() 224 Stmt *Stmts[] = { B, CE }; in create_dispatch_once() local 225 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once() 324 Stmt *Stmts[2]; in create_OSAtomicCompareAndSwap() local 325 Stmts[0] = in create_OSAtomicCompareAndSwap() 336 Stmts[1] = M.makeReturn(RetVal); in create_OSAtomicCompareAndSwap() 337 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
|
/external/clang/lib/Parse/ |
D | ParseStmt.cpp | 42 StmtVector Stmts; in ParseStatement() local 44 Stmts, AllowOpenMPStandalone ? ACK_StatementsOpenMPAnyExecutable in ParseStatement() 102 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, in ParseStatementOrDeclaration() argument 114 Stmts, Allowed, TrailingElseLoc, Attrs); in ParseStatementOrDeclaration() 155 Parser::ParseStatementOrDeclarationAfterAttributes(StmtVector &Stmts, in ParseStatementOrDeclarationAfterAttributes() argument 288 ParseMicrosoftIfExistsStatement(Stmts); in ParseStatementOrDeclarationAfterAttributes() 376 return ParsePragmaLoopHint(Stmts, Allowed, TrailingElseLoc, Attrs); in ParseStatementOrDeclarationAfterAttributes() 592 StmtVector Stmts; in ParseLabeledStatement() local 598 Stmts, /*Allowed=*/ACK_StatementsOpenMPNonStandalone, nullptr, in ParseLabeledStatement() 946 StmtVector Stmts; in ParseCompoundStatementBody() local [all …]
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseStmt.cpp | 38 StmtVector Stmts; in ParseStatement() local 39 Res = ParseStatementOrDeclaration(Stmts, StmtCtx, TrailingElseLoc); in ParseStatement() 95 Parser::ParseStatementOrDeclaration(StmtVector &Stmts, in ParseStatementOrDeclaration() argument 107 Stmts, StmtCtx, TrailingElseLoc, Attrs); in ParseStatementOrDeclaration() 153 StmtVector &Stmts, ParsedStmtContext StmtCtx, in ParseStatementOrDeclarationAfterAttributes() argument 302 ParseMicrosoftIfExistsStatement(Stmts); in ParseStatementOrDeclarationAfterAttributes() 414 return ParsePragmaLoopHint(Stmts, StmtCtx, TrailingElseLoc, Attrs); in ParseStatementOrDeclarationAfterAttributes() 642 StmtVector Stmts; in ParseLabeledStatement() local 647 SubStmt = ParseStatementOrDeclarationAfterAttributes(Stmts, StmtCtx, in ParseLabeledStatement() 980 bool Parser::ConsumeNullStmt(StmtVector &Stmts) { in ConsumeNullStmt() argument [all …]
|
/external/rust/crates/serde_derive/src/ |
D | fragment.rs | 40 pub struct Stmts(pub Fragment); struct 41 impl ToTokens for Stmts { implementation
|
D | de.rs | 9 use fragment::{Expr, Fragment, Match, Stmts}; 33 let body = Stmts(deserialize_body(&cont, ¶ms)); in expand_derive_deserialize() 301 fn deserialize_in_place_body(cont: &Container, params: &Parameters) -> Option<Stmts> { in deserialize_in_place_body() argument 331 let stmts = Stmts(code); in deserialize_in_place_body() 342 Some(Stmts(fn_deserialize_in_place)) in deserialize_in_place_body() 346 fn deserialize_in_place_body(_cont: &Container, _params: &Parameters) -> Option<Stmts> { in deserialize_in_place_body() argument 477 let visit_seq = Stmts(deserialize_seq( in deserialize_tuple() 564 let visit_seq = Stmts(deserialize_seq_in_place(params, fields, cattrs, &expecting)); in deserialize_tuple_in_place() 924 let visit_seq = Stmts(deserialize_seq( in deserialize_struct() 933 let field_visitor = Stmts(field_visitor); in deserialize_struct() [all …]
|
/external/starlark-go/resolve/ |
D | resolve_test.go | 59 fn := file.Stmts[0].(*syntax.DefStmt).Function.(*resolve.Function) 78 lam := file.Stmts[0].(*syntax.AssignStmt).RHS.(*syntax.LambdaExpr).Function.(*resolve.Function)
|
/external/starlark-go/syntax/ |
D | syntax.go | 71 Stmts []Stmt member 77 if len(x.Stmts) == 0 { 80 start, _ = x.Stmts[0].Span() 81 _, end = x.Stmts[len(x.Stmts)-1].Span()
|
D | parse_test.go | 205 if got := treeString(f.Stmts[0]); test.want != got { 255 for i, stmt := range f.Stmts { 323 for _, stmt := range f.Stmts { 459 span := fmt.Sprint(file.Stmts[0].Span())
|
/external/llvm-project/clang/utils/TableGen/ |
D | ClangASTNodesEmitter.cpp | 148 const std::vector<Record*> Stmts in deriveChildTree() local 151 for (unsigned i = 0, e = Stmts.size(); i != e; ++i) { in deriveChildTree() 152 Record *R = Stmts[i]; in deriveChildTree()
|
/external/llvm-project/clang/lib/Analysis/ |
D | BodyFarm.cpp | 132 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) { in makeCompound() argument 133 return CompoundStmt::Create(C, Stmts, SourceLocation(), SourceLocation()); in makeCompound() 535 Stmt *Stmts[] = { B, CE }; in create_dispatch_once() local 536 CompoundStmt *CS = M.makeCompound(Stmts); in create_dispatch_once() 638 Stmt *Stmts[2]; in create_OSAtomicCompareAndSwap() local 639 Stmts[0] = in create_OSAtomicCompareAndSwap() 650 Stmts[1] = M.makeReturn(RetVal); in create_OSAtomicCompareAndSwap() 651 CompoundStmt *Body = M.makeCompound(Stmts); in create_OSAtomicCompareAndSwap()
|
/external/clang/utils/TableGen/ |
D | ClangASTNodesEmitter.cpp | 155 const std::vector<Record*> Stmts in run() local 160 for (unsigned i = 0, e = Stmts.size(); i != e; ++i) { in run() 161 Record *R = Stmts[i]; in run()
|
/external/starlark-go/repl/ |
D | repl.go | 135 if len(f.Stmts) == 1 { 136 if stmt, ok := f.Stmts[0].(*syntax.ExprStmt); ok {
|
/external/llvm-project/polly/include/polly/ |
D | ScopInfo.h | 1738 StmtSet Stmts; variable 2080 bool isEmpty() const { return Stmts.empty(); } in isEmpty() 2366 size_t getSize() const { return Stmts.size(); } in getSize() 2375 iterator begin() { return Stmts.begin(); } in begin() 2376 iterator end() { return Stmts.end(); } in end() 2377 const_iterator begin() const { return Stmts.begin(); } in begin() 2378 const_iterator end() const { return Stmts.end(); } in end() 2383 reverse_iterator rbegin() { return Stmts.rbegin(); } in rbegin() 2384 reverse_iterator rend() { return Stmts.rend(); } in rend() 2385 const_reverse_iterator rbegin() const { return Stmts.rbegin(); } in rbegin() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | UseAfterMoveCheck.cpp | 79 llvm::SmallPtrSetImpl<const Stmt *> *Stmts, 291 llvm::SmallPtrSetImpl<const Stmt *> *Stmts, in getReinits() argument 351 Stmts->clear(); in getReinits() 365 Stmts->insert(TheStmt); in getReinits()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ScopeInfo.h | 89 llvm::TinyPtrVector<const Stmt*> Stmts; variable 92 ArrayRef<const Stmt *> Stmts) in PossiblyUnreachableDiag() argument 93 : PD(PD), Loc(Loc), Stmts(Stmts) {} in PossiblyUnreachableDiag()
|
/external/llvm-project/polly/test/Simplify/ |
D | emptyaccessdomain.ll | 34 ; CHECK: Stmts removed: 1
|
D | redundant.ll | 38 ; CHECK: Stmts removed: 1
|
D | dead_access_phi.ll | 47 ; CHECK: Stmts removed: 1
|
/external/llvm-project/clang/include/clang/AST/ |
D | StmtDataCollectors.td | 113 //--- C++ OOP Stmts ------------------------------------------------------// 184 //--- Miscellaneous Stmts ------------------------------------------------//
|