Home
last modified time | relevance | path

Searched refs:Policy (Results 1 – 25 of 863) sorted by relevance

12345678910>>...35

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DCachePruning.cpp78 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.MaxSizePercentageOfAvailableSpace, 100u); in pruneCache()
[all …]
/external/clang/lib/AST/
DTypePrinter.cpp33 PrintingPolicy &Policy; member in __anon3cc47c9e0111::IncludeStrongLifetimeRAII
37 explicit IncludeStrongLifetimeRAII(PrintingPolicy &Policy) in IncludeStrongLifetimeRAII() argument
38 : Policy(Policy), Old(Policy.SuppressStrongLifetime) { in IncludeStrongLifetimeRAII()
39 if (!Policy.SuppressLifetimeQualifiers) in IncludeStrongLifetimeRAII()
40 Policy.SuppressStrongLifetime = false; in IncludeStrongLifetimeRAII()
44 Policy.SuppressStrongLifetime = Old; in ~IncludeStrongLifetimeRAII()
49 PrintingPolicy &Policy; member in __anon3cc47c9e0111::ParamPolicyRAII
53 explicit ParamPolicyRAII(PrintingPolicy &Policy) in ParamPolicyRAII() argument
54 : Policy(Policy), Old(Policy.SuppressSpecifiers) { in ParamPolicyRAII()
55 Policy.SuppressSpecifiers = false; in ParamPolicyRAII()
[all …]
DDeclPrinter.cpp30 PrintingPolicy Policy; member in __anonb61d32140111::DeclPrinter
50 DeclPrinter(raw_ostream &Out, const PrintingPolicy &Policy, in DeclPrinter() argument
52 : Out(Out), Policy(Policy), Indentation(Indentation), in DeclPrinter()
111 void Decl::print(raw_ostream &Out, const PrintingPolicy &Policy, in print() argument
113 DeclPrinter Printer(Out, Policy, Indentation, PrintInstantiation); in print()
152 raw_ostream &Out, const PrintingPolicy &Policy, in printGroup() argument
155 (*Begin)->print(Out, Policy, Indentation); in printGroup()
164 PrintingPolicy SubPolicy(Policy); in printGroup()
201 if (Policy.PolishForDeclaration) in prettyPrintAttributes()
213 A->printPretty(Out, Policy); in prettyPrintAttributes()
[all …]
DStmtPrinter.cpp40 PrintingPolicy Policy; member in __anon61614ae40111::StmtPrinter
44 const PrintingPolicy &Policy, in StmtPrinter() argument
46 : OS(os), IndentLevel(Indentation), Helper(helper), Policy(Policy) {} in StmtPrinter()
49 PrintStmt(S, Policy.Indentation); in PrintStmt()
126 D->print(OS, Policy, IndentLevel); in PrintRawDecl()
131 Decl::printGroup(Decls.data(), Decls.size(), OS, Policy, IndentLevel); in PrintRawDeclStmt()
174 Attr->printPretty(OS, Policy); in VisitAttributedStmt()
315 PrintingPolicy SubPolicy(Policy); in VisitCXXForRangeStmt()
323 if (Policy.IncludeNewlines) OS << "\n"; in VisitCXXForRangeStmt()
335 Qualifier->print(OS, Policy); in VisitMSDependentExistsStmt()
[all …]
/external/crosvm/sandbox/src/
Dpolicy.rs15 pub struct Policy { struct
37 pub const MAIN: Policy = Policy {
55 pub const METRICS: Policy = Policy {
70 pub const BLOCK: Policy = Policy {
85 pub const NET: Policy = Policy {
101 pub const SLIRP: Policy = Policy {
118 pub const GPU: Policy = Policy {
134 pub const SND: Policy = Policy {
/external/perfetto/src/protozero/filtering/
Dstring_filter_unittest.cc27 filter.AddRule(StringFilter::Policy::kMatchRedactGroups, in TEST()
37 filter.AddRule(StringFilter::Policy::kMatchRedactGroups, in TEST()
47 filter.AddRule(StringFilter::Policy::kMatchRedactGroups, in TEST()
57 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
67 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
77 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
87 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
97 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
107 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, in TEST()
117 filter.AddRule(StringFilter::Policy::kAtraceMatchRedactGroups, R"(E\|\d+)", in TEST()
[all …]
Dstring_filter_benchmark.cc29 using Policy = protozero::StringFilter::Policy; typedef
55 Policy policy, in Benchmark()
81 Benchmark(state, Policy::kMatchRedactGroups, in BM_ProtozeroStringRewriterRedactMissing()
90 Benchmark(state, Policy::kAtraceMatchRedactGroups, in BM_ProtozeroStringRewriterAtraceRedactMissing()
98 Benchmark(state, Policy::kMatchRedactGroups, in BM_ProtozeroStringRewriterRedactRare()
107 Benchmark(state, Policy::kAtraceMatchRedactGroups, in BM_ProtozeroStringRewriterAtraceRedactRare()
115 Benchmark(state, Policy::kMatchRedactGroups, in BM_ProtozeroStringRewriterRedactCommon()
124 Benchmark(state, Policy::kAtraceMatchRedactGroups, in BM_ProtozeroStringRewriterAtraceRedactCommon()
/external/tensorflow/third_party/absl/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h31 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)...);
101 Policy::destroy(alloc, slot);
122 template <class P = Policy>
133 template <class P = Policy>
[all …]
Dnode_slot_policy.h48 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>
/external/openscreen/third_party/abseil/src/absl/container/internal/
Dhash_policy_traits.h31 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)...);
101 Policy::destroy(alloc, slot);
122 template <class P = Policy>
133 template <class P = Policy>
[all …]
Dnode_hash_policy.h48 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>
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h31 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)...);
101 Policy::destroy(alloc, slot);
122 template <class P = Policy>
133 template <class P = Policy>
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h31 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)...);
101 Policy::destroy(alloc, slot);
122 template <class P = Policy>
133 template <class P = Policy>
[all …]
Dnode_hash_policy.h48 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>
/external/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h31 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)...);
101 Policy::destroy(alloc, slot);
122 template <class P = Policy>
133 template <class P = Policy>
[all …]
Dnode_slot_policy.h48 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>
/external/cronet/third_party/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h32 template <class Policy, class = void>
33 struct hash_policy_traits : common_policy_traits<Policy> {
35 using key_type = typename Policy::key_type;
65 template <class P = Policy, class = void>
74 using slot_type = typename Policy::slot_type;
79 using init_type = typename Policy::init_type;
81 using reference = decltype(Policy::element(std::declval<slot_type*>()));
97 template <class P = Policy>
131 template <class F, class... Ts, class P = Policy>
139 template <class P = Policy>
[all …]
Dnode_slot_policy.h48 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>
/external/angle/third_party/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h32 template <class Policy, class = void>
33 struct hash_policy_traits : common_policy_traits<Policy> {
35 using key_type = typename Policy::key_type;
65 template <class P = Policy, class = void>
74 using slot_type = typename Policy::slot_type;
79 using init_type = typename Policy::init_type;
81 using reference = decltype(Policy::element(std::declval<slot_type*>()));
97 template <class P = Policy>
131 template <class F, class... Ts, class P = Policy>
139 template <class P = Policy>
[all …]
Dnode_slot_policy.h48 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>
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Dhash_policy_traits.h32 template <class Policy, class = void>
33 struct hash_policy_traits : common_policy_traits<Policy> {
35 using key_type = typename Policy::key_type;
65 template <class P = Policy, class = void>
74 using slot_type = typename Policy::slot_type;
79 using init_type = typename Policy::init_type;
81 using reference = decltype(Policy::element(std::declval<slot_type*>()));
97 template <class P = Policy>
131 template <class F, class... Ts, class P = Policy>
139 template <class P = Policy>
[all …]
Dcommon_policy_traits.h32 template <class Policy, class = void>
35 using slot_type = typename Policy::slot_type;
36 using reference = decltype(Policy::element(std::declval<slot_type*>()));
43 Policy::construct(alloc, slot, std::forward<Args>(args)...); in construct()
50 Policy::destroy(alloc, slot); in destroy()
73 template <class P = Policy>
78 template <class P = Policy>
85 template <class Alloc, class P = Policy>
Dnode_slot_policy.h48 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>
/external/autotest/client/cros/enterprise/
Dtest_policy.py33 test_policy = policy.Policy()
46 test_policy = policy.Policy()
55 test_policy = policy.Policy()
64 test_policy = policy.Policy()
73 test_policy = policy.Policy()
86 test_policy = policy.Policy()
102 test_policy = policy.Policy()
106 test_policy2 = policy.Policy()
112 test_policy3 = policy.Policy()
118 test_policy = policy.Policy()
[all …]
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dpolicy.py32 class Policy(object): class
313 class PolicyV1(Policy):
440 return Policy(backend.floatx())
442 return Policy('_infer')
505 if policy is not None and not isinstance(policy, Policy):
506 policy = Policy(policy)
565 return (type(policy) == Policy and # pylint: disable=unidiomatic-typecheck
581 return Policy(config)
583 return Policy('_infer')
584 module_objects = {'Policy': Policy, 'PolicyV1': Policy}

12345678910>>...35