Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 25 of 185) sorted by relevance

12345678

/external/clang/lib/Driver/
DOptTable.cpp67 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) && in operator <()
69 return B.Kind == Option::JoinedClass; in operator <()
84 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier()
101 if (Kind == Option::InputClass) { in OptTable()
104 } else if (Kind == Option::UnknownClass) { in OptTable()
107 } else if (Kind != Option::GroupClass) { in OptTable()
118 Option::OptionClass Kind = (Option::OptionClass) getInfo(i + 1).Kind; in OptTable()
119 assert((Kind != Option::InputClass && Kind != Option::UnknownClass && in OptTable()
120 Kind != Option::GroupClass) && in OptTable()
158 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption()
[all …]
DOption.cpp20 Option::Option(const OptTable::Info *info, const OptTable *owner) in Option() function in Option
31 Option::~Option() { in ~Option()
34 void Option::dump() const { in dump()
59 const Option Group = getGroup(); in dump()
65 const Option Alias = getAlias(); in dump()
77 bool Option::matches(OptSpecifier Opt) const { in matches()
79 const Option Alias = getAlias(); in matches()
87 const Option Group = getGroup(); in matches()
93 Arg *Option::accept(const ArgList &Args, in accept()
96 const Option &UnaliasedOption = getUnaliasedOption(); in accept()
DArg.cpp21 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, const Arg *_BaseArg) in Arg()
26 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, in Arg()
33 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, in Arg()
93 case Option::RenderValuesStyle: in render()
98 case Option::RenderCommaJoinedStyle: { in render()
110 case Option::RenderJoinedStyle: in render()
117 case Option::RenderSeparateStyle: in render()
/external/llvm/lib/Option/
DOptTable.cpp67 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) && in operator <()
69 return B.Kind == Option::JoinedClass; in operator <()
82 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier()
97 if (Kind == Option::InputClass) { in OptTable()
100 } else if (Kind == Option::UnknownClass) { in OptTable()
103 } else if (Kind != Option::GroupClass) { in OptTable()
114 Option::OptionClass Kind = (Option::OptionClass) getInfo(i + 1).Kind; in OptTable()
115 assert((Kind != Option::InputClass && Kind != Option::UnknownClass && in OptTable()
116 Kind != Option::GroupClass) && in OptTable()
155 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption()
[all …]
DOption.cpp22 Option::Option(const OptTable::Info *info, const OptTable *owner) in Option() function in Option
33 Option::~Option() { in ~Option()
36 void Option::dump() const { in dump()
61 const Option Group = getGroup(); in dump()
67 const Option Alias = getAlias(); in dump()
79 bool Option::matches(OptSpecifier Opt) const { in matches()
81 const Option Alias = getAlias(); in matches()
89 const Option Group = getGroup(); in matches()
95 Arg *Option::accept(const ArgList &Args, in accept()
98 const Option &UnaliasedOption = getUnaliasedOption(); in accept()
DArg.cpp20 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, const Arg *_BaseArg) in Arg()
25 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, in Arg()
32 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, in Arg()
92 case Option::RenderValuesStyle: in render()
97 case Option::RenderCommaJoinedStyle: { in render()
109 case Option::RenderJoinedStyle: in render()
116 case Option::RenderSeparateStyle: in render()
/external/llvm/lib/Support/
DCommandLine.cpp63 void Option::anchor() {} in anchor()
99 static Option *RegisteredOptionList = 0;
101 void Option::addArgument() { in addArgument()
116 static void GetOptionInfo(SmallVectorImpl<Option*> &PositionalOpts, in GetOptionInfo()
117 SmallVectorImpl<Option*> &SinkOpts, in GetOptionInfo()
118 StringMap<Option*> &OptionsMap) { in GetOptionInfo()
120 Option *CAOpt = 0; // The ConsumeAfter option if it exists. in GetOptionInfo()
121 for (Option *O = RegisteredOptionList; O; O = O->getNextRegisteredOption()) { in GetOptionInfo()
162 static Option *LookupOption(StringRef &Arg, StringRef &Value, in LookupOption()
163 const StringMap<Option*> &OptionsMap) { in LookupOption()
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/
Dmain.java134 Option[] options = commandLine.getOptions(); in main()
137 Option option = options[i]; in main()
365 Option versionOption = OptionBuilder.withLongOpt("version") in buildOptions()
369 Option helpOption = OptionBuilder.withLongOpt("help") in buildOptions()
373 Option outputDirOption = OptionBuilder.withLongOpt("output") in buildOptions()
379 Option noParameterRegistersOption = OptionBuilder.withLongOpt("no-parameter-registers") in buildOptions()
384 Option deodexerantOption = OptionBuilder.withLongOpt("deodex") in buildOptions()
389 Option useLocalsOption = OptionBuilder.withLongOpt("use-locals") in buildOptions()
394 Option sequentialLabelsOption = OptionBuilder.withLongOpt("sequential-labels") in buildOptions()
399 Option noDebugInfoOption = OptionBuilder.withLongOpt("no-debug-info") in buildOptions()
[all …]
/external/llvm/include/llvm/Support/
DCommandLine.h146 class Option {
175 Option *NextRegistered; // Singly linked list of registered options.
218 explicit Option(enum NumOccurrencesFlag OccurrencesFlag, in Option() function
232 Option *getNextRegisteredOption() const { return NextRegistered; } in getNextRegisteredOption()
256 virtual ~Option() {} in ~Option()
269 void apply(Option &O) const { O.setDescription(Desc); } in apply()
277 void apply(Option &O) const { O.setValueStr(Desc); } in apply()
524 virtual size_t getOptionWidth(const Option &O) const;
531 virtual void printOptionInfo(const Option &O, size_t GlobalWidth) const;
533 void printGenericOptionDiff(const Option &O, const GenericOptionValue &V,
[all …]
DPassNameParser.h41 cl::Option *Opt;
46 void initialize(cl::Option &O) { in initialize()
81 virtual void printOptionInfo(const cl::Option &O, size_t GlobalWidth) const { in printOptionInfo()
/external/smack/src/org/jivesoftware/smackx/
DFormField.java55 private final List<Option> options = new ArrayList<Option>();
105 public Iterator<Option> getOptions() { in getOptions()
107 return Collections.unmodifiableList(new ArrayList<Option>(options)).iterator(); in getOptions()
263 public void addOption(Option option) { in addOption()
295 for (Iterator<Option> i = getOptions(); i.hasNext();) { in toXML()
326 public static class Option { class in FormField
331 public Option(String value) { in Option() method in FormField.Option
335 public Option(String label, String value) { in Option() method in FormField.Option
387 Option other = (Option) obj; in equals()
/external/llvm/include/llvm/Option/
DOptParser.td1 //===--- OptParser.td - Common Option Parsing Interfaces ------------------===//
80 class Option<list<string> prefixes, string name, OptionKind kind> {
91 Option Alias = ?;
97 : Option<prefixes, name, KIND_FLAG>;
99 : Option<prefixes, name, KIND_JOINED>;
101 : Option<prefixes, name, KIND_SEPARATE>;
103 : Option<prefixes, name, KIND_COMMAJOINED>;
105 : Option<prefixes, name, KIND_MULTIARG> {
109 : Option<prefixes, name, KIND_JOINED_OR_SEPARATE>;
111 : Option<prefixes, name, KIND_JOINED_AND_SEPARATE>;
[all …]
DOption.h44 class Option {
71 Option(const OptTable::Info *Info, const OptTable *Owner);
72 ~Option();
94 const Option getGroup() const { in getGroup()
100 const Option getAlias() const { in getAlias()
154 const Option getUnaliasedOption() const { in getUnaliasedOption()
155 const Option Alias = getAlias(); in getUnaliasedOption()
DArg.h40 const Option Opt;
65 Arg(const Option Opt, StringRef Spelling, unsigned Index,
67 Arg(const Option Opt, StringRef Spelling, unsigned Index,
69 Arg(const Option Opt, StringRef Spelling, unsigned Index,
73 const Option getOption() const { return Opt; } in getOption()
DArgList.h25 class Option; variable
360 void AddFlagArg(const Arg *BaseArg, const Option Opt) { in AddFlagArg()
367 void AddPositionalArg(const Arg *BaseArg, const Option Opt, in AddPositionalArg()
376 void AddSeparateArg(const Arg *BaseArg, const Option Opt, in AddSeparateArg()
384 void AddJoinedArg(const Arg *BaseArg, const Option Opt, in AddJoinedArg()
391 Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
395 Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
400 Arg *MakeSeparateArg(const Arg *BaseArg, const Option Opt,
405 Arg *MakeJoinedArg(const Arg *BaseArg, const Option Opt,
/external/smali/smali/src/main/java/org/jf/smali/
Dmain.java116 Option[] options = commandLine.getOptions(); in main()
119 Option option = options[i]; in main()
365 Option versionOption = OptionBuilder.withLongOpt("version") in buildOptions()
369 Option helpOption = OptionBuilder.withLongOpt("help") in buildOptions()
373 Option outputOption = OptionBuilder.withLongOpt("output") in buildOptions()
379 Option allowOdexOption = OptionBuilder.withLongOpt("allow-odex-instructions") in buildOptions()
385 Option apiLevelOption = OptionBuilder.withLongOpt("api-level") in buildOptions()
392 Option dumpOption = OptionBuilder.withLongOpt("dump-to") in buildOptions()
398 Option sortOption = OptionBuilder.withLongOpt("sort") in buildOptions()
402 Option jumboInstructionsOption = OptionBuilder.withLongOpt("jumbo-instructions") in buildOptions()
[all …]
/external/clang/include/clang/Driver/
DOption.h55 class Option {
82 Option(const OptTable::Info *Info, const OptTable *Owner);
83 ~Option();
105 const Option getGroup() const { in getGroup()
111 const Option getAlias() const { in getAlias()
165 const Option getUnaliasedOption() const { in getUnaliasedOption()
166 const Option Alias = getAlias(); in getUnaliasedOption()
DOptParser.td1 //===--- OptParser.td - Common Option Parsing Interfaces ------------------===//
105 class Option<list<string> prefixes, string name, OptionKind kind> {
116 Option Alias = ?;
122 : Option<prefixes, name, KIND_FLAG>;
124 : Option<prefixes, name, KIND_JOINED>;
126 : Option<prefixes, name, KIND_SEPARATE>;
128 : Option<prefixes, name, KIND_COMMAJOINED>;
130 : Option<prefixes, name, KIND_MULTIARG> {
134 : Option<prefixes, name, KIND_JOINED_OR_SEPARATE>;
136 : Option<prefixes, name, KIND_JOINED_AND_SEPARATE>;
[all …]
DArg.h41 const Option Opt;
66 Arg(const Option Opt, StringRef Spelling, unsigned Index,
68 Arg(const Option Opt, StringRef Spelling, unsigned Index,
70 Arg(const Option Opt, StringRef Spelling, unsigned Index,
74 Option getOption() const { return Opt; } in getOption()
DArgList.h29 class Option; variable
379 void AddFlagArg(const Arg *BaseArg, const Option Opt) { in AddFlagArg()
386 void AddPositionalArg(const Arg *BaseArg, const Option Opt, in AddPositionalArg()
395 void AddSeparateArg(const Arg *BaseArg, const Option Opt, in AddSeparateArg()
403 void AddJoinedArg(const Arg *BaseArg, const Option Opt, in AddJoinedArg()
410 Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
414 Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
419 Arg *MakeSeparateArg(const Arg *BaseArg, const Option Opt,
424 Arg *MakeJoinedArg(const Arg *BaseArg, const Option Opt,
/external/llvm/bindings/ocaml/analysis/
Danalysis_ocaml.c27 CAMLlocal2(String, Option); in llvm_verify_module()
33 Option = Val_int(0); in llvm_verify_module()
35 Option = alloc(1, 0); in llvm_verify_module()
37 Store_field(Option, 0, String); in llvm_verify_module()
42 CAMLreturn(Option); in llvm_verify_module()
/external/chromium/chrome/browser/resources/options/
Dfont_settings.js47 $('standard-font-family').appendChild(new Option(placeholder));
48 $('serif-font-family').appendChild(new Option(placeholder));
49 $('sans-serif-font-family').appendChild(new Option(placeholder));
50 $('fixed-font-family').appendChild(new Option(placeholder));
51 $('font-encoding').appendChild(new Option(placeholder));
149 element.appendChild(new Option(text, value, false, selected));
/external/clang/tools/libclang/
DCXStoredDiagnostic.cpp56 StringRef Option = DiagnosticIDs::getWarningOptionForDiag(ID); in getDiagnosticOption() local
57 if (!Option.empty()) { in getDiagnosticOption()
59 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str()); in getDiagnosticOption()
60 return cxstring::createDup((Twine("-W") + Option).str()); in getDiagnosticOption()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c394 value Option = alloc(1, 0); in llvm_type_by_name() local
395 Field(Option, 0) = (value) Ty; in llvm_type_by_name()
396 CAMLreturn(Option); in llvm_type_by_name()
541 value Option = alloc(1, 0); in llvm_metadata() local
542 Field(Option, 0) = (value) MD; in llvm_metadata()
543 CAMLreturn(Option); in llvm_metadata()
582 CAMLlocal2(Option, Str); in llvm_get_mdstring()
586 Option = alloc(1,0); in llvm_get_mdstring()
587 Store_field(Option, 0, Str); in llvm_get_mdstring()
588 CAMLreturn(Option); in llvm_get_mdstring()
[all …]
/external/regex-re2/util/
Dpcre.h214 enum Option { enum
224 PCRE(const char* pattern, Option option);
226 PCRE(const string& pattern, Option option);
463 void Init(const char* pattern, Option option, int match_limit,
505 Option options_;
533 PCRE::Option option() const { return option_; } in option()
534 void set_option(PCRE::Option option) { in set_option()
553 PCRE::Option option_;

12345678