Lines Matching refs:str
129 str2bit(optvect_t *options, int match, const char *str, int len)
134 if (strncmp(str, options->opt_name, len) == 0)
149 opt2bits(optvect_t *options, int match, const char *str, uint_t *bits, char c)
151 const char *ptr, *next = str;
156 while (*str) {
159 ptr = strpbrk(str, ", ");
161 len = ptr - str;
164 len = strlen(str);
165 next = str + len;
171 bit = str2bit(options, match, str, len);
172 if (bit == 0 && strncmp(str, "none", len) == 0) {
178 len, str);
187 "specified twice\n"), len, str);
190 str = next;