Lines Matching defs:states
124 vcat(register char* states, Sfio_t* ip, Sfio_t* op, Reserve_f reserve, int flags)
150 states[0] = T_ENDBUF;
156 while (!(n = states[*cp++]));
160 while (!(n = states[*cp++]));
192 states[0] = sfvalue(ip) ? T_ERROR : T_EOF;
198 states[0] = n ? T_ERROR : T_EOF;
277 states[0] = (m = sfvalue(ip)) ? T_ERROR : T_EOF;
283 states[0] = m ? T_ERROR : T_EOF;
296 if (!(n = states[c]))
317 } while (states[c = *++cp] == T_CONTROL);
326 } while (states[c = *++cp] == T_CNTL8BIT && raw);
334 } while (states[c = *++cp] == T_EIGHTBIT && raw);
347 if ((n = states[*++cp]) == T_ENDBUF)
353 states[0] = sfvalue(ip) ? T_ERROR : T_EOF;
360 states[0] = n ? T_ERROR : T_EOF;
406 char states[UCHAR_MAX+1];
478 memset(states, 0, sizeof(states));
481 memset(states, T_CONTROL, ' ');
482 states[RUBOUT] = T_CONTROL;
483 memset(states+0200, T_EIGHTBIT, 0200);
484 memset(states+0200, T_CNTL8BIT, ' ');
485 states[RUBOUT|0200] = T_CNTL8BIT;
486 states['\n'] = 0;
489 states['\t'] = T_CONTROL;
490 states[0] = T_ENDBUF;
495 states['\n'|0200] = T_EIGHTBIT;
498 states['\t'] = states['\f'] = 0;
499 states['\t'|0200] = states['\f'|0200] = T_EIGHTBIT;
506 states['\t'] = 0;
510 states['\n'] = T_NEWLINE;
535 n = vcat(states, fp, sfstdout, reserve, flags);