Searched refs:Opt (Results 1 - 25 of 59) sorted by relevance

123

/external/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
H A Ddefault.pass.cpp22 template <class Opt>
26 static_assert(std::is_nothrow_default_constructible<Opt>::value, "");
27 constexpr Opt opt;
31 : public Opt
38 template <class Opt>
42 static_assert(std::is_nothrow_default_constructible<Opt>::value, "");
43 Opt opt;
47 : public Opt
H A Dnullopt_t.pass.cpp24 template <class Opt>
28 static_assert(noexcept(Opt(nullopt)), "");
29 constexpr Opt opt(nullopt);
33 : public Opt
39 template <class Opt>
43 static_assert(noexcept(Opt(nullopt)), "");
44 Opt opt(nullopt);
48 : public Opt
/external/llvm/include/llvm/Option/
H A DOptSpecifier.h29 /*implicit*/ OptSpecifier(const Option *Opt);
35 bool operator==(OptSpecifier Opt) const { return ID == Opt.getID(); }
36 bool operator!=(OptSpecifier Opt) const { return !(*this == Opt); }
H A DArg.h37 const Option Opt; member in class:llvm::opt::Arg
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 DArgList.h380 void AddFlagArg(const Arg *BaseArg, const Option Opt) { argument
381 append(MakeFlagArg(BaseArg, Opt));
387 void AddPositionalArg(const Arg *BaseArg, const Option Opt, argument
389 append(MakePositionalArg(BaseArg, Opt, Value));
396 void AddSeparateArg(const Arg *BaseArg, const Option Opt, argument
398 append(MakeSeparateArg(BaseArg, Opt, Value));
404 void AddJoinedArg(const Arg *BaseArg, const Option Opt, argument
406 append(MakeJoinedArg(BaseArg, Opt, Value));
411 Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
415 Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
[all...]
H A DOptTable.h69 const Info &getInfo(OptSpecifier Opt) const {
70 unsigned id = Opt.getID();
84 /// \brief Get the given Opt's Option instance, lazily creating it
88 const Option getOption(OptSpecifier Opt) const;
/external/clang/lib/Basic/
H A DWarnings.cpp34 StringRef Prefix, StringRef Opt,
36 StringRef Suggestion = DiagnosticIDs::getNearestWarningOption(Opt);
40 << (Prefix.str() += Opt) << (Prefix.str() += Suggestion);
44 << (Prefix.str() += Opt);
92 StringRef Opt = Opts.Warnings[i]; local
96 if (Opt == "format=0")
97 Opt = "no-format";
102 if (Opt.startswith("no-")) {
104 Opt = Opt
33 EmitUnknownDiagWarning(DiagnosticsEngine &Diags, StringRef Prefix, StringRef Opt, bool isPositive) argument
[all...]
/external/libcxx/test/utilities/optional/optional.object/
H A Dtypes.pass.cpp26 template <class Opt, class T>
30 static_assert(std::is_same<typename Opt::value_type, T>::value, "");
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DLexicon.py15 Str, Any, AnyBut, AnyChar, Rep, Rep1, Opt, Bol, Eol, Eof, \
28 exponent = Any("Ee") + Opt(Any("+-")) + decimal
29 decimal_fract = (decimal + dot + Opt(decimal)) | (dot + decimal)
35 intsuffix = (Opt(Any("Uu")) + Opt(Any("Ll")) + Opt(Any("Ll"))) | (Opt(Any("Ll")) + Opt(Any("Ll")) + Opt(Any("Uu")))
37 fltconst = (decimal_fract + Opt(exponen
16 TEXT, IGNORE, State, Lexicon namespace
[all...]
/external/chromium_org/third_party/cython/src/Cython/Plex/
H A D__init__.py18 Str, Any, AnyBut, AnyChar, Seq, Alt, Opt, Rep, Rep1,
36 from Regexps import Opt, Rep, Bol, Eol, Eof, Case, NoCase namespace
H A DTraditional.py9 from Regexps import Alt, Seq, Rep, Rep1, Opt, Any, AnyBut, Bol, Eol, Char namespace
63 re = Opt(re)
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
H A DSkPdfCheckboxFieldDictionary_autogen.cpp11 SkString SkPdfCheckboxFieldDictionary::Opt(SkPdfNativeDoc* doc) { function in class:SkPdfCheckboxFieldDictionary
12 SkPdfNativeObject* ret = get("Opt", "");
20 return get("Opt", "") != NULL;
H A DSkPdfRadioButtonFieldDictionary_autogen.cpp11 SkPdfArray* SkPdfRadioButtonFieldDictionary::Opt(SkPdfNativeDoc* doc) { function in class:SkPdfRadioButtonFieldDictionary
12 SkPdfNativeObject* ret = get("Opt", "");
20 return get("Opt", "") != NULL;
H A DSkPdfChoiceFieldDictionary_autogen.cpp11 SkPdfArray* SkPdfChoiceFieldDictionary::Opt(SkPdfNativeDoc* doc) { function in class:SkPdfChoiceFieldDictionary
12 SkPdfNativeObject* ret = get("Opt", "");
20 return get("Opt", "") != NULL;
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
H A DSkPdfCheckboxFieldDictionary_autogen.cpp11 SkString SkPdfCheckboxFieldDictionary::Opt(SkPdfNativeDoc* doc) { function in class:SkPdfCheckboxFieldDictionary
12 SkPdfNativeObject* ret = get("Opt", "");
20 return get("Opt", "") != NULL;
H A DSkPdfRadioButtonFieldDictionary_autogen.cpp11 SkPdfArray* SkPdfRadioButtonFieldDictionary::Opt(SkPdfNativeDoc* doc) { function in class:SkPdfRadioButtonFieldDictionary
12 SkPdfNativeObject* ret = get("Opt", "");
20 return get("Opt", "") != NULL;
H A DSkPdfChoiceFieldDictionary_autogen.cpp11 SkPdfArray* SkPdfChoiceFieldDictionary::Opt(SkPdfNativeDoc* doc) { function in class:SkPdfChoiceFieldDictionary
12 SkPdfNativeObject* ret = get("Opt", "");
20 return get("Opt", "") != NULL;
/external/llvm/lib/Option/
H A DArgList.cpp348 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const {
350 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
351 BaseArgs.MakeIndex(Opt.getName()), BaseArg));
355 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt, argument
359 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()),
364 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt, argument
373 MakeJoinedArg(const Arg *BaseArg, const Option Opt, StringRef Value) const argument
[all...]
H A DArg.cpp21 : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index),
27 : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index),
34 : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index),
50 llvm::errs() << " Opt:";
51 Opt.dump();
H A DOptTable.cpp85 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} argument
160 const Option OptTable::getOption(OptSpecifier Opt) const {
161 unsigned id = Opt.getID();
230 Option Opt(Start, this);
232 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude))
234 if (Opt.hasFlag(FlagsToExclude))
238 if (Arg *A = Opt.accept(Args, Index, ArgSize))
H A DOption.cpp87 bool Option::matches(OptSpecifier Opt) const {
91 return Alias.matches(Opt);
94 if (getID() == Opt.getID())
99 return Group.matches(Opt);
/external/llvm/include/llvm/IR/
H A DLegacyPassNameParser.h44 cl::Option *Opt; member in class:llvm::PassNameParser
50 Opt = &O;
72 if (ignorablePass(P) || !Opt) return;
/external/clang/lib/Frontend/
H A DTextDiagnosticPrinter.cpp82 StringRef Opt = DiagnosticIDs::getWarningOptionForDiag(Info.getID()); local
83 if (!Opt.empty()) {
85 << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt;
/external/clang/lib/CodeGen/
H A DTargetInfo.h205 llvm::SmallString<24> &Opt) const;
211 llvm::SmallString<32> &Opt) const {}
/external/llvm/include/llvm/Support/
H A DCommandLine.h314 template<class Opt>
315 void apply(Opt &O) const { O.setInitialValue(Init); }
333 template<class Opt>
334 void apply(Opt &O) const { O.setLocation(O, Loc); }
346 template<class Opt>
347 void apply(Opt &O) const { O.setCategory(Category); }
508 template<class Opt>
509 void apply(Opt &O) const {
756 template <class Opt>
757 void initialize(Opt
[all...]

Completed in 445 milliseconds

123