Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxcrt/
Dfx_extension.cpp265 for (i = 1; i < MT_N; i++) { in FX_Random_MT_Start()
278 if ((int)mti < 0 || mti >= MT_N) { in FX_Random_MT_Generate()
279 if (mti > MT_N && !pMTC->bHaveSeed) { in FX_Random_MT_Generate()
283 for (kk = 0; kk < MT_N - MT_M; kk++) { in FX_Random_MT_Generate()
287 for (; kk < MT_N - 1; kk++) { in FX_Random_MT_Generate()
289 pBuf[kk] = pBuf[kk + (MT_M - MT_N)] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate()
291 v = (pBuf[MT_N - 1] & MT_Upper_Mask) | (pBuf[0] & MT_Lower_Mask); in FX_Random_MT_Generate()
292 pBuf[MT_N - 1] = pBuf[MT_M - 1] ^ (v >> 1) ^ mag[v & 1]; in FX_Random_MT_Generate()
Dextension.h313 #define MT_N 848 macro
320 mti = MT_N + 1; in _FX_MTRANDOMCONTEXT()
325 FX_DWORD mt[MT_N];