Home
last modified time | relevance | path

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

123456

/external/libbrillo/brillo/
Dbackoff_entry.h22 struct Policy { struct
25 int num_errors_to_ignore;
31 int initial_delay_ms;
34 double multiply_factor;
60 explicit BackoffEntry(const Policy* const policy); argument
/external/libtextclassifier/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 …]
/external/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 …]
/external/rust/crates/grpcio-sys/grpc/third_party/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 …]
/external/angle/third_party/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()
/external/openscreen/third_party/abseil/src/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 …]
/external/webrtc/third_party/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 …]
/external/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() function
220 Affinity get(uint32_t threadId, Allocator* allocator) const override { in oneOf()
/external/rust/crates/clap/
DREADME.md435 #### Warning about '~' Dependencies
456 #### Minimum Version of Rust
464 #### Breaking Changes
472 #### Compatibility with Wasm
/external/llvm-project/clang/lib/Sema/
DDeclSpec.cpp541 const PrintingPolicy &Policy) { in getSpecifierName()
618 const PrintingPolicy &Policy) { in SetStorageClassSpec()
693 const PrintingPolicy &Policy) { in SetTypeSpecWidth()
731 const PrintingPolicy &Policy) { in SetTypeSpecType()
740 const PrintingPolicy &Policy) { in SetTypeSpecType()
762 const PrintingPolicy &Policy) { in SetTypeSpecType()
784 const PrintingPolicy &Policy) { in SetTypeSpecType()
793 const PrintingPolicy &Policy) { in SetTypeSpecType()
814 const PrintingPolicy &Policy) { in SetTypeSpecType()
824 const PrintingPolicy &Policy) { in SetTypeSpecType()
[all …]
/external/clang/lib/Sema/
DDeclSpec.cpp448 const PrintingPolicy &Policy) { in getSpecifierName()
505 const PrintingPolicy &Policy) { in SetStorageClassSpec()
580 const PrintingPolicy &Policy) { in SetTypeSpecWidth()
616 const PrintingPolicy &Policy) { in SetTypeSpecType()
625 const PrintingPolicy &Policy) { in SetTypeSpecType()
645 const PrintingPolicy &Policy) { in SetTypeSpecType()
665 const PrintingPolicy &Policy) { in SetTypeSpecType()
674 const PrintingPolicy &Policy) { in SetTypeSpecType()
694 const PrintingPolicy &Policy) { in SetTypeSpecType()
715 const PrintingPolicy &Policy) { in SetTypeAltiVecVector()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DHover.cpp52 PrintingPolicy Policy(Base); in printingPolicyForDecls() local
71 PrintingPolicy Policy = D->getASTContext().getPrintingPolicy(); in getLocalScope() local
113 PrintingPolicy Policy = in printDefinition() local
123 std::string printType(QualType QT, const PrintingPolicy &Policy) { in printType()
293 const PrintingPolicy &Policy) { in toHoverInfoParam()
309 const PrintingPolicy &Policy) { in fillFunctionTypeAndParams()
506 PrintingPolicy Policy = printingPolicyForDecls(Ctx.getPrintingPolicy()); in getHoverContents() local
567 auto Policy = printingPolicyForDecls(ASTCtx.getPrintingPolicy()); in getHoverContents() local
643 auto Policy = in getHoverContents() local
717 const PrintingPolicy &Policy) { in maybeAddCalleeArgInfo()
/external/clang/lib/AST/
DTemplateBase.cpp39 raw_ostream &Out, const PrintingPolicy& Policy) { in printIntegral()
354 void TemplateArgument::print(const PrintingPolicy &Policy, in print()
509 PrintingPolicy Policy(LangOpts); in operator <<() local
520 PrintingPolicy Policy(LangOpts); in operator <<() local
/external/llvm-project/clang/lib/AST/
DTemplateBase.cpp54 raw_ostream &Out, const PrintingPolicy& Policy) { in printIntegral()
342 void TemplateArgument::print(const PrintingPolicy &Policy, in print()
495 PrintingPolicy Policy(LangOpts); in DiagTemplateArg() local
506 PrintingPolicy Policy(LangOpts); in DiagTemplateArg() local
/external/llvm-project/clang/unittests/AST/
DDeclPrinterTest.cpp38 PrintingPolicy Policy = Context->getPrintingPolicy(); in PrintDecl() local
265 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
273 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
280 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
287 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
295 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
302 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
309 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
316 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
323 [](PrintingPolicy &Policy) { Policy.TerseOutput = false; })); in TEST()
[all …]
/external/conscrypt/android-stub/src/main/java/dalvik/system/
DBlockGuard.java26 public interface Policy { void onNetwork(); } in onNetwork() interface in BlockGuard
/external/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()
/external/llvm-project/llvm/lib/Support/
DCachePruning.cpp78 CachePruningPolicy Policy; in parseCachePruningPolicy() local
144 bool llvm::pruneCache(StringRef Path, CachePruningPolicy Policy) { in pruneCache()

123456