Lines Matching refs:p2

105 	char *p1, *p2;  in execute()  local
140 p2 = ipc->r1.ad2; in execute()
145 if(*p2 == CEND) { in execute()
147 } else if(*p2 == CLNUM) { in execute()
148 c = (unsigned char)p2[1]; in execute()
159 } else if(match(p2, 0)) { in execute()
178 if(p2) in execute()
181 if(p2) in execute()
329 char *p1, *p2, *p3; in command() local
357 p1 = p2 = linebuf; in command()
367 while(*p2++ = *p1++); in command()
368 spend = p2-1; in command()
378 p2 = holdsp; in command()
379 while(*p1++ = *p2++); in command()
386 p2 = holdsp; in command()
392 } while(*p1++ = *p2++); in command()
398 p2 = linebuf; in command()
399 while(*p1++ = *p2++); in command()
406 p2 = linebuf; in command()
412 } while(*p1++ = *p2++); in command()
429 p2 = genbuf; in command()
435 while(*p2++ = *p3++) in command()
436 if(p2 >= lcomend) { in command()
437 *p2 = '\\'; in command()
439 p2 = genbuf; in command()
441 p2--; in command()
446 *p2++ = '\\'; in command()
447 if(p2 >= lcomend) { in command()
448 *p2 = '\\'; in command()
450 p2 = genbuf; in command()
452 *p2++ = (*p1 >> 6) + '0'; in command()
453 if(p2 >= lcomend) { in command()
454 *p2 = '\\'; in command()
456 p2 = genbuf; in command()
458 *p2++ = ((*p1 >> 3) & 07) + '0'; in command()
459 if(p2 >= lcomend) { in command()
460 *p2 = '\\'; in command()
462 p2 = genbuf; in command()
464 *p2++ = (*p1++ & 07) + '0'; in command()
465 if(p2 >= lcomend) { in command()
466 *p2 = '\\'; in command()
468 p2 = genbuf; in command()
471 *p2++ = *p1++; in command()
472 if(p2 >= lcomend) { in command()
473 *p2 = '\\'; in command()
475 p2 = genbuf; in command()
480 while(*p2++ = *p3++) in command()
481 if(p2 >= lcomend) { in command()
482 *p2 = '\\'; in command()
484 p2 = genbuf; in command()
486 p2--; in command()
489 *p2 = 0; in command()
580 p2 = genbuf; in command()
581 while(*p2++ = *p1++); in command()
583 p2 = linebuf; in command()
584 while(*p2++ = *p1++); in command()
585 spend = p2 - 1; in command()
587 p2 = holdsp; in command()
588 while(*p2++ = *p1++); in command()
589 hspend = p2 - 1; in command()
594 p2 = ipc->r1.re1; in command()
595 while(*p1 = p2[(unsigned char)*p1]) p1++; in command()
604 char *p1, *p2; local
608 p2 = cbp;
610 if (p2 >= ebp) {
619 p2 = ibuf;
622 if ((c = *p2++) == '\n') {
623 if(p2 >= ebp) {
638 p2 = ibuf;
649 cbp = p2;