/external/lzma/CPP/7zip/UI/Common/ |
D | Bench.h | 11 UInt64 GlobalTime; 12 UInt64 GlobalFreq; 13 UInt64 UserTime; 14 UInt64 UserFreq; 15 UInt64 UnpackSize; 16 UInt64 PackSize; 17 UInt64 NumIterations; 20 UInt64 GetUsage() const; 21 UInt64 GetRatingPerUsage(UInt64 rating) const; 22 UInt64 GetSpeed(UInt64 numCommands) const; [all …]
|
D | Bench.cpp | 53 static const UInt64 kComplexInCommands = (UInt64)1 << 60 static const UInt64 kComplexInSeconds = 4; 62 static void SetComplexCommands(UInt32 complexInSeconds, UInt64 cpuFreq, UInt64 &complexInCommands) in SetComplexCommands() 65 const UInt64 kMinFreq = (UInt64)1000000 * 30; in SetComplexCommands() 66 const UInt64 kMaxFreq = (UInt64)1000000 * 20000; in SetComplexCommands() 288 static UInt64 GetTimeCount() in GetTimeCount() 294 return (UInt64)(v.tv_sec) * 1000000 + v.tv_usec; in GetTimeCount() 295 return (UInt64)time(NULL) * 1000000; in GetTimeCount() 309 static UInt64 GetFreq() in GetFreq() 331 UInt64 Sum; [all …]
|
D | HashCalc.h | 37 virtual void SetSize(UInt64 size) = 0; 45 UInt64 NumFiles; 46 UInt64 NumDirs; 47 UInt64 NumAltStreams; 48 UInt64 FilesSize; 49 UInt64 AltStreamsSize; 50 UInt64 NumErrors; 52 UInt64 CurSize; 63 void SetSize(UInt64 size); 69 …virtual HRESULT ScanProgress(UInt64 numFolders, UInt64 numFiles, UInt64 totalSize, const wchar_t *… [all …]
|
D | ArchiveExtractCallback.h | 29 UInt64 _size; 46 UInt64 GetSize() const { return _size; } in GetSize() 100 UInt64 StreamId; 101 UInt64 INode; 156 UInt64 _position; 184 UInt64 _curSize; 206 UInt64 _packTotal; 207 UInt64 _unpTotal; 227 UInt64 NumFolders; 228 UInt64 NumFiles; [all …]
|
D | UpdateCallback.h | 15 virtual HRESULT SetTotal(UInt64 size) x; \ 16 virtual HRESULT SetCompleted(const UInt64 *completeValue) x; \ 17 virtual HRESULT SetRatioInfo(const UInt64 *inSize, const UInt64 *outSize) x; \ 20 virtual HRESULT SetNumFiles(UInt64 numFiles) x; \ 36 UInt64 Key1; 37 UInt64 Key2; 75 STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize); 84 CRecordVector<UInt64> VolumesSizes;
|
/external/lzma/CPP/7zip/Common/ |
D | LimitedStreams.h | 16 UInt64 _size; 17 UInt64 _pos; 22 void Init(UInt64 streamSize) in Init() 32 UInt64 GetSize() const { return _pos; } in GetSize() 41 UInt64 _virtPos; 42 UInt64 _physPos; 43 UInt64 _size; 44 UInt64 _startOffset; 49 HRESULT InitAndSeek(UInt64 startOffset, UInt64 size) in InitAndSeek() 61 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition); [all …]
|
D | LimitedStreams.cpp | 11 UInt32 sizeToRead = (UInt32)MyMin((_size - _pos), (UInt64)size); in Read() 35 UInt64 rem = _size - _virtPos; in Read() 38 UInt64 newPos = _startOffset + _virtPos; in Read() 52 STDMETHODIMP CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() 69 HRESULT CreateLimitedInStream(IInStream *inStream, UInt64 pos, UInt64 size, ISequentialInStream **r… in CreateLimitedInStream() 94 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock; in Read() 103 UInt64 rem = Size - _virtPos; in Read() 118 STDMETHODIMP CClusterInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() 129 if (_virtPos != (UInt64)offset) in Seek() 160 UInt64 phyPos = extent.Phy + (_virtPos - extent.Virt); in Read() [all …]
|
D | FileStreams.cpp | 68 UInt64 rem = File.Size - VirtPos; in Read() 75 const UInt64 mask2 = ~(UInt64)mask; in Read() 76 UInt64 alignedPos = VirtPos & mask2; in Read() 95 UInt64 end = VirtPos + size; in Read() 109 UInt64 realNewPosition; in Read() 119 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize); in Read() 138 UInt64 realNewPosition; in Read() 219 STDMETHODIMP CInFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() 245 UInt64 realNewPosition; in Seek() 262 *newPosition = (UInt64)res; in Seek() [all …]
|
/external/lzma/C/ |
D | XzCrc64.c | 17 ((v >> 40) & ((UInt64)0xFF << 8)) | \ 18 ((v >> 24) & ((UInt64)0xFF << 16)) | \ 19 ((v >> 8) & ((UInt64)0xFF << 24)) | \ 20 ((v << 8) & ((UInt64)0xFF << 32)) | \ 21 ((v << 24) & ((UInt64)0xFF << 40)) | \ 22 ((v << 40) & ((UInt64)0xFF << 48)) | \ 24 …UInt64 MY_FAST_CALL XzCrc64UpdateT1_BeT4(UInt64 v, const void *data, size_t size, const UInt64 *ta… 28 UInt64 MY_FAST_CALL XzCrc64UpdateT4(UInt64 v, const void *data, size_t size, const UInt64 *table); 31 typedef UInt64 (MY_FAST_CALL *CRC_FUNC)(UInt64 v, const void *data, size_t size, const UInt64 *tabl… 34 UInt64 g_Crc64Table[256 * CRC_NUM_TABLES]; [all …]
|
D | Xz.h | 21 unsigned Xz_ReadVarInt(const Byte *p, size_t maxSize, UInt64 *value); 22 unsigned Xz_WriteVarInt(Byte *buf, UInt64 v); 37 UInt64 id; 44 UInt64 packSize; 45 UInt64 unpackSize; 81 UInt64 crc64; 101 UInt64 unpackSize; 102 UInt64 totalSize; 111 UInt64 startOffset; 117 #define XZ_SIZE_OVERFLOW ((UInt64)(Int64)-1) [all …]
|
D | XzCrc64Opt.c | 12 UInt64 MY_FAST_CALL XzCrc64UpdateT4(UInt64 v, const void *data, size_t size, const UInt64 *table) in XzCrc64UpdateT4() 38 ((v >> 40) & ((UInt64)0xFF << 8)) | \ 39 ((v >> 24) & ((UInt64)0xFF << 16)) | \ 40 ((v >> 8) & ((UInt64)0xFF << 24)) | \ 41 ((v << 8) & ((UInt64)0xFF << 32)) | \ 42 ((v << 24) & ((UInt64)0xFF << 40)) | \ 43 ((v << 40) & ((UInt64)0xFF << 48)) | \ 46 UInt64 MY_FAST_CALL XzCrc64UpdateT1_BeT4(UInt64 v, const void *data, size_t size, const UInt64 *tab… in XzCrc64UpdateT1_BeT4()
|
D | XzIn.c | 46 { UInt64 newSize = size + (val); if (newSize < size) return XZ_SIZE_OVERFLOW; size = newSize; } 48 UInt64 Xz_GetUnpackSize(const CXzStream *p) in Xz_GetUnpackSize() 50 UInt64 size = 0; in Xz_GetUnpackSize() 57 UInt64 Xz_GetPackSize(const CXzStream *p) in Xz_GetPackSize() 59 UInt64 size = 0; in Xz_GetPackSize() 62 ADD_SIZE_CHECH(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3); in Xz_GetPackSize() 87 UInt64 numBlocks64; in Xz_ReadIndex2() 117 static SRes Xz_ReadIndex(CXzStream *p, ILookInStream *stream, UInt64 indexSize, ISzAlloc *alloc) in Xz_ReadIndex() 144 UInt64 indexSize; in Xz_ReadBackward() 198 indexSize = ((UInt64)GetUi32(buf + 4) + 1) << 2; in Xz_ReadBackward() [all …]
|
/external/protobuf/js/binary/ |
D | arith.js | 53 jspb.arith.UInt64 = function(lo, hi) { class in jspb.arith 73 jspb.arith.UInt64.prototype.cmp = function(other) { 88 jspb.arith.UInt64.prototype.rightShift = function() { 91 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0); 99 jspb.arith.UInt64.prototype.leftShift = function() { 102 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0); 110 jspb.arith.UInt64.prototype.msb = function() { 119 jspb.arith.UInt64.prototype.lsb = function() { 128 jspb.arith.UInt64.prototype.zero = function() { 138 jspb.arith.UInt64.prototype.add = function(other) { [all …]
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
D | LzmaBench.cs | 172 static UInt64 MyMultDiv64(UInt64 value, UInt64 elapsedTime) in MyMultDiv64() 174 UInt64 freq = TimeSpan.TicksPerSecond; in MyMultDiv64() 175 UInt64 elTime = elapsedTime; in MyMultDiv64() 186 static UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size) in GetCompressRating() 188 UInt64 t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating() 189 UInt64 numCommandsForOne = 1060 + ((t * t * 10) >> (2 * kSubBits)); in GetCompressRating() 190 UInt64 numCommands = (UInt64)(size) * numCommandsForOne; in GetCompressRating() 194 static UInt64 GetDecompressRating(UInt64 elapsedTime, UInt64 outSize, UInt64 inSize) in GetDecompressRating() 196 UInt64 numCommands = inSize * 220 + outSize * 20; in GetDecompressRating() 200 static UInt64 GetTotalRating( in GetTotalRating() [all …]
|
/external/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.h | 39 UInt64 _totalBytes; 40 UInt64 _completedBytes; 41 UInt64 _totalFiles; 42 UInt64 _curFiles; 43 UInt64 _inSize; 44 UInt64 _outSize; 83 …HRESULT ScanProgress(UInt64 numFiles, UInt64 totalSize, const UString &fileName, bool isDir = fals… 85 void Set_NumFilesTotal(UInt64 val); 86 void Set_NumBytesTotal(UInt64 val); 87 void Set_NumFilesCur(UInt64 val); [all …]
|
D | ProgressDialog.h | 19 UInt64 _total; 20 UInt64 _completed; 45 void SetProgress(UInt64 total, UInt64 completed) in SetProgress() 51 void SetPos(UInt64 completed) in SetPos() 56 void GetProgress(UInt64 &total, UInt64 &completed) in GetProgress() 66 UInt64 _numShiftBits; 68 void Init(UInt64 range) in Init() 74 int Count(UInt64 value) { return int(value >> _numShiftBits); } in Count() 84 UInt64 _peviousPos; 85 UInt64 _range; [all …]
|
D | ExtractCallback.h | 67 UInt64 Size; // real size 68 UInt64 ExpectedSize; // the size from props request. 0 if unknown 99 UInt64 _totalAllocSize; 109 UInt64 MaxTotalAllocSize; 144 CVirtFileSystem(): _outFileStreamSpec(NULL), MaxTotalAllocSize((UInt64)0 - 1) {} in CVirtFileSystem() 199 const wchar_t *existName, const FILETIME *existTime, const UInt64 *existSize, 200 const wchar_t *newName, const FILETIME *newTime, const UInt64 *newSize, 202 …repareOperation)(const wchar_t *name, bool isFolder, Int32 askExtractMode, const UInt64 *position); 228 const UInt64 *srcSize, 234 STDMETHOD(SetNumFiles)(UInt64 numFiles); [all …]
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.h | 37 CRecordVector<UInt64> IDs; 47 CObjArray<UInt64> PackPositions; // NumPackStreams + 1 53 CObjArray<UInt64> CoderUnpackSizes; // including unpack sizes of bind coders 70 UInt64 GetFolderUnpackSize(unsigned folderIndex) const in GetFolderUnpackSize() 75 UInt64 GetStreamPackSize(unsigned index) const in GetStreamPackSize() 165 UInt64 StartPosition; 166 UInt64 StartPositionAfterHeader; 167 UInt64 DataStartPosition; 168 UInt64 DataStartPosition2; 169 CRecordVector<UInt64> FileInfoPopIDs; [all …]
|
D | 7zOut.h | 68 UInt64 CTime; 69 UInt64 ATime; 70 UInt64 MTime; 71 UInt64 StartPos; 95 CRecordVector<UInt64> CoderUnpackSizes; // including unpack sizes of bind coders 114 CRecordVector<UInt64> PackSizes; 227 UInt64 _prefixHeaderPos; 231 UInt64 GetPos() const; 236 void WriteUInt64(UInt64 value); 237 void WriteNumber(UInt64 value); [all …]
|
/external/lzma/CPP/7zip/UI/Console/ |
D | ExtractCallbackConsole.h | 32 STDMETHOD(SetTotal)(UInt64 total); 33 STDMETHOD(SetCompleted)(const UInt64 *completeValue); 37 const wchar_t *existName, const FILETIME *existTime, const UInt64 *existSize, 38 const wchar_t *newName, const FILETIME *newTime, const UInt64 *newSize, 40 …repareOperation)(const wchar_t *name, bool isFolder, Int32 askExtractMode, const UInt64 *position); 65 UInt64 NumTryArcs; 69 UInt64 NumCantOpenArcs; 70 UInt64 NumOkArcs; 71 UInt64 NumArcsWithError; 72 UInt64 NumArcsWithWarnings; [all …]
|
D | PercentPrinter.h | 10 UInt64 m_MinStepSize; 11 UInt64 m_PrevValue; 12 UInt64 m_CurValue; 13 UInt64 m_Total; 18 CPercentPrinter(UInt64 minStepSize = 1): m_MinStepSize(minStepSize), in m_MinStepSize() 19 m_PrevValue(0), m_CurValue(0), m_Total((UInt64)(Int64)-1), m_NumExtraChars(0) {} in m_MinStepSize() 20 void SetTotal(UInt64 total) { m_Total = total; m_PrevValue = 0; } in SetTotal() 21 void SetRatio(UInt64 doneValue) { m_CurValue = doneValue; } in SetRatio()
|
/external/lzma/CPP/Windows/ |
D | TimeUtils.cpp | 15 static const UInt64 kUnixTimeOffset = 16 (UInt64)60 * 60 * 24 * (89 + 365 * (kUnixTimeStartYear - kFileTimeStartYear)); 17 static const UInt64 kNumSecondsInFileTime = (UInt64)(Int64)-1 / kNumTimeQuantumsInSecond; 26 UInt64 res; in DosTimeToFileTime() 59 UInt64 v64 = ft.dwLowDateTime | ((UInt64)ft.dwHighDateTime << 32); in FileTimeToDosTime() 120 UInt64 v = (kUnixTimeOffset + (UInt64)unixTime) * kNumTimeQuantumsInSecond; in UnixTimeToFileTime() 138 UInt64 v2 = (UInt64)v * kNumTimeQuantumsInSecond; in UnixTime64ToFileTime() 146 UInt64 winTime = (((UInt64)ft.dwHighDateTime) << 32) + ft.dwLowDateTime; in FileTimeToUnixTime64() 152 UInt64 winTime = (((UInt64)ft.dwHighDateTime) << 32) + ft.dwLowDateTime; in FileTimeToUnixTime() 170 unsigned hour, unsigned min, unsigned sec, UInt64 &resSeconds) throw() in GetSecondsSince1601() [all …]
|
D | FileIO.cpp | 27 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize); 94 bool CFileBase::GetPosition(UInt64 &position) const throw() in GetPosition() 99 bool CFileBase::GetLength(UInt64 &length) const throw() in GetLength() 114 length = (((UInt64)sizeHigh) << 32) + sizeLow; in GetLength() 118 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek() 133 newPosition = (((UInt64)high) << 32) + low; in Seek() 137 bool CFileBase::Seek(UInt64 position, UInt64 &newPosition) const throw() in Seek() 144 UInt64 newPosition; in SeekToBegin() 148 bool CFileBase::SeekToEnd(UInt64 &newPosition) const throw() in SeekToEnd() 161 UInt64 pos = Size & ~(UInt64)(kClusterSize - 1); in CorrectDeviceSize() [all …]
|
/external/lzma/CPP/7zip/Compress/ |
D | LzmaDecoder.h | 32 UInt64 _outSize; 33 UInt64 _inSizeProcessed; 34 UInt64 _outSizeProcessed; 43 void SetOutStreamSizeResume(const UInt64 *outSize); 58 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress); 60 STDMETHOD(SetOutStreamSize)(const UInt64 *outSize); 70 …HRESULT CodeResume(ISequentialOutStream *outStream, const UInt64 *outSize, ICompressProgressInfo *… 72 UInt64 GetInputProcessedSize() const { return _inSizeProcessed; } in GetInputProcessedSize() 83 UInt64 GetOutputProcessedSize() const { return _outSizeProcessed; } in GetOutputProcessedSize()
|
/external/lzma/CPP/7zip/ |
D | IStream.h | 84 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE; 89 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE; 90 STDMETHOD(SetSize)(UInt64 newSize) PURE; 95 STDMETHOD(GetSize)(UInt64 *size) PURE; 106 …STDMETHOD(GetProps)(UInt64 *size, FILETIME *cTime, FILETIME *aTime, FILETIME *mTime, UInt32 *attri… 111 UInt64 Size; 112 UInt64 VolID; 113 UInt64 FileID_Low; 114 UInt64 FileID_High;
|