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

1234567

/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/
H A DOption.java18 public final class Option<T> { class
22 public static <T> Option<T> valueOf(T v) {
23 return new Option<T>(v);
26 private Option(T v) { method in class:Option
H A DPerson.java22 private final Option<Double> income;
25 this(0, "", Option.valueOf(0.));
28 public Person(int id, String name, Option<Double> income) {
42 public Option<Double> getIncome() {
H A DPropertyWithPrivateCostructorTest.java32 this.representers.put(Option.class, new RepresentOption());
37 Option<?> opt = (Option<?>) data;
59 Person person = new Person(123, "Neo Anderson", Option.valueOf(123456.78));
/external/llvm/bindings/ocaml/analysis/
H A Danalysis_ocaml.c26 CAMLlocal2(String, Option);
32 Option = Val_int(0);
34 Option = alloc(1, 0);
36 Store_field(Option, 0, String);
41 CAMLreturn(Option);
/external/llvm/include/llvm/Option/
H A DOptSpecifier.h1 //===--- OptSpecifier.h - Option Specifiers ---------------------*- C++ -*-===//
17 class Option;
29 /*implicit*/ OptSpecifier(const Option *Opt);
H A DArg.h20 #include "llvm/Option/Option.h"
37 const Option Opt;
62 Arg(const Option Opt, StringRef Spelling, unsigned Index,
64 Arg(const Option Opt, StringRef Spelling, unsigned Index,
66 Arg(const Option Opt, StringRef Spelling, unsigned Index,
70 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
72 Option(const OptTable::Info *Info, const OptTable *Owner);
94 const Option getGroup() const {
100 const Option getAlias() const {
165 const Option getUnaliasedOptio
[all...]
/external/vogar/src/vogar/
H A DVogar.java59 @Option(names = { "--expectations" })
65 @Option(names = { "--mode" })
68 @Option(names = { "--variant" })
71 @Option(names = { "--ssh" })
74 @Option(names = { "--timeout" })
77 @Option(names = { "--first-monitor-port" })
80 @Option(names = { "--clean-before" })
83 @Option(names = { "--clean-after" })
86 @Option(names = { "--clean" })
89 @Option(name
[all...]
H A DOption.java29 public @interface Option { interface
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
H A Dedns.py20 class Option(object): class in inherits:object
47 @rtype: dns.ends.Option instance"""
59 if not isinstance(other, Option):
66 if not isinstance(other, Option):
73 if not isinstance(other, Option) or \
79 if not isinstance(other, Option) or \
85 if not isinstance(other, Option) or \
91 if not isinstance(other, Option) or \
97 class GenericOption(Option):
139 @rtype: dns.ends.Option instanc
[all...]
/external/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"
72 assert(((A.Kind == Option::JoinedClass) ^ (B.Kind == Option::JoinedClass)) &&
74 return B.Kind == Option::JoinedClass;
85 OptSpecifier::OptSpecifier(const Option *Op
353 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"
23 Option::Option(const OptTable::Info *info, const OptTable *owner) function in class:Option
39 void Option::print(raw_ostream &O) const {
67 const Option Group = getGroup();
73 const Option Alia
[all...]
/external/clang/lib/Sema/
H A DSemaStmtAttr.cpp69 LoopHintAttr::OptionType Option; local
74 Option = LoopHintAttr::Unroll;
80 Option = LoopHintAttr::UnrollCount;
84 Option = LoopHintAttr::Unroll;
92 Option = llvm::StringSwitch<LoopHintAttr::OptionType>(
101 if (Option == LoopHintAttr::VectorizeWidth ||
102 Option == LoopHintAttr::InterleaveCount ||
103 Option == LoopHintAttr::UnrollCount) {
108 } else if (Option == LoopHintAttr::Vectorize ||
109 Option
153 int Option = LH->getOption(); local
[all...]
/external/smali/baksmali/src/main/java/org/jf/baksmali/
H A Dmain.java146 Option[] clOptions = commandLine.getOptions();
149 Option option = clOptions[i];
363 Option versionOption = OptionBuilder.withLongOpt("version")
367 Option helpOption = OptionBuilder.withLongOpt("help")
371 Option outputDirOption = OptionBuilder.withLongOpt("output")
377 Option noParameterRegistersOption = OptionBuilder.withLongOpt("no-parameter-registers")
382 Option deodexerantOption = OptionBuilder.withLongOpt("deodex")
387 Option experimentalOption = OptionBuilder.withLongOpt("experimental")
391 Option useLocalsOption = OptionBuilder.withLongOpt("use-locals")
396 Option sequentialLabelsOptio
[all...]
/external/llvm/include/llvm/Support/
H A DOptions.h26 /// When reading data for options the interface is via the LLVMContext. Option
67 DenseMap<void *, cl::Option *> Options;
69 /// \brief Adds a cl::Option to the registry.
76 void addOption(void *Key, cl::Option *O);
98 cl::opt<ValT> *Option = new cl::opt<ValT>(ArgStr, cl::desc(Desc), local
100 instance().addOption(&detail::OptionKey<ValT, Base, Mem>::ID, Option);
113 assert(It != Options.end() && "Option not in OptionRegistry");
H A DCommandLine.h79 class Option;
88 void AddLiteralOption(Option &O, const char *Name);
118 NotHidden = 0x00, // Option included in -help & -help-hidden
152 // Option Category class
170 // The general Option Category (used as default category).
174 // Option Base class
177 class Option { class in namespace:llvm::cl
248 explicit Option(enum NumOccurrencesFlag OccurrencesFlag, function in class:llvm::cl::Option
290 virtual ~Option() {}
302 void apply(Option
[all...]
/external/llvm/lib/
H A DMakefile14 ExecutionEngine Linker LTO MC Object Option DebugInfo \
/external/llvm/unittests/
H A DMakefile13 ExecutionEngine IR LineEditor Linker MC Option ProfileData \
/external/webrtc/webrtc/
H A Dcommon.h86 struct Option : BaseOption { struct in class:webrtc::Config
87 explicit Option(T* v): value(v) {} function in struct:webrtc::Config::Option
88 ~Option() {
120 const T* t = static_cast<Option<T>*>(it->second)->value;
132 it = new Option<T>(value);
/external/deqp/framework/delibs/decpp/
H A DdeCommandLine.hpp52 struct Option struct in namespace:de::cmdline
69 Option (const char* shortName_, const char* longName_, const char* description_, const char* defaultValue_ = DE_NULL) function in struct:de::cmdline::Option
80 //! Option with custom parsing function.
81 Option (const char* shortName_, const char* longName_, const char* description_, ParseFunc parse_, const char* defaultValue_ = DE_NULL) function in struct:de::cmdline::Option
92 //! Option that uses named values.
93 Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<ValueType>* namedValues_, const NamedValue<ValueType>* namedValuesEnd_, const char* defaultValue_ = DE_NULL) function in struct:de::cmdline::Option
104 //! Option that uses named values.
106 Option (const char* shortName_, const char* longName_, const char* description_, const NamedValue<ValueType> (&namedValues_)[NumNamedValues], const char* defaultValue_ = DE_NULL) function in struct:de::cmdline::Option
118 template<class Option>
121 typedef typename Option
[all...]
/external/clang/tools/libclang/
H A DCXStoredDiagnostic.cpp58 StringRef Option = DiagnosticIDs::getWarningOptionForDiag(ID); local
59 if (!Option.empty()) {
61 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str());
62 return cxstring::createDup((Twine("-W") + Option).str());
/external/llvm/lib/Support/
H A DOptions.cpp25 void OptionRegistry::addOption(void *Key, cl::Option *O) {
/external/llvm/unittests/Option/
H A DMakefile1 ##===- unittests/Option/Makefile ---------------------------*- Makefile -*-===##
11 TESTNAME = Option
22 $(Echo) "Building Driver Option tables with tblgen"
/external/deqp/execserver/tools/
H A DxsMain.cpp44 using de::cmdline::Option;
47 parser << Option<Port> ("p", "port", "Port", "50016")
48 << Option<SingleExec>("s", "single", "Kill execserver after first session");
/external/caliper/caliper/src/main/java/com/google/caliper/options/
H A DParsedOptions.java21 import com.google.caliper.options.CommandLineParser.Option;
70 @Option({"-n", "--dry-run"})
80 throw new InvalidCommandException("Option not available in dry-run mode: " + optionName);
88 @Option({"-d", "--delimiter"})
101 @Option({"-b", "--benchmark"})
114 @Option({"-p", "--print-config"})
127 @Option({"-t", "--trials"})
146 @Option({"-l", "--time-limit"})
165 @Option({"-r", "--run-name"})
180 @Option({"
[all...]

Completed in 902 milliseconds

1234567