Home
last modified time | relevance | path

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

/third_party/quickjs/
Dqjs.c341 const char *longopt = ""; in main() local
347 longopt = arg + 1; in main()
350 if (!*longopt) in main()
353 for (; *arg || *longopt; longopt = "") { in main()
357 if (opt == 'h' || opt == '?' || !strcmp(longopt, "help")) { in main()
361 if (opt == 'e' || !strcmp(longopt, "eval")) { in main()
373 if (opt == 'I' || !strcmp(longopt, "include")) { in main()
385 if (opt == 'i' || !strcmp(longopt, "interactive")) { in main()
389 if (opt == 'm' || !strcmp(longopt, "module")) { in main()
393 if (!strcmp(longopt, "script")) { in main()
[all …]
/third_party/jerryscript/jerry-main/
Dmain-unix.c341 CLI_OPT_DEF (.id = OPT_HELP, .opt = "h", .longopt = "help",
343 CLI_OPT_DEF (.id = OPT_VERSION, .opt = "v", .longopt = "version",
345 CLI_OPT_DEF (.id = OPT_MEM_STATS, .longopt = "mem-stats",
347 CLI_OPT_DEF (.id = OPT_PARSE_ONLY, .longopt = "parse-only",
349 CLI_OPT_DEF (.id = OPT_SHOW_OP, .longopt = "show-opcodes",
351 CLI_OPT_DEF (.id = OPT_SHOW_RE_OP, .longopt = "show-regexp-opcodes",
353 CLI_OPT_DEF (.id = OPT_DEBUG_SERVER, .longopt = "start-debug-server",
355 CLI_OPT_DEF (.id = OPT_DEBUG_PORT, .longopt = "debug-port", .meta = "NUM",
357 CLI_OPT_DEF (.id = OPT_DEBUG_CHANNEL, .longopt = "debug-channel", .meta = "[websocket|rawpacket]",
359 CLI_OPT_DEF (.id = OPT_DEBUG_PROTOCOL, .longopt = "debug-protocol", .meta = "PROTOCOL",
[all …]
Dcli.c126 if (opt->longopt != NULL && strcmp (arg, opt->longopt) == 0) in cli_consume_option()
287 opt_p = current_opt_p->longopt; in cli_opt_usage()
401 if (opt_p->opt != NULL && opt_p->longopt != NULL) in cli_help()
407 if (opt_p->longopt != NULL) in cli_help()
409 printf ("--%s", opt_p->longopt); in cli_help()
410 length += (int) (strlen (opt_p->longopt) + 2); in cli_help()
Dmain-unix-snapshot.c224 CLI_OPT_DEF (.id = OPT_GENERATE_HELP, .opt = "h", .longopt = "help",
226 CLI_OPT_DEF (.id = OPT_GENERATE_STATIC, .opt = "s", .longopt = "static",
228 CLI_OPT_DEF (.id = OPT_GENERATE_FUNCTION, .opt = "f", .longopt = "generate-function-snapshot",
231 CLI_OPT_DEF (.id = OPT_IMPORT_LITERAL_LIST, .longopt = "load-literals-list-format",
234 CLI_OPT_DEF (.id = OPT_GENERATE_SHOW_OP, .longopt = "show-opcodes",
463 CLI_OPT_DEF (.id = OPT_LITERAL_DUMP_HELP, .opt = "h", .longopt = "help",
465 CLI_OPT_DEF (.id = OPT_LITERAL_DUMP_FORMAT, .longopt = "format",
654 CLI_OPT_DEF (.id = OPT_MERGE_HELP, .opt = "h", .longopt = "help",
789 CLI_OPT_DEF (.id = OPT_HELP, .opt = "h", .longopt = "help",
Dcli.h28 const char *longopt; /**< long option variant (in the form of "xxx" without dashes) */ member
/third_party/node/deps/npm/node_modules/dashdash/etc/
Ddashdash.bash_completion.in156 state=longopt
227 longopt)
/third_party/curl/src/
Dtool_getparam.c553 bool longopt = FALSE; in getparameter() local
577 longopt = TRUE; in getparameter()
609 if(!longopt) { in getparameter()
632 if(!longopt && parse[1]) { in getparameter()
1978 if(longopt) in getparameter()
2320 } while(!longopt && !singleopt && *++parse && !*usedarg); in getparameter()