Lines Matching refs:myRandomNumber
72 long myRandomNumber = 0; in Rand32() local
74 myRandomNumber = ((long)(rand() & 0x7FFF)) << 16; in Rand32()
75 myRandomNumber |= ((long)(rand() & 0x7FFF)) << 1; in Rand32()
76 myRandomNumber |= ((long)(rand() & 0x1)); in Rand32()
78 return (myRandomNumber); in Rand32()
86 OFF_T myRandomNumber = 0; in Rand64() local
88 myRandomNumber = ((OFF_T) (rand() & 0x7FFF)) << 48; in Rand64()
89 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 33; in Rand64()
90 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 18; in Rand64()
91 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 3; in Rand64()
92 myRandomNumber |= ((OFF_T) (rand() & 0x7)); in Rand64()
94 return (myRandomNumber); in Rand64()