Home
last modified time | relevance | path

Searched refs:longopt (Results 1 – 5 of 5) sorted by relevance

/external/curl/src/
Dtool_help.c82 size_t longopt = 5; in print_category() local
90 if(len > longopt) in print_category()
91 longopt = len; in print_category()
96 if(longopt + longdesc > 80) in print_category()
97 longopt = 80 - longdesc; in print_category()
101 printf(" %-*s %s\n", (int)longopt, helptext[i].opt, helptext[i].desc); in print_category()
Dtool_getparam.c688 bool longopt = FALSE; in getparameter() local
724 longopt = TRUE; in getparameter()
756 if(!longopt) { in getparameter()
779 if(!longopt && parse[1]) { in getparameter()
2123 config->nobuffer = longopt ? !toggle : TRUE; in getparameter()
2463 } while(!longopt && !singleopt && *++parse && !*usedarg); in getparameter()
/external/pigweed/pw_rpc/fuzz/
Dargparse.cc108 std::string_view longopt) in ArgParserBase() argument
109 : short_name_(shortopt), long_name_(longopt) { in ArgParserBase()
113 PW_CHECK(longopt.size() > 2); in ArgParserBase()
114 PW_CHECK(longopt.substr(0, 2) == "--"); in ArgParserBase()
142 BoolParser::BoolParser(std::string_view shortopt, std::string_view longopt) in BoolParser() argument
143 : ArgParserBase(shortopt, longopt) {} in BoolParser()
167 std::string_view longopt) in UnsignedParserBase() argument
168 : ArgParserBase(shortopt, longopt) {} in UnsignedParserBase()
/external/pigweed/pw_rpc/fuzz/public/pw_rpc/fuzz/
Dargparse.h111 ArgParserBase(std::string_view shortopt, std::string_view longopt);
144 BoolParser(std::string_view shortopt, std::string_view longopt);
159 UnsignedParserBase(std::string_view shortopt, std::string_view longopt);
170 UnsignedParser(std::string_view shortopt, std::string_view longopt) in UnsignedParser() argument
171 : UnsignedParserBase(shortopt, longopt) {} in UnsignedParser()
/external/toybox/lib/
Dargs.c144 static void gotflag(struct getoptflagstate *gof, struct opts *opt, int longopt) in gotflag() argument
181 if (!longopt && *gof->arg && (opt->flags & 4)) return forget_arg(opt); in gotflag()
182 if (!type || (!arg[!longopt] && (opt->flags & 8))) return forget_arg(opt); in gotflag()
188 if (longopt && *arg) arg++; in gotflag()