HomeSort by relevance Sort by last modified time
    Searched full:stmt (Results 76 - 100 of 597) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/clang/unittests/ASTMatchers/Dynamic/
RegistryTest.cpp 129 Matcher<Stmt> IsArrowValue = constructMatcher(
130 "memberExpr", constructMatcher("isArrow")).getTypedMatcher<Stmt>();
131 Matcher<Stmt> BoolValue =
132 constructMatcher("boolLiteral").getTypedMatcher<Stmt>();
160 "varDecl", constructMatcher("hasInitializer", constructMatcher("stmt")))
188 Matcher<Stmt> CallExpr0 = constructMatcher(
192 .getTypedMatcher<Stmt>();
194 Matcher<Stmt> CallExpr1 = constructMatcher(
200 .getTypedMatcher<Stmt>();
257 Matcher<Stmt> ConstructExpr = constructMatcher
    [all...]
  /external/clang/lib/Analysis/
ReachableCode.cpp 49 static bool isTrivialDoWhile(const CFGBlock *B, const Stmt *S) {
52 if (const Stmt *Term = B->getTerminator()) {
61 static bool isDeadReturn(const CFGBlock *B, const Stmt *S) {
126 static bool isExpandedFromConfigurationMacro(const Stmt *S,
159 static bool isConfigurationValue(const Stmt *S,
182 case Stmt::CallExprClass: {
187 case Stmt::DeclRefExprClass:
189 case Stmt::ObjCBoolLiteralExprClass:
192 case Stmt::CXXBoolLiteralExprClass:
193 case Stmt::IntegerLiteralClass:
    [all...]
PseudoConstantAnalysis.cpp 19 #include "clang/AST/Stmt.h"
29 PseudoConstantAnalysis::PseudoConstantAnalysis(const Stmt *DeclBody) :
77 std::deque<const Stmt *> WorkList;
85 const Stmt *Head = WorkList.front();
93 case Stmt::BinaryOperatorClass: {
138 case Stmt::UnaryOperatorClass: {
171 case Stmt::DeclStmtClass: {
200 case Stmt::DeclRefExprClass: {
211 case Stmt::BlockExprClass: {
223 for (Stmt::const_child_range I = Head->children(); I; ++I
    [all...]
LiveVariables.cpp 15 #include "clang/AST/Stmt.h"
86 llvm::ImmutableSet<const Stmt *>::Factory SSetFact;
90 llvm::DenseMap<const Stmt *, LiveVariables::LivenessValues> stmtsToLiveness;
120 bool LiveVariables::LivenessValues::isLive(const Stmt *S) const {
147 llvm::ImmutableSetRef<const Stmt *>
182 bool LiveVariables::isLive(const Stmt *S, const VarDecl *D) {
186 bool LiveVariables::isLive(const Stmt *Loc, const Stmt *S) {
214 void Visit(Stmt *S);
231 static const Stmt *LookThroughStmt(const Stmt *S)
    [all...]
ThreadSafetyCommon.cpp 43 case Stmt::IntegerLiteralClass:
45 case Stmt::StringLiteralClass: {
51 case Stmt::CharacterLiteralClass:
52 case Stmt::CXXNullPtrLiteralExprClass:
53 case Stmt::GNUNullExprClass:
54 case Stmt::CXXBoolLiteralExprClass:
55 case Stmt::FloatingLiteralClass:
56 case Stmt::ImaginaryLiteralClass:
57 case Stmt::ObjCStringLiteralClass:
80 til::SExpr *SExprBuilder::lookupStmt(const Stmt *S)
    [all...]
BodyFarm.cpp 56 /// Create a new compound stmt using the provided statements.
57 CompoundStmt *makeCompound(ArrayRef<Stmt*>);
107 CompoundStmt *ASTMaker::makeCompound(ArrayRef<Stmt *> Stmts) {
170 typedef Stmt *(*FunctionFarmer)(ASTContext &C, const FunctionDecl *D);
173 static Stmt *create_dispatch_once(ASTContext &C, const FunctionDecl *D) {
226 Stmt *Stmts[2];
229 CompoundStmt *CS = M.makeCompound(ArrayRef<Stmt*>(Stmts, 2));
251 static Stmt *create_dispatch_sync(ASTContext &C, const FunctionDecl *D) {
277 static Stmt *create_OSAtomicCompareAndSwap(ASTContext &C, const FunctionDecl *D)
327 Stmt *Stmts[2]
    [all...]
  /external/chromium_org/third_party/sqlite/src/test/
trace.test 58 set STMT [sqlite3_prepare $DB {INSERT INTO t1 VALUES(2,3)} -1 TAIL]
65 sqlite3_step $STMT
70 sqlite3_reset $STMT
74 sqlite3_step $STMT
84 catch {sqlite3_finalize $STMT}
128 set STMT [sqlite3_prepare $DB {INSERT INTO t2 VALUES(2,3)} -1 TAIL]
135 sqlite3_step $STMT
140 sqlite3_reset $STMT
144 sqlite3_step $STMT
154 catch {sqlite3_finalize $STMT}
    [all...]
speed4p.test 106 set stmt [string map "%T% t$jj" {INSERT INTO %T% VALUES(NULL, $i, $t)}]
110 execsql $stmt
136 speed_trial_tcl speed4p-view1 10000 stmt $script
150 speed_trial_tcl speed4p-table1 10000 stmt $script
164 speed_trial_tcl speed4p-subselect1 10000 stmt $script
176 speed_trial_tcl speed4p-rowid-update 10000 stmt $script
194 speed_trial_tcl speed4p-unique-update [llength $list] stmt $script
222 speed_trial_tcl speed4p-trigger1 10000 stmt $script
236 speed_trial_tcl speed4p-trigger2 10000 stmt $script
243 speed_trial_tcl speed4p-trigger3 10000 stmt $scrip
    [all...]
tkt2409.test 63 if {$::STMT eq ""} {
64 set ::STMT [sqlite3_prepare db2 {SELECT rowid FROM sqlite_master} -1 TAIL]
65 set rc [sqlite3_step $::STMT]
76 if {$::STMT ne ""} {
77 sqlite3_finalize $::STMT
78 set ::STMT ""
85 set ::STMT ""
malloc.test 223 set ::STMT {}
226 set ::STMT [sqlite3_prepare db $sql -1 X]
227 sqlite3_step $::STMT
235 sqlite3_column_text16 $::STMT 0
236 sqlite3_column_int $::STMT 0
237 sqlite3_column_text16 $::STMT 1
238 sqlite3_column_double $::STMT 1
239 set rc [sqlite3_reset $::STMT]
241 sqlite3_bind_text16 $::STMT 1 $::bomstr 60
242 #catch {sqlite3_finalize $::STMT}
    [all...]
shared_err.test 164 set ::STMT [sqlite3_prepare $::DB2 "SELECT a FROM t1 ORDER BY a" -1 DUMMY]
165 sqlite3_step $::STMT ;# Cursor points at 000.000.000.000
166 sqlite3_step $::STMT ;# Cursor points at 001.001.001.001
176 set ::steprc [sqlite3_step $::STMT]
177 set ::column [sqlite3_column_text $::STMT 0]
178 set ::finalrc [sqlite3_finalize $::STMT]
191 # statement $::STMT will have been aborted. This means [sqlite3_stmt]
243 set ::STMT [sqlite3_prepare $::DB2 \
245 sqlite3_step $::STMT ;# Cursor points at 199.199.199.199.199
246 sqlite3_step $::STMT ;# Cursor points at 198.198.198.198.19
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
IdenticalExprChecker.cpp 29 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1,
30 const Stmt *Stmt2, bool IgnoreSideEffects = false);
108 const Stmt *Stmt1 = I->getThen();
109 const Stmt *Stmt2 = I->getElse();
120 const Stmt *Else = Stmt2;
286 static bool isIdenticalStmt(const ASTContext &Ctx, const Stmt *Stmt1,
287 const Stmt *Stmt2, bool IgnoreSideEffects) {
333 case Stmt::CallExprClass:
334 case Stmt::ArraySubscriptExprClass:
335 case Stmt::ImplicitCastExprClass
    [all...]
DereferenceChecker.cpp 35 void reportBug(ProgramStateRef State, const Stmt *S, CheckerContext &C,
39 void checkLocation(SVal location, bool isLoad, const Stmt* S,
41 void checkBind(SVal L, SVal V, const Stmt *S, CheckerContext &C) const;
62 case Stmt::DeclRefExprClass: {
71 case Stmt::MemberExprClass: {
79 case Stmt::ObjCIvarRefExprClass: {
90 void DereferenceChecker::reportBug(ProgramStateRef State, const Stmt *S,
125 case Stmt::ArraySubscriptExprClass: {
133 case Stmt::UnaryOperatorClass: {
140 case Stmt::MemberExprClass:
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
timeit.py 78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
85 %(stmt)s
121 def __init__(self, stmt="pass", setup="pass", timer=default_timer):
125 if isinstance(stmt, basestring):
126 stmt = reindent(stmt, 8)
129 src = template % {'stmt': stmt, 'setup': setup}
131 src = template % {'stmt': stmt, 'setup': '_setup()'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
timeit.py 78 # in Timer.__init__() depend on setup being indented 4 spaces and stmt
85 %(stmt)s
121 def __init__(self, stmt="pass", setup="pass", timer=default_timer):
125 if isinstance(stmt, basestring):
126 stmt = reindent(stmt, 8)
129 src = template % {'stmt': stmt, 'setup': setup}
131 src = template % {'stmt': stmt, 'setup': '_setup()'
    [all...]
  /external/chromium_org/v8/tools/gcmole/
gcmole.cc 770 ExprEffect Seq(clang::Stmt* parent,
854 Environment VisitStmt(clang::Stmt* stmt, const Environment& env) {
857 clang::type* concrete_stmt = llvm::dyn_cast_or_null<clang::type>(stmt); \
863 if (clang::Expr* expr = llvm::dyn_cast_or_null<clang::Expr>(stmt)) {
892 Environment Visit##type (clang::type* stmt, const Environment& env)
895 Environment Visit##type (clang::type* stmt, const Environment& env) { \
952 void Seq(clang::Stmt* a, clang::Stmt* b, clang::Stmt* c)
    [all...]
  /external/clang/lib/ARCMigrate/
TransRetainReleaseDealloc.cpp 37 Stmt *Body;
54 void transformBody(Stmt *body, Decl *ParentD) {
193 Stmt *nextStmt = getNextStmt(E);
214 Stmt *prevStmt, *nextStmt;
221 bool isPlusOneAssignToVar(Stmt *S, Decl *RefD) {
246 Stmt *getNextStmt(Expr *E) {
250 std::pair<Stmt *, Stmt *> getPreviousAndNextStmt(Expr *E) {
251 Stmt *prevStmt = nullptr, *nextStmt = nullptr;
255 Stmt *OuterS = E, *InnerS
    [all...]
TransAutoreleasePool.cpp 79 void transformBody(Stmt *body, Decl *ParentD) {
129 Stmt::child_iterator retI = scope.End;
167 for (Stmt::child_iterator
169 Stmt *child = getEssential(*I);
218 void clearUnavailableDiags(Stmt *S) {
228 Stmt::child_iterator Begin;
229 Stmt::child_iterator End;
237 Stmt::child_iterator rangeS = Begin;
241 Stmt::child_iterator rangeE = Begin;
242 for (Stmt::child_iterator I = rangeS; I != End; ++I
    [all...]
  /external/clang/include/clang/Analysis/
CFG.h 18 #include "clang/AST/Stmt.h"
36 class Stmt;
117 CFGStmt(Stmt *S) : CFGElement(Statement, S) {}
119 const Stmt *getStmt() const {
120 return static_cast<const Stmt *>(Data1.getPointer());
196 CFGAutomaticObjDtor(const VarDecl *var, const Stmt *stmt)
197 : CFGImplicitDtor(AutomaticObjectDtor, var, stmt) {}
204 const Stmt *getTriggerStmt() const {
205 return static_cast<Stmt*>(Data2.getPointer())
    [all...]
ProgramPoint.h 188 static ProgramPoint getProgramPoint(const Stmt *S, ProgramPoint::Kind K,
227 const Stmt *getTerminator() const {
241 StmtPoint(const Stmt *S, const void *p2, Kind k, const LocationContext *L,
247 const Stmt *getStmt() const { return (const Stmt*) getData1(); }
265 PreStmt(const Stmt *S, const LocationContext *L, const ProgramPointTag *tag,
266 const Stmt *SubStmt = nullptr)
269 const Stmt *getSubStmt() const { return (const Stmt*) getData2(); }
282 PostStmt(const Stmt *S, const void *data, Kind k, const LocationContext *L
    [all...]
  /external/clang/lib/Sema/
SemaStmtAttr.cpp 10 // This file implements stmt-related attribute processing.
26 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
46 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const AttributeList &A,
48 if (St->getStmtClass() != Stmt::DoStmtClass &&
49 St->getStmtClass() != Stmt::ForStmtClass &&
50 St->getStmtClass() != Stmt::CXXForRangeStmtClass &&
51 St->getStmtClass() != Stmt::WhileStmtClass) {
197 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
218 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
  /external/chromium_org/sql/
sqlite_features_unittest.cc 20 int error, sql::Statement* stmt) {
22 const char* text = stmt ? stmt->GetSQLStatement() : NULL;
  /external/chromium_org/v8/src/compiler/
ast-graph-builder.cc 305 void AstGraphBuilder::BreakableScope::BreakTarget(BreakableStatement* stmt) {
306 FindBreakable(stmt)->control_->Break();
310 void AstGraphBuilder::BreakableScope::ContinueTarget(BreakableStatement* stmt) {
311 FindBreakable(stmt)->control_->Continue();
448 void AstGraphBuilder::VisitBlock(Block* stmt) {
450 BreakableScope scope(this, stmt, &block, 0);
451 if (stmt->labels() != NULL) block.BeginBlock();
452 if (stmt->scope() == NULL) {
454 VisitStatements(stmt->statements());
457 Node* scope_info = jsgraph()->Constant(stmt->scope()->GetScopeInfo())
    [all...]
  /external/clang/include/clang/AST/
StmtOpenMP.h 20 #include "clang/AST/Stmt.h"
33 class OMPExecutableDirective : public Stmt {
48 /// requires an associated stmt, then it has to be the first of them).
70 : Stmt(SC), Kind(K), StartLoc(std::move(StartLoc)),
86 void setAssociatedStmt(Stmt *S) { *child_begin() = S; }
154 Stmt *getAssociatedStmt() const { return const_cast<Stmt *>(*child_begin()); }
158 static bool classof(const Stmt *S) {
164 Stmt **ChildStorage = reinterpret_cast<Stmt **>(getClauses().end())
    [all...]
  /external/chromium_org/sql/test/
error_callback_support.h 18 void CaptureErrorCallback(int* error_pointer, int error, sql::Statement* stmt);

Completed in 1345 milliseconds

1 2 34 5 6 7 8 91011>>