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

<<11121314151617181920>>

  /external/chromium_org/third_party/sqlite/src/ext/fts2/
fts2_tokenizer.c 224 sqlite3 *db,
232 rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0);
246 sqlite3 *db,
255 rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, 0);
298 sqlite3 *db = (sqlite3 *)sqlite3_user_data(context); local
302 rc = queryFts2Tokenizer(db, "simple", &p2);
305 rc = queryFts2Tokenizer(db, "nosuchtokenizer", &p2);
308 assert( 0==strcmp(sqlite3_errmsg(db), "unknown tokenizer: nosuchtokenizer") );
311 rc = registerTokenizer(db, "nosuchtokenizer", p1);
313 rc = queryFts2Tokenizer(db, "nosuchtokenizer", &p2)
    [all...]
  /libcore/luni/src/test/java/libcore/sqlite/
OldStmtTest.java 29 private Database db; field in class:OldStmtTest
79 db = new Database();
80 db.open(dbFile.getPath(), 0);
81 db.exec(DatabaseCreator.CREATE_TABLE_SIMPLE1, null);
94 db.close();
101 db.prepare("");
112 st = db.prepare("");
120 st = db.prepare("select * from " + DatabaseCreator.SIMPLE_TABLE1);
123 st = db.prepare("insert into " + DatabaseCreator.SIMPLE_TABLE1
127 st = db.prepare("insert into " + DatabaseCreator.SIMPLE_TABLE
    [all...]
  /external/chromium_org/chrome/browser/sync_file_system/drive_backend/
metadata_database_unittest.cc 15 #include "third_party/leveldatabase/src/include/leveldb/db.h"
214 leveldb::DB* db() { function in class:sync_file_system::drive_backend::MetadataDatabaseTest
220 scoped_ptr<leveldb::DB> InitializeLevelDB() {
221 leveldb::DB* db = NULL; local
226 leveldb::DB::Open(options, database_dir_.path().AsUTF8Unsafe(), &db);
229 db->Put(leveldb::WriteOptions(), "VERSION", base::Int64ToString(3));
230 SetUpServiceMetadata(db);
550 scoped_ptr<leveldb::DB> db = InitializeLevelDB(); local
604 scoped_ptr<leveldb::DB> db = InitializeLevelDB(); local
693 scoped_ptr<leveldb::DB> db = InitializeLevelDB(); local
759 scoped_ptr<leveldb::DB> db = InitializeLevelDB(); local
    [all...]
  /external/chromium_org/chrome/browser/net/
sqlite_server_bound_cert_store_unittest.cc 173 sql::Connection db; local
174 ASSERT_TRUE(db.Open(v1_db_path));
175 ASSERT_TRUE(db.Execute(
184 sql::Statement add_smt(db.GetUniqueStatement(
192 ASSERT_TRUE(db.Execute(
198 // Load and test the DB contents twice. First time ensures that we can use
217 sql::Connection db; local
218 ASSERT_TRUE(db.Open(v1_db_path));
219 sql::Statement smt(db.GetUniqueStatement(
240 sql::Connection db; local
300 sql::Connection db; local
323 sql::Connection db; local
387 sql::Connection db; local
410 sql::Connection db; local
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
pragma.c 86 ** Interpret the given string as a temp db location. Return 1 for file
109 sqlite3 *db = pParse->db; local
110 if( db->aDb[1].pBt!=0 ){
111 if( !db->autoCommit || sqlite3BtreeIsInReadTrans(db->aDb[1].pBt) ){
116 sqlite3BtreeClose(db->aDb[1].pBt);
117 db->aDb[1].pBt = 0;
118 sqlite3ResetInternalSchema(db, -1);
132 sqlite3 *db = pParse->db local
207 sqlite3 *db = pParse->db; local
313 sqlite3 *db = pParse->db; local
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
CreatePrivateDataTest.java 121 SQLiteDatabase db = null; local
124 db = new TestDatabaseOpenHelper(mContext).getWritableDatabase();
127 assertTrue(db.insert(DB_TABLE_NAME, null, values) != -1);
129 cursor = db.query(DB_TABLE_NAME, new String[] {DB_COLUMN},
136 if (db != null) {
137 db.close();
159 SQLiteDatabase db = null; local
162 db = new TestDatabaseOpenHelper(mContext).getWritableDatabase();
163 cursor = db.query(DB_TABLE_NAME, new String[] {DB_COLUMN},
170 if (db != null)
    [all...]
  /external/chromium/app/sql/
sqlite_features_unittest.cc 52 path_ = path_.AppendASCII("SQLStatementTest.db");
70 sql::Connection& db() { return db_; } function in class:__anon4040::SQLiteFeaturesTest
84 ASSERT_FALSE(db().Execute("CREATE VIRTUAL TABLE foo USING fts1(x)"));
92 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts2(x)"));
97 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts3(x)"));
  /external/chromium/chrome/browser/history/
multipart_uitest.cc 43 sql::Connection db; local
47 ASSERT_TRUE(db.Open(history));
53 sql::Statement statement(db.GetUniqueStatement(query.c_str()));
58 db.Close();
  /external/chromium/chrome/browser/ssl/
ssl_add_cert_handler.cc 40 net::CertDatabase db; local
41 cert_error = db.CheckUserCert(cert_);
68 net::CertDatabase db; local
69 int cert_error = db.AddUserCert(cert_);
  /external/chromium_org/chrome/browser/extensions/activity_log/
counting_policy.h 47 virtual bool InitDatabase(sql::Connection* db) OVERRIDE;
48 virtual bool FlushDatabase(sql::Connection* db) OVERRIDE;
64 bool CleanOlderThan(sql::Connection* db, const base::Time& cutoff);
68 bool CleanStringTables(sql::Connection* db);
  /external/chromium_org/chrome/browser/history/android/
android_urls_database_unittest.cc 47 HistoryDatabase db; local
48 ASSERT_EQ(sql::INIT_OK, db.Init(history_db_name_));
51 EXPECT_FALSE(db.GetDB().DoesColumnExist("android_urls", "bookmark"));
52 sql::Statement statement(db.GetDB().GetUniqueStatement(
  /external/chromium_org/chrome/browser/webdata/
web_intents_table.cc 36 WebIntentsTable* WebIntentsTable::FromWebDatabase(WebDatabase* db) {
37 return static_cast<WebIntentsTable*>(db->GetTable(GetKey()));
44 bool WebIntentsTable::Init(sql::Connection* db, sql::MetaTable* meta_table) {
45 WebDatabaseTable::Init(db, meta_table);
  /external/chromium_org/chrome/common/extensions/docs/server2/
persistent_object_store.py 5 from appengine_wrappers import db, IsDevServer namespace
13 (k, db.get_async(
31 futures.append(db.put_async(
44 futures.append(db.delete_async(
  /external/chromium_org/components/webdata/common/
web_database_table.h 36 virtual bool Init(sql::Connection* db, sql::MetaTable* meta_table);
  /external/chromium_org/content/browser/indexed_db/
indexed_db_connection.h 18 IndexedDBConnection(scoped_refptr<IndexedDBDatabase> db,
  /external/chromium_org/content/test/data/indexeddb/
force_close_event.js 14 window.db = e.target.result;
15 window.db.onclose = onDatabaseClose;
  /external/chromium_org/sql/
sqlite_features_unittest.cc 32 ASSERT_TRUE(db_.Open(temp_dir_.path().AppendASCII("SQLStatementTest.db")));
47 sql::Connection& db() { return db_; } function in class:__anon12375::SQLiteFeaturesTest
66 ASSERT_EQ(SQLITE_ERROR, db().ExecuteAndReturnErrorCode(
77 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts2(x)"));
83 ASSERT_TRUE(db().Execute("CREATE VIRTUAL TABLE foo USING fts3(x)"));
  /external/chromium_org/sql/test/
error_callback_support.h 15 // ScopedErrorCallback sec(db, base::Bind(&CaptureErrorCallback, &error));
16 // // Provoke SQLITE_CONSTRAINT on db.
20 // Helper to set db's error callback and then reset it when it goes
24 ScopedErrorCallback(sql::Connection* db,
  /external/chromium_org/third_party/WebKit/Source/core/platform/sql/
SQLiteTransaction.h 39 SQLiteTransaction(SQLiteDatabase& db, bool readOnly = false);
  /external/chromium_org/third_party/sqlite/src/ext/rtree/
sqlite3rtree.h 32 sqlite3 *db,
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/
bin-rip.asm 17 db 0 label
19 db 0 label
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/tests/
testlib.asm 17 string1: db 'abc',0 ; try changing these strings and see
18 string2: db 'abd',0 ; what happens!
  /external/iputils/doc/
Makefile 15 $(HTMLFILES): index.db
21 iputils.html: iputils.db
31 $(MANFILES): index.db
40 @date "+%y%m%d" > snapshot.db
  /packages/apps/DeskClock/src/com/android/deskclock/provider/
ClockProvider.java 96 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
97 Cursor ret = qb.query(db, projectionIn, selection, selectionArgs,
134 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
138 count = db.update(ClockDatabaseHelper.ALARMS_TABLE_NAME, values,
144 count = db.update(ClockDatabaseHelper.INSTANCES_TABLE_NAME, values,
150 count = db.update(ClockDatabaseHelper.CITIES_TABLE_NAME, values,
167 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
173 rowId = db.insert(ClockDatabaseHelper.INSTANCES_TABLE_NAME, null, initialValues);
176 rowId = db.insert(ClockDatabaseHelper.CITIES_TABLE_NAME, null, initialValues);
191 SQLiteDatabase db = mOpenHelper.getWritableDatabase() local
    [all...]
  /packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
UserDictionaryProvider.java 45 * DB versions are as follow:
63 private static final String DATABASE_NAME = "user_dict.db";
88 public void onCreate(SQLiteDatabase db) {
89 db.execSQL("CREATE TABLE " + USERDICT_TABLE_NAME + " ("
100 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
104 db.execSQL("ALTER TABLE " + USERDICT_TABLE_NAME
109 db.execSQL("DROP TABLE IF EXISTS " + USERDICT_TABLE_NAME);
110 onCreate(db);
154 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
155 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy)
208 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
222 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
246 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]

Completed in 403 milliseconds

<<11121314151617181920>>