Lines Matching refs:strp
89 const char * const strp = params->gos_strp; in getoptstr() local
92 if (params->gos_opts == NULL || strp == NULL) in getoptstr()
98 if (strp[0] == '\0' || strp[0] != '-') in getoptstr()
100 if (ISNTWORDCH(strp[1])) { in getoptstr()
106 if (strp[1] == '-' && ISNTWORDCH(strp[2])) { in getoptstr()
107 params->gos_strp = &strp[2]; in getoptstr()
113 params->gos_last_opt = c = strp[params->gos_pos]; in getoptstr()
116 params->gos_errp = &strp[params->gos_pos]; in getoptstr()
118 if (ISNTWORDCH(strp[params->gos_pos])) { in getoptstr()
119 params->gos_strp = &strp[params->gos_pos]; in getoptstr()
129 params->gos_strp = &strp[params->gos_pos + 1]; in getoptstr()
153 if (ISNTWORDCH(strp[params->gos_pos])) { in getoptstr()
154 params->gos_strp = &strp[params->gos_pos]; in getoptstr()