Lines Matching defs:opt1
818 equalopts(const char *opt1, const char *opt2)
823 if (strcmp(opt1, opt2) == 0)
826 if (strncmp(opt1, "no", 2) == 0 && strcmp(opt1 + 2, opt2) == 0)
829 if (strncmp(opt2, "no", 2) == 0 && strcmp(opt1, opt2 + 2) == 0)
831 while ((p = strchr(opt1, '.')) != NULL &&
832 !strncmp(opt1, opt2, ++p - opt1)) {
833 opt2 += p - opt1;
834 opt1 = p;
836 if (strncmp(opt1, "no", 2) == 0 && strcmp(opt1 + 2, opt2) == 0)
839 if (strncmp(opt2, "no", 2) == 0 && strcmp(opt1, opt2 + 2) == 0)