Home
last modified time | relevance | path

Searched refs:exchanges_ (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_state.cc92 exchanges_.emplace(exchanges_.end(), request_buf, response, std::move(cb), in Emplace()
103 for (Exchange& e : exchanges_) { in GetReadyForRequestWriting()
120 if (exchanges_.empty()) { in GetReadyForResponseReading()
123 Exchange& e = exchanges_[0]; in GetReadyForResponseReading()
133 for (Exchange& e : exchanges_) { in MarkRequestWriteCompleted()
143 return exchanges_.front(); in GetFront()
148 exchanges_.pop_front(); in PopFront()
152 return absl::StrJoin(exchanges_, ", ", [](string* out, const Exchange& e) { in DebugString()
158 exchanges_.swap(other->exchanges_); in Swap()
163 for (Exchange& exchange : exchanges_) { in CompleteAll()
[all …]
Dgrpc_state.h374 std::deque<Exchange> exchanges_; variable
425 exchanges_.Emplace(request_buf, response, done, in SendNextRequest()
428 exchanges_.Emplace(request_buf, response, done, ""); in SendNextRequest()
442 exchanges_.CallStarted(); in CallStarted()
465 exchanges_.MarkRequestWriteCompleted(); in RequestWriteCompleted()
491 e = &exchanges_.GetFront(); in ResponseReadCompleted()
498 exchanges_.PopFront(); in ResponseReadCompleted()
526 return exchanges_.DebugString(); in DebugString()
546 exchanges_.Swap(&queue); in MarkDoneAndCompleteExchanges()
552 Exchange* exchange = exchanges_.GetReadyForRequestWriting(); in MaybeIssueRequestWriteLocked()
[all …]