Home
last modified time | relevance | path

Searched refs:mag01 (Results 1 – 2 of 2) sorted by relevance

/external/webkit/JavaScriptCore/wtf/wince/
Dmt19937ar.c104 static unsigned long mag01[2]={0x0UL, MATRIX_A}; in genrand_int32() local
115 mt[kk] = mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
119 mt[kk] = mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
122 mt[N-1] = mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1UL]; in genrand_int32()
/external/bluetooth/glib/glib/
Dgrand.c372 static const guint32 mag01[2]={0x0, MATRIX_A}; in g_rand_int() local
382 rand->mt[kk] = rand->mt[kk+M] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()
386 rand->mt[kk] = rand->mt[kk+(M-N)] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()
389 rand->mt[N-1] = rand->mt[M-1] ^ (y >> 1) ^ mag01[y & 0x1]; in g_rand_int()