Home
last modified time | relevance | path

Searched refs:state (Results 1 – 10 of 10) sorted by relevance

/stdlib/
A Dmblen.c26 static mbstate_t state; variable
48 memset (&state, '\0', sizeof state); in mblen()
57 memset (&state, '\0', sizeof state); in mblen()
59 result = __mbrtowc (NULL, s, n, &state); in mblen()
A Dwcstombs.c29 mbstate_t state; in wcstombs() local
31 memset (&state, '\0', sizeof state); in wcstombs()
34 return __wcsrtombs (s, &pwcs, n, &state); in wcstombs()
A Dmbstowcs.c29 mbstate_t state; in mbstowcs() local
31 memset (&state, '\0', sizeof state); in mbstowcs()
33 return __mbsrtowcs (pwcs, &s, n, &state); in mbstowcs()
A Drandom_r.c164 int32_t *state; in __srandom_r() local
176 state = buf->state; in __srandom_r()
180 state[0] = seed; in __srandom_r()
184 dst = state; in __srandom_r()
269 buf->state = state; in weak_alias()
273 state[-1] = TYPE_0; in weak_alias()
275 state[-1] = (buf->rptr - state) * MAX_TYPES + type; in weak_alias()
355 int32_t *state; in weak_alias() local
360 state = buf->state; in weak_alias()
381 fptr = state; in weak_alias()
[all …]
A Dmbtowc.c37 static mbstate_t state; in mbtowc() local
51 memset (&state, '\0', sizeof state); in mbtowc()
63 result = __mbrtowc (pwc, s, n, &state); in mbtowc()
A Dtst-random.c52 char* state[nseq]; /* state for PRNG */ in do_test() local
85 state[s] = (char*) malloc (degree); in do_test()
86 oldstate[s] = initstate (seed[s], state[s], degree); in do_test()
88 state[0] = oldstate[1]; in do_test()
92 if (state[s] != oldstate[s + 1]) in do_test()
101 char *oldstate = (char *) setstate (state[s]); in do_test()
102 if (oldstate != state[(s + nseq - 1) % nseq]) in do_test()
A Dtst-random2.c38 char state[128]; in do_test() local
39 char *ostate = initstate (0x34562101, state, 128); in do_test()
40 if (setstate (ostate) != state) in do_test()
A Drandom.c185 .state = &randtbl[1],
237 ostate = &unsafe_state.state[-1]; in weak_alias()
263 ostate = &unsafe_state.state[-1]; in weak_alias()
A Dfmtmsg.c126 int state = PTHREAD_CANCEL_ENABLE; in fmtmsg() local
127 __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state); in fmtmsg()
196 __pthread_setcancelstate (state, NULL); in fmtmsg()
A Dstdlib.h428 int32_t *state; /* Array of state values. */ member

Completed in 18 milliseconds