Lines Matching refs:sptr
424 char *bptr, *sptr; in expect() local
429 for (sptr = str; *sptr; sptr++) { in expect()
430 if (*sptr == '\\') { in expect()
431 switch (*++sptr) { in expect()
447 *bptr++ = *sptr; in expect()
451 *bptr++ = *sptr; in expect()
580 char *sptr, *bptr; in sendthem() local
606 for (sptr = str; *sptr; sptr++) { in sendthem()
607 if (*sptr == '\\') { in sendthem()
608 switch (*++sptr) { in sendthem()
613 if (sptr[1] == NULLCHAR) { in sendthem()
624 switch (*sptr) { in sendthem()
640 *bptr++ = *sptr; in sendthem()
644 *bptr++ = *sptr; in sendthem()
677 (*sptr == 'M' ? "set" : "clear")); in sendthem()
684 if (*sptr == 'M') in sendthem()
698 *bptr++ = *sptr; in sendthem()