Home
last modified time | relevance | path

Searched refs:optp (Results 1 – 25 of 357) sorted by relevance

12345678910>>...15

/dports/databases/mysql55-client/mysql-5.5.62/mysys/
H A Dmy_getopt.c260 optp= longopts; in handle_options()
436 if (get_one_option && get_one_option(optp->id, optp, in handle_options()
469 for (optp= longopts; optp->name; optp++) in handle_options()
471 if (optp->id && optp->id == (int) (uchar) *optend) in handle_options()
525 if ((error= setval(optp, optp->value, argument, in handle_options()
1322 for (optp= options; optp->name; optp++) in my_print_help()
1324 if (optp->id && optp->id < 256) in my_print_help()
1368 if (optp->comment && *optp->comment) in my_print_help()
1411 for (optp= options; optp->name; optp++) in my_print_variables()
1425 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/mysys/
H A Dmy_getopt.c283 optp= longopts; in handle_options()
463 if (get_one_option && get_one_option(optp->id, optp, in handle_options()
526 for (optp= longopts; optp->name; optp++) in handle_options()
528 if (optp->id && optp->id == (int) (uchar) *optend) in handle_options()
582 if ((error= setval(optp, optp->value, argument, in handle_options()
1512 for (optp= options; optp->name; optp++) in my_print_help()
1517 if (optp->id && optp->id < 256) in my_print_help()
1555 if (optp->comment && *optp->comment) in my_print_help()
1629 for (optp= options; optp->name; optp++) in my_print_variables()
1643 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/mysys/
H A Dmy_getopt.c283 optp= longopts; in handle_options()
463 if (get_one_option && get_one_option(optp->id, optp, in handle_options()
526 for (optp= longopts; optp->name; optp++) in handle_options()
528 if (optp->id && optp->id == (int) (uchar) *optend) in handle_options()
582 if ((error= setval(optp, optp->value, argument, in handle_options()
1512 for (optp= options; optp->name; optp++) in my_print_help()
1517 if (optp->id && optp->id < 256) in my_print_help()
1555 if (optp->comment && *optp->comment) in my_print_help()
1629 for (optp= options; optp->name; optp++) in my_print_variables()
1643 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/mysys/
H A Dmy_getopt.c276 optp= longopts;
456 if (get_one_option && get_one_option(optp->id, optp,
519 for (optp= longopts; optp->name; optp++)
521 if (optp->id && optp->id == (int) (uchar) *optend)
575 if ((error= setval(optp, optp->value, argument,
1505 for (optp= options; optp->name; optp++)
1510 if (optp->id && optp->id < 256)
1548 if (optp->comment && *optp->comment)
1622 for (optp= options; optp->name; optp++)
1636 for (optp= options; optp->name; optp++)
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/mysys/
H A Dmy_getopt.c276 optp= longopts; in handle_options()
456 if (get_one_option && get_one_option(optp->id, optp, in handle_options()
519 for (optp= longopts; optp->name; optp++) in handle_options()
521 if (optp->id && optp->id == (int) (uchar) *optend) in handle_options()
575 if ((error= setval(optp, optp->value, argument, in handle_options()
1505 for (optp= options; optp->name; optp++) in my_print_help()
1510 if (optp->id && optp->id < 256) in my_print_help()
1548 if (optp->comment && *optp->comment) in my_print_help()
1622 for (optp= options; optp->name; optp++) in my_print_variables()
1636 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/mysys/
H A Dmy_getopt.cc508 optp->id, optp, in my_handle_options()
539 for (optp = longopts; optp->name; optp++) { in my_handle_options()
540 if (optp->id && optp->id == (int)(uchar)*optend) { in my_handle_options()
569 get_one_option(optp->id, optp, argument)) in my_handle_options()
632 if (get_one_option && get_one_option(optp->id, optp, argument)) in my_handle_options()
1434 for (optp = options; optp->name; optp++) { in my_print_help()
1435 if (optp->id && optp->id < 256) { in my_print_help()
1463 if (col > name_space && optp->comment && *optp->comment) { in my_print_help()
1469 if (optp->comment && *optp->comment) { in my_print_help()
1516 for (optp = options; optp->name; optp++) { in my_print_variables_ex()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/mysys_ssl/
H A Dmy_getopt.cc303 optp= longopts; in my_handle_options()
483 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
519 for (optp= longopts; optp->name; optp++) in my_handle_options()
521 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
577 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1463 for (optp= options; optp->name; optp++) in my_print_help()
1465 if (optp->id && optp->id < 256) in my_print_help()
1510 if (optp->comment && *optp->comment) in my_print_help()
1554 for (optp= options; optp->name; optp++) in my_print_variables()
1568 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/mysys_ssl/
H A Dmy_getopt.cc303 optp= longopts; in my_handle_options()
483 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
519 for (optp= longopts; optp->name; optp++) in my_handle_options()
521 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
577 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1463 for (optp= options; optp->name; optp++) in my_print_help()
1465 if (optp->id && optp->id < 256) in my_print_help()
1510 if (optp->comment && *optp->comment) in my_print_help()
1554 for (optp= options; optp->name; optp++) in my_print_variables()
1568 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/mysys_ssl/
H A Dmy_getopt.cc293 optp= longopts; in my_handle_options()
441 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
477 for (optp= longopts; optp->name; optp++) in my_handle_options()
479 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
535 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1438 for (optp= options; optp->name; optp++) in my_print_help()
1440 if (optp->id && optp->id < 256) in my_print_help()
1485 if (optp->comment && *optp->comment) in my_print_help()
1540 for (optp= options; optp->name; optp++) in my_print_variables_ex()
1554 for (optp= options; optp->name; optp++) in my_print_variables_ex()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/mysys_ssl/
H A Dmy_getopt.cc293 optp= longopts; in my_handle_options()
441 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
477 for (optp= longopts; optp->name; optp++) in my_handle_options()
479 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
535 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1438 for (optp= options; optp->name; optp++) in my_print_help()
1440 if (optp->id && optp->id < 256) in my_print_help()
1485 if (optp->comment && *optp->comment) in my_print_help()
1540 for (optp= options; optp->name; optp++) in my_print_variables_ex()
1554 for (optp= options; optp->name; optp++) in my_print_variables_ex()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/mysys_ssl/
H A Dmy_getopt.cc293 optp= longopts; in my_handle_options()
441 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
477 for (optp= longopts; optp->name; optp++) in my_handle_options()
479 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
535 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1438 for (optp= options; optp->name; optp++) in my_print_help()
1440 if (optp->id && optp->id < 256) in my_print_help()
1485 if (optp->comment && *optp->comment) in my_print_help()
1540 for (optp= options; optp->name; optp++) in my_print_variables_ex()
1554 for (optp= options; optp->name; optp++) in my_print_variables_ex()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/mysys/
H A Dmy_getopt.c271 optp= longopts; in handle_options()
510 for (optp= longopts; optp->name; optp++) in handle_options()
512 if (optp->id && optp->id == (int) (uchar) *optend) in handle_options()
566 if ((error= setval(optp, optp->value, argument, in handle_options()
1497 for (optp= options; optp->name; optp++) in my_print_help()
1502 if (optp->id && optp->id < 256) in my_print_help()
1504 printf(" -%c%s", optp->id, strlen(optp->name) ? ", " : " "); in my_print_help()
1540 if (optp->comment && *optp->comment) in my_print_help()
1614 for (optp= options; optp->name; optp++) in my_print_variables()
1628 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/mysys/
H A Dmy_getopt.c271 optp= longopts; in handle_options()
510 for (optp= longopts; optp->name; optp++) in handle_options()
512 if (optp->id && optp->id == (int) (uchar) *optend) in handle_options()
566 if ((error= setval(optp, optp->value, argument, in handle_options()
1497 for (optp= options; optp->name; optp++) in my_print_help()
1502 if (optp->id && optp->id < 256) in my_print_help()
1504 printf(" -%c%s", optp->id, strlen(optp->name) ? ", " : " "); in my_print_help()
1540 if (optp->comment && *optp->comment) in my_print_help()
1614 for (optp= options; optp->name; optp++) in my_print_variables()
1628 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/mysys_ssl/
H A Dmy_getopt.cc496 optp= longopts; in my_handle_options()
687 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
723 for (optp= longopts; optp->name; optp++) in my_handle_options()
725 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
781 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1756 for (optp= options; optp->name; optp++) in my_print_help()
1758 if (optp->id && optp->id < 256) in my_print_help()
1803 if (optp->comment && *optp->comment) in my_print_help()
1847 for (optp= options; optp->name; optp++) in my_print_variables()
1861 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/mysys_ssl/
H A Dmy_getopt.cc496 optp= longopts; in my_handle_options()
687 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
723 for (optp= longopts; optp->name; optp++) in my_handle_options()
725 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
781 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1756 for (optp= options; optp->name; optp++) in my_print_help()
1758 if (optp->id && optp->id < 256) in my_print_help()
1803 if (optp->comment && *optp->comment) in my_print_help()
1847 for (optp= options; optp->name; optp++) in my_print_variables()
1861 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/mysys_ssl/
H A Dmy_getopt.cc496 optp= longopts; in my_handle_options()
687 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
723 for (optp= longopts; optp->name; optp++) in my_handle_options()
725 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
781 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1756 for (optp= options; optp->name; optp++) in my_print_help()
1758 if (optp->id && optp->id < 256) in my_print_help()
1803 if (optp->comment && *optp->comment) in my_print_help()
1847 for (optp= options; optp->name; optp++) in my_print_variables()
1861 for (optp= options; optp->name; optp++) in my_print_variables()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/mysys_ssl/
H A Dmy_getopt.cc489 optp= longopts; in my_handle_options()
647 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
683 for (optp= longopts; optp->name; optp++) in my_handle_options()
685 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
741 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1727 for (optp= options; optp->name; optp++) in my_print_help()
1729 if (optp->id && optp->id < 256) in my_print_help()
1774 if (optp->comment && *optp->comment) in my_print_help()
1829 for (optp= options; optp->name; optp++) in my_print_variables_ex()
1843 for (optp= options; optp->name; optp++) in my_print_variables_ex()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/mysys_ssl/
H A Dmy_getopt.cc489 optp= longopts; in my_handle_options()
647 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
683 for (optp= longopts; optp->name; optp++) in my_handle_options()
685 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
741 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1727 for (optp= options; optp->name; optp++) in my_print_help()
1729 if (optp->id && optp->id < 256) in my_print_help()
1774 if (optp->comment && *optp->comment) in my_print_help()
1829 for (optp= options; optp->name; optp++) in my_print_variables_ex()
1843 for (optp= options; optp->name; optp++) in my_print_variables_ex()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/mysys_ssl/
H A Dmy_getopt.cc489 optp= longopts; in my_handle_options()
647 if (get_one_option && get_one_option(optp->id, optp, in my_handle_options()
683 for (optp= longopts; optp->name; optp++) in my_handle_options()
685 if (optp->id && optp->id == (int) (uchar) *optend) in my_handle_options()
741 if ((error= setval(optp, optp->value, argument, in my_handle_options()
1727 for (optp= options; optp->name; optp++) in my_print_help()
1729 if (optp->id && optp->id < 256) in my_print_help()
1774 if (optp->comment && *optp->comment) in my_print_help()
1829 for (optp= options; optp->name; optp++) in my_print_variables_ex()
1843 for (optp= options; optp->name; optp++) in my_print_variables_ex()
[all …]
/dports/finance/beanie/beanie-0.8.2/export/
H A Dmain.c107 struct cmdopts *optp = NULL; in main() local
127 for (optp = options; optp->name != NULL; optp++) in main()
128 if (strcmp(optp->name, optarg) == 0) in main()
130 if (optp->name == NULL) in main()
139 if ((argc - optind) != 1 || optp == NULL) in main()
170 optp->xslname); in main()
173 optp->dtdname); in main()
174 optp->func(fp, i, 0); in main()
185 struct cmdopts *optp; in usage() local
189 for (optp = options; optp->name != NULL; optp++) in usage()
[all …]
/dports/cad/verilator/verilator-4.216/src/
H A DV3OptionParser.cpp119 const auto it = m_pimpl->m_options.find(optp); in find()
123 const char* const nop = VString::startsWith(optp, "-no") ? (optp + 3) : nullptr; in find()
154 const char* optp = argv[idx]; in parse() local
155 if (optp[0] == '-' && optp[1] == '-') ++optp; in parse()
156 ActionIfs* const actp = find(optp); in parse()
159 actp->exec(optp, nullptr); in parse()
162 actp->exec(optp, argv[idx + 1]); in parse()
218 const size_t prefixLen = std::strlen(optp); in V3OPTION_PARSER_DEF_OP()
219 const auto wrap = [prefixLen, cb](const char* optp) { cb(optp + prefixLen); }; in V3OPTION_PARSER_DEF_OP() argument
226 const size_t prefixLen = std::strlen(optp); in operator ()()
[all …]
H A DV3OptionParser.h67 ActionIfs* find(const char* optp);
94 virtual void exec(const char* optp, const char* valp) = 0;
118 ActionIfs& operator()(const char* optp, Set, bool*) const;
120 ActionIfs& operator()(const char* optp, Set, VOptionBool*) const;
122 ActionIfs& operator()(const char* optp, Set, int*) const;
123 ActionIfs& operator()(const char* optp, Set, string*) const;
125 ActionIfs& operator()(const char* optp, OnOff, bool*) const;
127 ActionIfs& operator()(const char* optp, OnOff, VOptionBool*) const;
132 ActionIfs& operator()(const char* optp, CbVal, std::function<void(int)>) const;
135 ActionIfs& operator()(const char* optp, CbPartialMatch,
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/net/
H A Dip6opt.c373 for (optp = *tptrp; optp < lim; optp += optlen) { in inet6_option_find()
375 *tptrp = optp; in inet6_option_find()
502 optp++; in inet6_opt_append()
512 *optp++ = type; in inet6_opt_append()
513 *optp++ = len; in inet6_opt_append()
515 *databufp = optp; in inet6_opt_append()
579 switch(*optp) { in inet6_opt_next()
581 optp++; in inet6_opt_next()
586 optp += optlen; in inet6_opt_next()
591 *typep = *optp; in inet6_opt_next()
[all …]
/dports/finance/beanie/beanie-0.8.2/ros/
H A Dmain.c87 struct cmdopts *optp = NULL; in main() local
125 for (optp = options; optp->name != NULL; optp++) in main()
126 if (strcmp(optp->name, argv[optind]) == 0) in main()
128 if (optp->name == NULL) in main()
151 optp->ext); in main()
152 fname = makepath("ros", optp->name, fnstr, NULL); in main()
163 if (optp->func(fp, comp, when) < 0) { in main()
179 struct cmdopts *optp; in usage() local
183 for (optp = options; optp->name != NULL; optp++) in usage()
184 fprintf(stderr, "\t%s\n", optp->name); in usage()
/dports/multimedia/tvheadend/tvheadend-4.2.8/support/
H A Dhtspmon36 optp = OptionParser()
37 optp.add_option('-a', '--host', default='localhost',
39 optp.add_option('-o', '--port', default=9982, type='int',
41 optp.add_option('-u', '--user', default=None,
43 optp.add_option('-p', '--passwd', default=None,
45 optp.add_option('-e', '--epg', default=False, action='store_true',
47 optp.add_option('-t', '--update', default=None, type='int',
49 (opts, args) = optp.parse_args()

12345678910>>...15