/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DbModifierWithNotification.java | 76 public DbModifierWithNotification(String tableName, SQLiteDatabase db, Context context) { 77 this(tableName, db, null, context); 85 private DbModifierWithNotification(String tableName, SQLiteDatabase db, 88 mDb = db;
|
/external/chromium/chrome/browser/history/ |
history_database.cc | 38 sql::Connection& db) { 48 sql::Statement url_count(db.GetUniqueStatement("SELECT count(*) FROM urls")); 53 sql::Statement visit_count(db.GetUniqueStatement( 134 // the DB is opened.
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
caching_file_system_test.py | 36 db = self._object_store_dbs[namespace] 38 db.clear() 39 return TestObjectStore(namespace, init=db)
|
/external/chromium_org/chrome/tools/ |
history-viz.py | 152 db = SQLite(filename) 156 for id, url in db.Run('SELECT id, url FROM urls'): 162 for src, dst, url, trans in db.Run('SELECT from_visit, id, url, transition '
|
/external/chromium_org/third_party/sqlite/src/contrib/ |
sqlitecon.tcl | 5 # sqlitecon::create .sqlcon {sql:- } {SQL Console} db 37 # object is $db 39 proc sqlitecon::create {w prompt title db} { 54 set v(db) $db 55 $db function edit ::sqlitecon::_edit 223 if {[string index $cmd 0]=="." || [$v(db) complete $cmd]} { 270 $v(db) eval {PRAGMA database_list} { 285 $v(db) eval {PRAGMA database_list} { 299 $v(db) eval {PRAGMA database_list} [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
restore_jrnl.tcl | 55 set rc [catch {uplevel [list db eval $sql]} msg] 228 sqlite3 db $db_name 232 db close
|
/external/chromium_org/tools/coverity/ |
coverity.py | 268 option_parser.add_option('', '--coverity-db-host', 270 help=('coverity defect db server hostname, e.g. %s' 274 option_parser.add_option('', '--coverity-db-port', dest='coverity_port', 275 help=('port # of coverity web/db server, e.g. %s'
|
/external/chromium_org/ui/gfx/ |
color_utils.cc | 105 double db = (((vmax - b) / 6.0) + (delta / 2.0)) / delta; local 109 hsl->h = db - dg; 111 hsl->h = (1.0 / 3.0) + dr - db;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
RawDataTable.java | 19 import org.eclipse.test.internal.performance.results.db.BuildResults; 20 import org.eclipse.test.internal.performance.results.db.ConfigResults; 21 import org.eclipse.test.internal.performance.results.db.DB_Results;
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zIn.h | 218 CArchiveDatabaseEx &db
225 CArchiveDatabaseEx &db
236 CArchiveDatabaseEx &db
|
/external/wpa_supplicant_8/hostapd/ |
hlr_auc_gw.c | 102 static int db_table_exists(sqlite3 *db, const char *name) 106 return sqlite3_exec(db, cmd, NULL, NULL, NULL) == SQLITE_OK; 110 static int db_table_create_milenage(sqlite3 *db) 123 if (sqlite3_exec(db, sql, NULL, NULL, &err) != SQLITE_OK) { 135 sqlite3 *db; local 137 if (sqlite3_open(db_file, &db)) { 139 db_file, sqlite3_errmsg(db)); 140 sqlite3_close(db); 144 if (!db_table_exists(db, "milenage") && 145 db_table_create_milenage(db) < 0) [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteDatabaseTest.java | 53 private static final String DATABASE_FILE_NAME = "database_test.db"; 92 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, 94 return new MockSQLiteCursor(db, masterQuery, editTable, query); 98 SQLiteDatabase db = SQLiteDatabase.openDatabase(mDatabaseFilePath, local 100 assertNotNull(db); 101 db.close(); 103 File dbFile = new File(mDatabaseDir, "database_test12345678.db"); 106 db = SQLiteDatabase.openOrCreateDatabase(dbFile.getPath(), factory); 107 assertNotNull(db); 108 db.close() 1364 SQLiteDatabase db = SQLiteDatabase.create(null); local [all...] |
/external/opencv/cv/src/ |
cvfundam.cpp | 500 cvConvertScale( &_H0, H, 1./_H0.data.db[8] ); 512 const double* H = model->data.db; 544 const double* h = _param->data.db; 561 _JtJ->data.db[j*8+k] += J[0][j]*J[0][k] + J[1][j]*J[1][k]; 562 _JtErr->data.db[j] += J[0][j]*err[0] + J[1][j]*err[1]; 695 double* fmatrix = _fmatrix->data.db; 804 double* fmatrix = _fmatrix->data.db; 877 W.data.db = v; 878 U.data.db = v + 9; 879 V.data.db = v + 18 [all...] |
/external/chromium_org/third_party/openssl/openssl/apps/ |
apps.c | [all...] |
/external/openssl/apps/ |
apps.c | [all...] |
/external/chromium/chrome/browser/sync/sessions/ |
sync_session_unittest.cc | 112 TestDirectorySetterUpper db; local 113 db.SetUp(); 115 context_.reset(new SyncSessionContext(NULL, db.manager(), this, 118 context_->set_account_name(db.name()); 130 db.TearDown();
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
typed_urls_helper.cc | 30 history::HistoryDatabase* db) OVERRIDE { 49 history::HistoryDatabase* db) OVERRIDE { 74 history::HistoryDatabase* db) OVERRIDE { 100 history::HistoryDatabase* db) OVERRIDE { 124 history::HistoryDatabase* db) OVERRIDE { 140 // Waits for the history DB thread to finish executing its current set of
|
/external/chromium_org/content/browser/net/ |
sqlite_persistent_cookie_store_unittest.cc | 165 sql::Connection db; local 166 ASSERT_TRUE(db.Open(temp_dir_.path().Append(kCookieFilename))); 168 meta_table_.Init(&db, 1, 1); 169 ASSERT_TRUE(db.Execute("DELETE FROM meta")); 170 db.Close(); 233 // Posting a blocking task to db_thread_ makes sure that the DB thread waits 249 // Now the DB-thread queue contains: 289 // whether the DB file has been modified by checking its size. 295 // Write some large cookies, so the DB will have to expand by several KB. 297 // Each cookie needs a unique timestamp for creation_utc (see DB schema) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
DownloadCache.java | 224 public static final String DATABASE_NAME = "download.db"; 232 public void onCreate(SQLiteDatabase db) { 233 DownloadEntry.SCHEMA.createTables(db); 243 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 245 DownloadEntry.SCHEMA.dropTables(db); 246 onCreate(db);
|
/external/chromium_org/third_party/sqlite/src/src/ |
date.c | 311 sqlite3 *db = sqlite3_context_db_handle(context); local 312 sqlite3OsCurrentTimeInt64(db->pVfs, &p->iJD); 850 sqlite3 *db; local 854 db = sqlite3_context_db_handle(context); 890 testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH]+1 ); 891 testcase( n==(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ); 894 }else if( n>(u64)db->aLimit[SQLITE_LIMIT_LENGTH] ){ 898 z = sqlite3DbMallocRaw(db, (int)n); 1034 sqlite3 *db; local 1041 db = sqlite3_context_db_handle(context) [all...] |
test_fuzzer.c | 188 sqlite3 *db, 205 sqlite3_declare_vtab(db, "CREATE TABLE x(word,distance,cFrom,cTo,cost)"); 890 int fuzzer_register(sqlite3 *db){ 893 rc = sqlite3_create_module(db, "fuzzer", &fuzzerModule, 0); 914 sqlite3 *db; local 916 Tcl_WrongNumArgs(interp, 1, objv, "DB"); 919 if( getDbPointer(interp, Tcl_GetString(objv[1]), &db) ) return TCL_ERROR; 920 fuzzer_register(db);
|
sqliteInt.h | 603 typedef struct Db Db; 661 struct Db { 702 ** Db.pSchema->flags field. 710 ** Allowed values for the DB.pSchema->flags field. 803 Db *aDb; /* All backends */ 1231 sqlite3 *db; \/* Database connection associated with this table *\/ member in struct:VTable 1405 sqlite3 *db; \/* The database connection *\/ member in struct:KeyInfo 2169 sqlite3 *db; \/* The main database structure *\/ member in struct:Parse 2392 sqlite3 *db; \/* Optional database for lookaside. Can be NULL *\/ member in struct:StrAccum 2408 sqlite3 *db; \/* The database being initialized *\/ member in struct:__anon16201 [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
history_quick_provider_unittest.cc | 74 {"http://daysagoest.com/y/b", "DB", 1, 1, 1}, 167 history_service_->history_backend_->db()); 183 sql::Connection& db(history_service_->history_backend_->db()->GetDB()); 184 ASSERT_TRUE(db.is_open()); 193 sql::Transaction transaction(&db); 203 sql::Statement sql_stmt(db.GetUniqueStatement(sql_cmd_line.c_str())); 221 sql::Statement sql_stmt(db.GetUniqueStatement(sql_cmd_line.c_str()));
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
fts3.c | 471 sqlite3 *db, /* Database in which to run SQL */ 484 *pRc = sqlite3_exec(db, zSql, 0, 0, 0); 495 sqlite3 *db = p->db; local 498 fts3DbExec(&rc, db, "DROP TABLE IF EXISTS %Q.'%q_content'", p->zDb, p->zName); 499 fts3DbExec(&rc, db, "DROP TABLE IF EXISTS %Q.'%q_segments'", p->zDb,p->zName); 500 fts3DbExec(&rc, db, "DROP TABLE IF EXISTS %Q.'%q_segdir'", p->zDb, p->zName); 501 fts3DbExec(&rc, db, "DROP TABLE IF EXISTS %Q.'%q_docsize'", p->zDb, p->zName); 502 fts3DbExec(&rc, db, "DROP TABLE IF EXISTS %Q.'%q_stat'", p->zDb, p->zName); 541 rc = sqlite3_declare_vtab(p->db, zSql) 563 sqlite3 *db = p->db; \/* The database connection *\/ local 3520 sqlite3 *db = p->db; \/* Database connection *\/ local [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
safe_browsing_service_browsertest.cc | 389 TestSafeBrowsingDatabase* db = db_factory_.GetDb(); local 390 db->AddUrl(url, full_hash.list_name, prefix_hits, empty_full_hits); 400 TestSafeBrowsingDatabase* db = db_factory_.GetDb(); local 401 db->AddDownloadPrefix( 919 sql::Connection db; variable 947 sql::Connection db; variable [all...] |