Searched refs:policy_ (Results 1 – 14 of 14) sorted by relevance
/external/libbrillo/brillo/ |
D | backoff_entry.cc | 18 : 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 …]
|
D | backoff_entry.h | 108 const Policy* const policy_; variable
|
/external/webrtc/webrtc/base/ |
D | winfirewall.cc | 31 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()
|
D | winfirewall.h | 48 INetFwPolicy* policy_; variable
|
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | sandbox_bpf.cc | 124 : proc_fd_(), sandbox_has_started_(false), policy_(policy) { in SandboxBPF() 149 DCHECK(policy_); in StartSandbox() 221 DCHECK(policy_); in AssembleFilter() 223 bpf_dsl::PolicyCompiler compiler(policy_.get(), Trap::Registry()); in AssembleFilter() 254 policy_.reset(); in InstallFilter()
|
D | sandbox_bpf.h | 108 std::unique_ptr<bpf_dsl::Policy> policy_; variable
|
/external/libchrome/sandbox/linux/bpf_dsl/ |
D | policy_compiler.cc | 91 : policy_(policy), in PolicyCompiler() 96 has_unsafe_traps_(HasUnsafeTraps(policy_)) { in PolicyCompiler() 104 CHECK(policy_->InvalidSyscall()->IsDeny()) in Compile() 112 CHECK(policy_->EvaluateSyscall(sysnum)->IsAllow()) in Compile() 227 const CodeGen::Node invalid_node = CompileResult(policy_->InvalidSyscall()); in FindRanges() 231 ? CompileResult(policy_->EvaluateSyscall(old_sysnum)) in FindRanges() 237 ? CompileResult(policy_->EvaluateSyscall(static_cast<int>(sysnum))) in FindRanges()
|
D | policy_compiler.h | 139 const Policy* policy_; variable
|
/external/libchrome/sandbox/linux/syscall_broker/ |
D | broker_process.cc | 42 policy_(denied_errno, permissions) { in BrokerProcess() 78 broker_client_.reset(new BrokerClient(policy_, std::move(ipc_writer), in Init() 88 BrokerHost broker_host(policy_, std::move(ipc_reader)); in Init()
|
D | broker_process.h | 84 syscall_broker::BrokerPolicy policy_; // The sandboxing policy. variable
|
/external/libbrillo/policy/ |
D | device_policy_impl.cc | 116 if (!policy_.ParseFromString(polstr) || !policy_.has_policy_data()) { in LoadPolicy() 120 policy_data_.ParseFromString(policy_.policy_data()); in LoadPolicy() 447 if (policy_.has_policy_data_signature()) { in VerifyPolicySignature() 448 std::string policy_data = policy_.policy_data(); in VerifyPolicySignature() 449 std::string policy_data_signature = policy_.policy_data_signature(); in VerifyPolicySignature()
|
D | device_policy_impl.h | 77 enterprise_management::PolicyFetchResponse policy_; variable
|
/external/protobuf/conformance/third_party/jsoncpp/ |
D | jsoncpp.cpp | 2637 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()
|
D | json.h | 617 unsigned policy_: 2; member
|