Home | History | Annotate | Download | only in bionic

Lines Matching refs:state

45   mbstate_t* state = (ps == NULL) ? &__private_state : ps;
46 if (mbsinit(state)) {
49 mbstate_set_byte(state, 3, (c32 & 0xff0000) >> 16);
50 mbstate_set_byte(state, 2, (c32 & 0x00ff00) >> 8);
53 return mbstate_reset_and_return_illegal(EINVAL, state);
55 return c32rtomb(s, static_cast<char32_t>(c16), state);
59 return mbstate_reset_and_return_illegal(EINVAL, state);
62 char32_t c32 = ((mbstate_get_byte(state, 3) << 16) |
63 (mbstate_get_byte(state, 2) << 8) |
65 return mbstate_reset_and_return(c32rtomb(s, c32, NULL), state);