Searched refs:state (Results 1 – 10 of 10) sorted by relevance
/stdlib/ |
A D | mblen.c | 26 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 D | wcstombs.c | 29 mbstate_t state; in wcstombs() local 31 memset (&state, '\0', sizeof state); in wcstombs() 34 return __wcsrtombs (s, &pwcs, n, &state); in wcstombs()
|
A D | mbstowcs.c | 29 mbstate_t state; in mbstowcs() local 31 memset (&state, '\0', sizeof state); in mbstowcs() 33 return __mbsrtowcs (pwcs, &s, n, &state); in mbstowcs()
|
A D | random_r.c | 164 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 D | mbtowc.c | 37 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 D | tst-random.c | 52 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 D | tst-random2.c | 38 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 D | random.c | 185 .state = &randtbl[1], 237 ostate = &unsafe_state.state[-1]; in weak_alias() 263 ostate = &unsafe_state.state[-1]; in weak_alias()
|
A D | fmtmsg.c | 126 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 D | stdlib.h | 428 int32_t *state; /* Array of state values. */ member
|
Completed in 18 milliseconds