/third_party/lzma/CPP/7zip/Common/ |
D | LimitedStreams.h | 18 UInt64 _size; 19 UInt64 _pos; 24 void Init(UInt64 streamSize) in Init() 30 UInt64 GetSize() const { return _pos; } in GetSize() 31 UInt64 GetRem() const { return _size - _pos; } in GetRem() 40 UInt64 _virtPos; 41 UInt64 _physPos; 42 UInt64 _size; 43 UInt64 _startOffset; 48 HRESULT InitAndSeek(UInt64 startOffset, UInt64 size) [all …]
|
D | MultiOutStream.h | 21 UInt64 Start; // start pos of current Stream in global stream 22 UInt64 Pos; // pos in current Stream 23 UInt64 RealSize; 28 HRESULT SetSize2(UInt64 size) in SetSize2() 38 …UInt64 _offsetPos; // offset relative to Streams[_streamIndex] volume. (_offsetPos >= volSize … 39 UInt64 _absPos; 40 UInt64 _length; // virtual Length 41 UInt64 _absLimit; 44 CRecordVector<UInt64> Sizes; 46 UInt64 _restrict_Begin; [all …]
|
D | LimitedStreams.cpp | 13 const UInt64 rem = _size - _pos; in Z7_COM7F_IMF() 41 const UInt64 rem = _size - _virtPos; in Z7_COM7F_IMF() 45 UInt64 newPos = _startOffset + _virtPos; in Z7_COM7F_IMF() 59 Z7_COM7F_IMF(CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Z7_COM7F_IMF() 70 _virtPos = (UInt64)offset; in Z7_COM7F_IMF() 76 HRESULT CreateLimitedInStream(IInStream *inStream, UInt64 pos, UInt64 size, ISequentialInStream **r… in CreateLimitedInStream() 95 UInt64 rem = Size - _virtPos; in Z7_COM7F_IMF() 109 UInt64 newPos = StartOffset + ((UInt64)phyBlock << BlockSizeLog) + offsetInBlock; in Z7_COM7F_IMF() 133 Z7_COM7F_IMF(CClusterInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Z7_COM7F_IMF() 144 if (_virtPos != (UInt64)offset) in Z7_COM7F_IMF() [all …]
|
D | MethodProps.h | 17 inline UInt64 Calc_From_Val_Percents_Less100(UInt64 val, UInt64 percents) in Calc_From_Val_Percents_Less100() 21 if (val <= (UInt64)(Int64)-1 / percents) in Calc_From_Val_Percents_Less100() 26 UInt64 Calc_From_Val_Percents(UInt64 val, UInt64 percents); 82 …HRESULT SetCoderProps(ICompressSetCoderProperties *scp, const UInt64 *dataSizeReduce = NULL) const; 83 …rops_DSReduce_Aff(ICompressSetCoderProperties *scp, const UInt64 *dataSizeReduce, const UInt64 *af… 103 bool Get_DicSize(UInt64 &res) const in Get_DicSize() 138 UInt64 Get_Lzma_DicSize() const in Get_Lzma_DicSize() 140 UInt64 v; in Get_Lzma_DicSize() 194 UInt64 Get_Lzma_MemUsage(bool addSlidingWindowSize) const; 208 UInt64 GetProp_BlockSize(PROPID id) const in GetProp_BlockSize() [all …]
|
D | MultiOutStream.cpp | 101 void CMultiOutStream::Init(const CRecordVector<UInt64> &sizes) in Init() 115 _absLimit = (UInt64)(Int64)-1; in Init() 118 _restrict_End = (UInt64)(Int64)-1; in Init() 121 UInt64 sum = 0; in Init() 130 const UInt64 size = Sizes[i]; in Init() 131 const UInt64 next = sum + size; in Init() 138 const UInt64 size = Sizes.Back(); in Init() 281 HRESULT CMultiOutStream::CreateNewStream(UInt64 newSize) in CreateNewStream() 320 UInt64 newSize; in CreateStreams_If_Required() 381 UInt64 realSize = 0; in ReOpenStream() [all …]
|
D | MethodProps.cpp | 11 UInt64 Calc_From_Val_Percents(UInt64 val, UInt64 percents) in Calc_From_Val_Percents() 14 const UInt64 q = percents / 100; in Calc_From_Val_Percents() 16 UInt64 res = 0; in Calc_From_Val_Percents() 20 if (val > (UInt64)(Int64)-1 / q) in Calc_From_Val_Percents() 21 return (UInt64)(Int64)-1; in Calc_From_Val_Percents() 27 UInt64 v2; in Calc_From_Val_Percents() 28 if (val <= (UInt64)(Int64)-1 / r) in Calc_From_Val_Percents() 34 return (UInt64)(Int64)-1; in Calc_From_Val_Percents() 75 static unsigned ParseStringToUInt64(const UString &srcString, UInt64 &number) in ParseStringToUInt64() 193 static HRESULT SetLogSizeProp(UInt64 number, NCOM::CPropVariant &destProp) in SetLogSizeProp() [all …]
|
D | FileStreams.cpp | 101 const UInt64 rem = File.Size - VirtPos; in Z7_COM7F_IMF() 108 const UInt64 mask2 = ~(UInt64)mask; in Z7_COM7F_IMF() 109 const UInt64 alignedPos = VirtPos & mask2; in Z7_COM7F_IMF() 128 UInt64 end = VirtPos + size; in Z7_COM7F_IMF() 142 UInt64 realNewPosition; in Z7_COM7F_IMF() 152 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize); in Z7_COM7F_IMF() 171 UInt64 realNewPosition; in Z7_COM7F_IMF() 264 Z7_COM7F_IMF(CInFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) in Z7_COM7F_IMF() 283 VirtPos = (UInt64)offset; in Z7_COM7F_IMF() 285 *newPosition = (UInt64)offset; in Z7_COM7F_IMF() [all …]
|
/third_party/lzma/CPP/7zip/UI/Common/ |
D | Bench.h | 11 UInt64 Benchmark_GetUsage_Percents(UInt64 usage); 15 UInt64 GlobalTime; 16 UInt64 GlobalFreq; 17 UInt64 UserTime; 18 UInt64 UserFreq; 19 UInt64 UnpackSize; 20 UInt64 PackSize; 21 UInt64 NumIterations; 34 UInt64 GetUsage() const; 35 UInt64 GetRatingPerUsage(UInt64 rating) const; [all …]
|
D | Bench.cpp | 66 static const UInt64 kComplexInCommands = (UInt64)1 << 76 bool isSpecifiedFreq, UInt64 cpuFreq, UInt64 &complexInCommands) in SetComplexCommandsMs() 79 const UInt64 kMinFreq = (UInt64)1000000 * 4; in SetComplexCommandsMs() 80 const UInt64 kMaxFreq = (UInt64)1000000 * 20000; in SetComplexCommandsMs() 94 static const UInt64 kBenchmarkUsageMult = 1 << kBenchmarkUsageMultBits; 96 UInt64 Benchmark_GetUsage_Percents(UInt64 usage) in Benchmark_GetUsage_Percents() 365 UInt64 Pos; 387 static UInt64 GetTimeCount() 393 return (UInt64)(v.tv_sec) * 1000000 + (UInt64)v.tv_usec; 394 return (UInt64)time(NULL) * 1000000; [all …]
|
D | HashCalc.h | 38 UInt64 NumSums[k_HashCalc_NumGroups]; 75 virtual void SetSize(UInt64 size) = 0; in DECLARE_INTERFACE() 85 UInt64 NumDirs; 86 UInt64 NumFiles; 87 UInt64 NumAltStreams; 88 UInt64 FilesSize; 89 UInt64 AltStreamsSize; 90 UInt64 NumErrors; 92 UInt64 CurSize; 107 void SetSize(UInt64 size) Z7_override; [all …]
|
/third_party/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 …]
|
/third_party/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 …]
|
/third_party/lzma/CPP/7zip/UI/FileManager/ |
D | ProgressDialog2.h | 40 UInt64 _totalBytes; 41 UInt64 _completedBytes; 42 UInt64 _totalFiles; 43 UInt64 _curFiles; 44 UInt64 _inSize; 45 UInt64 _outSize; 83 …HRESULT ScanProgress(UInt64 numFiles, UInt64 totalSize, const FString &fileName, bool isDir = fals… 85 HRESULT 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 …]
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
D | 7zIn.h | 37 CRecordVector<UInt64> IDs; 52 CObjArray<UInt64> PackPositions; // NumPackStreams + 1 58 CObjArray<UInt64> CoderUnpackSizes; // including unpack sizes of bond coders 80 UInt64 GetFolderUnpackSize(unsigned folderIndex) const in GetFolderUnpackSize() 85 UInt64 GetStreamPackSize(unsigned index) const in GetStreamPackSize() 181 UInt64 StartPosition; // in stream 182 UInt64 StartPositionAfterHeader; // in stream 183 UInt64 DataStartPosition; // in stream 184 UInt64 DataStartPosition2; // in stream. it's for headers 185 CRecordVector<UInt64> FileInfoPopIDs; [all …]
|
D | 7zOut.h | 73 UInt64 CTime; 74 UInt64 ATime; 75 UInt64 MTime; 76 UInt64 StartPos; 107 CRecordVector<UInt64> CoderUnpackSizes; // including unpack sizes of bond coders 127 CRecordVector<UInt64> PackSizes; 247 UInt64 GetPos() const; 252 void WriteUInt64(UInt64 value); 253 void WriteNumber(UInt64 value); 254 void WriteID(UInt64 value) { WriteNumber(value); } in WriteID() [all …]
|
/third_party/lzma/CPP/Windows/ |
D | TimeUtils.cpp | 21 static const UInt64 kUnixTimeOffset = 22 (UInt64)60 * 60 * 24 * (89 + 365 * (kUnixTimeStartYear - kFileTimeStartYear)); 23 static const UInt64 kNumSecondsInFileTime = (UInt64)(Int64)-1 / kNumTimeQuantumsInSecond; 32 UInt64 res; in DosTime_To_FileTime() 65 UInt64 v64 = ft.dwLowDateTime | ((UInt64)ft.dwHighDateTime << 32); in FileTime_To_DosTime() 128 const UInt64 u1 = FILETIME_To_UInt64(utc); in UtcFileTime_To_LocalDosTime() 129 const UInt64 kDelta = ((UInt64)1 << 41); // it's larger than quantums in 1 sec. in UtcFileTime_To_LocalDosTime() 136 const UInt64 u2 = FILETIME_To_UInt64(loc); in UtcFileTime_To_LocalDosTime() 137 const UInt64 delta = u1 < u2 ? (u2 - u1) : (u1 - u2); in UtcFileTime_To_LocalDosTime() 145 UInt64 UnixTime_To_FileTime64(UInt32 unixTime) throw() in UnixTime_To_FileTime64() [all …]
|
D | FileIO.cpp | 47 bool MyGetDiskFreeSpace(CFSTR rootPath, UInt64 &clusterSize, UInt64 &totalSize, UInt64 &freeSize); 150 bool CFileBase::GetLength(UInt64 &length) const throw() in GetLength() 165 length = (((UInt64)high) << 32) + low; in GetLength() 203 bool CFileBase::GetPosition(UInt64 &position) const throw() in GetPosition() 214 position = (((UInt64)(UInt32)high) << 32) + low; in GetPosition() 220 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek() 243 newPosition = (((UInt64)(UInt32)high) << 32) + low; in Seek() 247 bool CFileBase::Seek(UInt64 position, UInt64 &newPosition) const throw() in Seek() 254 UInt64 newPosition = 0; in SeekToBegin() 258 bool CFileBase::SeekToEnd(UInt64 &newPosition) const throw() in SeekToEnd() [all …]
|
/third_party/lzma/C/ |
D | XzCrc64.c | 16 …UInt64 Z7_FASTCALL XzCrc64UpdateT1_BeT4(UInt64 v, const void *data, size_t size, const UInt64 *tab… 20 UInt64 Z7_FASTCALL XzCrc64UpdateT4(UInt64 v, const void *data, size_t size, const UInt64 *table); 23 typedef UInt64 (Z7_FASTCALL *CRC64_FUNC)(UInt64 v, const void *data, size_t size, const UInt64 *tab… 26 UInt64 g_Crc64Table[256 * CRC64_NUM_TABLES]; 28 UInt64 Z7_FASTCALL Crc64Update(UInt64 v, const void *data, size_t size) in Crc64Update() 33 UInt64 Z7_FASTCALL Crc64Calc(const void *data, size_t size) in Crc64Calc() 43 UInt64 r = i; in Crc64GenerateTable() 46 r = (r >> 1) ^ (kCrc64Poly & ((UInt64)0 - (r & 1))); in Crc64GenerateTable() 51 const UInt64 r = g_Crc64Table[(size_t)i - 256]; in Crc64GenerateTable() 70 const UInt64 x = g_Crc64Table[(size_t)i - 256]; in Crc64GenerateTable()
|
D | Xz.h | 23 unsigned Xz_ReadVarInt(const Byte *p, size_t maxSize, UInt64 *value); 24 unsigned Xz_WriteVarInt(Byte *buf, UInt64 v); 39 UInt64 id; 46 UInt64 packSize; 47 UInt64 unpackSize; 90 UInt64 crc64; 110 UInt64 unpackSize; 111 UInt64 totalSize; 120 UInt64 startOffset; 126 #define XZ_SIZE_OVERFLOW ((UInt64)(Int64)-1) [all …]
|
D | XzCrc64Opt.c | 12 UInt64 Z7_FASTCALL XzCrc64UpdateT4(UInt64 v, const void *data, size_t size, const UInt64 *table); 13 UInt64 Z7_FASTCALL XzCrc64UpdateT4(UInt64 v, const void *data, size_t size, const UInt64 *table) in XzCrc64UpdateT4() 39 UInt64 Z7_FASTCALL XzCrc64UpdateT1_BeT4(UInt64 v, const void *data, size_t size, const UInt64 *tabl… 40 UInt64 Z7_FASTCALL XzCrc64UpdateT1_BeT4(UInt64 v, const void *data, size_t size, const UInt64 *tabl… in XzCrc64UpdateT1_BeT4()
|
D | XzIn.c | 61 { UInt64 newSize = size + (val); if (newSize < size) return XZ_SIZE_OVERFLOW; size = newSize; } 63 UInt64 Xz_GetUnpackSize(const CXzStream *p) in Xz_GetUnpackSize() 65 UInt64 size = 0; in Xz_GetUnpackSize() 74 UInt64 Xz_GetPackSize(const CXzStream *p) in Xz_GetPackSize() 76 UInt64 size = 0; in Xz_GetPackSize() 80 ADD_SIZE_CHECK(size, (p->blocks[i].totalSize + 3) & ~(UInt64)3) in Xz_GetPackSize() 106 UInt64 numBlocks64; in Xz_ReadIndex2() 136 static SRes Xz_ReadIndex(CXzStream *p, ILookInStreamPtr stream, UInt64 indexSize, ISzAllocPtr alloc) in Xz_ReadIndex() 156 static SRes LookInStream_SeekRead_ForArc(ILookInStreamPtr stream, UInt64 offset, void *buf, size_t … in LookInStream_SeekRead_ForArc() 165 UInt64 indexSize; in Xz_ReadBackward() [all …]
|
D | MtDec.h | 28 UInt64 totalInSize; 29 UInt64 totalOutSize; 35 SRes MtProgress_ProgressAdd(CMtProgress *p, UInt64 inSize, UInt64 outSize); 48 UInt64 inDataSize; // total size of input data in all blocks 80 UInt64 outPos; // check it (size_t) 93 UInt64 *inCodePos, UInt64 *outCodePos, int *stop); 147 UInt64 blockIndex; 167 UInt64 readProcessed; 169 UInt64 inProcessed; 176 UInt64 interruptIndex;
|
/third_party/lzma/CPP/7zip/ |
D | IStream.h | 98 x(Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) 102 x(Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition)) \ 103 x(SetSize(UInt64 newSize)) 107 x(GetSize(UInt64 *size)) 115 x(GetProps(UInt64 *size, FILETIME *cTime, FILETIME *aTime, FILETIME *mTime, UInt32 *attrib)) 121 UInt64 Size; 122 UInt64 VolID; 123 UInt64 FileID_Low; 124 UInt64 FileID_High; 202 x(SetRestriction(UInt64 begin, UInt64 end)) \
|
/third_party/lzma/CPP/7zip/Compress/ |
D | Lzma2Decoder.cpp | 27 , _memUsage((UInt64)(sizeof(size_t)) << 28) in CDecoder() 61 static UInt64 Get_ExpectedBlockSize_From_Dict(UInt32 dictSize) in Get_ExpectedBlockSize_From_Dict() 65 UInt64 blockSize = (UInt64)dictSize << 2; in Get_ExpectedBlockSize_From_Dict() 70 blockSize &= ~(UInt64)(kMinSize - 1); in Get_ExpectedBlockSize_From_Dict() 85 const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress)) in Z7_COM7F_IMF() 112 const UInt64 useLimit = _memUsage; in Z7_COM7F_IMF() 114 const UInt64 expectedBlockSize64 = Get_ExpectedBlockSize_From_Dict(dictSize); in Z7_COM7F_IMF() 122 const UInt64 okThreads = useLimit / (props.outBlockMax + props.inBlockMax + kOverheadSize); in Z7_COM7F_IMF() 143 UInt64 inProcessed = 0; in Z7_COM7F_IMF() 189 Z7_COM7F_IMF(CDecoder::GetInStreamProcessedSize(UInt64 *value)) in Z7_COM7F_IMF() [all …]
|