Home
last modified time | relevance | path

Searched refs:calls_ (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/platform/
Dretrying_file_system_test.cc42 explicit MockCallSequence(const ExpectedCalls& calls) : calls_(calls) {} in MockCallSequence()
45 EXPECT_TRUE(calls_.empty()) in ~MockCallSequence()
47 << "the next expected call: " << std::get<0>(calls_.front()); in ~MockCallSequence()
51 EXPECT_FALSE(calls_.empty()) << "No more calls were expected."; in ConsumeNextCall()
52 auto call = calls_.front(); in ConsumeNextCall()
53 calls_.erase(calls_.begin()); in ConsumeNextCall()
59 ExpectedCalls calls_; member in tensorflow::__anon4b079d520111::MockCallSequence
64 explicit MockRandomAccessFile(const ExpectedCalls& calls) : calls_(calls) {} in MockRandomAccessFile()
66 return calls_.ConsumeNextCall("Name"); in Name()
70 return calls_.ConsumeNextCall("Read"); in Read()
[all …]
/external/pigweed/pw_rpc/
Dclient.cc48 auto call = std::find_if(calls_.begin(), calls_.end(), [&](auto& c) { in ProcessPacket()
63 if (call == calls_.end()) { in ProcessPacket()
86 auto existing_call = std::find_if(calls_.begin(), calls_.end(), [&](auto& c) { in RegisterCall()
91 if (existing_call != calls_.end()) { in RegisterCall()
97 calls_.push_front(call); in RegisterCall()
/external/tensorflow/tensorflow/core/lib/gtl/
Dcleanup_test.cc176 int calls_ = 0; member in tensorflow::__anon79fa1d8b0111::CleanupReferenceTest
177 F f_ = F(&copies_, &calls_);
219 EXPECT_EQ(0, calls_); in TEST_F()
224 EXPECT_EQ(0, calls_); in TEST_F()
227 EXPECT_EQ(1, calls_); in TEST_F()
231 EXPECT_EQ(1, calls_); in TEST_F()
234 EXPECT_EQ(1, calls_); in TEST_F()
237 EXPECT_EQ(1, calls_); in TEST_F()
240 EXPECT_EQ(2, calls_); in TEST_F()
248 EXPECT_EQ(0, calls_); in TEST_F()
[all …]
/external/pigweed/pw_rpc/public/pw_rpc/
Dclient.h50 size_t active_calls() const { return calls_.size(); } in active_calls()
56 void RemoveCall(const internal::BaseClientCall& call) { calls_.remove(call); } in RemoveCall()
59 IntrusiveList<internal::BaseClientCall> calls_; variable
/external/webrtc/modules/audio_processing/test/
Dapi_call_statistics.cc25 calls_.push_back(CallData(duration_nanos, call_type)); in Add()
40 for (auto v : calls_) { in PrintReport()
78 for (auto v : calls_) { in WriteReportToFile()
Dapi_call_statistics.h40 std::vector<CallData> calls_; variable
/external/tensorflow/tensorflow/compiler/xla/service/
Dheap_simulator_test.cc233 explicit HeapCallRecorder(CallSequence* calls) : calls_(calls) {} in HeapCallRecorder()
237 calls_->emplace_back(kAlloc, buffer); in Alloc()
247 calls_->emplace_back(kShare, buffer); in ShareWith()
255 calls_->emplace_back(kFree, buffer); in Free()
258 calls_->emplace_back(kFinish, nullptr); in Finish()
266 CallSequence* calls_; member in xla::__anon44f19eea0111::HeapCallRecorder
/external/webrtc/call/adaptation/
Dvideo_stream_adapter_unittest.cc143 calls_++; in OnVideoSourceRestrictionsUpdated()
147 int calls() const { return calls_; } in calls()
154 int calls_ = 0; member in webrtc::__anon1cbf89c20111::FakeVideoStreamAdapterListner
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster_session.cc504 explicit RunManyGraphs(int num) : calls_(num), pending_(num) {} in RunManyGraphs()
516 Call* get(int index) { return &calls_[index]; } in get()
566 for (const Call& call : calls_) { in Wait()
583 gtl::InlinedVector<Call, 4> calls_; member in tensorflow::__anon4940402c0411::RunManyGraphs
598 for (Call& call : calls_) { in ReportBadStatus()