/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/junit/src/org/junit/runners/ |
BlockJUnit4ClassRunner.java | 27 import org.junit.runners.model.Statement; 39 * <li>It has a much simpler implementation based on {@link Statement}s, 199 * Returns a Statement that, when executed, either returns normally if 228 * or the implementations creating each sub-statement. 230 protected Statement methodBlock(FrameworkMethod method) { 243 Statement statement= methodInvoker(method, test); local 244 statement= possiblyExpectingExceptions(method, test, statement); 245 statement= withPotentialTimeout(method, test, statement) [all...] |
ParentRunner.java | 36 import org.junit.runners.model.Statement; 139 * Constructs a {@code Statement} to run all of the tests in the test class. Override to add pre-/post-processing. 153 * @return {@code Statement} 155 protected Statement classBlock(final RunNotifier notifier) { 156 Statement statement= childrenInvoker(notifier); local 157 statement= withBeforeClasses(statement); 158 statement= withAfterClasses(statement); [all...] |
/external/chromium/chrome/browser/history/ |
text_database.cc | 11 #include "app/sql/statement.h" 51 // create statement. These are the 0-based indices (as strings) of the 214 sql::Statement add_to_pages(db_.GetCachedStatement(SQL_FROM_HERE, 231 sql::Statement add_to_info(db_.GetCachedStatement(SQL_FROM_HERE, 251 sql::Statement select_ids(db_.GetCachedStatement(SQL_FROM_HERE, 264 sql::Statement delete_page(db_.GetCachedStatement(SQL_FROM_HERE, 279 sql::Statement delete_info(db_.GetCachedStatement(SQL_FROM_HERE, 295 sql::Statement statement(db_.GetCachedStatement(SQL_FROM_HERE, 297 if (!statement) [all...] |
multipart_uitest.cc | 8 #include "app/sql/statement.h" 53 sql::Statement statement(db.GetUniqueStatement(query.c_str())); 54 EXPECT_TRUE(statement); 55 EXPECT_TRUE(statement.Step()); 56 EXPECT_EQ(1, statement.ColumnInt(0));
|
starred_url_database.cc | 7 #include "app/sql/statement.h" 53 void FillInStarredEntry(const sql::Statement& s, StarredEntry* entry) { 115 sql::Statement s(GetDB().GetUniqueStatement(sql.c_str())); 117 NOTREACHED() << "Statement prepare failed"; 158 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 161 if (!statement) 164 statement.BindString16(0, title); 165 statement.BindInt64(1, parent_folder_id); 166 statement.BindInt(2, visual_order) [all...] |
/frameworks/base/core/jni/ |
android_database_SQLiteConnection.cpp | 90 // Called each time a statement begins execution, when tracing is enabled. 97 // Called each time a statement finishes execution, when profiling is enabled. 288 sqlite3_stmt* statement; local 290 sql, sqlLength * sizeof(jchar), &statement, NULL); 309 ALOGV("Prepared statement %p on connection %p", statement, connection->db); 310 return reinterpret_cast<jint>(statement); 316 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 319 // whether any errors occurred while executing the statement. The statement itsel 328 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 336 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 344 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 352 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 368 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 379 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 390 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 401 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 416 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 430 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 455 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 463 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 472 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 490 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 502 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 552 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); local 670 sqlite3_stmt* statement = reinterpret_cast<sqlite3_stmt*>(statementPtr); 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/jmonkeyengine/engine/src/core/com/jme3/util/blockparser/ |
Statement.java | 6 public class Statement { 10 private List<Statement> contents = new ArrayList<Statement>(); 12 Statement(int lineNumber, String line) { 17 void addStatement(Statement statement){ 19 // contents = new ArrayList<Statement>(); 21 contents.add(statement); 32 public List<Statement> getContents() { 46 for (Statement statement : contents) [all...] |
/external/webkit/Source/WebCore/storage/ |
SQLStatementSync.h | 49 SQLStatementSync(const String& statement, const Vector<SQLValue>& arguments, int permissions);
|
DatabaseTracker.cpp | 212 SQLiteStatement statement(m_database, "SELECT guid FROM Databases WHERE origin=? AND name=?;"); 214 if (statement.prepare() != SQLResultOk) 217 statement.bindText(1, origin->databaseIdentifier()); 218 statement.bindText(2, databaseIdentifier); 220 return statement.step() == SQLResultRow; 292 SQLiteStatement statement(m_database, "SELECT path FROM Databases WHERE origin=? AND name=?;"); 294 if (statement.prepare() != SQLResultOk) 297 statement.bindText(1, originIdentifier); 298 statement.bindText(2, name); 300 int result = statement.step() [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/matext/ |
MaterialExtensionLoader.java | 46 import com.jme3.util.blockparser.Statement; 68 private void readExtendingMaterialStatement(Statement statement) throws IOException { 69 if (statement.getLine().startsWith("set_texture_alias")){ 70 String[] split = statement.getLine().split(" ", 3); 93 private Material readExtendingMaterial(Statement statement) throws IOException{ 94 String[] split = statement.getLine().split(" ", 2); 107 for (Statement extMatStat : statement.getContents()) [all...] |
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/ |
MaterialLoader.java | 48 import com.jme3.util.blockparser.Statement; 157 private void readTextureUnitStatement(Statement statement){ 158 String[] split = statement.getLine().split(" ", 2); 188 private void readTextureUnit(Statement statement){ 189 String[] split = statement.getLine().split(" ", 2); 198 for (Statement texUnitStat : statement.getContents()){ 209 private void readPassStatement(Statement statement) [all...] |
/external/open-vcdiff/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 77 static bool Create(const char* statement, const RE* regex, 137 virtual bool Create(const char* statement, const RE* regex, 144 virtual bool Create(const char* statement, const RE* regex, 154 #define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 159 if (!::testing::internal::DeathTest::Create(#statement, >est_regex, \ 175 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 233 // statement - A statement that a macro such as EXPECT_DEATH would test 235 // statement is compiled but not executed, to ensure that 239 // the output of statement. This parameter has to b [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-death-test-internal.h | 77 static bool Create(const char* statement, const RE* regex, 137 virtual bool Create(const char* statement, const RE* regex, 144 virtual bool Create(const char* statement, const RE* regex, 154 #define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ 159 if (!::testing::internal::DeathTest::Create(#statement, >est_regex, \ 175 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 233 // statement - A statement that a macro such as EXPECT_DEATH would test 235 // statement is compiled but not executed, to ensure that 239 // the output of statement. This parameter has to b [all...] |
/external/chromium/app/sql/ |
meta_table.h | 16 class Statement; 73 bool PrepareSetStatement(Statement* statement, const char* key); 74 bool PrepareGetStatement(Statement* statement, const char* key);
|
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...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-spi.h | 195 // statement will cause exactly one fatal Google Test failure with 'substr' 200 // 'statement' throws an exception. 203 // - 'statement' cannot reference local non-static variables or 205 // - 'statement' cannot return a value. 207 #define EXPECT_FATAL_FAILURE(statement, substr) do {\ 210 static void Execute() { statement; }\ 224 // statement will cause exactly one non-fatal Google Test failure with 227 // 'statement' is allowed to reference local variables and members of 232 // 'statement' throws an exception or aborts the function. 236 #define EXPECT_NONFATAL_FAILURE(statement, substr) do { [all...] |
/external/webkit/Source/WebCore/platform/sql/ |
SQLiteDatabase.cpp | 145 SQLiteStatement statement(*this, "PRAGMA max_page_count"); 146 maxPageCount = statement.getColumnInt64(0); 166 SQLiteStatement statement(*this, "PRAGMA max_page_count = " + String::number(newMaxPageCount)); 167 statement.prepare(); 168 if (statement.step() != SQLResultRow) 187 SQLiteStatement statement(*this, "PRAGMA page_size"); 188 m_pageSize = statement.getColumnInt(0); 204 SQLiteStatement statement(*this, "PRAGMA freelist_count"); 205 freelistCount = statement.getColumnInt64(0); 219 SQLiteStatement statement(*this, "PRAGMA page_count") [all...] |
/development/scripts/app_engine_server/gae_shell/static/ |
shell.js | 22 * statement in the shell prompt text box to the server, and a callback 39 * The last history element is the statement that the user is currently 40 * typing. When a statement is run, it's frozen in the history, a new history 41 * element is added to the end of the array for the new statement, and 81 * was pressed, it will run the statement, navigate the history, or update the 82 * current statement in the history. 88 var statement = document.getElementById('statement'); 91 // we're on the current statement. update it in the history before doing 93 this.history[this.historyCursor] = statement.value [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
construction.rb | 50 : 'if'^ expression s1=statement ('else'! s2=statement)? 54 : 'while'^ expression statement 95 : expression? statement* type+ 96 -> ^(EXPR expression? statement* type+) 108 : 'for' '(' start=statement ';' expression ';' next=statement ')' statement 109 -> ^('for' $start expression $next statement) 137 : r=statement expression -> ^($r expression [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
SelectFunctionalityTest.java | 28 import java.sql.Statement; 46 private static Statement statement; field in class:SelectFunctionalityTest 57 statement = conn.createStatement(); 67 statement.close(); 79 statement.execute(DatabaseCreator.DROP_TABLE2); 82 statement 86 statement 90 statement 96 statement.execute(DatabaseCreator.CREATE_TABLE2) [all...] |
/development/scripts/app_engine_server/gae_shell/ |
shell.py | 88 it was created by the same statement that created an unpicklable global, 89 it's not stored directly. Instead, the statement is stored in the 91 statement, the unpicklable statements are evaluated to recreate the 96 executing a statement, we skip the ones in unpicklable_names. 143 def add_unpicklable(self, statement, names): 144 """Adds a statement and list of names to the unpicklables. 149 statement: string, the statement that created new unpicklable global(s). 150 names: list of strings; the names of the globals created by the statement. 152 self.unpicklables.append(db.Text(statement)) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
SQL_Results.java | 104 String statement = "select distinct SCENARIO.ID, SCENARIO.NAME , SCENARIO.SHORT_NAME from SCENARIO where " + //$NON-NLS-1$ local 107 this.queryBuildAllScenarios = this.fConnection.prepareStatement(statement); 124 String statement = "select distinct SCENARIO.ID, SCENARIO.NAME , SCENARIO.SHORT_NAME from SCENARIO, SAMPLE, VARIATION where " + //$NON-NLS-1$ local 128 this.queryBuildScenarios = this.fConnection.prepareStatement(statement); 177 String statement = "select DATAPOINT.ID, DATAPOINT.STEP, VARIATION.KEYVALPAIRS from SAMPLE, DATAPOINT, VARIATION where " + //$NON-NLS-1$ local 183 this.queryScenarioTimestampDataPoints = this.fConnection.prepareStatement(statement); 195 String statement = "select DATAPOINT.ID, DATAPOINT.STEP, VARIATION.KEYVALPAIRS from SAMPLE, DATAPOINT, VARIATION where " + //$NON-NLS-1$ local 200 this.queryScenarioBuildDataPoints = this.fConnection.prepareStatement(statement); 221 String statement = "select DATAPOINT.ID, DATAPOINT.STEP, VARIATION.KEYVALPAIRS from VARIATION, SAMPLE, DATAPOINT where " + //$NON-NLS-1$ local 226 this.queryScenarioDataPoints = this.fConnection.prepareStatement(statement); [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
SQLiteCursorTest.java | 16 import java.sql.Statement; 33 Statement statement = connection.createStatement(); local 34 statement.execute("CREATE TABLE table_name(" + 214 PreparedStatement statement = connection.prepareStatement(sql); local 215 statement.setObject(1, byteData); 216 statement.executeUpdate(); 234 PreparedStatement statement = connection.prepareStatement(sql); local 235 statement.setObject(1, s); 236 statement.executeUpdate() 340 Statement statement = connection.createStatement(DatabaseConfig.getResultSetType(), ResultSet.CONCUR_READ_ONLY); local 348 Statement statement = connection.createStatement(); local [all...] |