Home
last modified time | relevance | path

Searched refs:Opt (Results 1 – 25 of 61) sorted by relevance

123

/external/clang/lib/Basic/
DWarnings.cpp34 StringRef Prefix, StringRef Opt, in EmitUnknownDiagWarning() argument
36 StringRef Suggestion = DiagnosticIDs::getNearestWarningOption(Opt); in EmitUnknownDiagWarning()
40 << (Prefix.str() += Opt) << (Prefix.str() += Suggestion); in EmitUnknownDiagWarning()
44 << (Prefix.str() += Opt); in EmitUnknownDiagWarning()
92 StringRef Opt = Opts.Warnings[i]; in ProcessWarningOptions() local
96 if (Opt == "format=0") in ProcessWarningOptions()
97 Opt = "no-format"; in ProcessWarningOptions()
102 if (Opt.startswith("no-")) { in ProcessWarningOptions()
104 Opt = Opt.substr(3); in ProcessWarningOptions()
114 if (Opt == "system-headers") { in ProcessWarningOptions()
[all …]
/external/chromium_org/third_party/cython/src/Cython/Compiler/
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")) …
37 fltconst = (decimal_fract + Opt(exponent)) | (decimal + exponent)
40 beginstring = Opt(Any(string_prefixes) + Opt(Any(raw_prefixes)) |
41 Any(raw_prefixes) + Opt(Any(bytes_prefixes)) |
62 lineterm = Eol + Opt(Str("\n"))
86 (Opt(spaces) + Opt(comment) + lineterm, IGNORE),
/external/libcxx/test/utilities/optional/optional.object/optional.object.ctor/
Ddefault.pass.cpp22 template <class Opt>
26 static_assert(std::is_nothrow_default_constructible<Opt>::value, ""); in test_constexpr()
27 constexpr Opt opt; in test_constexpr()
31 : public Opt in test_constexpr()
38 template <class Opt>
42 static_assert(std::is_nothrow_default_constructible<Opt>::value, ""); in test()
43 Opt opt; in test()
47 : public Opt in test()
Dnullopt_t.pass.cpp24 template <class Opt>
28 static_assert(noexcept(Opt(nullopt)), ""); in test_constexpr()
29 constexpr Opt opt(nullopt); in test_constexpr()
33 : public Opt in test_constexpr()
39 template <class Opt>
43 static_assert(noexcept(Opt(nullopt)), ""); in test()
44 Opt opt(nullopt); in test()
48 : public Opt in test()
/external/llvm/include/llvm/Option/
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); }
DArgList.h380 void AddFlagArg(const Arg *BaseArg, const Option Opt) { in AddFlagArg() argument
381 append(MakeFlagArg(BaseArg, Opt)); in AddFlagArg()
387 void AddPositionalArg(const Arg *BaseArg, const Option Opt, in AddPositionalArg() argument
389 append(MakePositionalArg(BaseArg, Opt, Value)); in AddPositionalArg()
396 void AddSeparateArg(const Arg *BaseArg, const Option Opt, in AddSeparateArg() argument
398 append(MakeSeparateArg(BaseArg, Opt, Value)); in AddSeparateArg()
404 void AddJoinedArg(const Arg *BaseArg, const Option Opt, in AddJoinedArg() argument
406 append(MakeJoinedArg(BaseArg, Opt, Value)); in AddJoinedArg()
411 Arg *MakeFlagArg(const Arg *BaseArg, const Option Opt) const;
415 Arg *MakePositionalArg(const Arg *BaseArg, const Option Opt,
[all …]
DArg.h37 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; } in getOption()
DOptTable.h69 const Info &getInfo(OptSpecifier Opt) const { in getInfo() argument
70 unsigned id = Opt.getID(); in getInfo()
88 const Option getOption(OptSpecifier Opt) const;
/external/llvm/lib/Option/
DArgList.cpp348 Arg *DerivedArgList::MakeFlagArg(const Arg *BaseArg, const Option Opt) const { in MakeFlagArg()
350 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeFlagArg()
351 BaseArgs.MakeIndex(Opt.getName()), BaseArg)); in MakeFlagArg()
355 Arg *DerivedArgList::MakePositionalArg(const Arg *BaseArg, const Option Opt, in MakePositionalArg() argument
359 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakePositionalArg()
364 Arg *DerivedArgList::MakeSeparateArg(const Arg *BaseArg, const Option Opt, in MakeSeparateArg() argument
366 unsigned Index = BaseArgs.MakeIndex(Opt.getName(), Value); in MakeSeparateArg()
368 make_unique<Arg>(Opt, MakeArgString(Opt.getPrefix() + Opt.getName()), in MakeSeparateArg()
373 Arg *DerivedArgList::MakeJoinedArg(const Arg *BaseArg, const Option Opt, in MakeJoinedArg() argument
375 unsigned Index = BaseArgs.MakeIndex(Opt.getName().str() + Value.str()); in MakeJoinedArg()
[all …]
DArg.cpp21 : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index), in Arg()
27 : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index), in Arg()
34 : Opt(_Opt), BaseArg(_BaseArg), Spelling(S), Index(_Index), in Arg()
51 Opt.dump(); in dump()
DOptTable.cpp85 OptSpecifier::OptSpecifier(const Option *Opt) : ID(Opt->getID()) {} in OptSpecifier() argument
160 const Option OptTable::getOption(OptSpecifier Opt) const { in getOption()
161 unsigned id = Opt.getID(); in getOption()
230 Option Opt(Start, this); in ParseOneArg() local
232 if (FlagsToInclude && !Opt.hasFlag(FlagsToInclude)) in ParseOneArg()
234 if (Opt.hasFlag(FlagsToExclude)) in ParseOneArg()
238 if (Arg *A = Opt.accept(Args, Index, ArgSize)) in ParseOneArg()
DOption.cpp87 bool Option::matches(OptSpecifier Opt) const { in matches()
91 return Alias.matches(Opt); in matches()
94 if (getID() == Opt.getID()) in matches()
99 return Group.matches(Opt); in matches()
/external/chromium_org/chrome/browser/ui/cocoa/
Dconfirm_quit_panel_controller_unittest.mm21 str = [str stringByReplacingOccurrencesOfString:@"{Opt}"
56 EXPECT_NSEQ(TestString(@"{Cmd}{Opt}{Shift}H"),
62 EXPECT_NSEQ(TestString(@"{Cmd}{Ctrl}{Opt}{Shift}R"),
75 EXPECT_NSEQ(TestString(@"{Cmd}{Opt}E"),
/external/libcxx/test/utilities/optional/optional.object/
Dtypes.pass.cpp26 template <class Opt, class T>
30 static_assert(std::is_same<typename Opt::value_type, T>::value, ""); in test()
/external/llvm/include/llvm/IR/
DLegacyPassNameParser.h44 cl::Option *Opt; variable
50 Opt = &O; in initialize()
72 if (ignorablePass(P) || !Opt) return; in passRegistered()
/external/clang/lib/Frontend/
DTextDiagnosticPrinter.cpp82 StringRef Opt = DiagnosticIDs::getWarningOptionForDiag(Info.getID()); in printDiagnosticOptions() local
83 if (!Opt.empty()) { in printDiagnosticOptions()
85 << (Level == DiagnosticsEngine::Remark ? "-R" : "-W") << Opt; in printDiagnosticOptions()
/external/llvm/include/llvm/Support/
DCommandLine.h314 template<class Opt>
315 void apply(Opt &O) const { O.setInitialValue(Init); } in apply()
333 template<class Opt>
334 void apply(Opt &O) const { O.setLocation(O, Loc); } in apply()
346 template<class Opt>
347 void apply(Opt &O) const { O.setCategory(Category); } in apply()
508 template<class Opt>
509 void apply(Opt &O) const {
756 template <class Opt>
757 void initialize(Opt &O) {
[all …]
/external/clang/lib/CodeGen/
DTargetInfo.h205 llvm::SmallString<24> &Opt) const;
211 llvm::SmallString<32> &Opt) const {} in getDetectMismatchOption() argument
/external/llvm/lib/Support/
DCommandLine.cpp789 Option *Opt = PositionalOpts[i]; in ParseCommandLineOptions() local
790 if (RequiresValue(Opt)) in ParseCommandLineOptions()
797 Opt->error("error - this positional option will never be matched, " in ParseCommandLineOptions()
800 } else if (UnboundedFound && !Opt->ArgStr[0]) { in ParseCommandLineOptions()
805 ErrorParsing |= Opt->error("error - option can never match, because " in ParseCommandLineOptions()
810 UnboundedFound |= EatsUnboundedNumberOfValues(Opt); in ParseCommandLineOptions()
1550 Option *Opt = Opts[I].second; in printOptions() local
1551 assert(CategorizedOptions.count(Opt->Category) > 0 && in printOptions()
1553 CategorizedOptions[Opt->Category].push_back(Opt); in printOptions()
1584 Opt = CategorizedOptions[*Category].begin(), in printOptions() local
[all …]
/external/chromium_org/third_party/cython/src/Cython/Plex/
DTraditional.py9 from Regexps import Alt, Seq, Rep, Rep1, Opt, Any, AnyBut, Bol, Eol, Char
63 re = Opt(re)
D__init__.py36 from Regexps import Opt, Rep, Bol, Eol, Eof, Case, NoCase
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java131 Opt opt = null; in parse()
183 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
191 opt = new Opt (optName, canonicalName, patternPrefix); in parse()
385 final Opt xopt = opts.getOpt (excludes [x]); in parse()
506 static final class Opt implements IOptsParser.IOpt class in OptsParser
561 Opt (final String name, final String canonicalName, final String patternPrefix) in Opt() method in OptsParser.Opt
658 void addOpt (final Opt opt, final OptDef optdef, final String occuranceName) in addOpt()
705 Opt getOpt (final String occuranceName) in getOpt()
709 return (Opt) m_nameMap.get (occuranceName); in getOpt()
/external/chromium_org/third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
DSkPdfCheckboxFieldDictionary_autogen.cpp11 SkString SkPdfCheckboxFieldDictionary::Opt(SkPdfNativeDoc* doc) { in Opt() function in SkPdfCheckboxFieldDictionary
/external/skia/experimental/PdfViewer/pdfparser/native/pdfapi/
DSkPdfCheckboxFieldDictionary_autogen.cpp11 SkString SkPdfCheckboxFieldDictionary::Opt(SkPdfNativeDoc* doc) { in Opt() function in SkPdfCheckboxFieldDictionary
DSkPdfRadioButtonFieldDictionary_autogen.cpp11 SkPdfArray* SkPdfRadioButtonFieldDictionary::Opt(SkPdfNativeDoc* doc) { in Opt() function in SkPdfRadioButtonFieldDictionary

123