HomeSort by: relevance | last modified time | path
    Searched refs:Policy (Results 1 - 25 of 95) sorted by relevancy

1 2 3 4

  /src/external/gpl3/gdb.old/dist/gdbsupport/
gdb_ref_ptr.h 30 handled externally by a policy class. If the object holds a
44 The policy class must provide two static methods:
48 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)
    [all...]
  /src/external/gpl3/gdb/dist/gdbsupport/
gdb_ref_ptr.h 30 handled externally by a policy class. If the object holds a
44 The policy class must provide two static methods:
48 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)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
CachePruning.cpp 78 CachePruningPolicy Policy;
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) {
157 Policy.MaxSizePercentageOfAvailableSpace =
158 std::min(Policy.MaxSizePercentageOfAvailableSpace, 100u)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
AnalysisBasedWarnings.h 35 class Policy {
43 Policy();
49 Policy DefaultPolicy;
97 void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
100 Policy getDefaultPolicy() { return DefaultPolicy; }
  /src/external/apache2/llvm/dist/clang/lib/AST/
AttrImpl.cpp 20 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...]
TypePrinter.cpp 53 PrintingPolicy &Policy;
57 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy)
58 : Policy(Policy), Old(Policy.SuppressStrongLifetime) {
59 if (!Policy.SuppressLifetimeQualifiers)
60 Policy.SuppressStrongLifetime = false;
64 Policy.SuppressStrongLifetime = Old;
69 PrintingPolicy &Policy;
73 explicit ParamPolicyRAII(PrintingPolicy &Policy)
    [all...]
DeclPrinter.cpp 30 PrintingPolicy Policy;
53 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy,
56 : Out(Out), Policy(Policy), Context(Context), Indentation(Indentation),
130 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy,
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, Indentation)
    [all...]
DeclarationName.cpp 121 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) const
    [all...]
StmtPrinter.cpp 70 PrintingPolicy Policy;
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);
    [all...]
TemplateBase.cpp 52 /// \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
    [all...]
TemplateName.cpp 224 TemplateName::print(raw_ostream &OS, const PrintingPolicy &Policy,
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);
OpenMPClause.cpp 1565 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...]
APValue.cpp 31 const PrintingPolicy &Policy) const {
33 QualType(getType(), 0).print(Out, Policy);
633 void APValue::printPretty(raw_ostream &Out, const PrintingPolicy &Policy,
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...]
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
QualTypeNames.h 76 const PrintingPolicy &Policy,
LocInfoType.h 48 const PrintingPolicy &Policy) const;
  /src/external/apache2/llvm/dist/llvm/include/llvm/LTO/legacy/
ThinLTOCodeGenerator.h 128 CachePruningPolicy Policy;
135 /// Cache policy: interval (seconds) between two prunes of the cache. Set to a
140 CacheOptions.Policy.Interval.reset();
142 CacheOptions.Policy.Interval = std::chrono::seconds(Interval);
145 /// Cache policy: expiration (in seconds) for an entry.
149 CacheOptions.Policy.Expiration = std::chrono::seconds(Expiration);
167 CacheOptions.Policy.MaxSizePercentageOfAvailableSpace = Percentage;
170 /// Cache policy: the maximum size for the cache directory in bytes. A value
175 CacheOptions.Policy.MaxSizeBytes = MaxSizeBytes;
178 /// Cache policy: the maximum number of files in the cache directory. A valu
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
CachePruning.h 25 /// Policy for the pruneCache() function. A default constructed
26 /// CachePruningPolicy provides a reasonable default policy.
63 /// Parse the given string as a cache pruning policy. Defaults are taken from a
70 /// Peform pruning using the supplied policy, returns true if pruning
71 /// occurred, i.e. if Policy.Interval was expired.
76 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sync/
rwmutex.d 54 * Defines the policy used by this mutex. Currently, two policies are
68 enum Policy
81 * Initializes a read/write mutex object with the supplied policy.
84 * policy = The policy to use.
89 this( Policy policy = Policy.PREFER_WRITERS ) @safe nothrow
103 m_policy = policy;
109 shared this( Policy policy = Policy.PREFER_WRITERS ) @safe nothro
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
DeclSpec.cpp 542 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) {
    [all...]
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.cp/
cpexprs.exp.tcl 531 add {policy1::policy} \
532 [ctor "policy<int, operation_1<void*> >" "int"] \
533 {policy<int, operation_1<void*> >::policy} \
534 {policy<T, Policy>::policy}
535 add {policy2::policy} \
536 [ctor "policy<int, operation_2<void*> >" int] \
537 {policy<int, operation_2<void*> >::policy}
    [all...]
cpexprs.cc 91 // A policy-based class w/ and w/o default policy
92 template <class T, class Policy>
93 class policy : public Policy class in inherits:Policy
96 policy (T obj) : obj_ (obj) { } // policy<T, Policy>::policy function in class:policy
102 template <class T, class Policy = operation_1<T>
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.cp/
cpexprs.exp.tcl 547 add {policy1::policy} \
548 [ctor "policy<int, operation_1<void*> >" "int"] \
549 {policy<int, operation_1<void*> >::policy} \
550 {policy<T, Policy>::policy}
551 add {policy2::policy} \
552 [ctor "policy<int, operation_2<void*> >" int] \
553 {policy<int, operation_2<void*> >::policy}
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
PPCSubtarget.cpp 210 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
217 Policy.OnlyBottomUp = false;
220 Policy.ShouldTrackPressure = true;
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
DebugCheckers.cpp 185 PrintingPolicy Policy(mgr.getLangOpts());
186 Policy.TerseOutput = true;
187 Policy.PolishForDeclaration = true;
188 D->print(llvm::errs(), Policy);
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
AArch64Subtarget.cpp 315 void AArch64Subtarget::overrideSchedPolicy(MachineSchedPolicy &Policy,
319 Policy.OnlyTopDown = false;
320 Policy.OnlyBottomUp = false;
324 Policy.DisableLatencyHeuristic = DisableLatencySchedHeuristic;

Completed in 40 milliseconds

1 2 3 4