Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 189) sorted by relevance

12345678

/external/oprofile/libpopt/
Dpopthelp.c95 const struct poptOption *opt; in getTableTranslationDomain() local
98 for (opt = table; opt->longName || opt->shortName || opt->arg; opt++) { in getTableTranslationDomain()
99 if (opt->argInfo == POPT_ARG_INTL_DOMAIN) in getTableTranslationDomain()
100 return opt->arg; in getTableTranslationDomain()
110 getArgDescrip(const struct poptOption * opt, in getArgDescrip() argument
116 if (!(opt->argInfo & POPT_ARG_MASK)) return NULL; in getArgDescrip()
118 if (opt == (poptHelpOptions + 1) || opt == (poptHelpOptions + 2)) in getArgDescrip()
119 if (opt->argDescrip) return POPT_(opt->argDescrip); in getArgDescrip()
121 if (opt->argDescrip) return D_(translation_domain, opt->argDescrip); in getArgDescrip()
123 switch (opt->argInfo & POPT_ARG_MASK) { in getArgDescrip()
[all …]
Dpopt.c64 static void invokeCallbacksPRE(poptContext con, const struct poptOption * opt) in invokeCallbacksPRE() argument
68 if (opt != NULL) in invokeCallbacksPRE()
69 for (; opt->longName || opt->shortName || opt->arg; opt++) { in invokeCallbacksPRE()
70 if (opt->arg == NULL) continue; /* XXX program error. */ in invokeCallbacksPRE()
71 if ((opt->argInfo & POPT_ARG_MASK) == POPT_ARG_INCLUDE_TABLE) { in invokeCallbacksPRE()
72 void * arg = opt->arg; in invokeCallbacksPRE()
79 } else if ((opt->argInfo & POPT_ARG_MASK) == POPT_ARG_CALLBACK && in invokeCallbacksPRE()
80 (opt->argInfo & POPT_CBFLAG_PRE)) in invokeCallbacksPRE()
82 poptCallbackType cb = (poptCallbackType)opt->arg; in invokeCallbacksPRE()
86 cb(con, POPT_CALLBACK_REASON_PRE, NULL, NULL, opt->descrip); in invokeCallbacksPRE()
[all …]
/external/ppp/pppd/
Doptions.c354 option_t *opt; local
363 opt = find_option(arg);
364 if (opt == NULL) {
369 n = n_arguments(opt);
374 if (!process_option(opt, arg, argv))
395 option_t *opt; local
427 opt = find_option(cmd);
428 if (opt == NULL) {
433 n = n_arguments(opt);
443 if (!process_option(opt, cmd, argv))
[all …]
Dlcp.c323 printendpoint(opt, printer, arg) in printendpoint() argument
324 option_t *opt; in printendpoint()
692 #define ADDCIVOID(opt, neg) \ argument
694 PUTCHAR(opt, ucp); \
697 #define ADDCISHORT(opt, neg, val) \ argument
699 PUTCHAR(opt, ucp); \
703 #define ADDCICHAP(opt, neg, val) \ argument
705 PUTCHAR((opt), ucp); \
710 #define ADDCILONG(opt, neg, val) \ argument
712 PUTCHAR(opt, ucp); \
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/Getopt/
DMixed.pm75 my($opt,$type);
90 $opt = $1;
98 $options{$opt} = $type;
238 my $opt = shift;
240 $opt =~ s/-/[^-]*-/g;
241 $opt .= ".*";
243 my @matches = grep(/^$opt$/, keys %options);
248 $opt = $matches[0];
249 $opt = $options{$opt} if $options{$opt} =~ /^[^=:]/;
253 unless $_ eq $opt or $options{$_} eq $opt;
[all …]
/external/webkit/WebCore/platform/qt/
DScrollbarThemeQt.cpp99 static QStyleOptionSlider opt; in styleOptionSlider() local
101 opt.initFrom(widget); in styleOptionSlider()
103 opt.state |= QStyle::State_Active; in styleOptionSlider()
105 opt.state &= ~QStyle::State_HasFocus; in styleOptionSlider()
107 opt.rect = scrollbar->frameRect(); in styleOptionSlider()
109 opt.state |= QStyle::State_Enabled; in styleOptionSlider()
111 opt.state |= QStyle::State_Mini; in styleOptionSlider()
112opt.orientation = (scrollbar->orientation() == VerticalScrollbar) ? Qt::Vertical : Qt::Horizontal; in styleOptionSlider()
114 opt.state |= QStyle::State_Horizontal; in styleOptionSlider()
115 opt.sliderValue = scrollbar->value(); in styleOptionSlider()
[all …]
/external/jdiff/src/jdiff/
DOptions.java36 String opt = option.toLowerCase(); in optionLength() local
39 if (opt.equals("-authorid")) return 2; in optionLength()
40 if (opt.equals("-versionid")) return 2; in optionLength()
41 if (opt.equals("-d")) return 2; in optionLength()
42 if (opt.equals("-classlist")) return 1; in optionLength()
43 if (opt.equals("-title")) return 2; in optionLength()
44 if (opt.equals("-docletid")) return 1; in optionLength()
45 if (opt.equals("-evident")) return 2; in optionLength()
46 if (opt.equals("-skippkg")) return 2; in optionLength()
47 if (opt.equals("-skipclass")) return 2; in optionLength()
[all …]
/external/bluez/utils/hcid/
Dparser.y144 int opt = find_keyword(sec_param, $1); variable
145 if (opt < 0) {
149 $$ = opt;
159 int opt = find_keyword(pair_param, $1); variable
160 if (opt < 0) {
164 $$ = opt;
170 int opt = find_keyword(off_param, $1); variable
171 if (opt < 0) {
175 $$ = opt;
273 unsigned int opt; variable
[all …]
Dparser.c1589 int opt = find_keyword(sec_param, (yyvsp[(1) - (1)].str)); local
1590 if (opt < 0) {
1594 (yyval.num) = opt;
1608 int opt = find_keyword(pair_param, (yyvsp[(1) - (1)].str)); local
1609 if (opt < 0) {
1613 (yyval.num) = opt;
1620 int opt = find_keyword(off_param, (yyvsp[(1) - (1)].str)); local
1621 if (opt < 0) {
1625 (yyval.num) = opt;
1760 unsigned int opt; local
[all …]
/external/bluez/utils/tools/
Dhciconfig.c116 static void cmd_rstat(int ctl, int hdev, char *opt) in cmd_rstat() argument
126 static void cmd_scan(int ctl, int hdev, char *opt) in cmd_scan() argument
132 if (!strcmp(opt, "iscan")) in cmd_scan()
134 else if (!strcmp(opt, "pscan")) in cmd_scan()
136 else if (!strcmp(opt, "piscan")) in cmd_scan()
146 static void cmd_iac(int ctl, int hdev, char *opt) in cmd_iac() argument
155 if (opt) { in cmd_iac()
156 int l = strtoul(opt, 0, 16); in cmd_iac()
158 if (!strcasecmp(opt, "giac")) { in cmd_iac()
160 } else if (!strcasecmp(opt, "liac")) { in cmd_iac()
[all …]
Dhcitool.c49 #define for_each_opt(opt, long, short) while ((opt=getopt_long(argc, argv, short ? short:"+", long,… argument
379 int opt; in cmd_dev() local
381 for_each_opt(opt, dev_options, NULL) { in cmd_dev()
382 switch (opt) { in cmd_dev()
418 int i, l, opt; in cmd_inq() local
424 for_each_opt(opt, inq_options, NULL) { in cmd_inq()
425 switch (opt) { in cmd_inq()
512 int i, n, l, opt, dd, cc, nc; in cmd_scan() local
518 for_each_opt(opt, scan_options, NULL) { in cmd_scan()
519 switch (opt) { in cmd_scan()
[all …]
/external/bzip2/
Dbzgrep20 -e | -f) opt="$opt $1"; shift; pat="$1"
24 -A | -B) opt="$opt $1 $2"; shift;;
25 -*) opt="$opt $1";;
43 op=`echo "$opt" | sed -e 's/ //g' -e 's/-//g'`
52 bzip2 -cdfq | $grep $opt "$pat"
60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i
63 bzip2 -cdfq "$i" | $grep $opt "$pat"
70 bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${j}:|"
/external/dhcpcd/
Ddhcp.c162 const struct dhcp_opt *opt; in print_options() local
164 for (opt = dhcp_opts; opt->option; opt++) in print_options()
165 if (opt->var) in print_options()
166 printf("%03d %s\n", opt->option, opt->var); in print_options()
172 const struct dhcp_opt *opt; in make_option_mask() local
178 for (opt = dhcp_opts; opt->option; opt++) { in make_option_mask()
179 if (!opt->var) in make_option_mask()
182 if (strcmp(opt->var, token) == 0) in make_option_mask()
188 if (opt->option == n) in make_option_mask()
194 opt->option); in make_option_mask()
[all …]
Dshowlease.c147 const struct dhcp_opt *opt; in valid_length() local
153 for (opt = dhcp_opts; opt->option; opt++) { in valid_length()
154 if (opt->option != option) in valid_length()
158 *type = opt->type; in valid_length()
160 if (opt->type == 0 || opt->type & STRING || opt->type & RFC3442) in valid_length()
164 if (opt->type & UINT32 || opt->type & IPV4) in valid_length()
166 if (opt->type & UINT16) in valid_length()
168 if (opt->type & UINT8) in valid_length()
170 if (opt->type & IPV4 || opt->type & ARRAY) in valid_length()
186 #define get_option_raw(dhcp, opt) get_option(dhcp, opt, NULL, NULL) argument
[all …]
/external/tcpdump/
Dprint-ppp.c591 int len, opt; in print_lcp_config_options() local
597 opt = p[0]; in print_lcp_config_options()
601 if ((opt >= LCPOPT_MIN) && (opt <= LCPOPT_MAX)) in print_lcp_config_options()
602 printf("\n\t %s Option (0x%02x), length %u (bogus, should be >= 2)", lcpconfopts[opt],opt,len); in print_lcp_config_options()
604 printf("\n\tunknown LCP option 0x%02x", opt); in print_lcp_config_options()
607 if ((opt >= LCPOPT_MIN) && (opt <= LCPOPT_MAX)) in print_lcp_config_options()
608 printf("\n\t %s Option (0x%02x), length %u: ", lcpconfopts[opt],opt,len); in print_lcp_config_options()
610 printf("\n\tunknown LCP option 0x%02x", opt); in print_lcp_config_options()
614 switch (opt) { in print_lcp_config_options()
981 int len, opt; in print_ipcp_config_options() local
[all …]
/external/emma/core/java12/com/vladium/emma/
DCommand.java94 protected final boolean processOpt (final IOptsParser.IOpt opt) in processOpt() argument
96 final String on = opt.getCanonicalName (); in processOpt()
100 m_exit = getOptionalBooleanOptValue (opt); in processOpt()
105 m_propertyFile = new File (opt.getFirstValue ()); in processOpt()
125 if (opt.getValueCount () == 0) in processOpt()
128 setPropertyOverride (AppLoggers.PROPERTY_VERBOSITY_LEVEL, opt.getFirstValue ()); in processOpt()
134 … (AppLoggers.PROPERTY_VERBOSITY_FILTER, Strings.toListForm (Strings.merge (opt.getValues (), COMMA… in processOpt()
150 final IOptsParser.IOpt opt = popts [o]; in processCmdPropertyOverrides() local
151 final String on = opt.getName ().substring (opt.getPatternPrefix ().length ()); in processCmdPropertyOverrides()
155 cmdOverrides.setProperty (on, opt.getFirstValue ()); in processCmdPropertyOverrides()
[all …]
DrunCommand.java77 final IOptsParser.IOpt opt = opts [o]; in run() local
78 final String on = opt.getCanonicalName (); in run()
80 if (! processOpt (opt)) in run()
84 m_classpath = getListOptValue (opt, PATH_DELIMITERS, true); in run()
92 m_scanCoveragePath = getOptionalBooleanOptValue (opt); in run()
96 m_srcpath = getListOptValue (opt, PATH_DELIMITERS, true); in run()
100 m_dumpRawData = getOptionalBooleanOptValue (opt); in run()
104 m_outFileName = opt.getFirstValue (); in run()
108 … m_outDataMerge = getOptionalBooleanOptValue (opt) ? Boolean.TRUE : Boolean.FALSE; in run()
112 … m_reportTypes = Strings.merge (opt.getValues (), COMMA_DELIMITERS, true); in run()
[all …]
/external/bluez/utils/test/
Drctest.c95 int sk, opt; in do_connect() local
141 opt = 0; in do_connect()
143 opt |= RFCOMM_LM_MASTER; in do_connect()
145 opt |= RFCOMM_LM_AUTH; in do_connect()
147 opt |= RFCOMM_LM_ENCRYPT; in do_connect()
149 opt |= RFCOMM_LM_SECURE; in do_connect()
151 if (opt && setsockopt(sk, SOL_RFCOMM, RFCOMM_LM, &opt, sizeof(opt)) < 0) { in do_connect()
195 int sk, nsk, opt; in do_listen() local
218 opt = 0; in do_listen()
220 opt |= RFCOMM_LM_MASTER; in do_listen()
[all …]
Dl2test.c183 int sk, opt; in do_connect() local
251 opt = 0; in do_connect()
253 opt |= L2CAP_LM_RELIABLE; in do_connect()
255 opt |= L2CAP_LM_MASTER; in do_connect()
257 opt |= L2CAP_LM_AUTH; in do_connect()
259 opt |= L2CAP_LM_ENCRYPT; in do_connect()
261 opt |= L2CAP_LM_SECURE; in do_connect()
263 if (setsockopt(sk, SOL_L2CAP, L2CAP_LM, &opt, sizeof(opt)) < 0) { in do_connect()
322 int sk, nsk, opt; in do_listen() local
345 opt = 0; in do_listen()
[all …]
/external/opencore/tools_v2/build/make/platforms/
Dlinux_arm.mk18 -I /opt/environments/linux_arm/data/omapts/linux/arm-tc/gcc-3.4.0-1/arm-linux \
19 -I /opt/environments/linux_arm/target/include/dspbridge/ \
20 -I /opt/environments/linux_arm/pvinclude
24 -L/opt/environments/linux_arm/data/omapts/linux/arm-tc/gcc-3.4.0-1/arm-linux/lib \
25 -L/opt/environments/linux_arm/pvlib \
26 -L/opt/environments/linux_arm/target/lib \
27 -L/opt/environments/linux_arm/rootfs/lib
/external/qemu/proxy/
Dproxy_http.c97 const ProxyOption* opt = options; in proxy_http_setup() local
98 const ProxyOption* end = opt + num_options; in proxy_http_setup()
100 for ( ; opt < end; opt++ ) { in proxy_http_setup()
101 switch (opt->type) { in proxy_http_setup()
102 case PROXY_OPTION_HTTP_NOCACHE: opt_nocache = opt; break; in proxy_http_setup()
103 case PROXY_OPTION_HTTP_KEEPALIVE: opt_keepalive = opt; break; in proxy_http_setup()
104 case PROXY_OPTION_AUTH_USERNAME: opt_auth_user = opt; break; in proxy_http_setup()
105 case PROXY_OPTION_AUTH_PASSWORD: opt_auth_pass = opt; break; in proxy_http_setup()
106 case PROXY_OPTION_HTTP_USER_AGENT: opt_user_agent = opt; break; in proxy_http_setup()
/external/emma/core/java12/com/vladium/emma/instr/
DinstrCommand.java81 final IOptsParser.IOpt opt = opts [o]; in run() local
82 final String on = opt.getCanonicalName (); in run()
84 if (! processOpt (opt)) in run()
88 m_instrpath = getListOptValue (opt, PATH_DELIMITERS, true); in run()
92 m_outDirName = opt.getFirstValue (); in run()
96 m_outFileName = opt.getFirstValue (); in run()
100 … m_outDataMerge = getOptionalBooleanOptValue (opt) ? Boolean.TRUE : Boolean.FALSE; in run()
105 m_ixpath = getListOptValue (opt, COMMA_DELIMITERS, true); in run()
109 final String ov = opt.getFirstValue (); in run()
/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c247 unsigned char *opt; in clampMSS() local
322 opt = tcpHdr + 20; in clampMSS()
323 while (opt < endHdr) { in clampMSS()
324 if (!*opt) break; /* End of options */ in clampMSS()
325 switch(*opt) { in clampMSS()
327 opt++; in clampMSS()
331 if (opt[1] != 4) { in clampMSS()
335 (unsigned int) opt[1], in clampMSS()
342 mssopt = opt; in clampMSS()
345 if (opt[1] < 2) { in clampMSS()
[all …]
/external/qemu/
Doffset_layout.py34 for opt, value in options:
35 if opt in ["--dx"]:
37 elif opt in ["--dy"]:
39 elif opt in ["--px"]:
41 elif opt in ["--py"]:
43 elif opt in ["--kx"]:
45 elif opt in ["--ky"]:
/external/openssl/crypto/asn1/
Dtasn_dec.c79 int exptag, int expclass, char opt,
84 const ASN1_TEMPLATE *tt, char opt,
88 const ASN1_TEMPLATE *tt, char opt,
93 int tag, int aclass, char opt, ASN1_TLC *ctx);
154 int tag, int aclass, char opt, ASN1_TLC *ctx) in ASN1_item_ex_d2i() argument
187 if ((tag != -1) || opt) in ASN1_item_ex_d2i()
194 it->templates, opt, ctx); in ASN1_item_ex_d2i()
197 tag, aclass, opt, ctx); in ASN1_item_ex_d2i()
216 if (opt) return -1; in ASN1_item_ex_d2i()
225 if (opt) in ASN1_item_ex_d2i()
[all …]

12345678