/external/vogar/src/vogar/ |
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/clang/tools/libclang/ |
CXStoredDiagnostic.cpp | 58 StringRef Option = DiagnosticIDs::getWarningOptionForDiag(ID); 59 if (!Option.empty()) { 61 *Disable = cxstring::createDup((Twine("-Wno-") + Option).str()); 62 return cxstring::createDup((Twine("-W") + Option).str());
|
/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 | 36 /// cl Namespace - This namespace contains all of the command line option 42 // ParseCommandLineOptions - Command line option processing entry point. 48 // ParseEnvironmentOptions - Environment variable option processing alternate 70 // PrintOptionValues - Print option values. 71 // With -print-options print the difference between option values and defaults. 72 // With -print-all-options print all option values. 77 class Option; 79 /// \brief Adds a new option for parsing and provides the option it refers to. 81 /// \param O pointer to the option [all...] |
/external/llvm/lib/Option/ |
Option.cpp | 1 //===--- 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) 25 // Multi-level aliases are not supported. This just simplifies option 34 "Cannot provide alias args to a flag option."); 38 void Option::dump() const [all...] |
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/llvm/lib/Target/ARM/ |
ARMMCInstLower.cpp | 30 unsigned Option = MO.getTargetFlags() & ARMII::MO_OPTION_MASK; 31 switch (Option) { 35 switch (Option) {
|
/external/clang/docs/tools/ |
dump_format_style.py | 33 class Option: 103 option = Option(str(field_name), str(field_type), comment) variable in class:read_options.State 104 options.append(option) 125 for option in options: 126 if not option.type in ['bool', 'unsigned', 'int', 'std::string', 128 if enums.has_key(option.type): 129 option.enum = enums[option.type] 131 raise Exception('Unknown type: %s' % option.type [all...] |
/external/clang/lib/Sema/ |
SemaStmtAttr.cpp | 68 LoopHintAttr::OptionType Option; 71 Option = ValueExpr ? LoopHintAttr::UnrollCount : LoopHintAttr::Unroll; 74 Option = LoopHintAttr::Unroll; 78 "Attribute must have valid option info."); 80 Option = llvm::StringSwitch<LoopHintAttr::OptionType>(OptionInfo->getName()) 94 } else if (Option == LoopHintAttr::VectorizeWidth || 95 Option == LoopHintAttr::InterleaveCount || 96 Option == LoopHintAttr::UnrollCount) { 100 } else if (Option == LoopHintAttr::Vectorize || 101 Option == LoopHintAttr::Interleave | [all...] |
/external/v8/src/base/ |
flags-unittest.cc | 58 enum Option { 64 typedef Flags<Option> Options;
|
/external/clang/test/CodeGenCXX/ |
destructors.cpp | 414 struct Option { 415 virtual ~Option() {} 417 template <class DataType> class opt : public Option {}; 422 Option x;
|
/external/clang/tools/driver/ |
driver.cpp | 31 #include "llvm/Option/ArgList.h" 32 #include "llvm/Option/OptTable.h" 33 #include "llvm/Option/Option.h" 86 /// 'xOPTION': Removes all instances of the literal argument OPTION. 88 /// 'XOPTION': Removes all instances of the literal argument OPTION, 132 std::string Option = Edit.substr(1, std::string::npos); 134 if (Option == Args[i]) {
|
/external/deqp/framework/delibs/decpp/ |
deCommandLine.hpp | 52 struct Option 68 //! Construct generic option (string, int, boolean). 69 Option (const char* shortName_, const char* longName_, const char* description_, const char* defaultValue_ = DE_NULL) 80 //! Option with custom parsing function. 81 Option (const char* shortName_, const char* longName_, const char* description_, ParseFunc parse_, const char* defaultValue_ = DE_NULL) 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) 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) 118 template<class Option> [all...] |
/external/llvm/include/llvm/Option/ |
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/regex-re2/util/ |
pcre.h | 213 // "(?s)" has the same effect as the PCRE_DOTALL option. 214 enum Option { 224 PCRE(const char* pattern, Option option); 226 PCRE(const string& pattern, Option option); 444 // Type of match (TODO: Should be restructured as an Option) 463 void Init(const char* pattern, Option option, int match_limit, 505 Option options_ 533 PCRE::Option option() const { return option_; } function in class:re2::PCRE_Options [all...] |
/frameworks/compile/mclinker/tools/mcld/ |
Main.cpp | 31 #include <llvm/Option/Arg.h> 32 #include <llvm/Option/ArgList.h> 33 #include <llvm/Option/OptTable.h> 34 #include <llvm/Option/Option.h> 64 enum Option { 65 // This is not an option. 67 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, \ 71 #undef OPTION 129 #define OPTION(PREFIX, NAME, ID, KIND, GROUP, ALIAS, ALIASARGS, FLAGS, PARAM, [all...] |
/external/llvm/lib/MC/ |
MachObjectWriter.cpp | 441 const std::string &Option = Options[i]; 442 WriteBytes(Option.c_str(), Option.size() + 1); 443 BytesWritten += Option.size() + 1; 787 // Add the linker option load commands sizes. [all...] |
/external/clang/lib/Parse/ |
ParsePragma.cpp | 747 Token Option; 753 static std::string PragmaLoopHintString(Token PragmaName, Token Option) { 757 PragmaString += Option.getIdentifierInfo()->getName(); 775 // It is possible that the loop hint has no option identifier, such as 777 IdentifierInfo *OptionInfo = Info->Option.is(tok::identifier) 778 ? Info->Option.getIdentifierInfo() 781 Actions.Context, Info->Option.getLocation(), OptionInfo); 801 // If no option is specified the argument is assumed to be a constant expr. 803 if (OptionInfo) { // Pragma unroll does not specify an option. 834 << PragmaLoopHintString(Info->PragmaName, Info->Option); [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
StringTrieBuilder.java | 28 public enum Option { 37 * This build option also uses more memory. 39 * <p>This option can be effective when many integer values are the same 80 protected final void buildImpl(Option buildOption) { 86 if(buildOption==Option.FAST) { [all...] |
/frameworks/base/core/java/android/app/ |
VoiceInteractor.java | 104 (PickOptionRequest.Option[]) args.arg2, (Bundle) args.arg3); 167 boolean finished, PickOptionRequest.Option[] options, Bundle result) { 382 * Select a single option from multiple potential options with the user via the trusted system 384 * a list view to allow selecting the option by touch. 391 final Option[] mOptions; 395 * Represents a single option that the user may select using their voice. The 396 * {@link #getIndex()} method should be used as a unique ID to identify the option 399 public static final class Option implements Parcelable { 406 * Creates an option that a user can select with their voice by matching the label 412 public Option(CharSequence label) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
miniport.h | 145 UCHAR Option;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
optparse.py | 1 """A powerful, extensible, and easy-to-use option parser. 26 __all__ = ['Option', 85 # Id: option.py 522 2006-06-11 16:22:03Z gward 107 Raised if an Option instance is created with invalid or 111 def __init__(self, msg, option): 113 self.option_id = str(option) 117 return "option %s: %s" % (self.option_id, self.msg) 128 Raised if an invalid option value is encountered on the command 134 Raised if an invalid option is seen on the command line. 140 return _("no such option: %s") % self.opt_st [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
optparse.py | 1 """A powerful, extensible, and easy-to-use option parser. 26 __all__ = ['Option', 85 # Id: option.py 522 2006-06-11 16:22:03Z gward 107 Raised if an Option instance is created with invalid or 111 def __init__(self, msg, option): 113 self.option_id = str(option) 117 return "option %s: %s" % (self.option_id, self.msg) 128 Raised if an invalid option value is encountered on the command 134 Raised if an invalid option is seen on the command line. 140 return _("no such option: %s") % self.opt_st [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
TemplateHandlerTest.java | 372 Option option = Option.get(element); local 373 String optionId = option.id; 374 int optionMinSdk = option.minSdk; 375 int optionMinBuildApi = option.minBuild; 484 Option option = Option.get(element); local 485 String optionId = option.id 569 Option option = Option.get(element); local [all...] |
/external/clang/lib/CodeGen/ |
CGStmt.cpp | 603 LoopHintAttr::OptionType Option = LH->getOption(); 606 switch (Option) { 635 switch (Option) { [all...] |