/external/chromium_org/chrome/browser/history/ |
history_db_task.h | 27 virtual bool RunOnDBThread(HistoryBackend* backend, HistoryDatabase* db) = 0;
|
top_sites_database_unittest.cc | 50 void VerifyTablesAndColumns(sql::Connection* db) { 52 EXPECT_EQ(2u, sql::test::CountSQLTables(db)); 55 EXPECT_EQ(2u, sql::test::CountSQLIndices(db)); 58 EXPECT_EQ(2u, sql::test::CountTableColumns(db, "meta")); 63 EXPECT_EQ(11u, sql::test::CountTableColumns(db, "thumbnails")); 66 void VerifyDatabaseEmpty(sql::Connection* db) { 68 EXPECT_TRUE(sql::test::CountTableRows(db, "thumbnails", &rows)); 79 // Get a temporary directory for the test DB files. 81 file_name_ = temp_dir_.path().AppendASCII("TestTopSites.db"); 93 TopSitesDatabase db; local 102 TopSitesDatabase db; local 129 TopSitesDatabase db; local 181 TopSitesDatabase db; local 217 TopSitesDatabase db; local 265 TopSitesDatabase db; local 311 TopSitesDatabase db; local 338 TopSitesDatabase db; local 358 TopSitesDatabase db; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
datastore_models.py | 8 from appengine_wrappers import db namespace 13 class PersistentObjectStoreItem(db.Model): 14 pickled_value = db.BlobProperty() 20 return db.Key.from_path(cls.__name__, path) 26 'Exception thrown when trying to create db.Key from path %s: %s' % (
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
db_iter.h | 9 #include "leveldb/db.h" 10 #include "db/dbformat.h" 20 DBImpl* db,
|
c_test.c | 65 leveldb_t* db, 72 val = leveldb_get(db, options, key, strlen(key), &val_len, &err); 158 leveldb_t* db; local 206 db = leveldb_open(options, dbname, &err); 211 db = leveldb_open(options, dbname, &err); 218 db = leveldb_open(options, dbname, &err); 220 CheckGet(db, roptions, "foo", NULL); 223 leveldb_put(db, woptions, "foo", 3, "hello", 5, &err); 225 CheckGet(db, roptions, "foo", "hello"); 228 leveldb_compact_range(db, NULL, 0, NULL, 0) [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
test_intarray.h | 36 ** sqlite3_intarray_create(db, "ex1", &p1); 37 ** sqlite3_intarray_create(db, "ex2", &p2); 38 ** sqlite3_intarray_create(db, "ex3", &p3); 97 sqlite3 *db,
|
vdbeaux.c | 35 Vdbe *sqlite3VdbeCreate(sqlite3 *db){ 37 p = sqlite3DbMallocZero(db, sizeof(Vdbe) ); 39 p->db = db; 40 if( db->pVdbe ){ 41 db->pVdbe->pPrev = p; 43 p->pNext = db->pVdbe; 45 db->pVdbe = p; 60 p->zSql = sqlite3DbStrNDup(p->db, z, n); 114 pNew = sqlite3DbRealloc(p->db, p->aOp, nNew*sizeof(Op)) 668 sqlite3 *db = p->db; local 705 sqlite3 *db; local 992 sqlite3 *db; local 1014 sqlite3 *db; local 1057 sqlite3 *db = p->db; local 1131 sqlite3 *db = p->db; \/* The database connection *\/ local 1420 sqlite3 *db = p->db; local 1620 sqlite3 *db = p->db; local 1644 sqlite3 *db = p->db; local 1982 sqlite3 *const db = p->db; local 2038 sqlite3 *db = p->db; local 2064 sqlite3 *db = p->db; local 2286 sqlite3 *db; local 2418 sqlite3 *db; local [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/preprocs/nasm/tests/ |
ifcritical-err.asm | 3 teststring db "Hello, world" 6 db '5'
|
/frameworks/base/test-runner/src/android/test/ |
DatabaseTestUtils.java | 34 * @param expectedDb the db that is known to have the correct schema 35 * @param db the db whose schema should be checked 37 public static void assertSchemaEquals(SQLiteDatabase expectedDb, SQLiteDatabase db) { 39 Set<String> schema = getSchemaSet(db); 43 private static Set<String> getSchemaSet(SQLiteDatabase db) { 46 Cursor entityCursor = db.rawQuery("SELECT sql FROM sqlite_master", null);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_dbenv.py | 4 from test_all import db, test_support, get_new_environment_path, \ 12 self.env = db.DBEnv() 21 flags = db.DB_CREATE | db.DB_INIT_MPOOL 26 flags = db.DB_CREATE | db.DB_INIT_MPOOL | \ 27 db.DB_INIT_LOCK | db.DB_THREAD 31 if db.version() >= (4, 7) : 42 self.assertRaises(db.DBInvalidArgError 5 get_new_database_path namespace [all...] |
test_basics.py | 3 various DB flags, etc. 14 from test_all import db, test_support, verbose, get_new_environment_path, \ 24 info = db.version() 27 print 'bsddb.db.version(): %s' % (info, ) 28 print db.DB_VERSION_STRING 30 self.assertEqual(info, (db.DB_VERSION_MAJOR, db.DB_VERSION_MINOR, 31 db.DB_VERSION_PATCH)) 36 dbtype = db.DB_UNKNOWN # must be set in derived class 52 self.env = db.DBEnv( 15 get_new_database_path namespace [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/ |
test_dbenv.py | 4 from test_all import db, test_support, get_new_environment_path, \ 12 self.env = db.DBEnv() 21 flags = db.DB_CREATE | db.DB_INIT_MPOOL 26 flags = db.DB_CREATE | db.DB_INIT_MPOOL | \ 27 db.DB_INIT_LOCK | db.DB_THREAD 31 if db.version() >= (4, 7) : 42 self.assertRaises(db.DBInvalidArgError 5 get_new_database_path namespace [all...] |
test_basics.py | 3 various DB flags, etc. 14 from test_all import db, test_support, verbose, get_new_environment_path, \ 24 info = db.version() 27 print 'bsddb.db.version(): %s' % (info, ) 28 print db.DB_VERSION_STRING 30 self.assertEqual(info, (db.DB_VERSION_MAJOR, db.DB_VERSION_MINOR, 31 db.DB_VERSION_PATCH)) 36 dbtype = db.DB_UNKNOWN # must be set in derived class 52 self.env = db.DBEnv( 15 get_new_database_path namespace [all...] |
/external/chromium/chrome/browser/webdata/ |
token_service_table.h | 13 TokenServiceTable(sql::Connection* db, sql::MetaTable* meta_table) 14 : WebDatabaseTable(db, meta_table) {}
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
register_app_task_unittest.cc | 24 #include "third_party/leveldatabase/src/include/leveldb/db.h" 88 scoped_ptr<leveldb::DB> OpenLevelDB() { 89 leveldb::DB* db = NULL; local 93 leveldb::DB::Open(options, database_dir_.path().AsUTF8Unsafe(), &db); 95 return make_scoped_ptr<leveldb::DB>(db); 98 void SetUpInitialData(leveldb::DB* db) { [all...] |
/external/chromium_org/content/browser/dom_storage/ |
session_storage_database_adapter.cc | 12 SessionStorageDatabase* db, 15 : db_(db),
|
/external/chromium_org/third_party/leveldatabase/src/issues/ |
issue178_test.cc | 10 #include "leveldb/db.h" 38 leveldb::DB* db; local 42 ASSERT_OK(leveldb::DB::Open(db_options, dbpath, &db)); 49 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); 56 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); 63 ASSERT_OK(db->Write(leveldb::WriteOptions(), &batch)); 72 db->CompactRange(&least, &greatest); 75 leveldb::Iterator* iter = db->NewIterator(leveldb::ReadOptions()) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/ |
integer-warn.asm | 2 db 0x51a label
|
integer.asm | 3 db 0x51 label
|
/frameworks/base/core/java/com/android/internal/content/ |
SelectionBuilder.java | 99 public Cursor query(SQLiteDatabase db, String table, String[] columns, String orderBy) { 100 return query(db, table, columns, null, null, orderBy, null); 106 public Cursor query(SQLiteDatabase db, String table, String[] columns, String groupBy, 108 return db.query(table, columns, getSelection(), getSelectionArgs(), groupBy, having, 115 public int update(SQLiteDatabase db, String table, ContentValues values) { 116 return db.update(table, values, getSelection(), getSelectionArgs()); 122 public int delete(SQLiteDatabase db, String table) { 123 return db.delete(table, getSelection(), getSelectionArgs());
|
/libcore/luni/src/test/java/libcore/sqlite/ |
OldBlobTest.java | 31 private static Database db = null; field in class:OldBlobTest 39 db = new Database(); 40 db.open(dbFile.getPath(), 0); 42 db.exec("create table B(id integer primary key, val blob)",null); 43 db.exec("insert into B values(1, zeroblob(128))", null); 44 db.exec("insert into B values(2, zeroblob(128))", null); 45 db.exec("insert into B values(3, zeroblob(128))", null); 78 * db.open_blob is not supported. 86 Blob blob = db.open_blob(dbFile.getPath(), "B", "val", 1, true);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnSQLiteOpenHelper.java | 38 public void onCreate(SQLiteDatabase db) { 42 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/ |
__init__.py | 36 """Support for Berkeley DB 4.3 through 5.3 with a simple interface. 38 For the full featured object oriented interface use the bsddb.db module 39 instead. It mirrors the Oracle Berkeley DB C API. 75 # bsddb3 calls it db, but provide _db for backwards compatibility 76 db = _db = _bsddb 77 __version__ = db.__version__ 79 error = db.DBError # So bsddb.error will mean something... 96 cur = _DeadlockWrap(self.db.cursor) 149 if not self.db: 194 A simple wrapper around DB that makes it look like the bsddbobject i [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/ |
__init__.py | 36 """Support for Berkeley DB 4.3 through 5.3 with a simple interface. 38 For the full featured object oriented interface use the bsddb.db module 39 instead. It mirrors the Oracle Berkeley DB C API. 75 # bsddb3 calls it db, but provide _db for backwards compatibility 76 db = _db = _bsddb 77 __version__ = db.__version__ 79 error = db.DBError # So bsddb.error will mean something... 96 cur = _DeadlockWrap(self.db.cursor) 149 if not self.db: 194 A simple wrapper around DB that makes it look like the bsddbobject i [all...] |
/external/chromium_org/chrome/browser/webdata/ |
web_data_service_win.cc | 32 const IE7PasswordInfo& info, WebDatabase* db) { 33 if (LoginsTable::FromWebDatabase(db)->AddIE7Login(info)) 39 const IE7PasswordInfo& info, WebDatabase* db) { 40 if (LoginsTable::FromWebDatabase(db)->RemoveIE7Login(info)) 46 const IE7PasswordInfo& info, WebDatabase* db) { 48 LoginsTable::FromWebDatabase(db)->GetIE7Login(info, &result);
|