/third_party/lzma/CPP/7zip/Common/ |
H A 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 startOffse [all...] |
H A 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 is allowed)
39 UInt64 _absPos;
40 UInt64 _length; // virtual Length
41 UInt64 _absLimit;
44 CRecordVector<UInt64> Sizes;
46 UInt64 _restrict_Begi [all...] |
H A 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() 174 const UInt64 volSize = GetVolSize_for_Stream(index);
281 HRESULT CMultiOutStream::CreateNewStream(UInt64 newSize)
in CreateNewStream() 314 // UInt64 lastStreamSiz in CreateStreams_If_Required() [all...] |
H A D | MethodProps.h | 15 // UInt64 GetMemoryUsage_LZMA(UInt32 dict, bool isBt, UInt32 numThreads);
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 HRESULT SetCoderProps_DSReduce_Aff(ICompressSetCoderProperties *scp, const UInt64 *dataSizeReduc [all...] |
H A D | LimitedStreams.cpp | 13 const UInt64 rem = _size - _pos;
in Read() 41 const UInt64 rem = _size - _virtPos;
in Read() 45 UInt64 newPos = _startOffset + _virtPos;
in Read() 59 Z7_COM7F_IMF(CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition))
in Seek() 70 _virtPos = (UInt64)offset;
in Seek() 76 HRESULT CreateLimitedInStream(IInStream *inStream, UInt64 pos, UInt64 size, ISequentialInStream **resStream)
in CreateLimitedInStream() 95 UInt64 rem = Size - _virtPos;
in Read() 109 UInt64 newPos = StartOffset + ((UInt64)phyBloc in Read() [all...] |
H A 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)(Int6 in Calc_From_Val_Percents() [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A 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 GetUsag [all...] |
H A 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() 92 // const UInt64 kBenchmarkUsageMult = 1000000; // for debug
94 static const UInt64 kBenchmarkUsageMul [all...] |
H A 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 siz [all...] |
/third_party/lzma/CS/7zip/Compress/LzmaAlone/ |
H A 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 numCommandsForOn in GetCompressRating() [all...] |
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A 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> FileInfoPopID [all...] |
H A 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 valu [all...] |
/third_party/lzma/CPP/Windows/ |
H A 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) in UtcFileTime_To_LocalDosTime() [all...] |
H A 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() 173 length = (UInt64)fileSize.QuadPart;
in GetLength() 203 bool CFileBase::GetPosition(UInt64 &position) const throw()
in GetPosition() 210 // position = (UInt64)(Int64)-1; // for debug
in GetPosition() 214 position = (((UInt64)(UInt32)high) << 32) + low;
in GetPosition() 220 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 [all...] |
/third_party/lzma/C/ |
H A D | XzCrc64.c | 16 UInt64 Z7_FASTCALL XzCrc64UpdateT1_BeT4(UInt64 v, const void *data, size_t size, const UInt64 *table);
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 *table);
26 UInt64 g_Crc64Tabl [all...] |
H A 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)(Int6 [all...] |
H A 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 *table);
40 UInt64 Z7_FASTCAL [all...] |
H A 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 size)
in LookInStream_SeekRead_ForArc() 165 UInt64 indexSiz in Xz_ReadBackward() [all...] |
H A 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 readProcesse [all...] |
/third_party/lzma/CPP/7zip/UI/FileManager/ |
H A 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 = false);
85 HRESULT Set_NumFilesTotal(UInt64 val);
86 void Set_NumBytesTotal(UInt64 va [all...] |
H A 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 valu in Init() [all...] |
/third_party/protobuf/js/binary/ |
H A D | arith.js | 41 goog.provide('jspb.arith.UInt64'); 44 * UInt64 implements some 64-bit arithmetic routines necessary for properly 53 jspb.arith.UInt64 = function(lo, hi) { 70 * @param {!jspb.arith.UInt64} other 73 jspb.arith.UInt64.prototype.cmp = function(other) { 86 * @return {!jspb.arith.UInt64} 88 jspb.arith.UInt64.prototype.rightShift = function() { 91 return new jspb.arith.UInt64(lo >>> 0, hi >>> 0); 97 * @return {!jspb.arith.UInt64} 99 jspb.arith.UInt64 [all...] |
/third_party/lzma/CPP/7zip/Archive/Common/ |
H A D | CoderMixer2.h | 37 UInt64 _size;
46 UInt64 GetSize() const { return _size; }
in GetSize() 57 UInt64 _size;
62 UInt64 GetSize() const { return _size; }
189 UInt64 UnpackSize;
190 const UInt64 *UnpackSizePointer;
192 CRecordVector<UInt64> PackSizes;
193 CRecordVector<const UInt64 *> PackSizePointers;
197 void SetCoderInfo(const UInt64 *unpackSize, const UInt64 * cons [all...] |
/third_party/lzma/CPP/7zip/Compress/ |
H A 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 Code() 112 const UInt64 useLimit = _memUsage;
in Code() 114 const UInt64 expectedBlockSize64 = Get_ExpectedBlockSize_From_Dict(dictSize);
in Code() 122 const UInt64 okThread in Code() [all...] |
/third_party/lzma/CPP/7zip/ |
H A 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;
144 IStreamSetRestriction::SetRestriction(UInt64 begi [all...] |