Lines Matching refs:p1

105 	char *p1, *p2;  in execute()  local
139 p1 = ipc->r1.ad1; in execute()
142 if(p1) { in execute()
146 p1 = 0; in execute()
162 } else if(*p1 == CEND) { in execute()
170 } else if(*p1 == CLNUM) { in execute()
171 c = (unsigned char)p1[1]; in execute()
180 } else if(match(p1, 0)) { in execute()
212 for(p1 = linebuf; p1 < spend; p1++) in execute()
213 (void) putc(*p1, stdout); in execute()
229 char *p1; in match() local
233 locs = p1 = loc2; in match()
235 p1 = linebuf; in match()
240 return(step(p1, expbuf)); in match()
329 char *p1, *p2, *p3; in command() local
348 for(p1 = ipc->r1.re1; *p1; ) in command()
349 (void) putc(*p1++, stdout); in command()
357 p1 = p2 = linebuf; in command()
359 while(*p1 != '\n') { in command()
360 if(*p1++ == 0) { in command()
366 p1++; in command()
367 while(*p2++ = *p1++); in command()
377 p1 = linebuf; in command()
379 while(*p1++ = *p2++); in command()
380 spend = p1-1; in command()
385 p1 = spend; in command()
388 if (p1 == &linebuf[LBSIZE+1]) { in command()
390 *--p1 = '\0'; in command()
392 } while(*p1++ = *p2++); in command()
393 spend = p1-1; in command()
397 p1 = holdsp; in command()
399 while(*p1++ = *p2++); in command()
400 hspend = p1-1; in command()
405 p1 = hspend; in command()
408 if (p1 == &holdsp[LBSIZE+1]) { in command()
410 *--p1 = '\0'; in command()
412 } while(*p1++ = *p2++); in command()
413 hspend = p1-1; in command()
417 for(p1 = ipc->r1.re1; *p1; ) in command()
418 (void) putc(*p1++, stdout); in command()
428 p1 = linebuf; in command()
431 while(*p1) in command()
432 if((unsigned char)*p1 >= 040) { in command()
433 if(*p1 == 0177) { in command()
442 p1++; in command()
445 if(!isprint(*p1 & 0377)) { in command()
452 *p2++ = (*p1 >> 6) + '0'; in command()
458 *p2++ = ((*p1 >> 3) & 07) + '0'; in command()
464 *p2++ = (*p1++ & 07) + '0'; in command()
471 *p2++ = *p1++; in command()
479 p3 = trans[(unsigned char)*p1-1]; in command()
487 p1++; in command()
495 for(p1 = linebuf; p1 < spend; p1++) in command()
496 (void) putc(*p1, stdout); in command()
523 for(p1 = linebuf; p1 < spend; p1++) in command()
524 (void) putc(*p1, stdout); in command()
529 for(p1 = linebuf; *p1 != '\n' && *p1 != '\0'; ) in command()
530 (void) putc(*p1++, stdout); in command()
536 for(p1 = linebuf; p1 < spend; p1++) in command()
537 (void) putc(*p1, stdout); in command()
557 for(p1 = linebuf; p1 < spend; p1++) in command()
558 (void) putc(*p1, stdout); in command()
579 p1 = linebuf; in command()
581 while(*p2++ = *p1++); in command()
582 p1 = holdsp; in command()
584 while(*p2++ = *p1++); in command()
586 p1 = genbuf; in command()
588 while(*p2++ = *p1++); in command()
593 p1 = linebuf; in command()
595 while(*p1 = p2[(unsigned char)*p1]) p1++; in command()
604 char *p1, *p2; local
607 p1 = addr;
644 if(p1 < &linebuf[LBSIZE])
645 *p1++ = c;
648 *p1 = 0;
651 return(p1);
732 char *p1; in arout() local
740 for(p1 = (*aptr)->r1.re1; *p1; ) in arout()
741 (void) putc(*p1++, stdout); in arout()