Searched refs:mix (Results 1 - 7 of 7) sorted by relevance

/ast/src/lib/libpz/
H A Dpzsync.c86 pp->mix[0] = buf = pz->wrk;
91 pp->mix[j] = (pp->lab[j] == pp->lab[j - 1]) ? (pp->mix[j - 1] + 1) : (buf + m);
97 *pp->mix[j] = *buf++;
98 pp->mix[j] += pp->inc[j];
H A Dpzinflate.c29 restore(register Pz_t* pz, Pzpart_t* pp, register Sfio_t* ip, Sfio_t* op, register unsigned char* pat, register unsigned char* buf, size_t row, size_t m, register size_t* map, register unsigned char** mix, register size_t* inc) argument
44 buf[map[i]] = *mix[i];
45 mix[i] += inc[i];
185 pp->mix[k++] = pz->buf + j;
219 if (restore(pz, pp, pz->io, op, pat, pz->wrk, pp->row, k, pp->map, pp->mix, pp->inc))
H A Dpzread.c180 pp->mix[k++] = pz->buf + j;
215 ob[pp->map[i]] = *pp->mix[i];
216 pp->mix[i] += pp->inc[i];
H A Dpzdeflate.c262 pp->mix[0] = buf = pz->wrk;
267 pp->mix[j] = (pp->lab[j] == pp->lab[j - 1]) ? (pp->mix[j - 1] + 1) : (buf + m);
273 *pp->mix[j] = *buf++;
274 pp->mix[j] += pp->inc[j];
H A Dpzip.h178 unsigned char** mix; /* column mix */ member in struct:Pzpart_s
179 size_t* lab; /* column mix group label */
180 size_t* inc; /* column mix increment */
H A Dpzpart.c325 !(pp->mix = vmnewof(pz->vm, 0, unsigned char*, k, 0)) ||
/ast/src/cmd/warp/
H A Dwarp.c241 #define WARP_ABS(t) ((t)+=(t)?(state.warp+(state.factor?mix((t)-state.base):0)):0)
244 #define WARP_REL(t) ((t)=(t)?(state.factor?mix(t):(t)):0)
262 unsigned long mix; member in struct:__anon241
278 mix(unsigned long s) function
280 state.mix = state.mix * 0x63c63cd9L + 0x9c39c33dL;
281 return s * state.factor + state.mix % state.factor;
416 state.mix = state.base;

Completed in 40 milliseconds