Home
last modified time | relevance | path

Searched refs:agent_ (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/coordination/
Dcoordination_service_agent_test.cc126 TF_ASSERT_OK(agent_->Initialize( in InitializeAgent()
142 std::unique_ptr<CoordinationServiceAgent> agent_ = member in tensorflow::__anon48c549790111::CoordinationServiceAgentTest
162 auto result = agent_->GetKeyValue(test_key); in TEST_F()
182 auto result = agent_->GetKeyValue(test_key, /*timeout=*/absl::Seconds(10)); in TEST_F()
198 auto result = agent_->GetKeyValue(test_key, /*timeout=*/absl::Seconds(1)); in TEST_F()
224 auto result = agent_->GetKeyValue(test_key, /*timeout=*/absl::Seconds(1)); in TEST_F()
268 auto result = agent_->GetKeyValue(test_key, /*timeout=*/absl::Seconds(10)); in TEST_F()
287 std::shared_ptr<CallOptions> get_kv_call_opts = agent_->GetKeyValueAsync( in TEST_F()
313 auto result = agent_->TryGetKeyValue(test_key); in TEST_F()
333 auto result = agent_->GetKeyValueDir(test_key); in TEST_F()
[all …]
Dcoordination_service_barrier_proxy.h62 agent_(agent), in BarrierProxy()
76 CoordinationServiceAgent* agent_; variable
Dcoordination_service_barrier_proxy.cc59 status_ = agent_->WaitAtBarrier(key_, timeout_, tasks_); in Wait()
72 agent_->CancelBarrier(key_).IgnoreError(); in Wait()
Dcoordination_service_rpc_handler.cc35 agent_ = agent; in SetAgentInstance()
129 if (agent_ == nullptr) { in ReportErrorToTaskAsync()
141 agent_->SetError(error); in ReportErrorToTaskAsync()
Dcoordination_service_rpc_handler.h84 CoordinationServiceAgent* agent_ TF_GUARDED_BY(agent_mu_);
/external/marisa-trie/bindings/ruby/
Dmarisa-swig.cxx85 : agent_(new (std::nothrow) marisa::Agent), buf_(NULL), buf_size_(0) { in Agent()
86 MARISA_THROW_IF(agent_ == NULL, ::MARISA_MEMORY_ERROR); in Agent()
90 delete agent_; in ~Agent()
111 agent_->set_query(buf_, length); in set_query()
115 agent_->set_query(id); in set_query()
119 return reinterpret_cast<const Key &>(agent_->key()); in key()
123 return reinterpret_cast<const Query &>(agent_->query()); in query()
127 *ptr_out = agent_->key().ptr(); in key_str()
128 *length_out = agent_->key().length(); in key_str()
132 return agent_->key().id(); in key_id()
[all …]
Dmarisa-swig.h132 marisa::Agent *agent_;
/external/marisa-trie/bindings/python/
Dmarisa-swig.cxx85 : agent_(new (std::nothrow) marisa::Agent), buf_(NULL), buf_size_(0) { in Agent()
86 MARISA_THROW_IF(agent_ == NULL, ::MARISA_MEMORY_ERROR); in Agent()
90 delete agent_; in ~Agent()
111 agent_->set_query(buf_, length); in set_query()
115 agent_->set_query(id); in set_query()
119 return reinterpret_cast<const Key &>(agent_->key()); in key()
123 return reinterpret_cast<const Query &>(agent_->query()); in query()
127 *ptr_out = agent_->key().ptr(); in key_str()
128 *length_out = agent_->key().length(); in key_str()
132 return agent_->key().id(); in key_id()
[all …]
Dmarisa-swig.h132 marisa::Agent *agent_;
/external/marisa-trie/bindings/
Dmarisa-swig.cxx85 : agent_(new (std::nothrow) marisa::Agent), buf_(NULL), buf_size_(0) { in Agent()
86 MARISA_THROW_IF(agent_ == NULL, ::MARISA_MEMORY_ERROR); in Agent()
90 delete agent_; in ~Agent()
111 agent_->set_query(buf_, length); in set_query()
115 agent_->set_query(id); in set_query()
119 return reinterpret_cast<const Key &>(agent_->key()); in key()
123 return reinterpret_cast<const Query &>(agent_->query()); in query()
127 *ptr_out = agent_->key().ptr(); in key_str()
128 *length_out = agent_->key().length(); in key_str()
132 return agent_->key().id(); in key_id()
[all …]
Dmarisa-swig.h132 marisa::Agent *agent_;
/external/marisa-trie/bindings/perl/
Dmarisa-swig.cxx85 : agent_(new (std::nothrow) marisa::Agent), buf_(NULL), buf_size_(0) { in Agent()
86 MARISA_THROW_IF(agent_ == NULL, ::MARISA_MEMORY_ERROR); in Agent()
90 delete agent_; in ~Agent()
111 agent_->set_query(buf_, length); in set_query()
115 agent_->set_query(id); in set_query()
119 return reinterpret_cast<const Key &>(agent_->key()); in key()
123 return reinterpret_cast<const Query &>(agent_->query()); in query()
127 *ptr_out = agent_->key().ptr(); in key_str()
128 *length_out = agent_->key().length(); in key_str()
132 return agent_->key().id(); in key_id()
[all …]
Dmarisa-swig.h132 marisa::Agent *agent_;
/external/webrtc/p2p/base/
Dwrapping_active_ice_controller.cc43 agent_(*ice_agent) { in WrappingActiveIceController()
51 : network_thread_(rtc::Thread::Current()), agent_(*ice_agent) { in WrappingActiveIceController()
116 agent_.OnStartedPinging(); in MaybeStartPinging()
123 agent_.UpdateConnectionStates(); in SelectAndPingConnection()
126 wrapped_->SelectConnectionToPing(agent_.GetLastPingSentMs()); in SelectAndPingConnection()
135 agent_.SendPingRequest(result.connection.value()); in HandlePingResult()
166 agent_.UpdateConnectionStates(); in SortAndSwitchToBestConnection()
194 agent_.SwitchSelectedConnection(result.connection.value(), in HandleSwitchResult()
211 agent_.ForgetLearnedStateForConnections( in HandleSwitchResult()
220 agent_.UpdateState(); in UpdateStateOnConnectionsResorted()
[all …]
Dport_allocator.h480 return agent_; in user_agent()
490 agent_ = std::string(agent); in set_proxy()
641 std::string agent_; variable
Dwrapping_active_ice_controller.h92 IceAgentInterface& agent_ RTC_GUARDED_BY(network_thread_);
/external/tensorflow/tensorflow/core/distributed_runtime/preemption/
Dpreemption_sync_manager.cc80 CoordinationServiceAgent* agent_; // Not owned. member in tensorflow::__anonf4115fa60111::PreemptionSyncManagerImpl
111 agent_ = agent; in Initialize()
122 [agent = agent_, task_name](StatusOr<absl::Time> death_time) { in Initialize()
146 call_opts_ = agent_->GetKeyValueAsync( in Initialize()
148 [this, agent = agent_](StatusOr<std::string> status_or_death_time) { in Initialize()
219 const Status notified_status = agent_->InsertKeyValue( in ComputeSyncCallCounter()
232 agent_->WaitAtBarrier(kPreemptionBarrier, kPreemptionBarrierTimeout, {}); in ComputeSyncCallCounter()
240 agent_->GetKeyValueDir(kPreemptionCounterDirKey); in ComputeSyncCallCounter()
274 agent_->CancelBarrierAsync(kPreemptionBarrier, [](const Status& status) { in CancelPreemptionBarrier()
/external/openscreen/cast/standalone_receiver/
Dmirroring_application.cc29 agent_(agent) {
31 OSP_DCHECK(agent_);
32 agent_->RegisterApplication(this);
36 agent_->UnregisterApplication(this); // ApplicationAgent may call Stop(). in ~MirroringApplication()
92 agent_->StopApplicationIfRunning(this); // ApplicationAgent calls Stop(). in OnPlaybackError()
Dcast_service.cc48 agent_(config.task_runner, credentials_.provider.get()), in CastService()
51 &agent_), in CastService()
52 socket_factory_(&agent_, agent_.cast_socket_client()), in CastService()
Dcast_service.h79 ApplicationAgent agent_; variable
Dmirroring_application.h58 ApplicationAgent* const agent_; variable
/external/openscreen/cast/receiver/
Dapplication_agent_unittest.cc155 agent_.RegisterApplication(&idle_app_, true); in ApplicationAgentTest()
163 ApplicationAgent* agent() { return &agent_; } in agent()
203 static_cast<ReceiverSocketFactory::Client*>(&agent_)->OnConnected( in ConnectAndDoAuth()
246 ApplicationAgent agent_{&task_runner_, &creds_}; member in openscreen::cast::__anon4c36d3aa0111::ApplicationAgentTest
/external/webrtc/rtc_base/
Dsocket_adapters.h118 std::string agent_, user_, headers_; variable
Dsocket_adapters.cc228 agent_(user_agent), in AsyncHttpsProxySocket()
348 ss << "User-Agent: " << agent_ << "\r\n"; in SendRequest()