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

<<11121314151617181920>>

  /external/chromium_org/third_party/sqlite/src/test/
fts3_common.tcl 88 db eval "SELECT * FROM ${tbl}_content" E {
95 foreach {pos term dummy} [db one $sql] {
248 db eval " SELECT start_block, leaves_end_block, root
255 db eval " SELECT block
270 db eval " SELECT start_block, leaves_end_block, root
277 db eval " SELECT block
  /external/chromium_org/third_party/sqlite/src/tool/
speedtest16.c 23 ** ./a.out database.db test.sql
66 static void prepareAndRun(sqlite3 *db, const char *zSql){
77 rc = sqlite3_prepare16_v2(db, utf16, -1, &pStmt, &stmtTail);
100 sqlite3 *db; local
129 rc = sqlite3_open16(utf16, &db);
147 prepareAndRun(db, &zSql[i]);
155 sqlite3_close(db);
speedtest8inst1.c 22 ** ./a.out test.db test.sql
37 static void prepareAndRun(sqlite3_vfs *pInstVfs, sqlite3 *db, const char *zSql){
50 rc = sqlite3_prepare_v2(db, zSql, -1, &pStmt, &stmtTail);
127 " -db DATABASE-FILE (database file to operate on)\n"
132 " Options -db, -script and -log are compulsory\n"
150 sqlite3 *db; local
153 if( stringcompare("-db", argv[ii]) && (ii+1)<argc ){
184 zDb, &db, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, "logging"
187 fprintf(stderr, "Failed to open db: %s\n", sqlite3_errmsg(db));
    [all...]
fragck.tcl 30 sqlite3 db [lindex $argv 0]
31 set DB [btree_open [lindex $argv 0] 1000 0]
73 set pageSize [db eval {PRAGMA page_size}]
82 db eval {
140 set csr [btree_cursor $DB $rootpage 0]
144 foreach pg [btree_ovfl_info $DB $csr] {
  /external/chromium_org/webkit/browser/database/
databases_table_unittest.cc 25 static bool DatabasesTableIsEmpty(sql::Connection* db) {
26 sql::Statement statement(db->GetCachedStatement(
33 sql::Connection db; local
44 EXPECT_TRUE(db.OpenInMemory());
45 DatabasesTable databases_table(&db);
49 EXPECT_TRUE(DatabasesTableIsEmpty(&db));
  /external/chromium_org/chrome/browser/history/
history_unittest.cc 267 // Create the db we want.
270 // Open the db for manual manipulation.
271 sql::Connection db; local
272 ASSERT_TRUE(db.Open(history_dir_.Append(chrome::kHistoryFilename)));
277 sql::Statement s(db.GetUniqueStatement(
294 // Re-open the db using the HistoryDatabase, which should migrate from version
296 // Then close the db so that we can re-open it directly.
300 // Re-open the db for manual manipulation.
301 sql::Connection db; local
302 ASSERT_TRUE(db.Open(history_dir_.Append(chrome::kHistoryFilename)))
339 sql::Connection db; local
382 sql::Connection db; local
449 sql::Connection db; local
473 sql::Connection db; local
497 sql::Connection db; local
535 sql::Connection db; local
560 sql::Connection db; local
600 sql::Connection db; local
636 sql::Connection db; local
655 sql::Connection db; local
700 sql::Connection db; local
714 sql::Connection db; local
737 sql::Connection db; local
767 sql::Connection db; local
1825 sql::Connection db; local
    [all...]
  /development/scripts/
add-accounts 32 DB = "/data/data/com.google.android.googleapps/databases/accounts.db"
55 "/system/bin/ls", DB)
81 db = DbExists(adb_flags)
82 if db is None:
87 if db:
add-accounts-sdk 32 DB = "/data/data/com.google.android.googleapps/databases/accounts.db"
52 args = ("adb",) + adb_flags + ("shell", "/system/bin/ls", DB)
78 db = DbExists(adb_flags)
79 if db is None:
84 if db:
  /external/javasqlite/src/main/java/SQLite/
Shell.java 19 Database db; field in class:Shell
52 s.db = db;
159 if (db.is3()) {
324 db.close();
383 t = db.get_table("SELECT name FROM sqlite_master " +
393 t = db.get_table("SELECT name FROM sqlite_master " +
415 db.exec("SELECT sql FROM sqlite_master " +
427 db.exec("SELECT sql FROM sqlite_master " +
441 db.set_encoding(args.length > 0 ? args[0] : null)
    [all...]
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/
dashboard.py 26 from google.appengine.ext import db namespace
29 from google.appengine.ext.db import djangoforms
103 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
109 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
126 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
143 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
154 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
157 contact.avatar = db.Blob(avatar)
171 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
  /external/chromium/chrome/browser/autocomplete/
history_url_provider.h 39 // -> URLDatabase::AutocompleteForPrefix (on in-memory DB)
59 // "flickery" in the AutocompleteEdit. Because the in-memory DB does not have
166 history::URLDatabase* db,
172 history::URLDatabase* db,
208 history::URLDatabase* db,
245 // SuggestExactInput(), looks up its info in the DB. If found, fills in the
246 // title from the DB, promotes the match's priority to that of an inline
250 bool FixupExactSuggestion(history::URLDatabase* db,
  /external/chromium_org/chrome/browser/extensions/activity_log/
fullstream_ui_policy.cc 55 bool FullStreamUIPolicy::InitDatabase(sql::Connection* db) {
56 if (!Util::DropObsoleteTables(db))
60 return ActivityDatabase::InitializeTable(db,
67 bool FullStreamUIPolicy::FlushDatabase(sql::Connection* db) {
71 sql::Transaction transaction(db);
79 sql::Statement statement(db->GetCachedStatement(
131 sql::Connection* db = GetDatabaseConnection(); local
132 if (!db) {
145 sql::Statement query(db->GetCachedStatement(SQL_FROM_HERE,
199 // The policy object should have never been created if there's no DB thread
    [all...]
  /external/chromium_org/chrome/browser/ui/webui/predictors/
predictors_handler.h 44 base::ListValue* db) const;
  /external/chromium_org/chrome/browser/webdata/
web_apps_table.cc 26 WebAppsTable* WebAppsTable::FromWebDatabase(WebDatabase* db) {
27 return static_cast<WebAppsTable*>(db->GetTable(GetKey()));
34 bool WebAppsTable::Init(sql::Connection* db, sql::MetaTable* meta_table) {
35 WebDatabaseTable::Init(db, meta_table);
110 // Should only have valid image data in the db.
  /external/chromium_org/content/test/data/indexeddb/
open_bad_db.js 21 db = event.target.result;
24 shouldBe("db.objectStoreNames.length", "0");
transaction_not_blocked.js 18 var db = event.target.result;
21 var transaction = db.transaction('store', 'readwrite');
  /external/chromium_org/sql/
recovery.h 30 // if (r.db()->Execute(kCreateSchemaSql) &&
31 // r.db()->Execute(kCopyDataFromOrigSql)) {
77 sql::Connection* db() { return &recover_db_; } function in class:sql::Recovery
  /external/chromium_org/third_party/WebKit/Source/core/platform/sql/
SQLiteFileSystem.h 56 // Used by Chromium to determine if the DB file needs to be opened
65 // db - A database with a number generator used to create unique file names.
67 const String& originIdentifier, SQLiteDatabase* db);
86 // Sometimes we expect a DB file to exist; other times, we're OK with creating a new
87 // DB file, but we want to make sure that the directory in which we want to put the
88 // new DB file exists. This method covers both cases.
  /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
message_factory_test.py 89 db = descriptor_database.DescriptorDatabase()
90 pool = descriptor_pool.DescriptorPool(db)
91 db.Add(self.factory_test1_fd)
92 db.Add(self.factory_test2_fd)
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
Main.java 15 import org.eclipse.test.internal.performance.results.db.DB_Results;
37 DB_Results.DB_CONNECTION = true; // force DB connection while running the application
  /frameworks/base/core/java/android/database/sqlite/
SQLiteProgram.java 40 SQLiteProgram(SQLiteDatabase db, String sql, Object[] bindArgs,
42 mDatabase = db;
58 db.getThreadSession().prepare(mSql,
59 db.getThreadDefaultConnectionFlags(assumeReadOnly),
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadProvider.java 74 private static final String DB_NAME = "downloads.db";
238 public void onCreate(final SQLiteDatabase db) {
242 onUpgrade(db, 0, DB_VERSION);
253 public void onUpgrade(final SQLiteDatabase db, int oldV, final int newV) {
259 // no logic to upgrade from these older version, just recreate the DB
265 // DB, so just recreate it
272 upgradeTo(db, version);
279 private void upgradeTo(SQLiteDatabase db, int version) {
282 createDownloadsTable(db);
286 createHeadersTable(db);
493 final SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
519 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
842 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
1022 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
1144 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
EntrySchema.java 99 private void logExecSql(SQLiteDatabase db, String sql) {
100 db.execSQL(sql);
263 public Cursor queryAll(SQLiteDatabase db) {
264 return db.query(mTableName, mProjection, null, null, null, null, null);
267 public boolean queryWithId(SQLiteDatabase db, long id, Entry entry) {
268 Cursor cursor = db.query(mTableName, mProjection, "_id=?",
279 public long insertOrReplace(SQLiteDatabase db, Entry entry) {
285 long id = db.replace(mTableName, "_id", values);
290 public boolean deleteWithId(SQLiteDatabase db, long id) {
291 return db.delete(mTableName, "_id=?", new String[] { Long.toString(id) }) == 1
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderThrottle.java 120 private static final String DATABASE_NAME = "loader_throttle.db";
135 public void onCreate(SQLiteDatabase db) {
136 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " ("
150 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
157 db.execSQL("DROP TABLE IF EXISTS notes");
160 onCreate(db);
241 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
243 Cursor c = qb.query(db, projection, selection, selectionArgs,
287 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
289 long rowId = db.insert(MainTable.TABLE_NAME, null, values)
306 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
342 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /development/samples/NotePad/src/com/example/android/notepad/
NotePadProvider.java 61 private static final String DATABASE_NAME = "note_pad.db";
193 public void onCreate(SQLiteDatabase db) {
194 db.execSQL("CREATE TABLE " + NotePad.Notes.TABLE_NAME + " ("
211 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
218 db.execSQL("DROP TABLE IF EXISTS notes");
221 onCreate(db);
302 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
310 db, // The database to query
544 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
547 long rowId = db.insert
586 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
672 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]

Completed in 1192 milliseconds

<<11121314151617181920>>