Lines Matching refs:listptr
127 const struct arg_enum_list *listptr;
131 for (listptr = def->enums; listptr->name; listptr++)
132 fprintf(fp, "%s%s", listptr->name,
133 listptr[1].name ? ", " : "\n");
211 const struct arg_enum_list *listptr;
219 for (listptr = arg->def->enums; listptr->name; listptr++)
220 if (listptr->val == rawval)
225 for (listptr = arg->def->enums; listptr->name; listptr++)
226 if (!strcmp(arg->val, listptr->name))
227 return listptr->val;