Home
last modified time | relevance | path

Searched defs:Policy (Results 1 – 15 of 15) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dnode_hash_policy_test.cc30 struct Policy : node_hash_policy<int&, Policy> { struct
31 using key_type = int;
32 using init_type = int;
35 static int* new_element(Alloc* alloc, int value) { in new_element()
40 static void delete_element(Alloc* alloc, int* elem) { in delete_element()
Draw_hash_set_allocator_test.cc129 struct Policy { struct
130 using slot_type = Tracked<int32_t>;
131 using init_type = Tracked<int32_t>;
132 using key_type = int32_t;
135 static void construct(allocator_type* alloc, slot_type* slot, in construct()
142 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy()
147 static void transfer(allocator_type* alloc, slot_type* new_slot, in transfer()
154 static auto apply(F&& f, int32_t v) -> decltype(std::forward<F>(f)(v, v)) { in apply()
159 static auto apply(F&& f, const slot_type& v) in apply()
165 static auto apply(F&& f, slot_type&& v) in apply()
[all …]
Draw_hash_set_probe_benchmark.cc48 struct Policy { struct
49 using slot_type = T;
50 using key_type = T;
51 using init_type = T;
54 static void construct(allocator_type* alloc, slot_type* slot, in construct()
60 static void destroy(allocator_type* alloc, slot_type* slot) { in destroy()
64 static slot_type& element(slot_type* slot) { return *slot; } in element()
67 static auto apply(F&& f, const slot_type& arg) in apply()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/
Dthread.cpp185 struct Policy : public Thread::Affinity::Policy { in anyOf() struct
186 Affinity affinity; in anyOf()
187 Policy(Affinity&& affinity) : affinity(std::move(affinity)) {} in anyOf() argument
189 Affinity get(uint32_t threadId, Allocator* allocator) const override { in anyOf()
216 struct Policy : public Thread::Affinity::Policy { in oneOf() struct
217 Affinity affinity; in oneOf()
218 Policy(Affinity&& affinity) : affinity(std::move(affinity)) {} in oneOf() argument
220 Affinity get(uint32_t threadId, Allocator* allocator) const override { in oneOf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCachePruning.cpp78 CachePruningPolicy Policy; in parseCachePruningPolicy() local
144 bool llvm::pruneCache(StringRef Path, CachePruningPolicy Policy) { in pruneCache()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCSubtarget.cpp214 void PPCSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64Subtarget.cpp265 void AArch64Subtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/LTO/legacy/
DThinLTOCodeGenerator.h128 CachePruningPolicy Policy; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetSubtargetInfo.h224 virtual void overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy()
DMachineScheduler.h847 CandPolicy Policy; member
/third_party/python/Lib/email/
D_policybase.py112 class Policy(_PolicyBase, metaclass=abc.ABCMeta): class
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyAsmPrinter.cpp240 Metadata *Policy = M.getModuleFlag(MDKey); in EmitTargetFeatures() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSubtarget.cpp548 void GCNSubtarget::overrideSchedPolicy(MachineSchedPolicy &Policy, in overrideSchedPolicy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineScheduler.cpp2494 bool GenericSchedulerBase::shouldReduceLatency(const CandPolicy &Policy, in shouldReduceLatency()
2515 void GenericSchedulerBase::setPolicy(CandPolicy &Policy, bool IsPostRA, in setPolicy()
/third_party/python/Lib/test/test_asyncio/
Dtest_events.py2745 class Policy(asyncio.DefaultEventLoopPolicy): class