Lines Matching refs:optionp
49 getsubopt (char **optionp, char *const *tokens, char **valuep)
54 if (**optionp == '\0')
58 endp = strchrnul (*optionp, ',');
61 vstart = memchr (*optionp, '=', endp - *optionp);
68 if (strncmp (*optionp, tokens[cnt], vstart - *optionp) == 0
69 && tokens[cnt][vstart - *optionp] == '\0')
76 *optionp = endp;
82 *valuep = *optionp;
86 *optionp = endp;