Lines Matching refs:wp
167 statep->ls_start = Xsavepos(ws, wp); \
175 wp = Xrestpos(ws, wp, statep->ls_start); \
199 char *wp; /* output word pointer */
209 Xinit(ws, wp, 64, ATEMP);
218 *wp++ = OQUOTE;
266 Xcheck(ws, wp);
275 *wp++ = ADELIM;
276 *wp++ = c;
287 *wp = EOS;
288 if (is_wdvarname(Xstring(ws, wp), false)) {
292 *wp++ = CHAR;
293 *wp++ = c;
295 Xcheck(ws, wp);
296 *wp++ = CHAR;
297 *wp++ = *p++;
312 *wp++ = CHAR;
313 *wp++ = c;
322 *wp++ = OPAT;
323 *wp++ = c;
336 *wp++ = QCHAR;
337 *wp++ = c;
342 *wp++ = OQUOTE;
348 *wp++ = OQUOTE;
384 *wp++ = QCHAR;
385 *wp++ = c;
389 Xcheck(ws, wp);
392 *wp++ = CHAR;
393 *wp++ = '\\';
394 *wp++ = CHAR;
395 *wp++ = c;
406 *wp++ = EXPRSUB;
418 XcheckN(ws, wp, cz);
419 *wp++ = c;
420 memcpy(wp, sp, cz);
421 wp += cz;
434 *wp++ = OSUBST;
435 *wp++ = '{'; /*}*/
436 wp = get_brace_var(&ws, wp);
440 *wp++ = CHAR;
441 *wp++ = c;
444 *wp++ = CHAR;
445 *wp++ = '0';
446 *wp++ = ADELIM;
447 *wp++ = ':';
460 *wp++ = CHAR;
461 *wp++ = ' ';
472 *wp++ = CHAR;
473 *wp++ = c;
475 *wp++ = ADELIM;
476 *wp++ = c;
504 *wp++ = OSUBST;
505 *wp++ = 'X';
507 Xcheck(ws, wp);
508 *wp++ = c;
511 *wp++ = '\0';
512 *wp++ = CSUBST;
513 *wp++ = 'X';
516 Xcheck(ws, wp);
517 *wp++ = OSUBST;
518 *wp++ = 'X';
519 *wp++ = c;
520 *wp++ = '\0';
521 *wp++ = CSUBST;
522 *wp++ = 'X';
524 *wp++ = CHAR;
525 *wp++ = '$';
532 *wp++ = COMSUB;
573 *wp++ = QCHAR;
574 *wp++ = getsc();
580 *wp++ = CHAR;
581 *wp++ = c;
588 *wp++ = CQUOTE;
599 *wp++ = QCHAR;
600 *wp++ = c2;
605 *wp++ = QCHAR;
606 *wp++ = ts[cz];
611 *wp++ = QCHAR;
612 *wp++ = c;
619 *wp++ = CQUOTE;
622 *wp++ = QCHAR;
623 *wp++ = c;
630 *wp++ = CQUOTE;
648 XcheckN(ws, wp, cz);
649 memcpy(wp, sp + 1, cz);
650 wp += cz;
652 *wp++ = '\0';
663 --wp;
709 *wp++ = CSUBST;
710 *wp++ = /*{*/ '}';
716 *wp++ = SPAT;
718 *wp++ = OPAT;
720 *wp++ = ' ';
726 *wp++ = CSUBST;
727 *wp++ = /*{*/ '}';
734 *wp++ = 0;
743 *wp++ = c;
747 *wp++ = c;
752 *wp++ = '\\';
753 *wp++ = c;
757 *wp++ = c;
771 *wp++ = CQUOTE;
782 *wp = EOS;
783 sp = Xstring(ws, wp);
810 *wp++ = QCHAR;
811 *wp++ = c;
819 *wp++ = OQUOTE;
834 *wp++ = CHAR;
835 *wp++ = c;
848 *wp++ = OQUOTE;
849 XcheckN(ws, wp, (dp - sp));
860 *wp++ = CHAR;
861 *wp++ = '\\';
865 *wp++ = CHAR;
866 *wp++ = c;
869 *wp++ = CQUOTE;
876 *wp++ = CPAT;
879 *wp++ = SPAT;
881 *wp++ = OPAT;
883 *wp++ = ' ';
891 Xcheck(ws, wp);
900 dp = Xstring(ws, wp);
904 if (Xlength(ws, wp) == 0)
906 else for (iop->unit = 0, c2 = 0; c2 < Xlength(ws, wp); c2 += 2) {
956 Xfree(ws, wp);
963 if (wp == dp && state == SBASE) {
965 Xfree(ws, wp);
1000 *wp++ = EOS;
1001 yylval.cp = Xclose(ws, wp);
1576 get_brace_var(XString *wsp, char *wp)
1623 *wp++ = c;
1625 Xcheck(*wsp, wp);
1626 *wp++ = *p++;
1642 Xcheck(*wsp, wp);
1643 *wp++ = c;
1647 *wp++ = '\0';
1649 return (wp);
1661 char *wp, c;
1665 Xinit(ws, wp, 32, ATEMP);
1669 Xcheck(ws, wp);
1670 *wp++ = c;
1677 *wp++ = '\0';
1678 *strp = Xclose(ws, wp);