Lines Matching refs:_db
51 *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()
232 if (_db.ThereIsHeaderError) v |= kpv_ErrorFlags_HeadersError; in GetArchiveProperty()
233 if (_db.UnexpectedEnd) v |= kpv_ErrorFlags_UnexpectedEnd; in GetArchiveProperty()
235 if (_db.UnsupportedFeatureError) v |= kpv_ErrorFlags_UnsupportedFeature; in GetArchiveProperty()
242 if (!_db.CanUpdate()) in GetArchiveProperty()
265 size_t startPos = _db.FoCodersDataOffset[folderIndex]; in IsFolderEncrypted()
266 const Byte *p = _db.CodersData + startPos; in IsFolderEncrypted()
267 size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos; in IsFolderEncrypted()
323 if (_db.NameOffsets && _db.NamesBuf) in GetRawProp()
325 size_t offset = _db.NameOffsets[index]; in GetRawProp()
326 size_t size = (_db.NameOffsets[index + 1] - offset) * 2; in GetRawProp()
329 *data = (const void *)(_db.NamesBuf + offset * 2); in GetRawProp()
369 size_t startPos = _db.FoCodersDataOffset[folderIndex]; in SetMethodToProp()
370 const Byte *p = _db.CodersData + startPos; in SetMethodToProp()
371 size_t size = _db.FoCodersDataOffset[folderIndex + 1] - startPos; in SetMethodToProp()
548 const CFileItem &item = _db.Files[index]; in GetProperty()
564 CNum folderIndex = _db.FileIndexToFolderIndexMap[index2]; in GetProperty()
567 if (_db.FolderStartFileIndex[folderIndex] == (CNum)index2) in GetProperty()
568 PropVarEm_Set_UInt64(value, _db.GetFolderFullPackSize(folderIndex)); in GetProperty()
580 …case kpidPosition: { UInt64 v; if (_db.StartPos.GetItem(index2, v)) PropVarEm_Set_UInt64(value, v… in GetProperty()
581 case kpidCTime: SetFileTimeProp_From_UInt64Def(value, _db.CTime, index2); break; in GetProperty()
582 case kpidATime: SetFileTimeProp_From_UInt64Def(value, _db.ATime, index2); break; in GetProperty()
583 case kpidMTime: SetFileTimeProp_From_UInt64Def(value, _db.MTime, index2); break; in GetProperty()
584 …case kpidAttrib: if (_db.Attrib.ValidAndDefined(index2)) PropVarEm_Set_UInt32(value, _db.Attrib.V… in GetProperty()
586 …case kpidEncrypted: PropVarEm_Set_Bool(value, IsFolderEncrypted(_db.FileIndexToFolderIndexMap[ind… in GetProperty()
587 case kpidIsAnti: PropVarEm_Set_Bool(value, _db.IsItemAnti(index2)); break; in GetProperty()
603 case kpidPath: return _db.GetPath_Prop(index, value); in GetProperty()
607 case kpidMethod: return SetMethodToProp(_db.FileIndexToFolderIndexMap[index2], value); in GetProperty()
610 CNum folderIndex = _db.FileIndexToFolderIndexMap[index2]; in GetProperty()
672 _db.IsArc = false; in Open()
674 _db.IsArc = true; in Open()
678 _db in Open()
707 _db.Clear(); in Close()