Searched refs:Policy (Results 1 - 25 of 93) sorted by relevance

1234

/netbsd-current/external/gpl3/gdb.old/dist/gdbsupport/
H A Dgdb_ref_ptr.h48 template<typename T, typename Policy>
77 Policy::incref (m_obj);
91 Policy::decref (m_obj);
102 Policy::incref (m_obj);
124 Policy::decref (m_obj);
153 static ref_ptr<T, Policy> new_reference (T *obj)
155 Policy::incref (obj);
156 return ref_ptr<T, Policy> (obj);
164 template<typename T, typename Policy>
165 inline bool operator== (const ref_ptr<T, Policy>
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdbsupport/
H A Dgdb_ref_ptr.h48 template<typename T, typename Policy>
77 Policy::incref (m_obj);
91 Policy::decref (m_obj);
102 Policy::incref (m_obj);
124 Policy::decref (m_obj);
153 static ref_ptr<T, Policy> new_reference (T *obj)
155 Policy::incref (obj);
156 return ref_ptr<T, Policy> (obj);
164 template<typename T, typename Policy>
165 inline bool operator== (const ref_ptr<T, Policy>
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DCachePruning.cpp78 CachePruningPolicy Policy; local
89 Policy.Interval = *DurationOrErr;
94 Policy.Expiration = *DurationOrErr;
108 Policy.MaxSizePercentageOfAvailableSpace = Size;
129 Policy.MaxSizeBytes = Size * Mult;
131 if (Value.getAsInteger(0, Policy.MaxSizeFiles))
140 return Policy;
144 bool llvm::pruneCache(StringRef Path, CachePruningPolicy Policy) { argument
157 Policy.MaxSizePercentageOfAvailableSpace =
158 std::min(Policy
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h35 class Policy { class in class:clang::sema::AnalysisBasedWarnings
43 Policy();
49 Policy DefaultPolicy;
97 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
100 Policy getDefaultPolicy() { return DefaultPolicy; }
/netbsd-current/external/apache2/llvm/dist/clang/lib/AST/
H A DAttrImpl.cpp20 const PrintingPolicy &Policy) const {
29 OS << ' ' << getValueString(Policy);
34 OS << ' ' << getOptionName(option) << getValueString(Policy);
39 std::string LoopHintAttr::getValueString(const PrintingPolicy &Policy) const {
44 value->printPretty(OS, nullptr, Policy);
47 value->printPretty(OS, nullptr, Policy);
68 LoopHintAttr::getDiagnosticName(const PrintingPolicy &Policy) const {
74 (option == UnrollCount ? getValueString(Policy) : "");
79 (option == UnrollAndJamCount ? getValueString(Policy) : "");
82 return getOptionName(option) + getValueString(Policy);
[all...]
H A DTypePrinter.cpp53 PrintingPolicy &Policy; member in class:__anon353::IncludeStrongLifetimeRAII
57 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy) argument
58 : Policy(Policy), Old(Policy.SuppressStrongLifetime) {
59 if (!Policy.SuppressLifetimeQualifiers)
60 Policy.SuppressStrongLifetime = false;
64 Policy.SuppressStrongLifetime = Old;
69 PrintingPolicy &Policy; member in class:__anon353::ParamPolicyRAII
73 explicit ParamPolicyRAII(PrintingPolicy &Policy) argument
84 PrintingPolicy &Policy; member in class:__anon353::ElaboratedTypePolicyRAII
89 ElaboratedTypePolicyRAII(PrintingPolicy &Policy) argument
103 PrintingPolicy Policy; member in class:__anon353::TypePrinter
109 TypePrinter(const PrintingPolicy &Policy, unsigned Indentation = 0) argument
168 splitAccordingToPolicy(QualType QT, const PrintingPolicy &Policy) argument
1996 printTo(raw_ostream &OS, ArrayRef<TA> Args, const PrintingPolicy &Policy, bool SkipBrackets, const TemplateParameterList *TPL, bool IsPack, unsigned ParmIndex) argument
2067 printTemplateArgumentList(raw_ostream &OS, const TemplateArgumentListInfo &Args, const PrintingPolicy &Policy, const TemplateParameterList *TPL) argument
2074 printTemplateArgumentList(raw_ostream &OS, ArrayRef<TemplateArgument> Args, const PrintingPolicy &Policy, const TemplateParameterList *TPL) argument
2081 printTemplateArgumentList(raw_ostream &OS, ArrayRef<TemplateArgumentLoc> Args, const PrintingPolicy &Policy, const TemplateParameterList *TPL) argument
2163 print(raw_ostream &OS, const PrintingPolicy& Policy, bool appendSpaceIfNonEmpty) const argument
2233 getAsString(const Type *ty, Qualifiers qs, const PrintingPolicy &Policy) argument
2240 print(raw_ostream &OS, const PrintingPolicy &Policy, const Twine &PlaceHolder, unsigned Indentation) const argument
[all...]
H A DDeclPrinter.cpp30 PrintingPolicy Policy; member in class:__anon309::DeclPrinter
53 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, argument
56 : Out(Out), Policy(Policy), Context(Context), Indentation(Indentation),
130 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, argument
132 DeclPrinter Printer(Out, Policy, getASTContext(), Indentation,
143 const PrintingPolicy &Policy,
145 DeclPrinter Printer(Out, Policy, Context);
185 raw_ostream &Out, const PrintingPolicy &Policy,
188 (*Begin)->print(Out, Policy, Indentatio
142 print(raw_ostream &Out, const ASTContext &Context, const PrintingPolicy &Policy, bool OmitTemplateKW) const argument
184 printGroup(Decl** Begin, unsigned NumDecls, raw_ostream &Out, const PrintingPolicy &Policy, unsigned Indentation) argument
576 printExplicitSpecifier(ExplicitSpecifier ES, llvm::raw_ostream &Out, PrintingPolicy &Policy, unsigned Indentation, const ASTContext &Context) argument
[all...]
H A DDeclarationName.cpp121 PrintingPolicy Policy) {
123 Policy.adjustForCPlusPlus();
129 if (Policy.SuppressTemplateArgsInCXXConstructors) {
135 ClassType.print(OS, Policy);
139 const PrintingPolicy &Policy) const {
164 return printCXXConstructorDestructorName(getCXXNameType(), OS, Policy);
168 return printCXXConstructorDestructorName(getCXXNameType(), OS, Policy);
172 getCXXDeductionGuideTemplate()->getDeclName().print(OS, Policy);
199 PrintingPolicy CXXPolicy = Policy;
472 void DeclarationNameInfo::printName(raw_ostream &OS, PrintingPolicy Policy) cons
119 printCXXConstructorDestructorName(QualType ClassType, raw_ostream &OS, PrintingPolicy Policy) argument
[all...]
H A DStmtPrinter.cpp70 PrintingPolicy Policy; member in class:__anon339::StmtPrinter
76 const PrintingPolicy &Policy, unsigned Indentation = 0,
78 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy),
81 void PrintStmt(Stmt *S) { PrintStmt(S, Policy.Indentation); }
183 D->print(OS, Policy, IndentLevel);
188 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel);
231 Attr->printPretty(OS, Policy);
350 PrintingPolicy SubPolicy(Policy);
368 Qualifier->print(OS, Policy);
75 StmtPrinter(raw_ostream &os, PrinterHelper *helper, const PrintingPolicy &Policy, unsigned Indentation = 0, StringRef NL = �, const ASTContext *Context = nullptr) argument
2554 printPretty(raw_ostream &Out, PrinterHelper *Helper, const PrintingPolicy &Policy, unsigned Indentation, StringRef NL, const ASTContext *Context) const argument
2561 printJson(raw_ostream &Out, PrinterHelper *Helper, const PrintingPolicy &Policy, bool AddQuotes) const argument
[all...]
H A DTemplateBase.cpp52 /// \param Policy the printing policy for EnumConstantDecl printing.
57 const PrintingPolicy &Policy, bool IncludeType) {
68 ECD->printQualifiedName(Out, Policy);
74 if (Policy.MSVCFormatting)
78 if (!Policy.MSVCFormatting)
90 } else if (T->isAnyCharacterType() && !Policy.MSVCFormatting) {
125 Out << "(" << T->getCanonicalTypeInternal().getAsString(Policy) << ")"
130 Out << "(" << T->getCanonicalTypeInternal().getAsString(Policy) << ")"
416 void TemplateArgument::print(const PrintingPolicy &Policy, raw_ostream &Out, argument
425 PrintingPolicy SubPolicy(Policy);
56 printIntegral(const TemplateArgument &TemplArg, raw_ostream &Out, const PrintingPolicy &Policy, bool IncludeType) argument
[all...]
H A DTemplateName.cpp224 TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy, argument
230 QTN->getQualifier()->print(OS, Policy);
236 DTN->getQualifier()->print(OS, Policy);
245 subst->getReplacement().print(OS, Policy, SuppressNNS);
250 Assumed->getDeclName().print(OS, Policy);
H A DOpenMPClause.cpp1565 Node->getCondition()->printPretty(OS, nullptr, Policy, 0);
1571 Node->getCondition()->printPretty(OS, nullptr, Policy, 0);
1577 Node->getNumThreads()->printPretty(OS, nullptr, Policy, 0);
1583 Node->getSafelen()->printPretty(OS, nullptr, Policy, 0);
1589 Node->getSimdlen()->printPretty(OS, nullptr, Policy, 0);
1599 Size->printPretty(OS, nullptr, Policy, 0);
1607 Node->getAllocator()->printPretty(OS, nullptr, Policy, 0);
1613 Node->getNumForLoops()->printPretty(OS, nullptr, Policy, 0);
1619 Node->getEventHandler()->printPretty(OS, nullptr, Policy, 0);
1678 E->printPretty(OS, nullptr, Policy);
[all...]
H A DAPValue.cpp31 const PrintingPolicy &Policy) const {
33 QualType(getType(), 0).print(Out, Policy);
633 void APValue::printPretty(raw_ostream &Out, const PrintingPolicy &Policy, argument
664 getVectorElt(0).printPretty(Out, Policy, ElemTy, Ctx);
667 getVectorElt(i).printPretty(Out, Policy, ElemTy, Ctx);
689 Out << (Policy.Nullptr ? "nullptr" : "0");
691 Out << "*(" << InnerTy.stream(Policy) << "*)"
694 Out << "(" << Ty.stream(Policy) << ")"
719 TI.print(Out, Policy);
722 << Base.getDynamicAllocType().stream(Policy) << "#"
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/AST/
H A DQualTypeNames.h76 const PrintingPolicy &Policy,
H A DLocInfoType.h48 const PrintingPolicy &Policy) const;
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/LTO/legacy/
H A DThinLTOCodeGenerator.h128 CachePruningPolicy Policy; member in struct:llvm::ThinLTOCodeGenerator::CachingOptions
140 CacheOptions.Policy.Interval.reset();
142 CacheOptions.Policy.Interval = std::chrono::seconds(Interval);
149 CacheOptions.Policy.Expiration = std::chrono::seconds(Expiration);
167 CacheOptions.Policy.MaxSizePercentageOfAvailableSpace = Percentage;
175 CacheOptions.Policy.MaxSizeBytes = MaxSizeBytes;
182 CacheOptions.Policy.MaxSizeFiles = MaxSizeFiles;
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DCachePruning.h25 /// Policy for the pruneCache() function. A default constructed
71 /// occurred, i.e. if Policy.Interval was expired.
76 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
/netbsd-current/external/apache2/llvm/dist/clang/lib/Sema/
H A DDeclSpec.cpp542 const PrintingPolicy &Policy) {
547 case DeclSpec::TST_wchar: return Policy.MSWChar ? "__wchar_t" : "wchar_t";
561 case DeclSpec::TST_bool: return Policy.Bool ? "bool" : "_Bool";
619 const PrintingPolicy &Policy) {
656 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy);
659 PrevSpec, DiagID, Policy);
695 const PrintingPolicy &Policy) {
733 const PrintingPolicy &Policy) {
734 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Policy);
742 const PrintingPolicy &Policy) {
541 getSpecifierName(DeclSpec::TST T, const PrintingPolicy &Policy) argument
616 SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
693 SetTypeSpecWidth(TypeSpecifierWidth W, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
729 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) argument
737 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, ParsedType Rep, const PrintingPolicy &Policy) argument
760 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Expr *Rep, const PrintingPolicy &Policy) argument
782 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) argument
790 SetTypeSpecType(TST T, SourceLocation TagKwLoc, SourceLocation TagNameLoc, const char *&PrevSpec, unsigned &DiagID, Decl *Rep, bool Owned, const PrintingPolicy &Policy) argument
814 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, TemplateIdAnnotation *Rep, const PrintingPolicy &Policy) argument
823 SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
860 SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
875 SetTypePipe(bool isPipe, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
892 SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
909 SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
934 SetExtIntType(SourceLocation KWLoc, Expr *BitsExpr, const char *&PrevSpec, unsigned &DiagID, const PrintingPolicy &Policy) argument
1114 Finish(Sema &S, const PrintingPolicy &Policy) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/
H A Dcpexprs.exp.tcl535 {policy<T, Policy>::policy}
539 {policy<T, Policy>::policy}
543 {policy<T, Policy>::policy}
547 {policy<T, Policy>::policy}
567 {policyd<T, Policy>::policyd}
571 {policyd<T, Policy>::policyd}
575 {policyd<T, Policy>::~policyd}
579 {policyd<T, Policy>::~policyd}
583 {policyd<T, Policy>::policyd}
587 {policyd<T, Policy>
[all...]
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
H A Dcpexprs.exp.tcl534 {policy<T, Policy>::policy}
538 {policy<T, Policy>::policy}
542 {policy<T, Policy>::policy}
546 {policy<T, Policy>::policy}
566 {policyd<T, Policy>::policyd}
570 {policyd<T, Policy>::policyd}
574 {policyd<T, Policy>::~policyd}
578 {policyd<T, Policy>::~policyd}
582 {policyd<T, Policy>::policyd}
586 {policyd<T, Policy>
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCSubtarget.cpp210 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, argument
217 Policy.OnlyBottomUp = false;
220 Policy.ShouldTrackPressure = true;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64Subtarget.cpp315 void AArch64Subtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, argument
319 Policy.OnlyTopDown = false;
320 Policy.OnlyBottomUp = false;
324 Policy.DisableLatencyHeuristic = DisableLatencySchedHeuristic;
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DDebugCheckers.cpp185 PrintingPolicy Policy(mgr.getLangOpts());
186 Policy.TerseOutput = true;
187 Policy.PolishForDeclaration = true;
188 D->print(llvm::errs(), Policy); local
/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Dpkits-test.pl38 my $apolicy = "X509v3 Any Policy";
142 "All Certificates Same Policy Test1",
148 "All Certificates Same Policy Test1",
154 "All Certificates Same Policy Test1",
160 "All Certificates Same Policy Test1",
351 [ "4.9", "Require Explicit Policy" ],
400 [ "4.10", "Policy Mappings" ],
403 "Valid Policy Mapping Test1",
409 "Valid Policy Mapping Test1",
415 "Valid Policy Mappin
[all...]
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dpkits-test.pl38 my $apolicy = "X509v3 Any Policy";
142 "All Certificates Same Policy Test1",
148 "All Certificates Same Policy Test1",
154 "All Certificates Same Policy Test1",
160 "All Certificates Same Policy Test1",
351 [ "4.9", "Require Explicit Policy" ],
400 [ "4.10", "Policy Mappings" ],
403 "Valid Policy Mapping Test1",
409 "Valid Policy Mapping Test1",
415 "Valid Policy Mappin
[all...]

Completed in 376 milliseconds

1234