/external/protobuf/gtest/include/gtest/ |
gtest-spi.h | 117 // statement will cause exactly one fatal Google Test failure with 'substr' 124 // The verification of the assertion is done correctly even when the statement 128 // - 'statement' cannot reference local non-static variables or 130 // - 'statement' cannot return a value. 138 #define EXPECT_FATAL_FAILURE(statement, substr) \ 142 static void Execute() { statement; }\ 155 #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ 159 static void Execute() { statement; }\ 174 // statement will cause exactly one non-fatal Google Test failure with 'substr' 181 // 'statement' is allowed to reference local variables and members o [all...] |
/external/clang/test/Parser/ |
cxx11-stmt-attributes.cpp | 30 alignas(8) ; // expected-warning {{attribute aligned cannot be specified on a statement}} 31 [[noreturn]] { } // expected-warning {{attribute noreturn cannot be specified on a statement}} 32 [[noreturn]] if (0) { } // expected-warning {{attribute noreturn cannot be specified on a statement}} 33 [[noreturn]] for (;;); // expected-warning {{attribute noreturn cannot be specified on a statement}} 34 [[noreturn]] do { // expected-warning {{attribute noreturn cannot be specified on a statement}} 43 [[carries_dependency]] break; // expected-warning {{attribute carries_dependency cannot be specified on a statement}}
|
objc-try-catch-1.m | 42 @try { // expected-error {{@try statement without a @catch and @finally clause}} 50 @try {}// expected-error {{@try statement without a @catch and @finally clause}} 56 @try {}// expected-error {{@try statement without a @catch and @finally clause}}
|
/external/chromium/app/sql/ |
connection.cc | 9 #include "app/sql/statement.h" 128 // A statement must be open for the preload command to work. If the meta 133 Statement dummy(GetUniqueStatement("SELECT * FROM meta")); 157 Statement begin(GetCachedStatement(SQL_FROM_HERE, "BEGIN TRANSACTION")); 199 Statement commit(GetCachedStatement(SQL_FROM_HERE, "COMMIT")); 229 // Statement is in the cache. It should still be active (we're the only 238 scoped_refptr<StatementRef> statement = GetUniqueStatement(sql); local 239 if (statement->is_valid()) 240 statement_cache_[id] = statement; // Only cache valid statements. 241 return statement; [all...] |
statement_unittest.cc | 8 #include "app/sql/statement.h" 19 sql::Statement* stmt) { 22 sql_text_ = sql_txt ? sql_txt : "no statement available"; 48 // The |error_handler_| will be called if any sqlite statement operation 54 // If any error happened the original sql statement can be found in 72 sql::Statement s; 87 sql::Statement s(db().GetUniqueStatement("SELECT b FROM foo WHERE a=?")); 120 sql::Statement s(db().GetUniqueStatement("INSERT INTO foo (a) VALUES (?)"));
|
/tools/motodev/src/plugins/android.codeutils/src/com/motorola/studio/android/generatecode/ |
AbstractCodeGenerator.java | 42 import org.eclipse.jdt.core.dom.Statement;
287 * Adds a statement into methodDeclaration if the statement is not already declared.
288 * If the last statement is a {@link ReturnStatement}, it inserts before it, otherwise it inserts as the last statement in the block
291 * @param sameClass true, it will compare if there is the same statement class in the body of the methodDeclaration (but the content may be different), false it will ignore the class and it will compare if the content is the same (given by toString.equals())
294 Statement declarationStatement, boolean sameClass)
300 * Adds a statement into block if the statement is not already declared.
301 * If the last statement is a {@link ReturnStatement}, it inserts before it, otherwise it inserts as the last statement in (…) 315 Statement statement = local [all...] |
/external/webkit/Source/WebCore/loader/appcache/ |
ApplicationCacheStorage.cpp | 105 SQLiteStatement statement(m_database, "SELECT id, manifestURL, newestCache FROM CacheGroups WHERE newestCache IS NOT NULL AND manifestURL=?"); 106 if (statement.prepare() != SQLResultOk) 109 statement.bindText(1, manifestURL); 111 int result = statement.step(); 120 unsigned newestCacheStorageID = static_cast<unsigned>(statement.getColumnInt64(2)); 128 group->setStorageID(static_cast<unsigned>(statement.getColumnInt64(0))); 180 SQLiteStatement statement(m_database, "SELECT manifestHostHash FROM CacheGroups"); 181 if (statement.prepare() != SQLResultOk) 184 while (statement.step() == SQLResultRow) 185 m_cacheHostSet.add(static_cast<unsigned>(statement.getColumnInt64(0))) [all...] |
/external/webkit/LayoutTests/platform/android-v8/storage/ |
statement-error-callback-expected.txt | 1 CONSOLE MESSAGE: line 67: Uncaught Exception in statement error callback 2 This test confirms that a transaction is immediately rolled back if and only if a statement's error callback throws an exception, returns true, or doesn't return any value.
|
/external/webkit/LayoutTests/storage/ |
change-version-handle-reuse.js | 35 log("transaction: statement callback"); 38 log("transaction: statement error callback: " + error.message);
|
statement-error-callback-expected.txt | 1 CONSOLE MESSAGE: line 0: Exception in statement error callback 2 This test confirms that a transaction is immediately rolled back if and only if a statement's error callback throws an exception, returns true, or doesn't return any value.
|
success-callback.html | 41 database.transaction(function(tx) { tx.executeSql("CREATE TABLE IF NOT EXISTS SuccessCallbackTest (randomData)", []); }, errorFunction, function() { successFunction("Transaction with one statement"); }); 49 This test confirms that a successful transaction - both with and without a statement - receives its successCallback
|
multiple-transactions-on-different-handles.js | 21 log(dbName + " " + statementType + " statement succeeded"); 26 log(dbName + " " + statementType + " statement failed: " + error.message); 33 // Execute a read-only statement 38 // Execute a write statement to make sure SQLite tries to acquire an exclusive lock on the DB file
|
private-browsing-noread-nowrite.html | 29 writeMessageToLog("Setup statement " + completed + " completed successfully"); 36 writeMessageToLog("Setup statement " + completed + " completed with an error\n" + error.message); 43 writeMessageToLog("Private browsing statement " + completed + " completed successfully"); 49 writeMessageToLog("Private browsing statement " + completed + " completed with an error\n" + error.message);
|
statement-error-callback-isolated-world.html | 4 This test tests that the statement error callback is called in the right world. 42 " tx.executeSql('BAD STATEMENT', [], function(tx, data) {}, statementErrorCallback1);\n" + 47 tx.executeSql('BAD STATEMENT', [], function(tx, data) {}, statementErrorCallback2);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
if-001.js | 4 * Description: The if statement 14 var TITLE = "The if statement";
|
try-004.js | 4 * Description: The try statement 13 var TITLE = "The try statement";
|
dowhile-002.js | 8 * just the current iteration statement. 15 var TITLE = "do...while with a labeled continue statement"; 43 result1 = "fail: evaluated statement after a labeled break";
|
/dalvik/dx/tests/067-dex-switch-and-try/ |
info.txt | 2 embedding a switch statement in a try-catch and vice versa. This test
|
/external/chromium/chrome/browser/webdata/ |
logins_table.cc | 10 #include "app/sql/statement.h" 19 void InitPasswordFormFromStatement(PasswordForm* form, sql::Statement* s) { 109 sql::Statement s(db_->GetUniqueStatement( 118 NOTREACHED() << "Statement prepare failed"; 146 sql::Statement s(db_->GetUniqueStatement( 158 NOTREACHED() << "Statement prepare failed"; 184 sql::Statement s(db_->GetUniqueStatement( 193 NOTREACHED() << "Statement prepare failed"; 212 sql::Statement s1(db_->GetUniqueStatement( 216 NOTREACHED() << "Statement 1 prepare failed" [all...] |
logins_table_win.cc | 7 #include "app/sql/statement.h" 14 sql::Statement s(db_->GetUniqueStatement( 36 sql::Statement s(db_->GetUniqueStatement( 54 sql::Statement s(db_->GetUniqueStatement(
|
/external/clang/test/Frontend/ |
macros.c | 6 // PR13747 - Don't warn about unused results with statement exprs in macros.
|
/external/clang/test/Sema/ |
block-literal.c | 33 break; // expected-error {{'break' statement not in loop or switch statement}} 34 continue; // expected-error {{'continue' statement not in loop statement}}
|
/external/junit/src/org/junit/rules/ |
TestWatchman.java | 5 import org.junit.runners.model.Statement; 46 public Statement apply(final Statement base, final FrameworkMethod method, 48 return new Statement() {
|
/external/junit/src/org/junit/runners/model/ |
RunnerScheduler.java | 11 * Schedule a child statement to run
|
/external/javasqlite/src/main/java/SQLite/ |
Vm.java | 50 * Compile the next SQL statement for the SQLite VM instance. 51 * @return true when SQL statement has been compiled, false 52 * on end of statement sequence.
|