HomeSort by relevance Sort by last modified time
    Searched refs:Option (Results 1 - 25 of 305) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue310/
Option.java 18 public final class Option<T> {
22 public static <T> Option<T> valueOf(T v) {
23 return new Option<T>(v);
26 private Option(T v) {
Person.java 22 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() {
PropertyWithPrivateCostructorTest.java 32 this.representers.put(Option.class, new RepresentOption());
37 Option<?> opt = (Option<?>) data;
59 Person person = new Person(123, "Neo Anderson", Option.valueOf(123456.78));
  /frameworks/base/core/java/android/app/
VoiceInteractor.aidl 19 parcelable VoiceInteractor.PickOptionRequest.Option;
  /external/llvm/include/llvm/Option/
OptSpecifier.h 1 //===--- OptSpecifier.h - Option Specifiers ---------------------*- C++ -*-===//
17 class Option;
19 /// OptSpecifier - Wrapper class for abstracting references to option IDs.
29 /*implicit*/ OptSpecifier(const Option *Opt);
Arg.h 20 #include "llvm/Option/Option.h"
27 /// \brief A concrete instance of a particular driver option.
36 /// \brief The option this argument is an instance of.
37 const Option Opt;
43 /// \brief How this instance of the option was spelled.
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;
    [all...]
Option.h 1 //===--- 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
37 /// takes, for example how many arguments the option has and how
38 /// they can be provided. Individual option instances store
39 /// additional information about what group the option is a member
40 /// of (if any), if the option is an alias, and a number of
43 /// particular Option instance
    [all...]
  /external/llvm/bindings/ocaml/analysis/
analysis_ocaml.c 23 /* Llvm.llmodule -> string option */
26 CAMLlocal2(String, Option);
32 Option = Val_int(0);
34 Option = alloc(1, 0);
36 Store_field(Option, 0, String);
41 CAMLreturn(Option);
  /external/webrtc/webrtc/
common.h 41 // * declaring an option:
47 // * accessing an option:
50 // * setting an option:
59 // Returns the option if set or a default constructed one.
66 // Set the option, deleting any previous instance of the same.
86 struct Option : BaseOption {
87 explicit Option(T* v): value(v) {}
88 ~Option() {
120 const T* t = static_cast<Option<T>*>(it->second)->value;
132 it = new Option<T>(value)
    [all...]
  /external/vogar/src/vogar/
Vogar.java 59 @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(names = { "--xml-reports-directory" }
    [all...]
Option.java 25 * Annotates a field as representing a command-line option for OptionParser.
29 public @interface Option {
31 * The names for this option, such as { "-h", "--help" }.
33 * An option must have at least one name.
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/
edns.py 20 class Option(object):
21 """Base class for all EDNS option types.
25 """Initialize an option.
32 """Convert an option to wire format.
37 """Build an EDNS option object from wire format
39 @param otype: The option type
45 @param olen: The length of the wire-format option data
47 @rtype: dns.ends.Option instance"""
53 """Compare an ENDS option with another option of the same type
    [all...]
  /external/llvm/lib/Option/
OptTable.cpp 1 //===--- 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;
78 // Support lower_bound between info and an option name
    [all...]
  /external/clang/lib/Sema/
SemaStmtAttr.cpp 69 LoopHintAttr::OptionType Option;
74 Option = LoopHintAttr::Unroll;
80 Option = LoopHintAttr::UnrollCount;
84 Option = LoopHintAttr::Unroll;
91 "Attribute must have valid option info.");
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 |
    [all...]
  /external/smali/baksmali/src/main/java/org/jf/baksmali/
main.java 146 Option[] clOptions = commandLine.getOptions();
149 Option option = clOptions[i]; local
150 String opt = option.getOpt();
181 options.bootClassPathDirs.add(option.getValue());
295 "disassemble with the -e option", dexFileFile.getName()));
308 System.err.println("option");
363 Option versionOption = OptionBuilder.withLongOpt("version")
367 Option helpOption = OptionBuilder.withLongOpt("help")
371 Option outputDirOption = OptionBuilder.withLongOpt("output"
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
PropertyCheck.java 19 import com.android.tradefed.config.Option;
32 @Option(name = "property-name", description = "The name of the property to check",
36 @Option(name = "expected-value", description = "The expected value of the property",
40 @Option(name = "throw-error",
SettingsPreparer.java 19 import com.android.tradefed.config.Option;
41 /* This option must be defined, but is not explicitly marked mandatory, as subclasses of
43 @Option(name = "device-setting", description = "The setting on the device to be checked")
46 /* This option must be defined, but is not explicitly marked mandatory, as subclasses of
48 @Option(name = "setting-type",
52 @Option(name = "set-value", description = "The value to be set for the setting")
55 @Option(name = "expected-values", description = "The set of expected values of the setting")
58 @Option(name = "failure-message", description = "The text printed for an unexpected value")
66 throw new TargetSetupError("The \"device-setting\" option must be defined for the " +
71 throw new TargetSetupError("The \"setting-type\" option must be defined for the "
    [all...]
  /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
TestStub.java 18 import com.android.tradefed.config.Option;
36 @Option(name = "module")
38 @Option(name = "foo")
40 @Option(name = "blah")
  /external/llvm/include/llvm/Support/
Options.h 26 /// When reading data for options the interface is via the LLVMContext. Option
28 /// example of reading the above option would be:
62 /// provides interfaces for option registration and reading values from options.
67 DenseMap<void *, cl::Option *> Options;
69 /// \brief Adds a cl::Option to the registry.
71 /// \param Key unique key for option
72 /// \param O option to map to \p Key
76 void addOption(void *Key, cl::Option *O);
85 /// \brief Registers an option with the OptionRegistry singleton.
87 /// \tparam ValT type of the option's dat
    [all...]
CommandLine.h 38 /// cl Namespace - This namespace contains all of the command line option
44 // ParseCommandLineOptions - Command line option processing entry point.
50 // ParseEnvironmentOptions - Environment variable option processing alternate
72 // PrintOptionValues - Print option values.
73 // With -print-options print the difference between option values and defaults.
74 // With -print-all-options print all option values.
79 class Option;
81 /// \brief Adds a new option for parsing and provides the option it refers to.
83 /// \param O pointer to the option
    [all...]
  /external/llvm/lib/
Makefile 14 ExecutionEngine Linker LTO MC Object Option DebugInfo \
  /external/llvm/unittests/
Makefile 13 ExecutionEngine IR LineEditor Linker MC Option ProfileData \
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
OptionHelper.java 18 import com.android.tradefed.config.Option;
29 * Helper class for manipulating fields with @option annotations.
37 * that have the {@link Option} annotation.
39 * @param object An object with @option-annotated fields.
50 if (declaredField.isAnnotationPresent(Option.class)) {
58 * Retrieve a {@link Set} of {@link Option} names present on the given
61 * @param object An object with @option-annotated fields.
68 Option option = declaredField.getAnnotation(Option.class) local
85 Option option = declaredField.getAnnotation(Option.class); local
    [all...]
  /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
OptionHelperTest.java 18 import com.android.tradefed.config.Option;
19 import com.android.tradefed.config.Option.Importance;
40 @Option(name = TEST_CLASS,
45 @Option(name = TEST_NAME,
49 @Option(name = TEST_SUITE,
54 @Option(name = TEST_FILTER,
61 assertEquals("Missing option names", true, optionNames.containsAll(expectedNames));
68 assertEquals("Missing option shortnames", true,
  /libcore/ojluni/src/main/java/java/security/cert/
PKIXRevocationChecker.java 53 * the {@link Option#PREFER_CRLS PREFER_CRLS} option. In addition, the fallback
54 * mechanism can be disabled with the {@link Option#NO_FALLBACK NO_FALLBACK}
55 * option.
97 private Set<Option> options = Collections.emptySet();
225 public void setOptions(Set<Option> options) {
227 ? Collections.<Option>emptySet()
228 : new HashSet<Option>(options);
237 public Set<Option> getOptions() {
243 * revocation checker when the {@link Option#SOFT_FAIL SOFT_FAIL} optio
    [all...]

Completed in 986 milliseconds

1 2 3 4 5 6 7 8 91011>>