Searched refs:arg_state (Results 1 - 2 of 2) sorted by relevance

/haiku/src/system/libroot/posix/glibc/stdlib/
H A Drandom_r.c235 __initstate_r (seed, arg_state, n, buf)
237 char *arg_state;
269 state = &((int32_t *) arg_state)[1]; /* First location. */
300 __setstate_r (arg_state, buf)
301 char *arg_state;
304 int32_t *new_state = 1 + (int32_t *) arg_state;
311 if (arg_state == NULL || buf == NULL)
/haiku/src/system/libroot/posix/stdlib/
H A Drandom.c80 * the 'arg_state' variable must be forced to begin on word boundaries.
311 * Note: The Sparc platform requires that arg_state begin on an int
316 initstate(unsigned int seed, char *arg_state, size_t n) argument
319 uint32_t *int_arg_state = (uint32_t *)arg_state;
373 * Note: The Sparc platform requires that arg_state begin on an int
378 setstate(char *arg_state) argument
380 uint32_t *new_state = (uint32_t *)arg_state;

Completed in 88 milliseconds