Lines Matching defs:rg
191 CBaseRandomGenerator rg = *_RG_;
195 buf[i] = (Byte)rg.GetRnd();
196 *_RG_ = rg;
201 CBaseRandomGenerator rg = *_RG_;
210 UInt32 r = rg.GetRnd();
237 r = rg.GetRnd();
243 r = rg.GetRnd();
261 *_RG_ = rg;
742 CBenchRandomGenerator rg;
755 CBaseRandomGenerator *rg);
847 if (!rg.Alloc(kBufferSize))
852 rg.GenerateSimpleRandom(rgLoc);
854 rg.GenerateLz(generateDictBits, rgLoc);
857 crc = CrcCalc(rg.Buffer, rg.BufferSize);
858 uncompressedDataPtr = rg.Buffer;
1252 CBaseRandomGenerator rg;
1253 rg.Init();
1268 RINOK(encoders[i].Init(method, generateDictBits, &rg));
1631 static void RandGen(Byte *buf, UInt32 size, CBaseRandomGenerator &RG)
1634 buf[i] = (Byte)RG.GetRnd();
1637 static UInt32 RandGenCrc(Byte *buf, UInt32 size, CBaseRandomGenerator &RG)
1639 RandGen(buf, size, RG);
1658 CBaseRandomGenerator RG;
1659 RandGen(buf + kBufferSize0, kBufferSize1, RG);
2166 CBaseRandomGenerator RG;
2201 /* info.Crc = */ RandGenCrc(data, bufferSize, RG);
2231 /* UInt32 crc = */ RandGenCrc(buf, bufferSize, RG);