/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | CachePruning.cpp | 78 CachePruningPolicy Policy; in parseCachePruningPolicy() local 89 Policy.Interval = *DurationOrErr; in parseCachePruningPolicy() 94 Policy.Expiration = *DurationOrErr; in parseCachePruningPolicy() 108 Policy.MaxSizePercentageOfAvailableSpace = Size; in parseCachePruningPolicy() 129 Policy.MaxSizeBytes = Size * Mult; in parseCachePruningPolicy() 131 if (Value.getAsInteger(0, Policy.MaxSizeFiles)) in parseCachePruningPolicy() 140 return Policy; in parseCachePruningPolicy() 144 bool llvm::pruneCache(StringRef Path, CachePruningPolicy Policy) { in pruneCache() argument 157 Policy.MaxSizePercentageOfAvailableSpace = in pruneCache() 158 std::min(Policy in pruneCache() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | hash_policy_traits.h | 31 template <class Policy, class = void> 34 using key_type = typename Policy::key_type; 64 template <class P = Policy, class = void> 73 using slot_type = typename Policy::slot_type; 78 using init_type = typename Policy::init_type; 80 using reference = decltype(Policy::element(std::declval<slot_type*>())); 94 Policy::construct(alloc, slot, std::forward<Args>(args)...); in construct() 101 Policy::destroy(alloc, slot); in destroy() 122 template <class P = Policy> 133 template <class P = Policy> [all...] |
H A D | node_hash_policy.h | 19 // struct Policy { 48 template <class Reference, class Policy> 57 *slot = Policy::new_element(alloc, std::forward<Args>(args)...); in construct() 62 Policy::delete_element(alloc, *slot); in destroy() 71 if (slot == nullptr) return Policy::element_space_used(nullptr); in space_used() 72 return Policy::element_space_used(*slot); in space_used() 77 template <class T, class P = Policy> 82 template <class... Ts, class P = Policy>
|
H A D | raw_hash_map.h | 30 template <class Policy, class Hash, class Eq, class Alloc> 31 class raw_hash_map : public raw_hash_set<Policy, Hash, Eq, Alloc> { 32 // P is Policy. It's passed as a template argument to support maps that have 48 using key_type = typename Policy::key_type; 49 using mapped_type = typename Policy::mapped_type; 142 template <class K = key_type, class P = Policy> 149 return Policy::value(&*it); in at() 152 template <class K = key_type, class P = Policy> 159 return Policy::value(&*it); in at() 162 template <class K = key_type, class P = Policy, [all...] |
H A D | node_hash_policy_test.cc | 30 struct Policy : node_hash_policy<int&, Policy> { struct 45 using NodePolicy = hash_policy_traits<Policy>;
|
H A D | common.h | 117 template <typename Policy, typename PolicyTraits, typename Alloc, 136 template <typename Policy, typename PolicyTraits, typename Alloc> 137 class node_handle<Policy, PolicyTraits, Alloc, 138 absl::void_t<typename Policy::mapped_type>> 144 using key_type = typename Policy::key_type; 145 using mapped_type = typename Policy::mapped_type;
|
H A D | raw_hash_set_allocator_test.cc | 129 struct Policy { struct 177 using Table = raw_hash_set<Policy, Identity, std::equal_to<int32_t>, Alloc>; 474 using Table = raw_hash_set<Policy, Identity, std::equal_to<int32_t>, PA>; in TEST() 485 using Table = raw_hash_set<Policy, Identity, std::equal_to<int32_t>, PA>; in TEST() 494 using Table = raw_hash_set<Policy, Identity, std::equal_to<int32_t>, PA>; in TEST()
|
H A D | raw_hash_set.h | 169 template <class E, class Policy, class Hash, class Eq, class... Ts> 172 template <class Policy, class Hash, class Eq, class... Ts> 175 Policy::apply(RequireUsableKey<typename Policy::key_type, Hash, Eq>(), 177 Policy, Hash, Eq, Ts...> : std::true_type {}; 459 template <class Policy, class Hash, class Eq, class Alloc> 647 // Policy: a policy defines how to perform different operations on 665 template <class Policy, class Hash, class Eq, class Alloc> 667 using PolicyTraits = hash_policy_traits<Policy>; 682 using policy_type = Policy; [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/ |
H A D | ThinLTOCodeGenerator.h | 128 CachePruningPolicy Policy; member 140 CacheOptions.Policy.Interval.reset(); in setCachePruningInterval() 142 CacheOptions.Policy.Interval = std::chrono::seconds(Interval); in setCachePruningInterval() 149 CacheOptions.Policy.Expiration = std::chrono::seconds(Expiration); in setCacheEntryExpiration() 167 CacheOptions.Policy.MaxSizePercentageOfAvailableSpace = Percentage; in setMaxCacheSizeRelativeToAvailableSpace() 175 CacheOptions.Policy.MaxSizeBytes = MaxSizeBytes; in setCacheMaxSizeBytes() 182 CacheOptions.Policy.MaxSizeFiles = MaxSizeFiles; in setCacheMaxSizeFiles()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Parallel.h | 173 template <class Policy, class RandomAccessIterator, 175 void sort(Policy policy, RandomAccessIterator Start, RandomAccessIterator End, in sort() 177 static_assert(is_execution_policy<Policy>::value, in sort() 182 template <class Policy, class IterTy, class FuncTy> 183 void for_each(Policy policy, IterTy Begin, IterTy End, FuncTy Fn) { in for_each() 184 static_assert(is_execution_policy<Policy>::value, in for_each() 189 template <class Policy, class IndexTy, class FuncTy> 190 void for_each_n(Policy policy, IndexTy Begin, IndexTy End, FuncTy Fn) { in for_each_n() 191 static_assert(is_execution_policy<Policy>::value, in for_each_n()
|
H A D | CachePruning.h | 24 /// Policy for the pruneCache() function. A default constructed 70 /// occurred, i.e. if Policy.Interval was expired. 75 bool pruneCache(StringRef Path, CachePruningPolicy Policy);
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | thread.cpp | 182 std::shared_ptr<Thread::Affinity::Policy> Thread::Affinity::Policy::anyOf( in anyOf() 185 struct Policy : public Thread::Affinity::Policy { in anyOf() struct 187 Policy(Affinity&& affinity) : affinity(std::move(affinity)) {} in anyOf() function 210 return allocator->make_shared<Policy>(std::move(affinity)); in anyOf() 213 std::shared_ptr<Thread::Affinity::Policy> Thread::Affinity::Policy::oneOf( in oneOf() 216 struct Policy : public Thread::Affinity::Policy { in oneOf() struct 218 Policy(Affinity&& affinity) : affinity(std::move(affinity)) {} oneOf() function [all...] |
H A D | scheduler_bench.cpp | 54 marl::Thread::Affinity::Policy::oneOf(marl::Thread::Affinity::all())); in BENCHMARK_DEFINE_F()
|
H A D | thread_test.cpp | 114 marl::Thread::Affinity::Policy::oneOf(std::move(all), allocator); in TEST_F()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | thread.h | 62 // Policy is an interface that provides a get() method for returning an 64 class Policy { class 66 virtual ~Policy() {} in ~Policy() 68 // anyOf() returns a Policy that returns an Affinity for a number of 72 // single affinity group, so the Policy's returned affinity will contain 74 MARL_EXPORT static std::shared_ptr<Policy> anyOf( 78 // oneOf() returns a Policy that returns an affinity with a single enabled 79 // core from affinity. The single enabled core in the Policy's returned 82 MARL_EXPORT static std::shared_ptr<Policy> oneOf(
|
H A D | scheduler.h | 67 std::shared_ptr<Thread::Affinity::Policy> affinityPolicy; 91 const std::shared_ptr<Thread::Affinity::Policy>&); 540 const std::shared_ptr<Thread::Affinity::Policy>& policy) { in setWorkerThreadAffinityPolicy()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
H A D | AArch64Subtarget.cpp | 265 void AArch64Subtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy() argument 269 Policy.OnlyTopDown = false; in overrideSchedPolicy() 270 Policy.OnlyBottomUp = false; in overrideSchedPolicy() 274 Policy.DisableLatencyHeuristic = DisableLatencySchedHeuristic; in overrideSchedPolicy()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
H A D | PPCSubtarget.cpp | 214 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy() argument 221 Policy.OnlyBottomUp = false; in overrideSchedPolicy() 224 Policy.ShouldTrackPressure = true; in overrideSchedPolicy()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
H A D | MachineScheduler.h | 67 // overrideSchedPolicy(MachineSchedPolicy &Policy, 69 // Policy.<Flag> = true; 807 /// Policy for scheduling the next instruction in the candidate's zone. 847 CandPolicy Policy; member 865 SchedCandidate(const CandPolicy &Policy) { reset(Policy); } in SchedCandidate() 868 Policy = NewPolicy; in reset() 901 void setPolicy(CandPolicy &Policy, bool IsPostRA, SchedBoundary &CurrZone, 909 bool shouldReduceLatency(const CandPolicy &Policy, SchedBoundary &CurrZone,
|
H A D | TargetSubtargetInfo.h | 224 virtual void overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy() argument
|
/third_party/python/Lib/email/ |
H A D | policy.py | 7 from email._policybase import Policy, Compat32, compat32, _extend_docstrings namespace 16 'Policy', 27 class EmailPolicy(Policy):
|
H A D | _policybase.py | 0 """Policy framework for the email package. 12 'Policy', 20 """Policy Object basic framework. 24 managed by the Policy object. The constructor will then allow 42 """Create new Policy, possibly overriding some defaults. 112 class Policy(_PolicyBase, metaclass=abc.ABCMeta): class 117 Policy objects as parameters. A Policy object contains a set of values and 123 Any valid attribute may be overridden when a Policy is created by passing 124 it as a keyword argument to the constructor. Policy object [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | MachineScheduler.cpp | 2453 if (!Policy.ReduceResIdx && !Policy.DemandResIdx) in initResourceDelta() 2460 if (PI->ProcResourceIdx == Policy.ReduceResIdx) in initResourceDelta() 2462 if (PI->ProcResourceIdx == Policy.DemandResIdx) in initResourceDelta() 2494 bool GenericSchedulerBase::shouldReduceLatency(const CandPolicy &Policy, in shouldReduceLatency() argument 2515 void GenericSchedulerBase::setPolicy(CandPolicy &Policy, bool IsPostRA, in setPolicy() argument 2541 (IsPostRA || shouldReduceLatency(Policy, CurrZone, !RemLatencyComputed, in setPolicy() 2543 Policy.ReduceLatency |= true; in setPolicy() 2562 if (CurrZone.isResourceLimited() && !Policy.ReduceResIdx) in setPolicy() 2563 Policy in setPolicy() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUSubtarget.cpp | 548 void GCNSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy() argument 553 Policy.ShouldTrackPressure = true; in overrideSchedPolicy() 557 Policy.OnlyTopDown = false; in overrideSchedPolicy() 558 Policy.OnlyBottomUp = false; in overrideSchedPolicy() 562 Policy.ShouldTrackLaneMasks = true; in overrideSchedPolicy()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyAsmPrinter.cpp | 240 Metadata *Policy = M.getModuleFlag(MDKey); in EmitTargetFeatures() local 241 if (Policy == nullptr) in EmitTargetFeatures() 248 if (auto *MD = cast<ConstantAsMetadata>(Policy)) in EmitTargetFeatures()
|