Lines Matching refs:p1
63 extern int sed_step(char *p1, char *p2, int circf, step_vars_storage *vars);
479 char *p1;
483 p1 = ipc->ad1;
486 if (p1) {
490 p1 = 0;
506 } else if (*p1 == CEND) {
513 } else if (*p1 == CLNUM) {
514 c = (unsigned char)p1[1];
523 } else if (match(eval, p1, 0, &step_vars)) {
585 char *p1;
590 step_vars->locs = p1 = step_vars->loc2;
592 p1 = eval->linebuf;
597 return(sed_step(p1, expbuf, circf, step_vars));
695 char *p1, *p2, *p3;
715 for (p1 = ipc->re1; *p1; p1++)
717 rv = wline(eval, ipc->re1, p1 - ipc->re1);
724 p1 = eval->linebuf;
726 while(*p1 != '\n') {
727 if(*p1++ == 0) {
733 p1++;
734 copy_to_linebuf(eval, p1);
762 for (p1 = ipc->re1; *p1; p1++);
763 rv = wline(eval, ipc->re1, p1 - ipc->re1);
772 p1 = eval->linebuf;
775 while(*p1)
776 if((unsigned char)*p1 >= 040) {
777 if(*p1 == 0177) {
789 p1++;
792 if(!isprint(*p1 & 0377)) {
802 *p2++ = (*p1 >> 6) + '0';
811 *p2++ = ((*p1 >> 3) & 07) + '0';
820 *p2++ = (*p1++ & 07) + '0';
830 *p2++ = *p1++;
841 p3 = trans[(unsigned char)*p1-1];
852 p1++;
888 for (p1 = eval->linebuf; *p1 != '\n' && *p1 != '\0'; p1++);
889 rv = wline(eval, eval->linebuf, p1 - eval->linebuf);
928 for (p1 = eval->linebuf; *p1 != '\n' && *p1 != '\0'; p1++);
929 rv = wline(eval, eval->linebuf, p1 - eval->linebuf);
957 p1 = eval->linebuf;
959 while((*p1 = p2[(unsigned char)*p1]) != 0) p1++;
974 char *p1;
976 for (p1 = (*eval->aptr)->re1; *p1; p1++);
977 rv = wline(eval, (*eval->aptr)->re1, p1 - (*eval->aptr)->re1);