Lines Matching refs:LCG
58 if (!LCG(seeded)) { in php_combined_lcg()
62 MODMULT(53668, 40014, 12211, 2147483563L, LCG(s1)); in php_combined_lcg()
63 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg()
65 z = LCG(s1) - LCG(s2); in php_combined_lcg()
79 LCG(s1) = tv.tv_sec ^ (tv.tv_usec<<11); in lcg_seed()
81 LCG(s1) = 1; in lcg_seed()
84 LCG(s2) = (zend_long) tsrm_thread_id(); in lcg_seed()
86 LCG(s2) = (zend_long) getpid(); in lcg_seed()
91 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed()
94 LCG(seeded) = 1; in lcg_seed()
100 LCG(seeded) = 0; in lcg_init_globals()