Lines Matching refs:data
267 void Init(const Byte *data, size_t size)
269 Data = data;
276 Z7_COM7F_IMF(CBenchmarkInStream::Read(void *data, UInt32 size, UInt32 *processedSize))
286 memcpy(data, Data + Pos, size);
324 void Calc(const void *data, size_t size)
326 Crc = CrcUpdate(Crc, data, size);
334 Z7_COM7F_IMF(CBenchmarkOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
342 memcpy(((Byte *)*this) + Pos, data, curSize);
344 Calc(data, curSize);
369 void Calc(const void *data, size_t size)
371 Crc = CrcUpdate(Crc, data, size);
375 Z7_COM7F_IMF(CCrcOutStream::Write(const void *data, UInt32 size, UInt32 *processedSize))
378 Calc(data, size);
1045 bool CheckCrc_Enc; /* = 1, if we want to check packed data crcs after each pass
1047 bool UseRealData_Enc; /* = 1, if we want to use only original data for each pass
1203 // we need extra space, if input data is already compressed
1217 /* we copy the data to local buffer of thread to eliminate
1256 so we copy data to temp buffers here */
1350 static void My_FilterBench(ICompressFilter *filter, Byte *data, size_t size, UInt32 *crc)
1357 UInt32 processed = filter->Filter(data, cur);
1359 but it is not important for benchmark. So we just copy that data without filtering.
1364 *crc = CrcUpdate(*crc, data, processed);
1365 data += processed;
1478 outStreamSpec->Init(true, calcCrc); // write real data for speed consistency at any number of iterations
1761 static void SetPseudoRand(Byte *data, size_t size, UInt32 startValue)
1765 data[i] = (Byte)startValue;
2232 HRESULT Generate(const Byte *data, size_t size);
2239 HRESULT CCrcInfo_Base::Generate(const Byte *data, size_t size)
2242 Data = data;
2243 if (!data || CreateLocalBuf)
2248 if (!data)
2251 memcpy(Buffer, data, size);
3350 // if will generate random data in each thread, instead of global data