Home | History | Annotate | Download | only in fuzz

Lines Matching defs:mt

37    http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
57 static unsigned long mt[N]; /* the array for the state vector */
58 static int mti=N+1; /* mti==N+1 means mt[N] is not initialized */
60 /* initializes mt[N] with a seed */
63 mt[0]= s & 0xffffffffUL;
65 mt[mti] =
66 (1812433253UL * (mt[mti-1] ^ (mt[mti-1] >> 30)) +
70 /* only MSBs of the array mt[]. */
72 mt[mti] &= 0xffffffffUL;
91 y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK);
92 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1UL];
95 y = (mt[kk]&UPPER_MASK)|(mt[kk+1]&LOWER_MASK);
96 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL];
98 y = (mt[N-1]&UPPER_MASK)|(mt[0]&LOWER_MASK);
99 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL];
104 y = mt[mti++];