Lines Matching refs:pfound
646 const struct option *pfound = NULL; local
664 pfound = p;
669 else if (pfound == NULL)
672 pfound = p;
676 || pfound->has_arg != p->has_arg
677 || pfound->flag != p->flag
678 || pfound->val != p->val)
694 if (pfound != NULL)
702 if (pfound->has_arg)
712 argv[0], pfound->name);
717 argv[0], argv[optind - 1][0], pfound->name);
722 optopt = pfound->val;
726 else if (pfound->has_arg == 1)
737 optopt = pfound->val;
744 if (pfound->flag)
746 *(pfound->flag) = pfound->val;
749 return pfound->val;
807 const struct option *pfound = NULL; local
855 pfound = p;
860 else if (pfound == NULL)
863 pfound = p;
879 if (pfound != NULL)
886 if (pfound->has_arg)
893 argv[0], pfound->name);
899 else if (pfound->has_arg == 1)
916 if (pfound->flag)
918 *(pfound->flag) = pfound->val;
921 return pfound->val;