Lines Matching defs:db
1985 var db = IDBFS.dbs[name];
1986 if (db) {
1987 return callback(null, db);
1997 var db = e.target.result;
2002 if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
2005 fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
2011 db = req.result;
2014 IDBFS.dbs[name] = db;
2015 callback(null, db);
2055 IDBFS.getDB(mount.mountpoint, function(err, db) {
2058 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
2068 return callback(null, { type: 'remote', db: db, entries: entries });
2166 var db = src.type === 'remote' ? src.db : dst.db;
2167 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
3855 console.log('creating db');
3856 var db = openRequest.result;
3857 db.createObjectStore(FS.DB_STORE_NAME);
3860 var db = openRequest.result;
3861 var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
3886 var db = openRequest.result;
3888 var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');
41831 BigInteger.prototype.DB = dbits;
41898 else if(sh+k > this.DB) {
41899 this[this.t-1] |= (x&((1<<(this.DB-sh))-1))<<sh;
41900 this[this.t++] = (x>>(this.DB-sh));
41905 if(sh >= this.DB) sh -= this.DB;
41909 if(sh > 0) this[this.t-1] |= ((1<<(this.DB-sh))-1)<<sh;
41932 var p = this.DB-(i*this.DB)%k;
41934 if(p < this.DB && (d = this[i]>>p) > 0) { m = true; r = int2char(d); }
41938 d |= this[--i]>>(p+=this.DB-k);
41942 if(p <= 0) { p += this.DB; --i; }
41982 return this.DB*(this.t-1)+nbits(this[this.t-1]^(this.s&this.DM));
41985 // (protected) r = this << n*DB
41994 // (protected) r = this >> n*DB
42003 var bs = n%this.DB;
42004 var cbs = this.DB-bs;
42006 var ds = Math.floor(n/this.DB), c = (this.s<<bs)&this.DM, i;
42021 var ds = Math.floor(n/this.DB);
42023 var bs = n%this.DB;
42024 var cbs = this.DB-bs;
42042 c >>= this.DB;
42049 c >>= this.DB;
42058 c >>= this.DB;
42112 var nsh = this.DB-nbits(pm[pm.t-1]); // normalize modulus
42173 // (protected) return "-1/this % 2^DB"; useful for Mont. reduction
42192 // assumes 16 < DB <= 32 and assumes ability to handle 48-bit ints
42204 this.um = (1<<(m.DB-15))-1;
42339 function bnpChunkSize(r) { return Math.floor(Math.LN2*this.DB/Math.log(r)); }
42390 // assumes 16 < DB < 32
42391 return ((this[1]&((1<<(32-this.DB))-1))<<this.DB)|this[0];
42400 c >>= this.DB;
42407 c >>= this.DB;
42416 c >>= this.DB;