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

<<11121314151617181920>>

  /external/chromium/chrome/common/
sqlite_utils.cc 32 virtual int HandleError(int error, sqlite3* db) {
35 << " db " << static_cast<void*>(db);
42 virtual int HandleError(int error, sqlite3* db) {
100 bool DoesSqliteTableExist(sqlite3* db,
113 if (statement.prepare(db, sql.c_str()) != SQLITE_OK)
123 bool DoesSqliteColumnExist(sqlite3* db,
140 if (s.prepare(db, sql.c_str()) != SQLITE_OK)
153 bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name) {
159 if (s.prepare(db, b.c_str()) != SQLITE_OK
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
insert.c 69 sqlite3 *db = sqlite3VdbeDb(v); local
72 db->mallocFailed = 1;
110 sqlite3 *db = sqlite3VdbeDb(v); local
114 db->mallocFailed = 1;
141 VTable *pVTab = IsVirtual(pTab) ? sqlite3GetVTable(p->db, pTab) : 0;
204 pInfo = sqlite3DbMallocRaw(pParse->db, sizeof(*pInfo));
225 sqlite3 *db = pParse->db; /* The database connection */ local
226 Db *pDb; /* Database only autoinc table */
238 pDb = &db->aDb[p->iDb]
281 sqlite3 *db = pParse->db; local
441 sqlite3 *db; \/* The main database structure *\/ local
    [all...]
table.c 119 sqlite3 *db, /* The database on which the SQL executes */
141 db->errCode = SQLITE_NOMEM;
145 rc = sqlite3_exec(db, zSql, sqlite3_get_table_cb, &res, pzErrMsg);
157 db->errCode = res.rc; /* Assume 32-bit assignment is atomic */
170 db->errCode = SQLITE_NOMEM;
test_stat.c 131 sqlite3 *db; member in struct:StatTable
142 sqlite3 *db,
152 pTab->db = db;
154 sqlite3_declare_vtab(db, VTAB_SCHEMA);
207 rc = sqlite3_prepare_v2(pTab->db,
370 Btree *pBt = pTab->db->aDb[0].pBt;
542 int sqlite3_dbstat_register(sqlite3 *db){
565 sqlite3_create_module(db, "dbstat", &dbstat_module, 0);
585 struct SqliteDb { sqlite3 *db; };
    [all...]
where.c 114 #define TERM_DYNAMIC 0x01 /* Need to call sqlite3ExprDelete(db, pExpr) */
279 static void whereOrInfoDelete(sqlite3 *db, WhereOrInfo *p){
281 sqlite3DbFree(db, p);
287 static void whereAndInfoDelete(sqlite3 *db, WhereAndInfo *p){
289 sqlite3DbFree(db, p);
299 sqlite3 *db = pWC->pParse->db; local
302 sqlite3ExprDelete(db, a->pExpr);
305 whereOrInfoDelete(db, a->u.pOrInfo);
307 whereAndInfoDelete(db, a->u.pAndInfo)
340 sqlite3 *db = pWC->pParse->db; local
653 sqlite3 *db = pParse->db; \/* Database connection *\/ local
849 sqlite3 *db = pParse->db; \/* Database connection *\/ local
1111 sqlite3 *db = pParse->db; \/* Database connection *\/ local
1434 sqlite3 *db = pParse->db; local
2306 sqlite3 *db = pParse->db; local
3518 sqlite3 *db = pParse->db; \/* Database handle *\/ local
4385 sqlite3 *db; \/* Database connection *\/ local
4870 sqlite3 *db = pParse->db; local
    [all...]
test_wholenumber.c 42 sqlite3 *db,
51 sqlite3_declare_vtab(db, "CREATE TABLE x(value)");
257 int wholenumber_register(sqlite3 *db){
260 rc = sqlite3_create_module(db, "wholenumber", &wholenumberModule, 0);
281 sqlite3 *db; local
283 Tcl_WrongNumArgs(interp, 1, objv, "DB");
286 if( getDbPointer(interp, Tcl_GetString(objv[1]), &db) ) return TCL_ERROR;
287 wholenumber_register(db);
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DictionaryDatabase.java 57 * @param context The Context within which to work, used to create the DB
181 public void onCreate(SQLiteDatabase db) {
182 mDatabase = db;
237 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
240 db.execSQL("DROP TABLE IF EXISTS " + FTS_VIRTUAL_TABLE);
241 onCreate(db);
  /external/chromium_org/chrome/browser/extensions/activity_log/
activity_database.cc 46 if (BrowserThread::IsMessageLoopValid(BrowserThread::DB))
47 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
60 // Wrap the initialization in a transaction so that the db doesn't
124 if (BrowserThread::IsMessageLoopValid(BrowserThread::DB))
125 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::DB));
189 bool ActivityDatabase::InitializeTable(sql::Connection* db,
194 if (!db->DoesTableExist(table_name)) {
204 if (!db->Execute(table_creator.c_str()))
210 if (!db->DoesColumnExist(table_name, content_fields[i])) {
216 if (!db->Execute(table_updater.c_str())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBOpenDBRequest.cpp 78 RefPtr<IDBDatabaseBackendInterface> db = prpDatabaseBackend; local
79 db->abort(m_transactionId);
80 db->close(m_databaseCallbacks);
114 RefPtr<IDBDatabaseBackendInterface> db = prpBackend; local
115 db->close(m_databaseCallbacks);
  /external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/
testfile.py 32 from google.appengine.ext import db namespace
38 master = db.StringProperty()
39 builder = db.StringProperty()
40 test_type = db.StringProperty()
45 file = db.get(key)
  /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/xdf/tests/
xdflong.asm 9 db %2 >> 16 ; Base 23-16
10 db ((%4 & 0xF) << 4) | (%1 & 0xF ) ; p_dpl_s_type
11 db (%5 << 4) | ((%3 & 0xF0000) >> 16) ; g_db_a limit 19:16
12 db %2 >> 24 ; Base 31-24
24 db 0 ; Ist
25 db ((%4 & 0xF) << 4) | (%1 & 0xF) ; p_dpl_s_type
38 db %2 << 7
41 db (%3 << 5) | (%4 << 4) | (%5 << 3) | (%6 << 2) | (%7 << 1) | %8
46 db %2 << 7
47 db %1 >> 4
    [all...]
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
BordeauxSessionStorage.java 70 public void onCreate(SQLiteDatabase db) {
71 db.execSQL(DATABASE_CREATE);
75 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
79 db.execSQL("DROP TABLE IF EXISTS " + SESSION_TABLE);
80 onCreate(db);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactDirectoryManager.java 134 SQLiteDatabase db = getDbHelper().getReadableDatabase(); local
136 Cursor cursor = db.query(Tables.DIRECTORIES,
238 SQLiteDatabase db = getDbHelper().getWritableDatabase(); local
239 insertDefaultDirectory(db);
240 insertLocalInvisibleDirectory(db);
294 int deletedRows = db.delete(Tables.DIRECTORIES, deleteWhereBuilder.toString(),
301 private void insertDefaultDirectory(SQLiteDatabase db) {
312 db.replace(Tables.DIRECTORIES, null, values);
315 private void insertLocalInvisibleDirectory(SQLiteDatabase db) {
326 db.replace(Tables.DIRECTORIES, null, values)
380 SQLiteDatabase db = getDbHelper().getWritableDatabase(); local
    [all...]
DataRowHandlerForStructuredName.java 47 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
51 long dataId = super.insert(db, txContext, rawContactId, values);
60 fixRawContactDisplayName(db, txContext, rawContactId);
66 public boolean update(SQLiteDatabase db, TransactionContext txContext, ContentValues values,
71 final ContentValues augmented = getAugmentedValues(db, dataId, values);
78 super.update(db, txContext, values, c, callerIsSyncAdapter);
93 fixRawContactDisplayName(db, txContext, rawContactId);
99 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) {
103 int count = super.delete(db, txContext, c);
106 fixRawContactDisplayName(db, txContext, rawContactId)
    [all...]
  /external/chromium_org/chrome/browser/history/
thumbnail_database.cc 112 void ReportCorrupt(sql::Connection* db, size_t startup_kb) {
128 db->IntegrityCheck(&messages);
149 void ReportError(sql::Connection* db, int error) {
156 base::StringAppendF(&debug_info, "db error: %d/%s\n",
157 db->GetErrorCode(), db->GetErrorMessage());
160 base::StringAppendF(&debug_info, "errno: %d\n", db->GetLastErrno());
166 if (db->IsSQLValid(kVersionSql)) {
167 sql::Statement statement(db->GetUniqueStatement(kVersionSql));
194 sql::Statement statement(db->GetUniqueStatement(kSchemaSql))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
SQLTransaction.cpp 51 PassRefPtr<SQLTransaction> SQLTransaction::create(Database* db, PassRefPtr<SQLTransactionCallback> callback,
55 return adoptRef(new SQLTransaction(db, callback, successCallback, errorCallback, readOnly));
58 SQLTransaction::SQLTransaction(Database* db, PassRefPtr<SQLTransactionCallback> callback,
61 : m_database(db)
62 , m_callbackWrapper(callback, db->scriptExecutionContext())
63 , m_successCallbackWrapper(successCallback, db->scriptExecutionContext())
64 , m_errorCallbackWrapper(errorCallback, db->scriptExecutionContext())
  /external/chromium_org/third_party/sqlite/src/ext/icu/
icu.c 417 sqlite3 *db = (sqlite3 *)sqlite3_user_data(p); local
439 rc = sqlite3_create_collation_v2(db, zName, SQLITE_UTF16, (void *)pUCollator,
449 ** Register the ICU extension functions with database db.
451 int sqlite3IcuInit(sqlite3 *db){
474 {"icu_load_collation", 2, SQLITE_UTF8, (void*)db, icuLoadCollation},
483 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0
492 sqlite3 *db,
497 return sqlite3IcuInit(db);
  /external/wpa_supplicant_8/src/ap/
eap_user_db.c 60 wpa_printf(MSG_INFO, "DB: Unsupported EAP type '%s'",
134 sqlite3 *db; local
155 wpa_printf(MSG_INFO, "DB: Unsupported character in identity");
168 if (sqlite3_open(hapd->conf->eap_user_sqlite, &db)) {
169 wpa_printf(MSG_INFO, "DB: Failed to open database %s: %s",
170 hapd->conf->eap_user_sqlite, sqlite3_errmsg(db));
171 sqlite3_close(db);
178 wpa_printf(MSG_DEBUG, "DB: %s", cmd);
179 if (sqlite3_exec(db, cmd, get_user_cb, &hapd->tmp_eap_user, NULL) !=
181 wpa_printf(MSG_DEBUG, "DB: Failed to complete SQL operation")
    [all...]
  /packages/apps/Browser/src/com/android/browser/provider/
BrowserProvider.java 60 static final String sDatabaseName = "browser.db";
90 // 0..SHORT: filled by browser db
256 public void onCreate(SQLiteDatabase db) {
257 db.execSQL("CREATE TABLE bookmarks (" +
278 db.execSQL("INSERT INTO bookmarks (title, url, visits, " +
286 db.execSQL("CREATE TABLE searches (" +
294 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
298 db.execSQL("DROP TABLE IF EXISTS labels");
301 db.execSQL("ALTER TABLE bookmarks ADD COLUMN thumbnail BLOB DEFAULT NULL;");
304 db.execSQL("ALTER TABLE bookmarks ADD COLUMN touch_icon BLOB DEFAULT NULL;")
427 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
906 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
954 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /packages/providers/TelephonyProvider/src/com/android/providers/telephony/
MmsProvider.java 208 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
209 Cursor ret = qb.query(db, projection, selection,
328 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
367 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
378 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
447 if ((rowId = db.insert(table, null, finalValues)) <= 0) {
470 db.insert(TABLE_WORDS, Telephony.MmsSms.WordsTable.INDEXED_TEXT, cv);
477 db.delete(table, Rate.SENT_TIME + "<=" + oneHourAgo, null);
478 db.insert(table, null, values);
499 if ((rowId = db.insert(table, null, finalValues)) <= 0)
590 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
768 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/server2/
appengine_wrappers.py 30 import google.appengine.ext.db as db namespace
215 class db(object): class in function:IsDevServer
230 return db.Key('%s/%s' % (model_name, path))
253 return _Db_Result(db._store.get(key))
256 db._store[self.key_] = self.value
260 return _RPC(result=db._store.get(key))
264 db._store.pop(key, None)
269 db._store[value.key] = value
  /external/chromium_org/third_party/sqlite/src/ext/rtree/
viewrtree.tcl 13 sqlite3 db [lindex $argv 0]
19 set ::O(iNode) [db one $sql]
37 db eval {
42 set nCol [expr [llength [db eval "pragma table_info($name)"]]/6]
85 .status configure -text [cell_report db $::O(zTab) $::O(iNode) $i]
121 set data [rtree_node db $zTab $iNode 12]
122 set depth [rtree_nodedepth db $zTab $iNode]
131 .title configure -text "Node $iNode: [cell_report db $zTab $iNode -1]"
158 proc cell_report {db zTab iParent iCell} {
159 set data [rtree_node db $zTab $iParent 12
    [all...]
  /frameworks/base/services/java/com/android/server/accounts/
AccountManagerService.java 110 private static final String DATABASE_NAME = "accounts.db";
318 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
319 final Cursor cursor = db.query(TABLE_GRANTS,
331 db.delete(TABLE_GRANTS, GRANTS_GRANTEE_UID + "=?",
369 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
371 Cursor cursor = db.query(TABLE_ACCOUNTS,
386 db.delete(TABLE_ACCOUNTS, ACCOUNTS_ID + "=" + accountId, null);
502 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); local
503 Cursor cursor = db.query(TABLE_ACCOUNTS, new String[]{ACCOUNTS_PASSWORD},
690 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase() local
937 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
974 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
1026 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
1112 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
1180 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
1859 SQLiteDatabase db = getUserAccounts(userId).openHelper.getWritableDatabase(); local
1878 SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
2500 final SQLiteDatabase db = userAccounts.openHelper.getReadableDatabase(); local
2676 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); local
2763 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
2798 final SQLiteDatabase db = accounts.openHelper.getWritableDatabase(); local
2991 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); local
3004 final SQLiteDatabase db = accounts.openHelper.getReadableDatabase(); local
    [all...]
  /external/chromium/chrome/browser/history/
text_database_manager.cc 275 TextDatabase* db = GetDBForTime(visit_time, true); local
276 if (!db)
289 // avoid another DB query.
316 bool success = db->AddPageData(visit_time, url_str,
337 TextDatabase* db = GetDB(db_ident, false); local
338 if (!db)
340 db = GetDB(db_ident, true);
345 db->DeletePageData(time, URLDatabase::GURLToDatabaseURL(url));
402 TextDatabase* db = GetDB(*i, false); local
403 if (!db)
    [all...]
thumbnail_database.h 53 // |db| is the database to open.
55 static sql::InitStatus OpenDatabase(sql::Connection* db,
126 // Adds the favicon URL and icon type to the favicon db, returning its id.
234 // |db| is the connection to use for initializing the table.
237 bool InitFaviconsTable(sql::Connection* db, bool is_temporary);
257 bool InitIconMappingTable(sql::Connection* db, bool is_temporary);

Completed in 596 milliseconds

<<11121314151617181920>>