Lines Matching refs:state
57 * The state is structured as follows:
71 state_t state = conv->istate;
73 if (state & 3)
80 /* Here (state & 3) == 0 */
87 conv->istate = state;
95 conv->istate = state;
99 state = 1;
110 state_t base64state = state;
136 state = 0;
181 conv->istate = state;
186 * The state is structured as follows:
208 state_t state = conv->ostate;
211 if (state & 3)
218 /*conv->ostate = state;*/
226 /*conv->ostate = state;*/
230 state = 1;
240 count += ((state & 3) >= 2 ? 1 : 0) + (isxbase64(wc) ? 1 : 0) + 1;
243 if ((state & 3) >= 2) {
244 unsigned int i = state & -4;
262 state = 0;
264 conv->ostate = state;
270 count += ((state & 3) >= 2 ? 3 : 2);
276 count += ((state & 3) >= 3 ? 6 : 5);
284 switch (state & 3) {
286 c = (state & -4) >> 2; state = 1; break;
289 c = i >> 2; state = ((i & 3) << 4) | 2; break;
292 c = (state & -4) | (i >> 4); state = ((i & 15) << 2) | 3; break;
295 c = (state & -4) | (i >> 6); state = ((i & 63) << 2) | 0; break;
311 if ((state & 3) && (k == 0))
314 conv->ostate = state;
323 state_t state = conv->ostate;
324 if (state & 3) {
326 unsigned int count = ((state & 3) >= 2 ? 1 : 0) + 1;
329 if ((state & 3) >= 2) {
330 unsigned int i = state & -4;