Searched refs:MT_N (Results 1 – 1 of 1) sorted by relevance
14 #define MT_N 848 macro31 uint32_t mt[MT_N];89 for (uint32_t i = 1; i < MT_N; i++) in FX_Random_MT_Start()92 pContext->mti = MT_N; in FX_Random_MT_Start()100 if (pMTC->mti >= MT_N) { in FX_Random_MT_Generate()103 for (kk = 0; kk < MT_N - MT_M; kk++) { in FX_Random_MT_Generate()107 for (; kk < MT_N - 1; kk++) { in FX_Random_MT_Generate()109 pBuf[kk] = pBuf[kk + (MT_M - MT_N)] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate()111 v = (pBuf[MT_N - 1] & MT_Upper_Mask) | (pBuf[0] & MT_Lower_Mask); in FX_Random_MT_Generate()112 pBuf[MT_N - 1] = pBuf[MT_M - 1] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate()