Home
last modified time | relevance | path

Searched refs:policy_ (Results 1 – 22 of 22) sorted by relevance

/external/libbrillo/brillo/
Dbackoff_entry.cc18 : policy_(policy) { in BackoffEntry()
19 DCHECK(policy_); in BackoffEntry()
46 if (policy_->always_use_initial_delay) in InformOfRequest()
47 delay = base::TimeDelta::FromMilliseconds(policy_->initial_delay_ms); in InformOfRequest()
73 if (policy_->entry_lifetime_ms == -1) in CanDiscard()
88 return unused_since_ms >= std::max(policy_->maximum_backoff_ms, in CanDiscard()
89 policy_->entry_lifetime_ms); in CanDiscard()
94 return unused_since_ms >= policy_->entry_lifetime_ms; in CanDiscard()
114 std::max(0, failure_count_ - policy_->num_errors_to_ignore); in CalculateReleaseTime()
118 if (policy_->always_use_initial_delay) in CalculateReleaseTime()
[all …]
Dbackoff_entry.h108 const Policy* const policy_; variable
/external/webrtc/webrtc/base/
Dwinfirewall.cc31 WinFirewall::WinFirewall() : mgr_(NULL), policy_(NULL), profile_(NULL) { in WinFirewall()
51 hr = mgr_->get_LocalPolicy(&policy_); in Initialize()
52 if (SUCCEEDED(hr) && (policy_ != NULL)) in Initialize()
53 hr = policy_->get_CurrentProfile(&profile_); in Initialize()
62 RELEASE(policy_); in Shutdown()
Dwinfirewall.h48 INetFwPolicy* policy_; variable
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h217 LoadBalancingPolicy* policy() const { return policy_; } in policy()
253 LoadBalancingPolicy* policy_; variable
491 policy_(policy), in SubchannelList()
527 tracer_->name(), policy_, address_uri); in SubchannelList()
538 tracer_->name(), policy_, this, subchannels_.size(), subchannel, in SubchannelList()
551 policy_, this); in ~SubchannelList()
560 tracer_->name(), policy_, this); in ShutdownLocked()
/external/ImageMagick/Magick++/lib/
DFunctions.cpp55 MagickPPExport bool Magick::SetSecurityPolicy(const std::string &policy_) in SetSecurityPolicy() argument
61 status=MagickCore::SetMagickSecurityPolicy(policy_.c_str(), in SetSecurityPolicy()
/external/libchrome/base/
Dobserver_list_threadsafe.h103 : policy_(policy) {}
125 if (policy_ == ObserverListPolicy::ALL) {
222 const ObserverListPolicy policy_ = ObserverListPolicy::ALL;
Dobserver_list.h116 max_index_(list->policy_ == ObserverListPolicy::ALL in Iter()
226 explicit ObserverList(ObserverListPolicy policy) : policy_(policy) {} in ObserverList()
297 const ObserverListPolicy policy_ = ObserverListPolicy::ALL; variable
/external/libbrillo/policy/
Ddevice_policy_impl.cc688 if (policy_.has_policy_data_signature()) { in VerifyPolicySignature()
689 std::string policy_data = policy_.policy_data(); in VerifyPolicySignature()
690 std::string policy_data_signature = policy_.policy_data_signature(); in VerifyPolicySignature()
708 if (policy::LoadPolicyFromPath(policy_path, &policy_data_str, &policy_) != in LoadPolicyFromFile()
712 if (!policy_.has_policy_data()) { in LoadPolicyFromFile()
716 if (!policy_data_.ParseFromString(policy_.policy_data()) || in LoadPolicyFromFile()
Ddevice_policy_impl.h131 enterprise_management::PolicyFetchResponse policy_; variable
/external/ImageMagick/Magick++/lib/Magick++/
DFunctions.h35 MagickPPExport bool SetSecurityPolicy(const std::string &policy_);
/external/libchrome/base/synchronization/
Dwaitable_event.h224 const ResetPolicy policy_; variable
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.cc58 : policy_(default_policy), in EagerContext()
164 return policy_; in GetDevicePlacementPolicy()
Dcontext.h250 const ContextDevicePlacementPolicy policy_; variable
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2619 storage_.policy_ = allocate; in CZString()
2624 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2628 storage_.policy_ = (other.cstr_ in CZString()
2629 ? (other.storage_.policy_ == noDuplication in CZString()
2631 : other.storage_.policy_); in CZString()
2636 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2679 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2619 storage_.policy_ = allocate; in CZString()
2624 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2628 storage_.policy_ = (other.cstr_ in CZString()
2629 ? (other.storage_.policy_ == noDuplication in CZString()
2631 : other.storage_.policy_); in CZString()
2636 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2679 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
/external/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2637 storage_.policy_ = allocate & 0x3; in CZString()
2642 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2645 storage_.policy_ = (other.cstr_ in CZString()
2646 ? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication in CZString()
2648 : static_cast<DuplicationPolicy>(other.storage_.policy_)); in CZString()
2660 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2703 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
Djson.h617 unsigned policy_: 2; member
/external/shaderc/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2619 storage_.policy_ = allocate; in CZString()
2624 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2628 storage_.policy_ = (other.cstr_ in CZString()
2629 ? (other.storage_.policy_ == noDuplication in CZString()
2631 : other.storage_.policy_); in CZString()
2636 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2679 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
/external/shaderc/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h571 unsigned policy_: 2; member
/external/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h571 unsigned policy_: 2; member
/external/deqp-deps/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h571 unsigned policy_: 2; member