Searched refs:MT_N (Results 1 – 1 of 1) sorted by relevance
13 #define MT_N 848 macro30 uint32_t mt[MT_N];88 for (uint32_t i = 1; i < MT_N; i++) in FX_Random_MT_Start()91 pContext->mti = MT_N; in FX_Random_MT_Start()99 if (pMTC->mti >= MT_N) { in FX_Random_MT_Generate()102 for (kk = 0; kk < MT_N - MT_M; kk++) { in FX_Random_MT_Generate()106 for (; kk < MT_N - 1; kk++) { in FX_Random_MT_Generate()108 pBuf[kk] = pBuf[kk + (MT_M - MT_N)] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate()110 v = (pBuf[MT_N - 1] & MT_Upper_Mask) | (pBuf[0] & MT_Lower_Mask); in FX_Random_MT_Generate()111 pBuf[MT_N - 1] = pBuf[MT_M - 1] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate()