Home
last modified time | relevance | path

Searched refs:option_index (Results 1 – 25 of 38) sorted by relevance

12

/third_party/libusb/msvc/getopt/
Dgetopt.c650 int option_index; local
657 for (p = longopts, option_index = 0; p->name; p++, option_index++)
665 indfound = option_index;
673 indfound = option_index;
696 option_index = indfound;
743 *longind = option_index;
811 int option_index; local
849 for (p = longopts, option_index = 0; p != NULL && p->name; p++, option_index++)
856 indfound = option_index;
864 indfound = option_index;
[all …]
Dgetopt1.c111 int option_index = 0; local
124 long_options, &option_index);
131 printf ("option %s", long_options[option_index].name);
/third_party/python/Lib/distutils/
Dfancy_getopt.py54 self.option_index = {}
82 self.option_index.clear()
84 self.option_index[option[0]] = option
91 if long_option in self.option_index:
97 self.option_index[long_option] = option
102 return long_option in self.option_index
113 if alias not in self.option_index:
116 if opt not in self.option_index:
/third_party/libinput/tools/
Dlibinput-analyze.c40 int option_index = 0; in main() local
49 c = getopt_long(argc, argv, "+h", opts, &option_index); in main()
Dlibinput-measure.c40 int option_index = 0; in main() local
49 c = getopt_long(argc, argv, "+h", opts, &option_index); in main()
Dlibinput-tool.c74 int option_index = 0; in main() local
84 c = getopt_long(argc, argv, "+h", opts, &option_index); in main()
Dlibinput-quirks.c104 int option_index = 0; in main() local
116 c = getopt_long(argc, argv, "h", opts, &option_index); in main()
Dptraccel-debug.c243 int option_index = 0; in main() local
257 long_options, &option_index); in main()
Dlibinput-debug-tablet.c524 int option_index = 0; in main() local
537 c = getopt_long(argc, argv, "h", opts, &option_index); in main()
/third_party/ltp/testcases/kernel/tracing/ftrace_test/ftrace_stress/
Dftrace_trace_options.sh29 option_index=$(tst_random 1 $nr_trace_options)
30 option=$(echo "$trace_options" | awk "{print \$$option_index}")
/third_party/libwebsockets/lib/roles/ws/ext/
Dextension.c90 oa.option_index = (int)n; in lws_ext_parse_options()
92 oa.option_index); in lws_ext_parse_options()
119 if (opts[oa.option_index].type == EXTARG_DEC) in lws_ext_parse_options()
127 if (opts[oa.option_index].type == EXTARG_NONE) in lws_ext_parse_options()
374 oa.option_index = 0; in lws_set_extension_option()
Dextension-permessage-deflate.c101 oa->option_index = n; in lws_extension_callback_pm_deflate()
108 oa->option_index, oa->start, oa->len); in lws_extension_callback_pm_deflate()
110 priv->args[oa->option_index] = (unsigned char)atoi(oa->start); in lws_extension_callback_pm_deflate()
112 priv->args[oa->option_index] = 1; in lws_extension_callback_pm_deflate()
/third_party/ltp/testcases/kernel/io/writetest/
Dwritetest.c178 int option_index = 0; in parse_args() local
188 &option_index); in parse_args()
/third_party/nghttp2/src/
Dinflatehd.cc262 int option_index = 0; in main() local
263 int c = getopt_long(argc, argv, "dh", long_options, &option_index); in main()
Dnghttpd.cc232 int option_index = 0; in main() local
234 &option_index); in main()
Ddeflatehd.cc391 int option_index = 0; in main() local
392 int c = getopt_long(argc, argv, "S:dhs:t", long_options, &option_index); in main()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dmhd2spdy.c259 int option_index; in main() local
271 getopt_ret = getopt_long( argc, argv, "p:b:vos", long_options, &option_index); in main()
/third_party/libwebsockets/include/libwebsockets/
Dlws-ws-ext.h79 int option_index; /**< argument ordinal to use if option_name missing */ member
/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_write_buffer.c215 int option_index = 0; in main() local
218 &option_index); in main()
/third_party/alsa-lib/test/
Daudio_time.c128 int option_index; in main() local
148 while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) { in main()
/third_party/alsa-utils/topology/
Dtopology.c401 int c, err, op = 'c', cflags = 0, dflags = 0, sflags = 0, option_index; in main() local
411 while ((c = getopt_long(argc, argv, short_options, long_options, &option_index)) != -1) { in main()
/third_party/alsa-utils/alsaucm/
Dusecase.c429 int c, err, option_index; in main() local
438 long_options, &option_index)) != -1) { in main()
/third_party/libpng/contrib/tools/
Dpngcp.c712 option_index(struct display *dp, const char *opt, size_t len) in option_index() function
733 #define OPTIND(dp, name) option_index(dp, #name, (sizeof #name)-1)
738 png_byte i = option_index(dp, opt, strlen(opt)); in get_option()
1254 return getallopts_(dp, option_index(dp, opt_str, strlen(opt_str)), value, 0); in getallopts()
1262 png_byte opt = option_index(dp, opt_str, strlen(opt_str)); in getsearchopts()
1394 j = option_index(dp, arg, i); in opt_check()
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngcp.c712 option_index(struct display *dp, const char *opt, size_t len) in option_index() function
733 #define OPTIND(dp, name) option_index(dp, #name, (sizeof #name)-1)
738 png_byte i = option_index(dp, opt, strlen(opt)); in get_option()
1254 return getallopts_(dp, option_index(dp, opt_str, strlen(opt_str)), value, 0); in getallopts()
1262 png_byte opt = option_index(dp, opt_str, strlen(opt_str)); in getsearchopts()
1394 j = option_index(dp, arg, i); in opt_check()
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dpngcp.c712 option_index(struct display *dp, const char *opt, size_t len) in option_index() function
733 #define OPTIND(dp, name) option_index(dp, #name, (sizeof #name)-1)
738 png_byte i = option_index(dp, opt, strlen(opt)); in get_option()
1254 return getallopts_(dp, option_index(dp, opt_str, strlen(opt_str)), value, 0); in getallopts()
1262 png_byte opt = option_index(dp, opt_str, strlen(opt_str)); in getsearchopts()
1394 j = option_index(dp, arg, i); in opt_check()

12