Lines Matching refs:ip

76 	char*		ip;		/* input buffer pointer		*/
480 #define CACHEIN() (ip=proto->ip)
482 #define GETCHR() (*(unsigned char*)ip++)
487 #define SYNCIN() (proto->ip=ip)
489 #define UNGETCHR() (ip--)
547 register char* ip;
589 proto->tp = ip;
591 bp = ip;
600 if ((n = ip - bp - 1) > 0)
602 ip = bp;
603 MEMCPY(op, ip, n);
604 ip++;
660 bp = ip;
679 c = ip - proto->ib;
682 if (ip > proto->ib)
684 n = ip - im;
685 if (ip - n < proto->ib)
687 memcopy(proto->ib - n, ip - n, n);
688 ip = proto->ib;
700 if ((n = read(proto->fd, ip, proto->iz)) > 0)
707 *(ip + n) = 0;
710 bp = ip;
713 *ip = 0;
722 bp = ip;
746 bp = ip;
768 bp = ip;
834 bp = ip;
871 *(ip - 1) = 0;
883 *(ip - 1) = 0;
887 bp = ip;
888 ip = im;
889 *op++ = *ip++;
890 while (*op = *ip++)
891 if (*op++ == '#' && *ip != '(')
895 if (*ip == '#')
898 while (*++ip == ' ' || *ip == '\t');
904 while (*ip == ' ' || *ip == '\t') ip++;
905 while ((c = *ip) >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z' || c >= '0' && c <= '9' || c == '_') *op++ = *ip++;
906 while (*ip == ' ' || *ip == '\t') ip++;
907 if (*ip == '"') ip++;
911 ip = bp;
935 bp = ip;
951 if (!(flags & DECLARE)) switch (RESERVED(*proto->tp, *(ip - 1), ip - proto->tp))
1013 if (*ip == '(' && !strncmp(proto->tp, "va_start", 8)) c = T_VA_START;
1026 memcopy(ip - 4, "__V_", 4);
1031 bp = ip;
1081 bp = ip;
1092 bp = ip;
1116 im = ip - 1;
1131 aim = ip - 1;
1136 for (m = ip - 2; m > im && (*m == ' ' || *m == '\t'); m--);
1139 m = im + (*nns(ip) == '*');
1147 else if ((flags & MATCH) && sub == 1 && *nns(ip) != '*')
1173 ie = ip;
1176 aie = ip;
1190 dir = directive(ip, dir);
1198 bp = ip;
1199 while (*ip == ' ' || *ip == '\t') ip++;
1200 if (*ip == 'l' && *++ip == 'i' && *++ip == 'n' && *++ip == 'e')
1202 if (*++ip == ' ' || *ip == '\t')
1205 while (*++ip >= '0' && *ip <= '9')
1206 proto->line = proto->line * 10 + *ip - '0';
1214 t = ip + 6;
1215 while (ip < t && *ip >= 'a' && *ip <= 'z')
1216 n = HASHKEYPART(n, *ip++);
1221 while (*ip == ' ' || *ip == '\t') ip++;
1222 if (*ip != '\n' && *ip != '/' && *(ip + 1) != '*')
1225 im = ip;
1226 om = op + (ip - bp);
1237 if (*ip == 'e') ip++;
1241 if (*ip < 'a' || *ip > 'z') break;
1253 if (*ip == 'i' && *++ip == 'n' && *++ip == 'c' && *++ip == 'l' && *++ip == 'u' && *++ip == 'd' && *++ip == 'e')
1255 while (*++ip == ' ' || *ip == '\t');
1256 if (*ip++ == '<' && *ip++ == 's' && *ip++ == 't' && *ip++ == 'd' && *ip++ == 'a' && *ip++ == 'r' && *ip++ == 'g' && *ip++ == '.' && *ip++ == 'h' && *ip++ == '>')
1271 else if (*ip == 'd' && *++ip == 'e' && *++ ip == 'f' && *++ip == 'i' && *++ip == 'n' && *++ip == 'e' && (*++ip == ' ' || *ip == '\t'))
1273 while (*++ip == ' ' || *ip == '\t');
1274 if (*ip == 'e' && *++ip == 'x' && *++ ip == 't' && *++ip == 'e' && *++ip == 'r' && *++ip == 'n' && (*++ip == ' ' || *ip == '\t'))
1276 t = ip;
1279 ip = t;
1280 t = ip;
1294 else if (*ip == 'u' && *++ip == 'n' && *++ ip == 'd' && *++ip == 'e' && *++ip == 'f' && (*++ip == ' ' || *ip == '\t'))
1296 while (*++ip == ' ' || *ip == '\t');
1297 if (*ip == 'e' && *++ip == 'x' && *++ ip == 't' && *++ip == 'e' && *++ip == 'r' && *++ip == 'n' && (*++ip == ' ' || *ip == '\t' || *ip == '\n' || *ip == '\r'))
1309 ip = bp;
1334 ip--;
1337 while (ie < ip)
1341 while (++ie < ip)
1345 while (ie < ip && *ie == '*') ie++;
1346 if (ie < ip && *ie == '/')
1348 while (++ie < ip && (*ie == ' ' || *ie == '\t'));
1404 while (ie < ip)
1409 if (ie >= ip) break;
1459 if (ie >= ip) UNPUTCHR();
1507 PUTCHR(*ip);
1509 ip++;
1532 proto->ip = im;
1580 e = proto->ip;
1595 proto->ip = im + 1;
1603 proto->ip = ie;
1703 while (aie < ip && (*aie == ' ' || *aie == '\t' || *aie == '\n')) aie++;
1858 e = proto->ip;
1878 proto->ip = proto->variadic;
1882 bp = proto->ip + 1;
1909 else op = memcopy(op, e, proto->ip - e - 1);
1935 else op = memcopy(op, e, proto->ip - e - 1);
1938 bp = proto->ip + 1;
1950 e = proto->ip;
2055 else if (c == '#' && *ip != '(') flags |= SHARP;
2068 if ((flags & YACC) && c == '%' && *ip == '{') t = 0;
2072 if (c == '#') for (t = ip; *t == ' ' || *t == '\t'; t++);
2085 ip = bp;
2088 else while (*ip != '\n') *op++ = *ip++;
2189 proto->ip = proto->ib = iob + proto->oz + n;
2207 n = read(fd, proto->ip, proto->iz);
2215 *(proto->ip + n) = 0;
2233 s = proto->ip;
2340 if (proto->cc[0] == '#' && proto->ip[0] == '#' && proto->ip[1] == '!')
2342 s = proto->ip;
2344 m = s - proto->ip;
2345 proto->op = memcopy(proto->op, proto->ip, m);
2346 proto->ip = s;
2362 memcopy(proto->op, proto->ip, n);
2475 register char* ip = proto->ip;
2479 if (!*ip)
2481 ip = proto->ip = proto->ib;
2483 else if ((n = read(proto->fd, ip, proto->iz)) <= 0 || (proto->options & REGULAR) && n < proto->iz)
2489 ip[n] = 0;
2494 if (*ip == '%')
2496 *op++ = *ip++;
2502 while (op < ep && (n = *op++ = *ip))
2504 ip++;
2507 if (*ip == '%' && (ip == proto->ip + 1 || *(ip - 2) == '\n'))
2509 *op++ = *ip++;
2514 if (!*ip)
2523 proto->op = memcopy(proto->ob, proto->ip, ip - proto->ip);
2524 proto->ip = ip;