Lines Matching refs:ctx
72 virtual void randinit(randctx* ctx, bool bUseSeed);
80 virtual void isaac(randctx* ctx);
135 inline void QTIsaac<ALPHA>::randinit(randctx* ctx, bool bUseSeed)
142 UINT32* m = (ctx->randmem);
143 UINT32* r = (ctx->randrsl);
147 ctx->randa = 0;
148 ctx->randb = 0;
149 ctx->randc = 0;
197 isaac(ctx); // fill in the first set of results
198 ctx->randcnt = N; // prepare to use the first set of results
234 inline void QTIsaac<ALPHA>::isaac(randctx* ctx)
238 UINT32* mm = ctx->randmem;
239 UINT32* r = ctx->randrsl;
241 UINT32 a = (ctx->randa);
242 UINT32 b = (ctx->randb + (++ctx->randc));
266 ctx->randb = b;
267 ctx->randa = a;