Searched refs:kRandMaximum (Results 1 – 2 of 2) sorted by relevance
31 static const int kRandMaximum = SK_MaxS32; // 2**31 - 1 variable127 result += kRandMaximum; in random()141 fSeed = -(fSeed % (kRandMaximum - 1)) + 1; in init()143 if (fSeed > kRandMaximum - 1) { in init()144 fSeed = kRandMaximum - 1; in init()
32 static const int kRandMaximum = SK_MaxS32; // 2**31 - 1 variable183 result += kRandMaximum; in random()197 fSeed = -(fSeed % (kRandMaximum - 1)) + 1; in init()199 if (fSeed > kRandMaximum - 1) { in init()200 fSeed = kRandMaximum - 1; in init()