/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderThrottleSupport.java | 121 private static final String DATABASE_NAME = "loader_throttle.db"; 136 public void onCreate(SQLiteDatabase db) { 137 db.execSQL("CREATE TABLE " + MainTable.TABLE_NAME + " (" 151 public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 158 db.execSQL("DROP TABLE IF EXISTS notes"); 161 onCreate(db); 242 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local 244 Cursor c = qb.query(db, projection, selection, selectionArgs, 288 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local 290 long rowId = db.insert(MainTable.TABLE_NAME, null, values) 307 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local 343 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
test_thread.c | 275 sqlite3 *db; local 284 rc = sqlite3_open(zFilename, &db); 285 Md5_Register(db); 286 sqlite3_busy_handler(db, xBusy, 0); 288 if( sqlite3TestMakePointerStr(interp, zBuf, db) ) return TCL_ERROR; 440 static int wait_for_unlock_notify(sqlite3 *db){ 450 rc = sqlite3_unlock_notify(db, unlock_notify_cb, (void *)&un); 509 sqlite3 *db, /* Database handle. */ 516 while( SQLITE_LOCKED==(rc = sqlite3_prepare_v2(db, zSql, nSql, ppStmt, pz)) ){ 517 rc = wait_for_unlock_notify(db); 561 sqlite3 *db; local [all...] |
utf.c | 212 assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); 276 zOut = sqlite3DbMallocRaw(pMem->db, len); 440 char *sqlite3Utf16to8(sqlite3 *db, const void *z, int nByte, u8 enc){ 443 m.db = db; 446 if( db->mallocFailed ){ 450 assert( (m.flags & MEM_Term)!=0 || db->mallocFailed ); 451 assert( (m.flags & MEM_Str)!=0 || db->mallocFailed ); 452 assert( (m.flags & MEM_Dyn)!=0 || db->mallocFailed ) [all...] |
test4.c | 40 sqlite3 *db; /* Open database */ member in struct:Thread 63 if( p->db ){ 64 sqlite3_close(p->db); 66 sqlite3_open(p->zFilename, &p->db); 67 if( SQLITE_OK!=sqlite3_errcode(p->db) ){ 68 p->zErr = strdup(sqlite3_errmsg(p->db)); 69 sqlite3_close(p->db); 70 p->db = 0; 88 if( p->db ){ 89 sqlite3_close(p->db); [all...] |
test_intarray.c | 80 sqlite3 *db, /* Database where module is created */ 93 rc = sqlite3_declare_vtab(db, "CREATE TABLE x(value INTEGER PRIMARY KEY)"); 220 sqlite3 *db, 233 rc = sqlite3_create_module_v2(db, zName, &intarrayModule, p, 239 rc = sqlite3_exec(db, zSql, 0, 0, 0); 284 ** sqlite3_intarray_create DB NAME 295 sqlite3 *db; local 302 Tcl_WrongNumArgs(interp, 1, objv, "DB"); 305 if( getDbPointer(interp, Tcl_GetString(objv[1]), &db) ) return TCL_ERROR; 308 rc = sqlite3_intarray_create(db, zName, &pArray) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandler.java | 109 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId, 111 final long dataId = db.insert(Tables.DATA, null, values); 149 public boolean update(SQLiteDatabase db, TransactionContext txContext, 158 db.update(Tables.DATA, values, Data._ID + " =?", mSelectionArgs1); 248 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { 253 int count = db.delete(Tables.DATA, Data._ID + "=?", mSelectionArgs1); 255 db.delete(Tables.PRESENCE, PresenceColumns.RAW_CONTACT_ID + "=?", mSelectionArgs1); 257 fixPrimary(db, rawContactId); 267 private void fixPrimary(SQLiteDatabase db, long rawContactId) { 272 Cursor c = db.query(DataDeleteQuery.TABLE [all...] |
ProfileDatabaseHelper.java | 32 private static final String DATABASE_NAME = "profile.db"; 67 protected void initializeAutoIncrementSequences(SQLiteDatabase db) { 72 db.insert(SEQUENCE_TABLE, null, values);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
SDL_ggivideo.c | 158 const ggi_directbuffer *db; local 218 db = ggiDBGetBuffer(VIS, 0); /* Only handle one DB for now */ 220 vformat->BitsPerPixel = db->buffer.plb.pixelformat->depth; 222 vformat->Rmask = db->buffer.plb.pixelformat->red_mask; 223 vformat->Gmask = db->buffer.plb.pixelformat->green_mask; 224 vformat->Bmask = db->buffer.plb.pixelformat->blue_mask; 230 this->info.video_mem = db->buffer.plb.stride * mode.virt.y; 262 const ggi_directbuffer *db; local 309 db = ggiDBGetBuffer(VIS, 0) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 352 db = MimeTypes() 355 db.read_windows_registry() 359 db.read(file) 360 encodings_map = db.encodings_map 361 suffix_map = db.suffix_map 362 types_map = db.types_map[True] 363 common_types = db.types_map[False] 364 # Make the DB a global variable now that it is fully initialized 365 _db = db 373 db = MimeTypes( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mimetypes.py | 352 db = MimeTypes() 355 db.read_windows_registry() 359 db.read(file) 360 encodings_map = db.encodings_map 361 suffix_map = db.suffix_map 362 types_map = db.types_map[True] 363 common_types = db.types_map[False] 364 # Make the DB a global variable now that it is fully initialized 365 _db = db 373 db = MimeTypes( [all...] |
/external/chromium/chrome/browser/history/ |
history_database.h | 46 explicit TransactionScoper(HistoryDatabase* db) : db_(db) {
|
/external/chromium_org/chrome/browser/history/ |
history_database.h | 54 explicit TransactionScoper(HistoryDatabase* db) : db_(db) { 190 // sql::INIT_OK iff the DB is up-to-date and ready for use.
|
/external/chromium_org/chrome/browser/webdata/ |
keyword_table.h | 89 static KeywordTable* FromWebDatabase(WebDatabase* db); 92 virtual bool Init(sql::Connection* db, sql::MetaTable* meta_table) OVERRIDE;
|
/external/chromium_org/content/browser/indexed_db/leveldb/ |
leveldb_database.h | 20 class DB; 37 explicit LevelDBSnapshot(LevelDBDatabase* db); 40 leveldb::DB* db_; 48 scoped_ptr<LevelDBDatabase>* db, 73 scoped_ptr<leveldb::DB> db_;
|
/external/chromium_org/content/test/data/indexeddb/ |
transaction_run_forever.js | 26 var db = event.target.result; 27 db.createObjectStore('store'); 34 var db = event.target.result; 37 var transaction = db.transaction('store', 'readwrite');
|
/external/chromium_org/third_party/leveldatabase/src/helpers/memenv/ |
memenv_test.cc | 7 #include "db/db_impl.h" 8 #include "leveldb/db.h" 189 DB* db; local 194 ASSERT_OK(DB::Open(options, "/dir/db", &db)); 196 ASSERT_OK(db->Put(WriteOptions(), keys[i], vals[i])); 201 ASSERT_OK(db->Get(ReadOptions(), keys[i], &res)); 205 Iterator* iterator = db->NewIterator(ReadOptions()) [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/macho/tests/nasm32/ |
macho-reloc.asm | 3 uhoh db 5
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/rdf/tests/ |
rdfseg.asm | 19 _message: db 'Hello, World', 10, 13, 0
|
/external/chromium_org/webkit/browser/database/ |
databases_table.h | 31 explicit DatabasesTable(sql::Connection* db) : db_(db) { }
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteStatement.java | 16 public void init(SQLiteDatabase db, String sql) { 17 super.init(db, sql);
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDirectCursorDriver.java | 35 public SQLiteDirectCursorDriver(SQLiteDatabase db, String sql, String editTable, 37 mDatabase = db;
|
SQLiteStatement.java | 30 SQLiteStatement(SQLiteDatabase db, String sql, Object[] bindArgs) { 31 super(db, sql, bindArgs, null);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/unique.ptr/unique.ptr.single/unique.ptr.single.asgn/ |
move_convert03.pass.cpp | 47 CDeleter<B> db(5); 48 std::unique_ptr<B, CDeleter<B>&> s(new B, db);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_bsddb3.py | 58 from bsddb import db namespace 65 print >>sys.stderr, db.DB_VERSION_STRING
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_bsddb3.py | 58 from bsddb import db namespace 65 print >>sys.stderr, db.DB_VERSION_STRING
|