/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/ |
H A D | SQLite.java | 6 import java.sql.SQLException; 39 sb.append(columnsValueClause.sql); 42 String sql = DatabaseConfig.getScrubSQL(sb.toString()); 43 return new SQLStringAndBindings(sql, columnsValueClause.columnValues); 64 sb.append(columnAssignmentsClause.sql); 132 throw new SQLiteException("bind or column index out of range: count of selectionArgs does not match count of (?) placeholders for given sql statement!"); 197 public String sql; field in class:SQLite.SQLStringAndBindings 200 public SQLStringAndBindings(String sql, List<Object> columnValues) { argument 201 this.sql = sql; [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
H A D | DateTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.Date; 27 * JUnit Testcase for the java.sql.Date class 320 * @tests java.sql.Date#valueOf(String)
|
H A D | TimeTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.Time; 26 * JUnit Testcase for the java.sql.Time class 235 * @tests java.sql.Time#valueOf(String)
|
H A D | DriverManagerTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 26 import java.sql.Connection; 27 import java.sql.Driver; 28 import java.sql.DriverManager; 29 import java.sql.DriverPropertyInfo; 30 import java.sql.SQLException; 31 import java.sql.SQLPermission; 39 * JUnit Testcase for the java.sql.DriverManager class 44 static final String DRIVER1 = "org.apache.harmony.sql [all...] |
H A D | SQLDataExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLDataException; 40 * @test java.sql.SQLDataException(String) 55 * @test java.sql.SQLDataException(String) 69 * @test java.sql.SQLDataException(String, String) 87 * @test java.sql.SQLDataException(String, String) 103 * @test java.sql.SQLDataException(String, String) 119 * @test java.sql.SQLDataException(String, String) 134 * @test java.sql [all...] |
H A D | SQLFeatureNotSupportedExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLFeatureNotSupportedException; 40 * @test java.sql.SQLFeatureNotSupportedException(String) 58 * @test java.sql.SQLFeatureNotSupportedException(String) 76 * @test java.sql.SQLFeatureNotSupportedException(String, String) 95 * @test java.sql.SQLFeatureNotSupportedException(String, String) 113 * @test java.sql.SQLFeatureNotSupportedException(String, String) 131 * @test java.sql.SQLFeatureNotSupportedException(String, String) 149 * @test java.sql [all...] |
H A D | SQLIntegrityConstraintViolationExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLIntegrityConstraintViolationException; 40 * @test java.sql.SQLIntegrityConstraintViolationException(String) 59 * @test java.sql.SQLIntegrityConstraintViolationException(String) 77 * @test java.sql.SQLIntegrityConstraintViolationException(String, String) 98 * @test java.sql.SQLIntegrityConstraintViolationException(String, String) 117 * @test java.sql.SQLIntegrityConstraintViolationException(String, String) 136 * @test java.sql.SQLIntegrityConstraintViolationException(String, String) 154 * @test java.sql [all...] |
H A D | SQLInvalidAuthorizationSpecExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLInvalidAuthorizationSpecException; 40 * @test java.sql.SQLInvalidAuthorizationSpecException(String) 59 * @test java.sql.SQLInvalidAuthorizationSpecException(String) 77 * @test java.sql.SQLInvalidAuthorizationSpecException(String, String) 98 * @test java.sql.SQLInvalidAuthorizationSpecException(String, String) 117 * @test java.sql.SQLInvalidAuthorizationSpecException(String, String) 136 * @test java.sql.SQLInvalidAuthorizationSpecException(String, String) 154 * @test java.sql [all...] |
H A D | SQLNonTransientConnectionExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLNonTransientConnectionException; 40 * @test java.sql.SQLNonTransientConnectionException(String) 58 * @test java.sql.SQLNonTransientConnectionException(String) 76 * @test java.sql.SQLNonTransientConnectionException(String, String) 97 * @test java.sql.SQLNonTransientConnectionException(String, String) 115 * @test java.sql.SQLNonTransientConnectionException(String, String) 134 * @test java.sql.SQLNonTransientConnectionException(String, String) 152 * @test java.sql [all...] |
H A D | SQLNonTransientExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLNonTransientException; 40 * @test java.sql.SQLNonTransientException(String) 56 * @test java.sql.SQLNonTransientException(String) 71 * @test java.sql.SQLNonTransientException(String, String) 89 * @test java.sql.SQLNonTransientException(String, String) 105 * @test java.sql.SQLNonTransientException(String, String) 121 * @test java.sql.SQLNonTransientException(String, String) 136 * @test java.sql [all...] |
H A D | SQLRecoverableExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLRecoverableException; 40 * @test java.sql.SQLRecoverableException(String) 56 * @test java.sql.SQLRecoverableException(String) 71 * @test java.sql.SQLRecoverableException(String, String) 89 * @test java.sql.SQLRecoverableException(String, String) 105 * @test java.sql.SQLRecoverableException(String, String) 121 * @test java.sql.SQLRecoverableException(String, String) 136 * @test java.sql [all...] |
H A D | SQLSyntaxErrorExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLSyntaxErrorException; 40 * @test java.sql.SQLSyntaxErrorException(String) 56 * @test java.sql.SQLSyntaxErrorException(String) 71 * @test java.sql.SQLSyntaxErrorException(String, String) 89 * @test java.sql.SQLSyntaxErrorException(String, String) 105 * @test java.sql.SQLSyntaxErrorException(String, String) 121 * @test java.sql.SQLSyntaxErrorException(String, String) 136 * @test java.sql [all...] |
H A D | SQLTimeoutExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLTimeoutException; 40 * @test java.sql.SQLTimeoutException(String) 56 * @test java.sql.SQLTimeoutException(String) 71 * @test java.sql.SQLTimeoutException(String, String) 89 * @test java.sql.SQLTimeoutException(String, String) 105 * @test java.sql.SQLTimeoutException(String, String) 121 * @test java.sql.SQLTimeoutException(String, String) 136 * @test java.sql [all...] |
H A D | SQLTransactionRollbackExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLTransactionRollbackException; 40 * @test java.sql.SQLTransactionRollbackException(String) 58 * @test java.sql.SQLTransactionRollbackException(String) 76 * @test java.sql.SQLTransactionRollbackException(String, String) 95 * @test java.sql.SQLTransactionRollbackException(String, String) 113 * @test java.sql.SQLTransactionRollbackException(String, String) 131 * @test java.sql.SQLTransactionRollbackException(String, String) 149 * @test java.sql [all...] |
H A D | SQLTransientConnectionExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLTransientConnectionException; 40 * @test java.sql.SQLTransientConnectionException(String) 58 * @test java.sql.SQLTransientConnectionException(String) 76 * @test java.sql.SQLTransientConnectionException(String, String) 95 * @test java.sql.SQLTransientConnectionException(String, String) 113 * @test java.sql.SQLTransientConnectionException(String, String) 131 * @test java.sql.SQLTransientConnectionException(String, String) 149 * @test java.sql [all...] |
H A D | SQLTransientExceptionTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.SQLTransientException; 40 * @test java.sql.SQLTransientException(String) 56 * @test java.sql.SQLTransientException(String) 71 * @test java.sql.SQLTransientException(String, String) 89 * @test java.sql.SQLTransientException(String, String) 105 * @test java.sql.SQLTransientException(String, String) 121 * @test java.sql.SQLTransientException(String, String) 136 * @test java.sql [all...] |
H A D | TimestampTest.java | 18 package org.apache.harmony.sql.tests.java.sql; 20 import java.sql.Timestamp; 29 * JUnit Testcase for the java.sql.Timestamp class 382 java.sql.Timestamp.valueOf("2008-12-22 15:00:01."); 390 java.sql.Timestamp.valueOf("178548938-12-22 15:00:01.000000001"); 397 java.sql.Timestamp.valueOf("2008-12-22 15:00:01.0000000011"); 631 * @tests java.sql.Timestamp#compareTo(java.util.Date)
|
/external/chromium_org/chrome/browser/history/android/ |
H A D | android_cache_database.cc | 9 #include "sql/statement.h" 22 sql::InitStatus AndroidCacheDatabase::InitAndroidCacheDatabase( 25 return sql::INIT_FAILURE; 28 return sql::INIT_FAILURE; 31 return sql::INIT_FAILURE; 34 return sql::INIT_FAILURE; 36 return sql::INIT_OK; 42 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 59 sql::Statement statement(GetDB().GetCachedStatement(SQL_FROM_HERE, 84 std::string sql("UPDAT 203 std::string sql; local 233 std::string sql; local [all...] |
/external/chromium_org/content/browser/appcache/ |
H A D | appcache_database.h | 21 namespace sql { namespace 177 sql::Connection* db_connection() { 184 const sql::StatementID& statement_id, const char* sql, 186 bool RunUniqueStatementWithInt64Result(const char* sql, int64* result); 193 void ReadGroupRecord(const sql::Statement& statement, GroupRecord* record); 194 void ReadCacheRecord(const sql::Statement& statement, CacheRecord* record); 195 void ReadEntryRecord(const sql::Statement& statement, EntryRecord* record); 197 sql::Statement* statement, 201 const sql [all...] |
/external/chromium_org/sql/ |
H A D | meta_table.cc | 5 #include "sql/meta_table.h" 10 #include "sql/connection.h" 11 #include "sql/statement.h" 12 #include "sql/transaction.h" 53 namespace sql { namespace 62 bool MetaTable::DoesTableExist(sql::Connection* db) { 73 sql::Statement s(db->GetUniqueStatement( 87 // TODO(shess): Share sql with PrepareGetStatement(). 88 sql::Statement s(db->GetUniqueStatement( 125 sql [all...] |
H A D | connection.h | 20 #include "sql/sql_export.h" 29 namespace sql { namespace 78 #define SQL_FROM_HERE sql::StatementID(__FILE__, __LINE__) 277 // Normally you should use sql::Transaction to manage a transaction, which 310 // This will DCHECK if the |sql| contains errors. 314 bool Execute(const char* sql) WARN_UNUSED_RESULT; 317 int ExecuteAndReturnErrorCode(const char* sql) WARN_UNUSED_RESULT; 330 // If the |sql| has an error, an invalid, inert StatementRef is returned (and 332 // either by checking validity of the |sql| before calling, by correctly 344 // sql [all...] |
/external/chromium_org/storage/browser/quota/ |
H A D | quota_database.h | 26 namespace sql { namespace 160 sql::Connection* database, 161 sql::MetaTable* meta_table, 172 scoped_ptr<sql::Connection> db_; 173 scoped_ptr<sql::MetaTable> meta_table_;
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
H A D | SQLiteStatement.cpp | 43 SQLiteStatement::SQLiteStatement(SQLiteDatabase& db, const String& sql) argument 45 , m_query(sql)
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowSQLiteCursor.java | 7 import java.sql.Clob; 8 import java.sql.Connection; 9 import java.sql.ResultSet; 10 import java.sql.ResultSetMetaData; 11 import java.sql.SQLException; 12 import java.sql.Statement; 228 private void fillRows(String sql, Connection connection) throws SQLException { argument 232 ResultSet rs = statement.executeQuery(sql); 248 public void setResultSet(ResultSet result, String sql) { argument 256 fillRows(sql, resul [all...] |
/external/wpa_supplicant_8/hs20/server/www/ |
H A D | est.php | 40 $sql = "SELECT rowid,password,operation FROM sessions " . variable 42 $q = $db->query($sql);
|