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()
1075 char *pstart = (char *)instr; in stripdup() local
1079 if (pstart == NULL) in stripdup()
1082 while (*pstart == SPACETOK) in stripdup()
1083 pstart++; in stripdup()
1085 pend = pstart + strlen(pstart) - 1; in stripdup()
1086 for (; pend >= pstart && *pend == SPACETOK; pend--) in stripdup()
1088 len = pend - pstart + 1; in stripdup()
1092 (void) strncpy(ret, pstart, len); in stripdup()