HomeSort by relevance Sort by last modified time
    Searched refs:db (Results 326 - 350 of 1110) sorted by null

<<11121314151617181920>>

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_queue.py 2 TestCases for exercising a Queue DB.
9 from test_all import db, verbose, get_new_database_path namespace
31 d = db.DB()
33 d.open(self.filename, db.DB_QUEUE, db.DB_CREATE)
57 d = db.DB()
88 "Berkeley DB 3.1.17 with the patch in patches/qam_stat.diff")
95 # Basic Queue tests using the new DB.consume method in DB 3.2
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_queue.py 2 TestCases for exercising a Queue DB.
9 from test_all import db, verbose, get_new_database_path namespace
31 d = db.DB()
33 d.open(self.filename, db.DB_QUEUE, db.DB_CREATE)
57 d = db.DB()
88 "Berkeley DB 3.1.17 with the patch in patches/qam_stat.diff")
95 # Basic Queue tests using the new DB.consume method in DB 3.2
    [all...]
  /external/chromium_org/content/browser/indexed_db/
indexed_db_database_unittest.cc 31 scoped_refptr<IndexedDBDatabase> db = IndexedDBDatabase::Create( local
32 ASCIIToUTF16("db"),
36 EXPECT_FALSE(backing_store->HasOneRef()); // local and db
37 db = NULL;
77 scoped_refptr<IndexedDBDatabase> db = local
78 IndexedDBDatabase::Create(ASCIIToUTF16("db"),
83 EXPECT_FALSE(backing_store->HasOneRef()); // local and db
88 db->OpenConnection(request1,
93 EXPECT_FALSE(backing_store->HasOneRef()); // db, connection count > 0
98 db->OpenConnection(request2
194 scoped_refptr<IndexedDBDatabase> db = local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLStatementBackend.cpp 108 bool SQLStatementBackend::execute(DatabaseBackend* db)
120 db->setAuthorizerPermissions(m_permissions);
122 SQLiteDatabase* database = &db->sqliteDatabase();
133 db->reportExecuteStatementResult(1, m_error->code(), result);
141 m_error = SQLError::create(db->isInterrupted() ? SQLError::DATABASE_ERR : SQLError::SYNTAX_ERR, "number of '?'s in statement string does not match argument count");
142 db->reportExecuteStatementResult(2, m_error->code(), 0);
149 setFailureDueToQuota(db);
155 db->reportExecuteStatementResult(3, SQLError::DATABASE_ERR, result);
180 db->reportExecuteStatementResult(4, SQLError::DATABASE_ERR, result);
186 if (db->lastActionWasInsert()
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java 276 SQLiteDatabase db = mDbHelper.getReadableDatabase(); local
300 mAggregatedPresenceReplace = db.compileStatement(replaceAggregatePresenceSql);
302 mRawContactCountQuery = db.compileStatement(
308 mAggregatedPresenceDelete = db.compileStatement(
312 mMarkForAggregation = db.compileStatement(
318 mPhotoIdUpdate = db.compileStatement(
323 mDisplayNameUpdate = db.compileStatement(
328 mLookupKeyUpdate = db.compileStatement(
333 mStarredUpdate = db.compileStatement("UPDATE " + Tables.CONTACTS + " SET "
339 mPinnedUpdate = db.compileStatement("UPDATE " + Tables.CONTACTS + " SET
687 final SQLiteDatabase db = mDbHelper.getWritableDatabase(); local
1047 SQLiteDatabase db = mDbHelper.getWritableDatabase(); local
2382 final SQLiteDatabase db = mDbHelper.getReadableDatabase(); local
    [all...]
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastDatabaseHelper.java 43 static final String DATABASE_NAME = "cell_broadcasts.db";
62 public void onCreate(SQLiteDatabase db) {
63 db.execSQL("CREATE TABLE " + TABLE_NAME + " ("
85 createDeliveryTimeIndex(db);
88 private void createDeliveryTimeIndex(SQLiteDatabase db) {
89 db.execSQL("CREATE INDEX IF NOT EXISTS deliveryTimeIndex ON " + TABLE_NAME
115 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
120 log("Upgrading DB from version " + oldVersion + " to " + newVersion);
124 db.beginTransaction();
127 db.execSQL("DROP TABLE IF EXISTS " + TEMP_TABLE_NAME)
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
vdbe.c 478 if( db->u1.isInterrupted ) goto abort_due_to_interrupt;
490 ** assert( checkSavepointCount(db) );
492 static int checkSavepointCount(sqlite3 *db){
495 for(p=db->pSavepoint; p; p=p->pNext) n++;
496 assert( n==(db->nSavepoint + db->isTransactionSavepoint) );
507 sqlite3 *db = p->db; local
508 sqlite3DbFree(db, p->zErrMsg);
509 p->zErrMsg = sqlite3DbStrDup(db, pVtab->zErrMsg)
553 sqlite3 *db = p->db; \/* The database *\/ local
    [all...]
test_schema.c 55 sqlite3 *db; member in struct:schema_vtab
84 sqlite3 *db,
94 pVtab->db = db;
96 rc = sqlite3_declare_vtab(db, SCHEMA);
211 rc = sqlite3_prepare(pVtab->db, zSql, -1, &pCur->pTableList, 0);
229 rc = sqlite3_prepare(pVtab->db, zSql, -1, &pCur->pColumnList, 0);
255 rc = sqlite3_prepare(pVtab->db,"PRAGMA database_list", -1, &pCur->pDbList, 0);
311 sqlite3 *db; local
313 Tcl_WrongNumArgs(interp, 1, objv, "DB");
    [all...]
  /external/chromium_org/content/test/data/indexeddb/
migration_test.js 13 db = event.target.result;
16 shouldBe("db.objectStoreNames.length", "1");
17 shouldBeEqualToString("typeof db.version", "string");
transaction_get_test.js 32 transaction = db.transaction('storeName');
47 db = event.target.result;
48 deleteAllObjectStores(db);
49 window.objectStore = db.createObjectStore('storeName');
  /external/chromium_org/third_party/leveldatabase/src/
Makefile 71 # Update db.h if you change these.
102 db_bench: db/db_bench.o $(LIBOBJECTS) $(TESTUTIL)
103 $(CXX) $(LDFLAGS) db/db_bench.o $(LIBOBJECTS) $(TESTUTIL) -o $@ $(LIBS)
111 leveldbutil: db/leveldb_main.o $(LIBOBJECTS)
112 $(CXX) $(LDFLAGS) db/leveldb_main.o $(LIBOBJECTS) -o $@ $(LIBS)
120 c_test: db/c_test.o $(LIBOBJECTS) $(TESTHARNESS)
121 $(CXX) $(LDFLAGS) db/c_test.o $(LIBOBJECTS) $(TESTHARNESS) -o $@ $(LIBS)
129 corruption_test: db/corruption_test.o $(LIBOBJECTS) $(TESTHARNESS)
130 $(CXX) $(LDFLAGS) db/corruption_test.o $(LIBOBJECTS) $(TESTHARNESS) -o $@ $(LIBS)
135 db_test: db/db_test.o $(LIBOBJECTS) $(TESTHARNESS
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/multisect/
multisect4.asm 17 times 0x100 db 0x3
22 times 0x100 db 0x1
28 times 0x100 db 0x2
  /external/chromium_org/tools/page_cycler/database/
common.js 14 var TRANSACTIONS = 1000; // number of transactions; number of rows in the DB
47 var db = openTestDatabase(params.dbName);
48 if (!db) {
53 db.transaction(
69 params.customRunTransactions(db);
71 runTransactions(db, params.readOnly, params.transactionCallback);
90 * @param {!Object} db The database to run transactions on.
92 * db.readTransaction() call. Otherwise, the transactions will be run
93 * using the db.transaction() call.
96 function runTransactions(db, readOnly, transactionCallback)
    [all...]
  /packages/apps/KeyChain/src/com/android/keychain/
KeyChainService.java 48 private static final String DATABASE_NAME = "grants.db";
221 private boolean hasGrantInternal(final SQLiteDatabase db, final int uid, final String alias) {
222 final long numMatches = DatabaseUtils.longForQuery(db, SELECTION_COUNT_OF_MATCHING_GRANTS,
227 private void setGrantInternal(final SQLiteDatabase db,
230 if (!hasGrantInternal(db, uid, alias)) {
234 db.insert(TABLE_GRANTS, GRANTS_ALIAS, values);
237 db.delete(TABLE_GRANTS, SELECT_GRANTS_BY_UID_AND_ALIAS,
242 private void removeAllGrants(final SQLiteDatabase db) {
243 db.delete(TABLE_GRANTS, null /* whereClause */, null /* whereArgs */);
252 public void onCreate(final SQLiteDatabase db) {
286 final SQLiteDatabase db = mDatabaseHelper.getWritableDatabase(); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResultsProvider.java 84 private static final String DATABASE_NAME = "results.db";
93 public void onCreate(SQLiteDatabase db) {
94 db.execSQL("CREATE TABLE " + TABLE_NAME + " ("
103 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
104 db.execSQL("DROP TABLE IF EXISTS " + TABLE_NAME);
105 onCreate(db);
136 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
137 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder);
142 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
143 long id = db.insert(TABLE_NAME, null, values)
179 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
190 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /external/javasqlite/src/main/java/SQLite/JDBC2z/
JDBCStatement.java 93 if (conn == null || conn.db == null) {
101 conn.db.exec("BEGIN TRANSACTION", null);
106 conn.db.exec(sql, null);
108 tr = conn.db.get_table(sql, maxrows);
112 conn.db.exec(sql, null, args);
114 tr = conn.db.get_table(sql, maxrows, args);
117 updcnt = (int) conn.db.changes();
119 if (conn.db.is3() &&
120 conn.db.last_error() == SQLite.Constants.SQLITE_BUSY &&
121 conn.busy3(conn.db, ++busy))
    [all...]
  /external/lzma/CPP/7zip/Archive/7z/
7zExtract.cpp 89 const CArchiveDatabaseEx &db = volume.Database; local
92 const CArchiveDatabaseEx &db = _db; local
96 CNum folderIndex = db.FileIndexToFolderIndexMap[fileIndex];
118 const CFolder &folderInfo = db.Folders[folderIndex];
127 CNum startIndex = db.FolderStartFileIndex[folderIndex];
177 const CArchiveDatabaseEx &db = volume.Database; local
179 const CArchiveDatabaseEx &db = _db; local
186 startIndex = db.FolderStartFileIndex[efi.FolderIndex];
188 HRESULT result = folderOutStream->Init(&db,
203 const CFolder &folderInfo = db.Folders[folderIndex];
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
ActionBatch.java 73 Forget is an DB maintenance action that removes the entry if it is not installed or disabled.
116 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
117 final ContentValues values = MetadataDbHelper.getContentValuesByWordListId(db,
130 MetadataDbHelper.markEntryAsAvailable(db, mWordList.mId, mWordList.mVersion);
181 final long downloadId = UpdateHandler.registerDownloadRequest(manager, request, db,
220 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
221 MetadataDbHelper.markEntryAsFinishedDownloadingAndInstalled(db, mWordListValues);
247 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
248 final ContentValues values = MetadataDbHelper.getContentValuesByWordListId(db,
257 MetadataDbHelper.markEntryAsEnabled(db, mWordList.mId, mWordList.mVersion)
282 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
328 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
377 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
418 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
472 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
543 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
582 final SQLiteDatabase db = MetadataDbHelper.getDb(context, mClientId); local
    [all...]
  /external/chromium/app/sql/
meta_table.h 24 static bool DoesTableExist(Connection* db);
29 bool Init(Connection* db, int version, int compatible_version);
  /external/chromium/chrome/browser/history/
in_memory_history_backend.h 47 // as the directory where the InMemoryURLIndex's cache is kept. |db| is
53 URLDatabase* db,
63 // so that it can deal directly with this object, rather than the DB.
64 InMemoryDatabase* db() const { function in class:history::InMemoryHistoryBackend
  /external/chromium/chrome/browser/webdata/
logins_table.h 50 LoginsTable(sql::Connection* db, sql::MetaTable* meta_table)
51 : WebDatabaseTable(db, meta_table) {}
  /external/chromium_org/chrome/browser/extensions/activity_log/
fullstream_ui_policy.h 57 virtual bool InitDatabase(sql::Connection* db) OVERRIDE;
58 virtual bool FlushDatabase(sql::Connection* db) OVERRIDE;
  /external/chromium_org/chrome/browser/history/
in_memory_history_backend.h 46 // full path in |history_filename|. |db| is used for setting up the
48 bool Init(const base::FilePath& history_filename, URLDatabase* db);
57 // so that it can deal directly with this object, rather than the DB.
58 InMemoryDatabase* db() const { function in class:history::InMemoryHistoryBackend
  /external/chromium_org/sql/
meta_table.h 24 static bool DoesTableExist(Connection* db);
30 bool Init(Connection* db, int version, int compatible_version);
  /external/chromium_org/third_party/WebKit/Source/core/platform/sql/
SQLiteTransaction.cpp 33 SQLiteTransaction::SQLiteTransaction(SQLiteDatabase& db, bool readOnly)
34 : m_db(db)
51 // a RESERVED lock on the DB file. Otherwise, another write
53 // to the same DB file before this transaction gets to execute

Completed in 2102 milliseconds

<<11121314151617181920>>