Lines Matching defs:i

57 #define	blisti(i)	(((i)-ENV_BLK*BLK) / BLK)
74 int i;
79 i = copyb();
81 if (i != '.')
82 control(i, 1);
90 int i, j;
94 if ((i = getrq()) == 0 || (oldmn = findmn(i)) < 0)
150 int i;
152 for (i=0; i<128; i++)
153 mhash[i] = 0;
159 i = MHASH(p->rq);
160 p->link = mhash[i];
161 mhash[i] = p;
214 int i, req;
223 if ((i = getrq()) == 0)
225 if ((offset = finds(i)) == 0)
236 contab[newmn].rq = i;
255 findmn(i)
256 int i;
260 for (p = mhash[MHASH(i)]; p; p = p->link)
261 if (i == p->rq)
268 clrmn(i)
269 int i;
271 if (i >= 0) {
272 if (contab[i].mx)
273 ffree((filep)contab[i].mx);
274 munhash(&contab[i]);
275 contab[i].rq = 0;
276 contab[i].mx = 0;
277 contab[i].f = 0;
287 int i;
299 while ((i = rbf()) != 0)
307 for (i = 0; i < NM; i++) {
308 if (contab[i].rq == 0)
311 if (i == NM || (nextb = alloc()) == 0) {
320 contab[i].mx = (unsigned) nextb;
322 newmn = i;
324 contab[i].rq = -1;
326 contab[i].rq = mn;
327 maddhash(&contab[i]);
338 tchar i;
340 while (cbits(i = getch()) == ' ')
342 ch = i;
350 int i, j, state;
372 i = cbits(ii = getch());
374 if (i == k)
378 i = getach();
380 if (!i)
386 if (i == '\n') {
391 if (state == 1 && i == '.') {
396 if ((state == 2) && (i == j)) {
418 tchar i;
423 if (cbits(i = getch()) != '"')
424 wbf(i);
425 while (cbits(i = getch()) != '\n')
426 wbf(i);
437 int i;
440 for (i = 0; i < NBLIST; i++) {
441 if (blist[i] == 0)
444 if (i == NBLIST) {
447 blist[i] = -1;
448 j = (filep)i * BLK + ENV_BLK * BLK;
469 ffree(i) /*free blist[i] and blocks pointed to*/
470 filep i;
474 while (blist[j = blisti(i)] != (unsigned) ~0) {
475 i = (filep) blist[j];
484 wbt(i)
485 tchar i;
487 wbf(i);
495 wbf(i) /*store i into blist[offset] (?) */
496 tchar i;
509 wbuf[wbfi++] = i;
552 tchar i;
569 i = 0;
571 i = rbuf[ip & (BLK-1)];
573 i = rbuf[ip & (BLK-1)];
575 i = corebuf[ip];
578 if (i == 0) {
580 i = popi();
581 return(i);
600 return(i);
608 filep i;
610 if ((i = p & ~(BLK - 1)) != roff) {
611 roff = i;
690 char *i, *k;
694 if ((i = sbrk(x)) == (char *) -1) {
698 if (j = (unsigned)i % sizeof(int)) { /*check alignment for 3B*/
704 if (k != i + x) { /*there must have been an intervening sbrk*/
705 errprint ("internal error in setbrk: i=%x, j=%d, k=%x",
706 i, j, k);
709 i += j;
711 enda = i + x;
712 return(i);
719 int i;
721 if ((i = getach()) == 0)
723 if (i == '(')
726 return(i);
733 int i, j;
736 if ((i = getsn()) == 0 || (j = findmn(i)) == -1 || !contab[j].mx) {
744 return pushi((filep)contab[j].mx, i);
753 tchar i;
805 if (cbits(i = getch()) == '"')
808 ch = i;
810 i = getch();
811 if (nlflg || (!quote && cbits(i) == ' '))
814 && (cbits(i) == '"')
815 && (cbits(i = getch()) != '"')) {
816 ch = i;
819 *strp++ = i;
846 int i;
848 i = cbits(getch()) - '0';
849 if (i > 0 && i <= APERMAC && i <= frame->nargs)
850 pushback(*(((tchar **)(frame + 1)) + i - 1));
869 int i, j;
873 if (skip() || (i = getrq()) == 0) {
893 dip->op = finds(i);
894 dip->curd = i;
930 tchar i, delim;
943 while (cbits(i = getch()) != '\n') {
944 if (cbits(i) == cbits(delim)) {
951 if (cbits(i) == pagech) {
953 i&SFMASK);
956 numtab[HP].val += width(i);
958 *tp++ = i;
970 while (i = *tp++)
971 pchar(i);
974 while (i = *tp++)
975 pchar(i);
978 while (i = *tp++)
979 pchar(i);
1006 int i, k;
1014 for (i = 0; i < NM; i++) {
1015 if ((xx = contab[i].rq) == 0 || contab[i].mx == 0)
1019 j = (filep) contab[i].mx;