Home
last modified time | relevance | path

Searched refs:_db (Results 1 – 20 of 20) sorted by relevance

/external/lzma/CPP/7zip/Archive/7z/
D7zHandler.cpp51 *numItems = _db.Files.Size(); in GetNumberOfItems()
178 const CParsedMethods &pm = _db.ParsedMethods; in GetArchiveProperty()
205 case kpidSolid: prop = _db.IsSolid(); break; in GetArchiveProperty()
206 case kpidNumBlocks: prop = (UInt32)_db.NumFolders; break; in GetArchiveProperty()
207 case kpidHeadersSize: prop = _db.HeadersSize; break; in GetArchiveProperty()
208 case kpidPhySize: prop = _db.PhySize; break; in GetArchiveProperty()
209 case kpidOffset: if (_db.ArcInfo.StartPosition != 0) prop = _db.ArcInfo.StartPosition; break; in GetArchiveProperty()
221 if (_db.StartHeaderWasRecovered) v |= kpv_ErrorFlags_HeadersError; in GetArchiveProperty()
222 if (_db.UnsupportedFeatureWarning) v |= kpv_ErrorFlags_UnsupportedFeature; in GetArchiveProperty()
231 if (!_db.IsArc) v |= kpv_ErrorFlags_IsNotArc; in GetArchiveProperty()
[all …]
D7zExtract.cpp45 const CDbEx *_db;
78 const CFileItem &fi = _db->Files[_fileIndex]; in OpenFile()
88 && !_db->IsItemAnti(_fileIndex) in OpenFile()
104 && !_db->IsItemAnti(_fileIndex) in OpenFile()
129 const CFileItem &fi = _db->Files[_fileIndex]; in CloseFile()
137 while (_numFiles != 0 && _db->Files[_fileIndex].Size == 0) in ProcessEmptyFiles()
230 numItems = _db.Files.Size(); in Extract()
244 CNum folderIndex = _db.FileIndexToFolderIndexMap[fileIndex]; in Extract()
248 nextFile = _db.FolderStartFileIndex[folderIndex]; in Extract()
250 importantTotalUnpacked += _db.Files[index].Size; in Extract()
[all …]
D7zProperties.cpp96 const CArchiveDatabaseEx &_db = volume.Database; in FillPopIDs() local
99 CRecordVector<UInt64> fileInfoPopIDs = _db.ArcInfo.FileInfoPopIDs; in FillPopIDs()
D7zHandler.h135 NArchive::N7z::CDbEx _db; variable
D7zUpdate.cpp1127 const CDbEx *_db; member in NArchive::N7z::CRepackInStreamWithSizes
1166 const CFileItem &fi = _db->Files[_startIndex + index]; in GetSubStreamSize()
1192 const CDbEx *_db; member in NArchive::N7z::CRepackStreamBase
1214 const CFileItem &fi = _db->Files[arcIndex]; in OpenFile()
1239 const CFileItem &fi = _db->Files[arcIndex]; in CloseFile()
1257 …while (_currentIndex < _extractStatuses->Size() && _db->Files[_startIndex + _currentIndex].Size ==… in ProcessEmptyFiles()
2161 repackBase->_db = db; in Update()
2168 inStreamSizeCountSpec->_db = db; in Update()
D7zHandlerOut.cpp267 db = &_db; in UpdateItems()
330 _db.GetPath(ui.IndexInArchive, name); in UpdateItems()
/external/python/cpython2/Lib/bsddb/test/
Dtest_all.py213 self._db = bsddb._db.DB_orig(*args, **kwargs)
218 return getattr(self._db, "has_key")(k)
223 v = self._db[k]
233 self._db[k] = v
238 del self._db[k]
241 return getattr(self._db, v)
244 return len(self._db)
249 return self._db.has_key(k, txn=txn)
254 return self._db.set_re_delim(c)
259 return self._db.set_re_pad(c)
[all …]
/external/python/cpython3/Lib/
Dmimetypes.py55 _db = None variable
290 if _db is None:
292 return _db.guess_type(url, strict)
308 if _db is None:
310 return _db.guess_all_extensions(type, strict)
324 if _db is None:
326 return _db.guess_extension(type, strict)
340 if _db is None:
342 return _db.add_type(type, ext, strict)
347 global inited, _db
[all …]
/external/python/cpython2/Lib/
Dmimetypes.py53 _db = None variable
292 if _db is None:
294 return _db.guess_type(url, strict)
310 if _db is None:
312 return _db.guess_all_extensions(type, strict)
326 if _db is None:
328 return _db.guess_extension(type, strict)
342 if _db is None:
344 return _db.add_type(type, ext, strict)
349 global inited, _db
[all …]
/external/python/cpython2/Lib/plat-mac/
Dpimp.py529 self._db = db
577 return self._db.preferences.compareFlavors(self.flavor(), other.flavor())
613 if self._db._maintainer:
614 sys.stderr.write("---- Please copy this and mail to %s\n" % self._db._maintainer)
638 if self.systemwideOnly() and self._db.preferences.isUserInstall():
654 pkg = self._db.find(name)
678 self.archiveFilename = os.path.join(self._db.preferences.downloadDir, filename)
682 downloader = PimpUrllibDownloader(None, self._db.preferences.downloadDir,
683 watcher=self._db.preferences.watcher)
714 unpacker = unpackerClass(arg, dir=self._db.preferences.buildDir,
[all …]
/external/autotest/site_utils/
Dbackup_mysql_db.py104 self._db = self._get_db_name(scheduled_type)
147 if not self._db:
149 db_name = self._db or ''
163 if not self._db:
165 parameters = {'db': self._db, 'query': query}
Ddump_to_cloudsql.py81 self._db.close()
86 self._db = self.factory.connect()
88 self._cursor = self._db.cursor()
/external/python/cpython2/Lib/test/
Dtest_shelve.py111 self._db = []
122 self._db.append(x)
125 for db in self._db:
127 self._db = []
/external/python/cpython3/Lib/test/
Dtest_shelve.py170 self._db = []
181 self._db.append(x)
184 for db in self._db:
186 self._db = []
/external/python/cpython2/Lib/bsddb/
Ddbtables.py218 self._db = db
221 return cursor_py3k(self._db.cursor(txn=txn))
224 return getattr(self._db,"has_key")(bytes(key, "iso8859-1"),
231 return self._db.put(key, value, flags=flags, txn=txn)
235 return self._db.put(key, value, txn=txn)
239 v = self._db.get(key, txn=txn, flags=flags)
246 return self._db.get(key, txn=txn, flags=flags)
250 return self._db.delete(key, txn=txn)
253 return self._db.close()
D__init__.py76 db = _db = _bsddb
/external/rust/crates/rusqlite/src/
Dunlock_notify.rs91 pub unsafe fn is_locked(_db: *mut ffi::sqlite3, _rc: c_int) -> bool { in is_locked()
96 pub unsafe fn wait_for_unlock_notify(_db: *mut ffi::sqlite3) -> c_int { in wait_for_unlock_notify()
/external/autotest/server/
Dfrontend.py136 self._db = None
152 if self._db is None:
153 self._db = db.db()
162 self._db.commit()
163 for entry in self._db.select(','.join(fields), table, (where, None)):
/external/python/cpython3/
D.gitattributes57 *_db.h linguist-generated=true
/external/autotest/frontend/afe/
Dmodels.py1673 old_db = Job.objects._db
1676 Job.objects._db = 'readonly'
1679 Job.objects._db = old_db