Searched refs:Option (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-10.0-release/contrib/llvm/include/llvm/Option/
H A DOptSpecifier.h1 //===--- OptSpecifier.h - Option Specifiers ---------------------*- C++ -*-===//
15 class Option;
27 /*implicit*/ OptSpecifier(const Option *Opt);
H A DArg.h20 #include "llvm/Option/Option.h"
40 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; }
H A DOption.h1 //===--- Option.h - Abstract Driver Options ---------------------*- C++ -*-===//
15 #include "llvm/Option/OptTable.h"
33 /// Option - Abstract representation for a single form of driver
36 /// An Option class represents a form of option that the driver
43 /// particular Option instance.
44 class Option { class in namespace:llvm::opt
71 Option(const OptTable::Info *Info, const OptTable *Owner);
72 ~Option();
94 const Option getGroup() const {
100 const Option getAlia
[all...]
H A DOptTable.h1 //===--- OptTable.h - Option Table ------------------------------*- C++ -*-===//
14 #include "llvm/Option/OptSpecifier.h"
22 class Option;
24 /// \brief Provide access to the Option info table.
26 /// The OptTable class provides a layer of indirection which allows Option
30 /// parts of the driver still use Option instances where convenient.
69 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID.");
81 /// \brief Get the given Opt's Option instance, lazily creating it
85 const Option getOption(OptSpecifier Opt) const;
H A DArgList.h15 #include "llvm/Option/OptSpecifier.h"
16 #include "llvm/Option/Option.h"
25 class Option;
89 /// check for the presence of Arg instances for a particular Option
360 void AddFlagArg(const Arg *BaseArg, const Option Opt) {
367 void AddPositionalArg(const Arg *BaseArg, const Option Opt,
376 void AddSeparateArg(const Arg *BaseArg, const Option Opt,
384 void AddJoinedArg(const Arg *BaseArg, const Option Opt,
391 Arg *MakeFlagArg(const Arg *BaseArg, const Option Op
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Driver/
H A DOptSpecifier.h1 //===--- OptSpecifier.h - Option Specifiers ---------------------*- C++ -*-===//
17 class Option;
29 /*implicit*/ OptSpecifier(const Option *Opt);
H A DArg.h19 #include "clang/Driver/Option.h"
41 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; }
H A DOption.h1 //===--- Option.h - Abstract Driver Options ---------------------*- C++ -*-===//
44 /// Option - Abstract representation for a single form of driver
47 /// An Option class represents a form of option that the driver
54 /// particular Option instance.
55 class Option { class in namespace:clang::driver
82 Option(const OptTable::Info *Info, const OptTable *Owner);
83 ~Option();
105 const Option getGroup() const {
111 const Option getAlias() const {
165 const Option getUnaliasedOptio
[all...]
H A DOptTable.h1 //===--- OptTable.h - Option Table ------------------------------*- C++ -*-===//
22 class Option;
24 /// \brief Provide access to the Option info table.
26 /// The OptTable class provides a layer of indirection which allows Option
30 /// parts of the driver still use Option instances where convenient.
69 assert(id > 0 && id - 1 < getNumOptions() && "Invalid Option ID.");
81 /// \brief Get the given Opt's Option instance, lazily creating it
85 const Option getOption(OptSpecifier Opt) const;
H A DArgList.h15 #include "clang/Driver/Option.h"
29 class Option;
93 /// check for the presence of Arg instances for a particular Option
388 void AddFlagArg(const Arg *BaseArg, const Option Opt) {
395 void AddPositionalArg(const Arg *BaseArg, const Option Opt,
404 void AddSeparateArg(const Arg *BaseArg, const Option Opt,
412 void AddJoinedArg(const Arg *BaseArg, const Option Opt,
419 Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
423 Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
428 Arg *MakeSeparateArg(const Arg *BaseArg, const Option Op
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Option/
H A DOptTable.cpp1 //===--- OptTable.cpp - Option Table Implementation -----------------------===//
10 #include "llvm/Option/OptTable.h"
11 #include "llvm/Option/Arg.h"
12 #include "llvm/Option/ArgList.h"
13 #include "llvm/Option/Option.h"
67 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) &&
69 return B.Kind == Option::JoinedClass;
82 OptSpecifier::OptSpecifier(const Option *Op
318 const std::string &Option = OptionHelp[i].first; local
[all...]
H A DOption.cpp1 //===--- Option.cpp - Abstract Driver Options -----------------------------===//
10 #include "llvm/Option/Option.h"
12 #include "llvm/Option/Arg.h"
13 #include "llvm/Option/ArgList.h"
22 Option::Option(const OptTable::Info *info, const OptTable *owner) function in class:Option
33 Option::~Option() {
36 void Option
[all...]
H A DArg.cpp10 #include "llvm/Option/Arg.h"
13 #include "llvm/Option/ArgList.h"
14 #include "llvm/Option/Option.h"
20 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, const Arg *_BaseArg)
25 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index,
32 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index,
92 case Option::RenderValuesStyle:
97 case Option::RenderCommaJoinedStyle: {
109 case Option
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Driver/
H A DOptTable.cpp1 //===--- OptTable.cpp - Option Table Implementation -----------------------===//
13 #include "clang/Driver/Option.h"
67 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) &&
69 return B.Kind == Option::JoinedClass;
84 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {}
101 if (Kind == Option::InputClass) {
104 } else if (Kind == Option::UnknownClass) {
107 } else if (Kind != Option::GroupClass) {
118 Option
317 const std::string &Option = OptionHelp[i].first; local
[all...]
H A DOption.cpp1 //===--- Option.cpp - Abstract Driver Options -----------------------------===//
10 #include "clang/Driver/Option.h"
20 Option::Option(const OptTable::Info *info, const OptTable *owner) function in class:Option
31 Option::~Option() {
34 void Option::dump() const {
59 const Option Group = getGroup();
65 const Option Alias = getAlias();
77 bool Option
[all...]
H A DArg.cpp13 #include "clang/Driver/Option.h"
21 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index, const Arg *_BaseArg)
26 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index,
33 Arg::Arg(const Option _Opt, StringRef S, unsigned _Index,
93 case Option::RenderValuesStyle:
98 case Option::RenderCommaJoinedStyle: {
110 case Option::RenderJoinedStyle:
117 case Option::RenderSeparateStyle:
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DCommandLine.cpp64 void Option::anchor() {}
100 static Option *RegisteredOptionList = 0;
102 void Option::addArgument() {
128 static void GetOptionInfo(SmallVectorImpl<Option*> &PositionalOpts,
129 SmallVectorImpl<Option*> &SinkOpts,
130 StringMap<Option*> &OptionsMap) {
132 Option *CAOpt = 0; // The ConsumeAfter option if it exists.
133 for (Option *O = RegisteredOptionList; O; O = O->getNextRegisteredOption()) {
174 static Option *LookupOption(StringRef &Arg, StringRef &Value,
175 const StringMap<Option*>
356 getOptionPred(StringRef Name, size_t &Length, bool (*Pred)(const Option*), const StringMap<Option*> &OptionsMap) argument
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/Support/
H A DCommandLine.h108 NotHidden = 0x00, // Option included in -help & -help-hidden
142 // Option Category class
156 // The general Option Category (used as default category).
160 // Option Base class
163 class Option { class in namespace:llvm::cl
192 Option *NextRegistered; // Singly linked list of registered options.
238 explicit Option(enum NumOccurrencesFlag OccurrencesFlag, function in class:llvm::cl::Option
252 Option *getNextRegisteredOption() const { return NextRegistered; }
276 virtual ~Option() {}
289 void apply(Option
[all...]
H A DPassNameParser.h41 cl::Option *Opt;
46 void initialize(cl::Option &O) {
81 virtual void printOptionInfo(const cl::Option &O, size_t GlobalWidth) const {
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/
H A DTestDrop.java156 consumer.setOption(Option.aggsize, Option.kb(1));
157 consumer.setOption(Option.aggrate, Option.millis(101));
H A DTestStateMachine.java95 consumer.getOption(Option.bufsize);
104 consumer.setOption(Option.bufsize, Option.mb(1));
113 consumer.unsetOption(Option.quiet);
357 consumer.getOption(Option.quiet);
358 consumer.setOption(Option.quiet);
359 consumer.unsetOption(Option.quiet);
401 consumer.getOption(Option.quiet);
402 consumer.setOption(Option.quiet);
403 consumer.unsetOption(Option
[all...]
H A DTestGetAggregate.java178 consumer.setOption(Option.aggrate, Option.millis(TICK));
212 consumer.setOption(Option.aggrate, Option.millis(TICK));
/freebsd-10.0-release/lib/clang/libclangdriver/
H A DMakefile17 Option.cpp \
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCommandLineSourceLoc.h65 inline bool parse(Option &O, StringRef ArgName, StringRef ArgValue,
71 parse(Option &O, StringRef ArgName, StringRef ArgValue,
/freebsd-10.0-release/usr.sbin/cron/crontab/
H A Dcrontab.c64 static enum opt_t Option; variable in typeref:enum:opt_t
110 switch (Option) {
143 Option = opt_unknown;
160 if (Option != opt_unknown)
162 Option = opt_list;
165 if (Option != opt_unknown)
167 Option = opt_delete;
170 if (Option != opt_unknown)
172 Option = opt_edit;
181 if (Option !
[all...]

Completed in 129 milliseconds

123