Lines Matching refs:sptr

221 	char	*sptr, *dptr, **mapp;
228 sptr = cp;
229 dptr = strchr(sptr, COLONTOK);
232 i = dptr - sptr + 1;
236 (void) strlcpy(*sid, sptr, i);
237 sptr = dptr+1;
239 dptr = strchr(sptr, TOKENSEPARATOR);
245 i = dptr - sptr + 1;
252 (void) strlcpy(*origA, sptr, i);
253 sptr = dptr+1;
256 for (dptr = sptr; *dptr; dptr++) {
273 while (*sptr) {
274 while (*sptr == SPACETOK)
275 sptr++;
276 dptr = sptr;
279 i = dptr - sptr + 1;
290 (void) strlcpy(*mapp, sptr, i);
292 sptr = dptr;
330 char *sptr, *dptr;
353 sptr = *cur;
370 for (/* none */; state != P_EXIT && sptr && *sptr; sptr++) {
374 if (*sptr == QUESTTOK) {
384 if (*sptr == SEMITOK) {
395 i = strlen(sptr) + 1;
401 if (*sptr == BSLTOK) {
402 if (*(sptr+1) == '\0') {
407 if (*(sptr+1) == QUOTETOK ||
408 *(sptr+1) == BSLTOK) {
410 sptr++;
412 *dptr++ = *sptr++;
414 *dptr++ = *sptr;
415 } else if (*sptr == QUOTETOK) {
419 *dptr++ = *sptr;
424 if (*sptr == SEMITOK) {
430 i = strlen(sptr) + 1;
436 if (*sptr == BSLTOK) {
437 if (*(sptr+1) == '\0') {
442 if (*(sptr+1) == QUOTETOK ||
443 *(sptr+1) == BSLTOK) {
445 sptr++;
447 *dptr++ = *sptr++;
449 *dptr++ = *sptr;
450 } else if (*sptr == QUOTETOK) {
454 *dptr++ = *sptr;
460 if (*sptr == SEMITOK) {
465 if (strncasecmp(sptr, "base", 4) == 0) {
466 sptr += 4;
468 } else if (strncasecmp(sptr, "one", 3) == 0) {
470 sptr += 3;
471 } else if (strncasecmp(sptr, "sub", 3) == 0) {
473 sptr += 3;
475 if (*sptr == '\0' || (*sptr == SEMITOK)) {
478 sptr--;
481 if (*sptr != QUESTTOK) {
493 if (*sptr == BSLTOK) {
494 if (*(sptr+1) == '\0') {
498 if (*(sptr+1) == QUOTETOK ||
499 *(sptr+1) == BSLTOK) {
501 sptr++;
503 *dptr++ = *sptr++;
506 } else if (*sptr == QUOTETOK) {
515 if (wasquoted && *sptr != QUESTTOK) {
520 if (*sptr == BSLTOK) {
521 if (*(sptr+1) == '\0') {
525 if (*(sptr+1) == SEMITOK ||
526 *(sptr+1) == QUESTTOK ||
527 *(sptr+1) == QUOTETOK ||
528 *(sptr+1) == BSLTOK) {
530 sptr++;
533 } else if (*sptr == QUOTETOK) {
537 } else if (*sptr == QUESTTOK) {
547 } else if (*sptr == SEMITOK) {
555 *dptr++ = *sptr;
558 if (*sptr == SEMITOK) {
607 *cur = sptr;