Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 3 of 3) sorted by relevance

/malloc/
A Dtst-mallocstate.c146 rand_next (unsigned long long *seed) in rand_next() argument
149 *seed = *seed * 6364136223846793005ULL + 1442695040888963407ULL; in rand_next()
150 return *seed >> 32; in rand_next()
157 unsigned long long seed) in randomize_buffer() argument
160 buffer[i] = rand_next (&seed); in randomize_buffer()
179 unsigned int seed; member
191 size, index, alloc->seed); in check_allocation()
200 size, index, alloc->seed); in check_allocation()
208 index, size, alloc->seed); in check_allocation()
259 .seed = i, in initial_allocations()
[all …]
A Dtst-mallocfork3.c157 unsigned int seed = 1; in do_test() local
161 int slot = rand_r (&seed) % malloc_objects; in do_test()
162 size_t size = rand_r (&seed) % malloc_maximum_size; in do_test()
166 bool do_fork = (rand_r (&seed) % 7) == 0; in do_test()
A Dtst-mallocfork2.c199 unsigned seed = 1; in do_test() local
203 int slot = rand_r (&seed) % malloc_objects; in do_test()
204 size_t size = rand_r (&seed) % malloc_maximum_size; in do_test()
208 bool do_fork = (rand_r (&seed) % 7) == 0; in do_test()

Completed in 8 milliseconds