Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_model.h111 listeners_.push_back(listener); in AddListener()
117 listeners_.resize(index); in RemoveListeners()
120 int NumListeners() const { return listeners_.size(); } in NumListeners()
123 for (auto listener : listeners_) { in OnBenchmarkStart()
129 for (auto listener : listeners_) { in OnSingleRunStart()
135 for (auto listener : listeners_) { in OnSingleRunEnd()
141 for (auto listener : listeners_) { in OnBenchmarkEnd()
150 std::vector<BenchmarkListener*> listeners_;
182 listeners_.AddListener(listener); in AddListener()
185 void RemoveListeners(int index) { listeners_.RemoveListeners(index); } in RemoveListeners()
[all …]
Dbenchmark_model.cc164 listeners_.OnSingleRunStart(run_type); in Run()
168 listeners_.OnSingleRunEnd(); in Run()
224 listeners_.OnBenchmarkStart(params_); in Run()
239 listeners_.OnBenchmarkEnd({model_size_mb, startup_latency_us, input_bytes, in Run()
/external/tensorflow/tensorflow/stream_executor/
Dstream_executor_pimpl.cc100 for (TraceListener *listener : stream_exec_->listeners_) { in Trace()
839 if (listeners_.find(listener) != listeners_.end()) { in RegisterTraceListener()
843 listeners_.insert(listener); in RegisterTraceListener()
853 if (listeners_.find(listener) == listeners_.end()) { in UnregisterTraceListener()
857 listeners_.erase(listener); in UnregisterTraceListener()
874 for (TraceListener *listener : listeners_) { in SubmitTrace()
Dmulti_platform_manager.cc84 std::vector<std::unique_ptr<Listener>> listeners_ TF_GUARDED_BY(mu_);
107 for (const auto& listener : listeners_) { in RegisterPlatform()
185 listeners_.push_back(std::move(listener)); in RegisterListener()
Dstream_executor_pimpl.h739 std::set<TraceListener *> listeners_ TF_GUARDED_BY(mu_);
/external/llvm/utils/unittest/googletest/src/
Dgtest.cc2900 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
2906 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
2910 listeners_.push_back(listener); in Append()
2915 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
2916 if (listeners_[i] == listener) { in Release()
2917 listeners_.erase(listeners_.begin() + i); in Release()
2930 for (size_t i = 0; i < listeners_.size(); i++) { \
2931 listeners_[i]->Name(parameter); \
2940 for (int i = static_cast<int>(listeners_.size()) - 1; i >= 0; i--) { \
2941 listeners_[i]->Name(parameter); \
[all …]
Dgtest-internal-inl.h581 TestEventListeners* listeners() { return &listeners_; } in listeners()
869 TestEventListeners listeners_; variable
/external/rust/crates/grpcio-sys/grpc/src/core/lib/surface/
Dserver.cc560 listeners_.emplace_back(std::move(listener)); in AddListener()
592 for (auto& listener : listeners_) { in Start()
722 if (!channels_.empty() || listeners_destroyed_ < listeners_.size()) { in MaybeFinishShutdown()
730 channels_.size(), listeners_.size() - listeners_destroyed_, in MaybeFinishShutdown()
731 listeners_.size()); in MaybeFinishShutdown()
823 for (auto& listener : listeners_) { in ShutdownAndNotify()
853 listeners_.empty()); in Orphan()
854 GPR_ASSERT(listeners_destroyed_ == listeners_.size()); in Orphan()
Dserver.h394 std::list<Listener> listeners_; variable
/external/llvm-project/llvm/utils/unittest/googletest/src/
Dgtest.cc3267 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
3273 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
3277 listeners_.push_back(listener); in Append()
3282 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
3283 if (listeners_[i] == listener) { in Release()
3284 listeners_.erase(listeners_.begin() + i); in Release()
3297 for (size_t i = 0; i < listeners_.size(); i++) { \
3298 listeners_[i]->Name(parameter); \
3307 for (int i = static_cast<int>(listeners_.size()) - 1; i >= 0; i--) { \
3308 listeners_[i]->Name(parameter); \
[all …]
Dgtest-internal-inl.h590 TestEventListeners* listeners() { return &listeners_; } in listeners()
884 TestEventListeners listeners_; variable
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc3336 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
3342 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
3346 listeners_.push_back(listener); in Append()
3351 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
3352 if (listeners_[i] == listener) { in Release()
3353 listeners_.erase(listeners_.begin() + i); in Release()
3366 for (size_t i = 0; i < listeners_.size(); i++) { \
3367 listeners_[i]->Name(parameter); \
3376 for (int i = static_cast<int>(listeners_.size()) - 1; i >= 0; i--) { \
3377 listeners_[i]->Name(parameter); \
[all …]
Dgtest-internal-inl.h596 TestEventListeners* listeners() { return &listeners_; } in listeners()
886 TestEventListeners listeners_; variable
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/src/
Dgtest.cc3388 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
3394 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
3398 listeners_.push_back(listener); in Append()
3402 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
3403 if (listeners_[i] == listener) { in Release()
3404 listeners_.erase(listeners_.begin() + i); in Release()
3417 for (size_t i = 0; i < listeners_.size(); i++) { \
3418 listeners_[i]->Name(parameter); \
3427 for (int i = static_cast<int>(listeners_.size()) - 1; i >= 0; i--) { \
3428 listeners_[i]->Name(parameter); \
[all …]
Dgtest-internal-inl.h605 TestEventListeners* listeners() { return &listeners_; } in listeners()
902 TestEventListeners listeners_; variable
/external/mesa3d/src/gtest/src/
Dgtest.cc3426 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
3432 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
3436 listeners_.push_back(listener); in Append()
3440 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
3441 if (listeners_[i] == listener) { in Release()
3442 listeners_.erase(listeners_.begin() + static_cast<int>(i)); in Release()
3455 for (size_t i = 0; i < listeners_.size(); i++) { \
3456 listeners_[i]->Name(parameter); \
3465 for (size_t i = listeners_.size(); i != 0; i--) { \
3466 listeners_[i - 1]->Name(parameter); \
[all …]
Dgtest-internal-inl.h610 TestEventListeners* listeners() { return &listeners_; } in listeners()
907 TestEventListeners listeners_; variable
/external/googletest/googletest/src/
Dgtest.cc3790 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
3796 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
3800 listeners_.push_back(listener); in Append()
3804 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
3805 if (listeners_[i] == listener) { in Release()
3806 listeners_.erase(listeners_.begin() + static_cast<int>(i)); in Release()
3819 for (size_t i = 0; i < listeners_.size(); i++) { \
3820 listeners_[i]->Name(parameter); \
3829 for (size_t i = listeners_.size(); i != 0; i--) { \
3830 listeners_[i - 1]->Name(parameter); \
[all …]
Dgtest-internal-inl.h612 TestEventListeners* listeners() { return &listeners_; } in listeners()
928 TestEventListeners listeners_; variable
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest.cc3510 std::vector<TestEventListener *> listeners_; member in testing::internal::TestEventRepeater
3516 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
3520 listeners_.push_back(listener); in Append()
3524 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
3525 if (listeners_[i] == listener) { in Release()
3526 listeners_.erase(listeners_.begin() + static_cast<int>(i)); in Release()
3539 for (size_t i = 0; i < listeners_.size(); i++) { \
3540 listeners_[i]->Name(parameter); \
3549 for (size_t i = listeners_.size(); i != 0; i--) { \
3550 listeners_[i - 1]->Name(parameter); \
[all …]
Dgtest-internal-inl.h611 TestEventListeners *listeners() { return &listeners_; } in listeners()
920 TestEventListeners listeners_; variable
/external/fmtlib/test/
Dgmock-gtest-all.cc1006 TestEventListeners* listeners() { return &listeners_; } in listeners()
1293 TestEventListeners listeners_; member in testing::internal::UnitTestImpl
4290 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
4296 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
4300 listeners_.push_back(listener); in Append()
4305 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
4306 if (listeners_[i] == listener) { in Release()
4307 listeners_.erase(listeners_.begin() + i); in Release()
4320 for (size_t i = 0; i < listeners_.size(); i++) { \
4321 listeners_[i]->Name(parameter); \
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc997 TestEventListeners* listeners() { return &listeners_; } in listeners()
1291 TestEventListeners listeners_; member in testing::internal::UnitTestImpl
4715 std::vector<TestEventListener*> listeners_; member in testing::internal::TestEventRepeater
4721 ForEach(listeners_, Delete<TestEventListener>); in ~TestEventRepeater()
4725 listeners_.push_back(listener); in Append()
4730 for (size_t i = 0; i < listeners_.size(); ++i) { in Release()
4731 if (listeners_[i] == listener) { in Release()
4732 listeners_.erase(listeners_.begin() + i); in Release()
4745 for (size_t i = 0; i < listeners_.size(); i++) { \
4746 listeners_[i]->Name(parameter); \
[all …]
/external/libchrome/mojo/public/cpp/bindings/
DREADME.md987 listeners_.ForEach([key, &data](db::mojom::TableListener* listener) {
993 listeners_.AddPtr(std::move(listener));
997 mojo::InterfacePtrSet<db::mojom::Table> listeners_;