Lines Matching refs:inp

350     ip = s->inp;  in gettokens()
358 ip = s->inp = s->inb; in gettokens()
365 ip = s->inp = s->inb; in gettokens()
430 s->inp = ip; in gettokens()
434 while (s->inp + 1 >= s->inl && fillbuf(s) != EOF); in gettokens()
436 if (s->inp[1] == '\r') in gettokens()
438 memmove(s->inp + 1, s->inp + 2, s->inl - s->inp + 2); in gettokens()
447 while (s->inp + 1 >= s->inl && fillbuf(s) != EOF); in gettokens()
449 if (s->inp[1] == '\n') in gettokens()
451 memmove(s->inp, s->inp + 1, s->inl - s->inp + 1); in gettokens()
455 *s->inp = '\n'; in gettokens()
486 s->inp = ip; in gettokens()
494 s->inp = ip; in gettokens()
508 s->inp = ip + 1; in gettokens()
558 while (s->inp + 2 >= s->inl && fillbuf(s) != EOF); in trigraph()
560 if (s->inp[1] != '?') in trigraph()
563 switch (s->inp[2]) in trigraph()
595 *s->inp = c; in trigraph()
596 memmove(s->inp + 1, s->inp + 3, s->inl - s->inp + 2); in trigraph()
608 while ((s->inp[n] == ' ') || (s->inp[n] == '\t')) in foldline()
611 if ((s->inp + n >= s->inl) && (fillbuf(s) == EOF)) in foldline()
616 while (s->inp + (n + 1) >= s->inl && fillbuf(s) != EOF); in foldline()
619 if (((s->inp[n] == '\r') && (s->inp[n+1] == '\n')) || in foldline()
620 ((s->inp[n] == '\n') && (s->inp[n+1] == '\r'))) in foldline()
623 if ((s->inp[n] == '\n') || (s->inp[n] == '\r')) in foldline()
625 memmove(s->inp, s->inp + n + 1, s->inl - s->inp + n + 2); in foldline()
679 s->inp = s->inb; in setsource()
680 strncpy((char *) s->inp, str, len); in setsource()
685 s->inp = s->inb; in setsource()
688 s->inl = s->inp + len; in setsource()