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

1 2 3 4 5 6 7 891011>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/
dbtables.py 16 # the Python Berkeley DB 3 interface.
57 from bsddb3 import db namespace
60 from bsddb import db namespace
114 _table_names_key = '__TABLE_NAMES__' # list of the tables in this db
163 Open database name in the dbhome Berkeley DB directory.
166 self.db = None
167 myflags = db.DB_THREAD
169 myflags |= db.DB_CREATE
170 flagsforenv = (db.DB_INIT_MPOOL | db.DB_INIT_LOCK | db.DB_INIT_LOG
    [all...]
dbshelve.py 10 # forces the use of cPickle, and DB.
36 exec("from . import db") namespace
38 import db namespace
81 def open(filename, flags=db.DB_CREATE, mode=0660, filetype=db.DB_HASH,
89 db = dbshelve.open(filename)
91 db[key] = data
93 db.close()
98 flags = db.DB_RDONLY
102 flags = db.DB_CREAT
    [all...]
  /libcore/luni/src/test/java/tests/api/javax/xml/parsers/
DocumentBuilderTest.java 122 DocumentBuilder db; field in class:DocumentBuilderTest
130 db = dbf.newDocumentBuilder();
151 assertNull(db.getSchema());
226 Document d = db.parse(f);
242 Document d = db.parse(f);
259 db.parse((File)null);
271 db.parse(new File("_"));
282 db.parse(f);
302 Document d = db.parse(is);
319 db.parse((InputStream)null)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/
dbshelve.py 10 # forces the use of cPickle, and DB.
36 exec("from . import db") namespace
38 import db namespace
81 def open(filename, flags=db.DB_CREATE, mode=0660, filetype=db.DB_HASH,
89 db = dbshelve.open(filename)
91 db[key] = data
93 db.close()
98 flags = db.DB_RDONLY
102 flags = db.DB_CREAT
    [all...]
  /external/chromium_org/third_party/sqlite/src/src/
analyze.c 54 sqlite3 *db = pParse->db; local
55 Db *pDb;
58 assert( sqlite3BtreeHoldsAllMutexes(db) );
59 assert( sqlite3VdbeDb(v)==db );
60 pDb = &db->aDb[iDb];
65 if( (pStat = sqlite3FindTable(db, zTab, pDb->zName))==0 ){
111 sqlite3 *db = pParse->db; /* Database handle */ local
149 assert( sqlite3BtreeHoldsAllMutexes(db) );
383 sqlite3 *db = pParse->db; local
439 sqlite3 *db = pParse->db; local
501 sqlite3 *db; member in struct:analysisInfo
    [all...]
vdbetrace.c 69 sqlite3 *db; /* The database connection */ local
79 db = p->db;
81 db->aLimit[SQLITE_LIMIT_LENGTH]);
82 out.db = db;
83 if( db->vdbeExecCnt>1 ){
125 u8 enc = ENC(db);
129 utf8.db = db;
    [all...]
  /external/chromium_org/third_party/openssl/openssl/apps/
srp.c 120 static int get_index(CA_DB *db, char* id, char type)
126 for (i = 0; i < sk_OPENSSL_PSTRING_num(db->db->data); i++)
128 pp = sk_OPENSSL_PSTRING_value(db->db->data,i);
132 else for (i = 0; i < sk_OPENSSL_PSTRING_num(db->db->data); i++)
134 pp = sk_OPENSSL_PSTRING_value(db->db->data,i);
143 static void print_entry(CA_DB *db, BIO *bio, int indx, int verbose, char *s
292 CA_DB *db=NULL; local
    [all...]
  /external/openssl/apps/
srp.c 120 static int get_index(CA_DB *db, char* id, char type)
126 for (i = 0; i < sk_OPENSSL_PSTRING_num(db->db->data); i++)
128 pp = sk_OPENSSL_PSTRING_value(db->db->data,i);
132 else for (i = 0; i < sk_OPENSSL_PSTRING_num(db->db->data); i++)
134 pp = sk_OPENSSL_PSTRING_value(db->db->data,i);
143 static void print_entry(CA_DB *db, BIO *bio, int indx, int verbose, char *s
292 CA_DB *db=NULL; local
    [all...]
  /external/chromium/chrome/browser/webdata/
keyword_table_unittest.cc 27 ".db";
60 WebDatabase db; local
62 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
85 EXPECT_TRUE(db.GetKeywordTable()->AddKeyword(template_url));
88 EXPECT_TRUE(db.GetKeywordTable()->GetKeywords(&template_urls));
127 EXPECT_TRUE(db.GetKeywordTable()->RemoveKeyword(restored_url->id()));
130 EXPECT_TRUE(db.GetKeywordTable()->GetKeywords(&template_urls));
138 WebDatabase db; local
140 ASSERT_EQ(sql::INIT_OK, db.Init(file_));
142 ASSERT_EQ(0, db.GetKeywordTable()->GetDefaulSearchProviderID())
153 WebDatabase db; local
223 WebDatabase db; local
    [all...]
  /external/chromium_org/chrome/browser/webdata/
web_data_service.cc 135 const TemplateURLData& data, WebDatabase* db) {
136 KeywordTable::FromWebDatabase(db)->AddKeyword(data);
141 TemplateURLID id, WebDatabase* db) {
143 KeywordTable::FromWebDatabase(db)->RemoveKeyword(id);
148 const TemplateURLData& data, WebDatabase* db) {
149 if (!KeywordTable::FromWebDatabase(db)->UpdateKeyword(data)) {
156 scoped_ptr<WDTypedResult> WebDataService::GetKeywordsImpl(WebDatabase* db) {
158 KeywordTable::FromWebDatabase(db)->GetKeywords(&result.keywords);
160 KeywordTable::FromWebDatabase(db)->GetDefaultSearchProviderID();
162 KeywordTable::FromWebDatabase(db)->GetBuiltinKeywordVersion()
    [all...]
web_data_service.h 228 // The following methods are only invoked on the DB thread.
238 const TemplateURLData& data, WebDatabase* db);
240 TemplateURLID id, WebDatabase* db);
242 const TemplateURLData& data, WebDatabase* db);
243 scoped_ptr<WDTypedResult> GetKeywordsImpl(WebDatabase* db);
245 TemplateURLID r, WebDatabase* db);
246 WebDatabase::State SetBuiltinKeywordVersionImpl(int version, WebDatabase* db);
255 const SkBitmap& image, WebDatabase* db);
257 bool has_all_images, WebDatabase* db);
258 WebDatabase::State RemoveWebAppImpl(const GURL& app_url, WebDatabase* db);
    [all...]
  /external/e2fsprogs/e2fsck/
dirinfo.c 41 struct dir_info_db *db = ctx->dir_info; local
58 retval = ext2fs_get_mem(strlen(tdb_dir) + 64, &db->tdb_fn);
63 sprintf(db->tdb_fn, "%s/%s-dirinfo-XXXXXX", tdb_dir, uuid);
64 fd = mkstemp(db->tdb_fn);
65 db->tdb = tdb_open(db->tdb_fn, 0, TDB_CLEAR_IF_FIRST,
72 struct dir_info_db *db; local
76 db = (struct dir_info_db *)
78 "directory map db");
79 db->count = db->size = 0
111 struct dir_info_db *db; local
177 struct dir_info_db *db = ctx->dir_info; local
258 struct dir_info_db *db = ctx->dir_info; local
317 struct dir_info_db *db = ctx->dir_info; local
342 struct dir_info_db *db = ctx->dir_info; local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_replication.py 8 from test_all import db, test_support, have_threads, verbose, \
19 self.dbenvMaster = db.DBEnv()
20 self.dbenvClient = db.DBEnv()
25 self.dbenvMaster.open(self.homeDirMaster, db.DB_CREATE | db.DB_INIT_TXN
26 | db.DB_INIT_LOG | db.DB_INIT_MPOOL | db.DB_INIT_LOCK |
27 db.DB_INIT_REP | db.DB_RECOVER | db.DB_THREAD, 0666
9 get_new_environment_path, get_new_database_path namespace
    [all...]
test_recno.py 1 """TestCases for exercising a Recno DB.
9 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path namespace
35 d = db.DB()
40 d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
65 except db.DBInvalidArgError, val:
67 self.assertEqual(val[0], db.EINVAL)
69 self.assertEqual(val.args[0], db.EINVAL)
74 # test that has_key raises DB exceptions (fixed in pybsddb 4.3.2
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_replication.py 8 from test_all import db, test_support, have_threads, verbose, \
19 self.dbenvMaster = db.DBEnv()
20 self.dbenvClient = db.DBEnv()
25 self.dbenvMaster.open(self.homeDirMaster, db.DB_CREATE | db.DB_INIT_TXN
26 | db.DB_INIT_LOG | db.DB_INIT_MPOOL | db.DB_INIT_LOCK |
27 db.DB_INIT_REP | db.DB_RECOVER | db.DB_THREAD, 0666
9 get_new_environment_path, get_new_database_path namespace
    [all...]
test_recno.py 1 """TestCases for exercising a Recno DB.
9 from test_all import db, test_support, verbose, get_new_environment_path, get_new_database_path namespace
35 d = db.DB()
40 d.open(self.filename, db.DB_RECNO, db.DB_CREATE)
65 except db.DBInvalidArgError, val:
67 self.assertEqual(val[0], db.EINVAL)
69 self.assertEqual(val.args[0], db.EINVAL)
74 # test that has_key raises DB exceptions (fixed in pybsddb 4.3.2
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/data/
SQLiteContentProvider.java 121 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
122 db.beginTransaction();
125 db.setTransactionSuccessful();
127 db.endTransaction();
141 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
142 db.beginTransaction();
147 db.yieldIfContendedSafely();
149 db.setTransactionSuccessful();
151 db.endTransaction();
164 SQLiteDatabase db = mOpenHelper.getWritableDatabase() local
188 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
210 SQLiteDatabase db = mOpenHelper.getWritableDatabase(); local
    [all...]
  /external/chromium_org/crypto/third_party/nss/
rsawrapr.c 80 unsigned char *db; local
97 db = (unsigned char *)PORT_Alloc(dbMaskLen);
98 if (db == NULL) {
103 MGF1(maskHashAlg, db, dbMaskLen, &em[dbMaskLen], hash->length);
107 db[i] ^= em[i];
111 db[0] &= 0x7f;
115 if (db[i] != 0) {
116 PORT_Free(db);
121 if (db[dbMaskLen - sLen - 1] != 0x01) {
122 PORT_Free(db);
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ProfileAggregator.java 48 protected String computeLookupKeyForContact(SQLiteDatabase db, long contactId) {
62 public long onRawContactInsert(TransactionContext txContext, SQLiteDatabase db,
64 aggregateContact(txContext, db, rawContactId);
69 public void aggregateInTransaction(TransactionContext txContext, SQLiteDatabase db) {
74 public void aggregateContact(TransactionContext txContext, SQLiteDatabase db,
79 SQLiteStatement profileContactIdLookup = db.compileStatement(
89 mContactId = insertContact(db, rawContactId);
  /external/chromium_org/third_party/openssl/openssl/crypto/rsa/
rsa_oaep.c 39 unsigned char *db, *seed; local
57 db = to + SHA_DIGEST_LENGTH + 1;
59 if (!EVP_Digest((void *)param, plen, db, NULL, EVP_sha1(), NULL))
61 memset(db + SHA_DIGEST_LENGTH, 0,
63 db[emlen - flen - SHA_DIGEST_LENGTH - 1] = 0x01;
64 memcpy(db + emlen - flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen);
83 db[i] ^= dbmask[i];
85 if (MGF1(seedmask, SHA_DIGEST_LENGTH, db, emlen - SHA_DIGEST_LENGTH) < 0)
101 unsigned char *db = NULL, seed[SHA_DIGEST_LENGTH], phash[SHA_DIGEST_LENGTH]; local
124 db = OPENSSL_malloc(dblen + num)
    [all...]
  /external/openssl/crypto/rsa/
rsa_oaep.c 39 unsigned char *db, *seed; local
57 db = to + SHA_DIGEST_LENGTH + 1;
59 if (!EVP_Digest((void *)param, plen, db, NULL, EVP_sha1(), NULL))
61 memset(db + SHA_DIGEST_LENGTH, 0,
63 db[emlen - flen - SHA_DIGEST_LENGTH - 1] = 0x01;
64 memcpy(db + emlen - flen - SHA_DIGEST_LENGTH, from, (unsigned int) flen);
83 db[i] ^= dbmask[i];
85 if (MGF1(seedmask, SHA_DIGEST_LENGTH, db, emlen - SHA_DIGEST_LENGTH) < 0)
101 unsigned char *db = NULL, seed[SHA_DIGEST_LENGTH], phash[SHA_DIGEST_LENGTH]; local
124 db = OPENSSL_malloc(dblen + num)
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaProvider.java 263 SQLiteDatabase db = database.getWritableDatabase();
272 db.update("files", values, where, whereArgs);
275 int numpurged = db.delete("files", where, whereArgs);
276 logToDb(db, "removed " + numpurged +
367 public void onCreate(final SQLiteDatabase db) {
368 updateDatabase(mContext, db, mInternal, 0, getDatabaseVersion(mContext));
376 public void onUpgrade(final SQLiteDatabase db, final int oldV, final int newV) {
378 updateDatabase(mContext, db, mInternal, oldV, newV);
412 public void onOpen(SQLiteDatabase db) {
419 db.addCustomFunction("_OBJECT_REMOVED", 1, mObjectRemovedCallback)
2264 SQLiteDatabase db = helper.getReadableDatabase(); local
2804 SQLiteDatabase db = helper.getWritableDatabase(); local
2976 SQLiteDatabase db = helper.getWritableDatabase(); local
3390 SQLiteDatabase db = ((match == VOLUMES || match == MTP_CONNECTED) ? null local
3658 SQLiteDatabase db = helper.getWritableDatabase(); local
3659 new ScannerClient(getContext(), db, path); local
3976 SQLiteDatabase db = database.getWritableDatabase(); local
4128 SQLiteDatabase db = helper.getWritableDatabase(); local
4461 SQLiteDatabase db = database.getReadableDatabase(); local
4506 SQLiteDatabase db = database.getReadableDatabase(); local
4687 SQLiteDatabase db; field in class:MediaProvider.ThumbData
5593 SQLiteDatabase db = dbh.getReadableDatabase(); local
    [all...]
  /libcore/luni/src/test/java/libcore/sqlite/
OldFunctionContextTest.java 32 private Database db = null; field in class:OldFunctionContextTest
36 db = new Database();
37 db.open(dbFile.getPath(), 0);
46 db.exec("insert into " + DatabaseCreator.TEST_TABLE2
48 db.create_function("test", 1, testString);
49 TableResult res = db.get_table("select test(ftext) from "
59 db.exec("insert into " + DatabaseCreator.SIMPLE_TABLE1
61 db.create_function("testInt", 1, testInt);
62 TableResult res = db.get_table("select testInt(speed) from "
72 db.exec("insert into " + DatabaseCreator.TEST_TABLE
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarCache.java 148 SQLiteDatabase db = mOpenHelper.getReadableDatabase(); local
149 db.beginTransaction();
151 writeDataLocked(db, key, value);
152 db.setTransactionSuccessful();
157 db.endTransaction();
165 * @param db the database (must not be null)
170 protected void writeDataLocked(SQLiteDatabase db, String key, String value)
172 if (null == db) {
190 db.replace(DATABASE_NAME, null /* null column hack */, values);
201 SQLiteDatabase db = mOpenHelper.getReadableDatabase() local
    [all...]
  /external/chromium_org/third_party/sqlite/src/tool/
showjournal.c 14 static FILE *db = 0; variable
33 fseek(db, iOfst, SEEK_SET);
34 got = fread(pBuf, 1, N, db);
116 db = fopen(argv[1], "rb");
117 if( db==0 ){
121 fseek(db, 0, SEEK_END);
122 fileSize = ftell(db);
124 fseek(db, 0, SEEK_SET);
138 fclose(db);

Completed in 565 milliseconds

1 2 3 4 5 6 7 891011>>