Lines Matching defs:sp
787 const char *sp;
795 for (sp = cap; *sp; sp++) {
815 (void) strncpy(buf2, sp, len);
841 csi = skip_csi(sp);
849 && strncmp(ap->from + adj, sp + csi, len - adj) == 0) {
860 && (csi = skip_csi(sp)) != 0
861 && (len = (strspn) (sp + csi, "0123456789;"))
864 && ((sp[next] == 'h') || (sp[next] == 'l'))) {
867 ((sp[next] == 'h')
871 (void) strncpy(buf3, sp + csi, len);
880 && (csi = skip_csi(sp)) != 0
881 && sp[csi] == '?'
882 && (len = (strspn) (sp + csi + 1, "0123456789;"))
885 && ((sp[next] == 'h') || (sp[next] == 'l'))) {
888 ((sp[next] == 'h')
892 (void) strncpy(buf3, sp + csi + 1, len);
901 && (csi = skip_csi(sp)) != 0
902 && (len = (strspn) (sp + csi, "0123456789;")) != 0
905 && sp[next] == 'm') {
908 (void) strncpy(buf3, sp + csi, len);
916 && (csi = skip_csi(sp)) != 0
917 && sp[csi] == 'm') {
926 && (csi = skip_csi(sp)) != 0) {
927 if (sp[csi] == 'r') {
933 if (strncmp(buf2, sp + csi, len) == 0)
941 && (csi = skip_csi(sp)) != 0) {
944 if (strncmp(buf2, sp + csi, len) == 0) {
949 if (strncmp(buf2, sp + csi, len) == 0) {
959 sp += len - 1;
962 buf2[0] = *sp;
1267 char buf[MAX_STRING], *sp, *tp;
1273 for (sp = term->Strings[n];
1274 *sp != 0 && TP_LIMIT > 2;
1275 sp++) {
1276 if (isascii(UChar(*sp))
1277 && isprint(UChar(*sp))
1278 && *sp != '\\'
1279 && *sp != '"')
1280 *tp++ = *sp;
1282 _nc_SPRINTF(tp, _nc_SLIMIT(TP_LIMIT) "\\%03o", UChar(*sp));