Lines Matching refs:ulong
207 static ulong
210 ulong buf[1];
218 nread = read(fd, buf, sizeof(ulong));
220 if (BC_ERR(nread != sizeof(ulong))) bc_vm_fatalError(BC_ERR_FATAL_IO_ERR);
222 return *((ulong*) buf);
231 static ulong
234 ulong buf[1];
241 s = BCryptGenRandom(NULL, (char*) buf, sizeof(ulong),
258 static ulong
262 ulong res = 0;
267 for (i = 0; i < sizeof(ulong); ++i)
269 res |= ((ulong) (rand() & BC_RAND_SRAND_BITS)) << (i * CHAR_BIT);
319 bc_rand_seedState(BcRandState* state, ulong val1, ulong val2)
338 bc_rand_seedRNG(BcRNGData* r, ulong state1, ulong state2, ulong inc1,
339 ulong inc2)
355 ulong state1, state2, inc1, inc2;
536 bc_rand_seed(BcRNG* r, ulong state1, ulong state2, ulong inc1, ulong inc2)