HomeSort by relevance Sort by last modified time
    Searched full:database (Results 26 - 50 of 4506) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorDatabaseResource.cpp 35 #include "modules/webdatabase/Database.h"
41 PassRefPtr<InspectorDatabaseResource> InspectorDatabaseResource::create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version)
43 return adoptRef(new InspectorDatabaseResource(database, domain, name, version));
46 InspectorDatabaseResource::InspectorDatabaseResource(PassRefPtr<Database> database, const String& domain, const String& name, const String& version)
47 : m_database(database)
55 void InspectorDatabaseResource::bind(InspectorFrontend::Database* frontend)
57 RefPtr<TypeBuilder::Database::Database> jsonObject = TypeBuilder::Database::Database::create(
    [all...]
InspectorDatabaseResource.h 41 class Database;
46 static PassRefPtr<InspectorDatabaseResource> create(PassRefPtr<Database> database, const String& domain, const String& name, const String& version);
48 void bind(InspectorFrontend::Database*);
49 Database* database() { return m_database.get(); } function in class:WebCore::InspectorDatabaseResource
50 void setDatabase(PassRefPtr<Database> database) { m_database = database; }
54 InspectorDatabaseResource(PassRefPtr<Database>, const String& domain, const String& name, const String& version)
    [all...]
  /external/chromium_org/chrome/browser/extensions/activity_log/
activity_database.h 30 // Encapsulates the SQL connection for the activity log database. This class
31 // holds the database connection and has methods for writing. All of the
46 // Since some cleanup must happen on the database thread, deletion should occur
49 // 2. ActivityLogPolicy should call ActivityDatabase::Close() on the database
51 // 3. ActivityDatabase::Close() shuts down the database, then calls
60 // It is also possible for an ActivityLogPolicy to not use a database at all,
66 // are always invoked on the database thread. Classes other than
76 // Initializes the database schema; this gives a policy a chance to create
77 // or update database tables as needed. Should return true on success.
78 // Will be called from within a database transaction
    [all...]
database_string_table.h 21 // This is used to help compress the contents of the activity log database on
24 // The mapping from integers to strings is maintained in a database table, but
27 // The database table used to store the strings is configurable, but its layout
30 // All calls to DatabaseStringTable must occur on the database thread.
37 // Initialize the database table. This will create the table if it does not
41 // Interns a string in the database table and sets *id to the corresponding
43 // otherwise, new database row is inserted with the new string. Returns true
44 // on success and false on database error.
51 // indicate a database error; it might simply be that the value cannot be
56 // database table has been manipulated and the cache may be stale
    [all...]
counting_policy.h 18 // out (to improve privacy and reduce database size) and with multiple
42 // Gets or sets the amount of time that old records are kept in the database.
54 // Delete everything in the database.
57 // The main database table, and the name for a read-only view that
64 // the database thread.
71 // A type used to track pending writes to the database. The key is an action
73 // incremented in the database.
78 // by ProcessAction and is called on the database thread.
81 // Internal method to read data from the database; called on the database
    [all...]
  /external/chromium_org/components/test/data/autofill/merge/tools/
serialize_profiles.py 14 """Serializes the autofill_profiles table from the specified database."""
17 print "Usage: python serialize_profiles.py <path/to/database>"
20 database = sys.argv[1]
21 if not os.path.isfile(database):
22 print "Cannot read database at \"%s\"" % database
27 connection = sqlite3.connect(database, 0)
32 database)
49 database)
61 print "Failed to read the autofill_profiles table from \"%s\"" % database
    [all...]
  /external/chromium_org/third_party/sqlite/src/test/
lock3.test 12 # focus of this script is database locks and the operation of the
22 # Establish two connections to the same database. Put some
23 # sample data into the database.
37 # Get a deferred lock on the database using one connection. The
47 # Get an immediate lock on the database using one connection. The
48 # other connection should be able to read the database but not write
57 } {1 {database is locked}}
63 # Get an exclusive lock on the database using one connection. The
64 # other connection should be unable to read or write the database.
69 } {1 {database is locked}
    [all...]
tkt2920.test 20 # Create a database file that is full.
39 # Try to add a single new page to the full database. We get
40 # a disk full error. But this does not corrupt the database.
47 } {1 {database or disk is full}}
50 # Increase the maximum size of the database file by 1 page,
58 } {1 {database or disk is full}}
61 # Increase the maximum size of the database by one more page.
fts1j.test 7 # tests creating fts1 tables in an attached database.
42 ATTACH DATABASE 'test2.db' AS two;
44 DETACH DATABASE two;
48 catch {db eval {DETACH DATABASE two}}
51 # by fts1 will be created in database 'main' instead of database
57 ATTACH DATABASE 'test2.db' AS two;
63 DETACH DATABASE two;
66 catch {db eval {DETACH DATABASE two}}
69 # t3_* tables in database 'main', but they already existed. Normall
    [all...]
fts2j.test 7 # tests creating fts2 tables in an attached database.
42 ATTACH DATABASE 'test2.db' AS two;
44 DETACH DATABASE two;
48 catch {db eval {DETACH DATABASE two}}
51 # by fts2 will be created in database 'main' instead of database
57 ATTACH DATABASE 'test2.db' AS two;
63 DETACH DATABASE two;
66 catch {db eval {DETACH DATABASE two}}
69 # t3_* tables in database 'main', but they already existed. Normall
    [all...]
fts3aj.test 7 # tests creating fts3 tables in an attached database.
42 ATTACH DATABASE 'test2.db' AS two;
44 DETACH DATABASE two;
48 catch {db eval {DETACH DATABASE two}}
51 # by fts3 will be created in database 'main' instead of database
57 ATTACH DATABASE 'test2.db' AS two;
63 DETACH DATABASE two;
66 catch {db eval {DETACH DATABASE two}}
69 # t3_* tables in database 'main', but they already existed. Normall
    [all...]
corruptA.test 14 # segfault if it sees a corrupt database file. It specifically focuses
15 # on corrupt database headers.
22 # Do not use a codec for tests in this file, as the database file is
28 # Create a database to work with.
40 # is detected when opening the database file.
52 } {1 {file is encrypted or is not a database}}
60 } {1 {file is encrypted or is not a database}}
68 } {1 {file is encrypted or is not a database}}
76 } {1 {file is encrypted or is not a database}}
rdonly.test 13 # This file implements tests to make sure SQLite treats a database
21 # Do not use a codec for tests in this file, as the database file is
26 # Create a database.
36 # Changes the write version from 1 to 3. Verify that the database
54 } {1 {attempt to write a readonly database}}
56 # Change the write version back to 1. Verify that the database
69 # Now, after connection [db] has loaded the database schema, modify the
72 # the database is read-only until after it is locked.
82 } {1 {attempt to write a readonly database}}
backup2.test 25 # Fill a database with test data.
55 # Remember a check-sum on the database file.
82 } {1 {restore failed: source database busy}}
113 } {1 {backup failed: attempt to write a readonly database}}
115 # Try to backup to something that is not a database file.
121 puts $out "This is not a valid database file"
125 } {1 {backup failed: file is encrypted or is not a database}}
127 # Try to backup database that does not exist
133 } {1 {backup failed: unknown database aux1}}
140 } {1 {wrong # args: should be "db backup ?DATABASE? FILENAME"}
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/scripts_cvs/searchcvs/
README.searchcvs.setup.web.txt 1 Search CVS is a tool for converting cvs commits into a mysql database, which
2 can be updated without worry of data duplication. The database is then searchable
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DatabaseTestBase.java 4 import android.database.Cursor;
5 import android.database.sqlite.SQLiteDatabase;
24 protected SQLiteDatabase database; field in class:DatabaseTestBase
29 database = SQLiteDatabase.openDatabase("path", null, 0);
30 shDatabase = Robolectric.shadowOf(database);
31 database.execSQL("CREATE TABLE table_name (\n" +
39 database.execSQL("CREATE TABLE rawtable (\n" +
47 database.execSQL("CREATE TABLE exectable (\n" +
63 database.insert("rawtable", null, values);
72 database.insert("rawtable", null, values2)
    [all...]
SQLiteStatementTest.java 3 import android.database.sqlite.SQLiteDatabase;
4 import android.database.sqlite.SQLiteDoneException;
5 import android.database.sqlite.SQLiteStatement;
21 private SQLiteDatabase database; field in class:SQLiteStatementTest
25 database = SQLiteDatabase.openDatabase("path", null, 0);
26 SQLiteStatement createStatement = database.compileStatement("CREATE TABLE `routine` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;");
29 SQLiteStatement createStatement2 = database.compileStatement("CREATE TABLE `countme` (`id` INTEGER PRIMARY KEY AUTOINCREMENT , `name` VARCHAR , `lastUsed` INTEGER DEFAULT 0 , UNIQUE (`name`)) ;");
35 database.close();
40 SQLiteStatement insertStatement = database.compileStatement("INSERT INTO `routine` (`name` ,`lastUsed` ) VALUES (?,?)");
52 Statement statement = shadowOf(database).getConnection().createStatement()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DatabaseThread.cpp 32 #include "modules/webdatabase/Database.h"
61 m_thread = adoptPtr(blink::Platform::current()->createThread("WebCore: Database"));
87 // Clean up the list of all pending transactions on this database thread
90 // Close the databases that we ran transactions on. This ensures that if any transactions are still open, they are rolled back and we don't leave the database in an
105 void DatabaseThread::recordDatabaseOpen(DatabaseBackend* database)
108 ASSERT(database);
109 ASSERT(!m_openDatabaseSet.contains(database));
110 m_openDatabaseSet.add(database);
113 void DatabaseThread::recordDatabaseClosed(DatabaseBackend* database)
116 ASSERT(database);
    [all...]
Database.cpp 30 #include "modules/webdatabase/Database.h"
60 PassRefPtr<Database> Database::create(ExecutionContext*, PassRefPtr<DatabaseBackendBase> backend)
63 // frontend database as its own the backend. When we split the 2 apart,
66 return static_cast<Database*>(backend.get());
69 Database::Database(PassRefPtr<DatabaseContext> databaseContext,
106 Database::~Database()
118 Database* Database::from(DatabaseBackend* backend
    [all...]
SQLTransactionClient.cpp 45 static void databaseModified(DatabaseBackendBase* database)
49 createDatabaseIdentifierFromSecurityOrigin(database->securityOrigin()),
50 database->stringIdentifier());
54 void SQLTransactionClient::didCommitWriteTransaction(DatabaseBackendBase* database)
56 ExecutionContext* executionContext = database->databaseContext()->executionContext();
58 executionContext->postTask(bind(&databaseModified, PassRefPtr<DatabaseBackendBase>(database)));
62 databaseModified(database);
65 bool SQLTransactionClient::didExceedQuota(DatabaseBackendBase* database)
69 ASSERT(database->databaseContext()->executionContext()->isContextThread());
DatabaseTask.cpp 32 #include "modules/webdatabase/Database.h"
62 DatabaseTask::DatabaseTask(DatabaseBackend* database, DatabaseTaskSynchronizer* synchronizer)
63 : m_database(database)
80 // Database tasks are meant to be used only once, so make sure this one hasn't been performed before.
107 // Opens the database file and verifies the version matches the expected version.
109 DatabaseBackend::DatabaseOpenTask::DatabaseOpenTask(DatabaseBackend* database, bool setVersionInNewDatabase, DatabaseTaskSynchronizer* synchronizer, DatabaseError& error, String& errorMessage, bool& success)
110 : DatabaseTask(database, synchronizer)
122 m_success = database()->performOpenAndVerify(m_setVersionInNewDatabase, m_error, errorMessage);
135 // Closes the database.
137 DatabaseBackend::DatabaseCloseTask::DatabaseCloseTask(DatabaseBackend* database, DatabaseTaskSynchronizer* synchronizer
    [all...]
  /external/chromium_org/chrome/browser/performance_monitor/
database_unittest.cc 13 #include "chrome/browser/performance_monitor/database.h"
28 // A class which is friended by Database, in order to hold the private methods
32 explicit DatabaseTestHelper(Database* database) : database_(database) { }
37 // Override the check for a metric's validity and insert it in the database.
52 // Writes an invalid event to the database; since events are stored as JSON
69 // Returns the number of entries in a given database.
79 Database* database_;
83 class TestingClock : public Database::Clock
    [all...]
  /frameworks/base/docs/html/training/basics/data-storage/
databases.jd 16 <li><a href="#DbHelper">Create a Database Using a SQL Helper</a></li>
17 <li><a href="#WriteDbRow">Put Information into a Database</a></li>
18 <li><a href="#ReadDbRow">Read Information from a Database</a></li>
19 <li><a href="#DeleteDbRow">Delete Information from a Database</a></li>
20 <li><a href="#UpdateDbRow">Update a Database</a></li>
41 <p>Saving data to a database is ideal for repeating or structured data,
44 SQLite databases on Android. The APIs you'll need to use a database
45 on Android are available in the {@link android.database.sqlite} package.</p>
51 declaration of how the database is organized. The schema is reflected in the SQL
52 statements that you use to create your database. You may find it helpful t
    [all...]
  /libcore/luni/src/main/java/javax/sql/
ConnectionPoolDataSource.java 33 * Creates a connection to a database which can then be used as a pooled
37 * database.
39 * if there is a problem accessing the database.
44 * Creates a connection to a database, using the supplied user name and
48 * the a user name for the database login.
53 * to the database.
55 * if there is a problem accessing the database.
  /external/chromium_org/content/browser/dom_storage/
dom_storage_database.h 30 // Reads all the key, value pairs stored in the database and returns
32 // be overwritten. If the database exists on disk then it will be
37 // Updates the backing database. Will remove all keys before updating
38 // the database if |clear_all_first| is set. Then all entries in
47 // Constructor that uses an in-memory sqlite database, for testing.
76 // Open the database at file_path_ if it exists already and creates it if
78 // Ensures we are at the correct database version and creates or updates
82 // Analyses the database to verify that the connection that is open is indeed
83 // a valid database and works out the schema version.
86 // Creates the database table at V2. Returns true if the table was create
    [all...]

Completed in 351 milliseconds

12 3 4 5 6 7 8 91011>>