Lines Matching refs:pstart
586 char *pstart = value; in __s_get_enum_value() local
590 if (pstart == NULL) in __s_get_enum_value()
594 while (*pstart == SPACETOK) in __s_get_enum_value()
595 pstart++; in __s_get_enum_value()
597 pend = pstart + strlen(pstart) - 1; in __s_get_enum_value()
598 for (; pend >= pstart && *pend == SPACETOK; pend--) in __s_get_enum_value()
600 len = pend - pstart + 1; in __s_get_enum_value()
648 if (strncasecmp(pstart, mapp->name, len) == 0 && in __s_get_enum_value()
1074 char *pstart = (char *)instr; in stripdup() local
1078 if (pstart == NULL) in stripdup()
1081 while (*pstart == SPACETOK) in stripdup()
1082 pstart++; in stripdup()
1084 pend = pstart + strlen(pstart) - 1; in stripdup()
1085 for (; pend >= pstart && *pend == SPACETOK; pend--) in stripdup()
1087 len = pend - pstart + 1; in stripdup()
1091 (void) strncpy(ret, pstart, len); in stripdup()