Home
last modified time | relevance | path

Searched refs:_db (Results 1 – 22 of 22) 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()
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()
D7zHandler.h135 NArchive::N7z::CDbEx _db; variable
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
289 if _db is None:
291 return _db.guess_type(url, strict)
307 if _db is None:
309 return _db.guess_all_extensions(type, strict)
323 if _db is None:
325 return _db.guess_extension(type, strict)
339 if _db is None:
341 return _db.add_type(type, ext, strict)
346 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/scheduler/
Dscheduler_models.py54 _db = None variable
62 global _db
63 _db = scheduler_lib.ConnectionManager().get_connection()
186 rows = _db.execute(sql, (row_id,))
251 rows = _db.execute("""
268 _db.execute(query, (value, self.id))
287 _db.execute(query)
289 self.id = _db.execute('SELECT LAST_INSERT_ID()')[0][0]
297 _db.execute(query, (self.id,))
326 rows = _db.execute(query, params)
[all …]
Dmonitor_db_cleanup.py28 self._db = db
99 rows = self._db.execute("""
204 self._db.execute("""
263 self._db.execute(sql)
326 rows = self._db.execute("""
348 rows = self._db.execute("""
Dquery_managers.py231 self._db = scheduler_lib.ConnectionManager().get_connection()
252 rows = self._db.execute(query)
Dmonitor_db.py70 _db = None variable
260 global _db
261 _db = _db_manager.get_connection()
319 _db, user_cleanup_time)
321 _db, _drone_manager)
/external/autotest/site_utils/
Dbackup_mysql_db.py101 self._db = self._get_db_name(scheduled_type)
144 if not self._db:
146 db_name = self._db or ''
160 if not self._db:
162 parameters = {'db': self._db, 'query': query}
Ddump_to_cloudsql.py78 self._db.close()
83 self._db = self.factory.connect()
85 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/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/python/cpython3/Lib/test/
Dtest_shelve.py175 self._db = []
186 self._db.append(x)
189 for db in self._db:
191 self._db = []
/external/autotest/server/
Dfrontend.py130 self._db = None
146 if self._db is None:
147 self._db = db.db()
156 self._db.commit()
157 for entry in self._db.select(','.join(fields), table, (where, None)):
/external/autotest/frontend/afe/
Dmodels.py1683 old_db = Job.objects._db
1685 Job.objects._db = 'readonly'
1691 Job.objects._db = old_db