Home
last modified time | relevance | path

Searched refs:observers (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/python/debug/wrappers/
Dlocal_cli_wrapper_test.py80 self.observers = {
98 self.observers["debug_dumps"].append(debug_dump)
99 self.observers["tf_errors"].append(tf_error)
102 self.observers["profiler_py_graphs"].append(py_graph)
103 self.observers["profiler_run_metadata"].append(run_metadata)
107 self.observers["run_start_cli_run_numbers"].append(self._run_call_count)
109 self.observers["run_end_cli_run_numbers"].append(self._run_call_count)
122 self.observers["print_feed_responses"].append(
216 self.assertEqual([1], wrapped_sess.observers["run_start_cli_run_numbers"])
217 self.assertEqual([1, 2], wrapped_sess.observers["run_end_cli_run_numbers"])
[all …]
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DAbstractItemHierarchy.java35 private final ArrayList<Observer> observers = new ArrayList<>(); field in AbstractItemHierarchy
60 observers.add(observer); in registerObserver()
65 observers.remove(observer); in unregisterObserver()
70 for (Observer observer : observers) { in notifyChanged()
86 for (Observer observer : observers) { in notifyItemRangeChanged()
102 for (Observer observer : observers) { in notifyItemRangeInserted()
122 for (Observer observer : observers) { in notifyItemRangeMoved()
138 for (Observer observer : observers) { in notifyItemRangeRemoved()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/subjects/
Drx-subject.hpp57 observers.push_back(o); in completer_type()
66 observers.reserve(old->observers.size() + 1); in retain()
68 old->observers.begin(), old->observers.end(), in retain()
69 std::inserter(observers, observers.end()), in retain()
76 list_type observers; member
129 return b->completer && !b->completer->observers.empty(); in has_observers()
185 if (!current_completer || current_completer->observers.empty()) { in on_next()
188 for (auto& o : current_completer->observers) { in on_next()
204 for (auto& o : c->observers) { in on_error()
222 for (auto& o : c->observers) { in on_completed()
/external/tensorflow/tensorflow/python/debug/cli/
Dreadline_ui_test.py43 self.observers = {"screen_outputs": []}
51 self.observers["screen_outputs"].append(screen_output)
91 self.assertEqual(0, len(ui.observers["screen_outputs"]))
98 self.assertEqual(1, len(ui.observers["screen_outputs"]))
108 screen_outputs = ui.observers["screen_outputs"]
119 screen_outputs = ui.observers["screen_outputs"]
131 screen_outputs = ui.observers["screen_outputs"]
148 self.assertEqual(0, len(ui.observers["screen_outputs"]))
160 screen_outputs = ui.observers["screen_outputs"]
173 outputs = ui.observers["screen_outputs"]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/
DVerifierFactory.java43 private static final List<VerifierFactoryObserver> observers = new Vector<>(); field in VerifierFactory
74 for (final VerifierFactoryObserver vfo : observers) { in notify()
97 observers.add(o); in attach()
105 observers.remove(o); in detach()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DFieldGen.java265 private List<FieldObserver> observers; field in FieldGen
271 if (observers == null) { in addObserver()
272 observers = new ArrayList<>(); in addObserver()
274 observers.add(o); in addObserver()
281 if (observers != null) { in removeObserver()
282 observers.remove(o); in removeObserver()
292 if (observers != null) { in update()
293 for (final FieldObserver observer : observers ) { in update()
DClassGen.java523 private List<ClassObserver> observers; field in ClassGen
529 if (observers == null) { in addObserver()
530 observers = new ArrayList<>(); in addObserver()
532 observers.add(o); in addObserver()
539 if (observers != null) { in removeObserver()
540 observers.remove(o); in removeObserver()
550 if (observers != null) { in update()
551 for (final ClassObserver observer : observers) { in update()
DInstructionList.java1225 private List<InstructionListObserver> observers;
1231 if (observers == null) { in addObserver()
1232 observers = new ArrayList<>(); in addObserver()
1234 observers.add(o); in addObserver()
1241 if (observers != null) { in removeObserver()
1242 observers.remove(o); in removeObserver()
1251 if (observers != null) { in update()
1252 for (final InstructionListObserver observer : observers) { in update()
DMethodGen.java1057 private List<MethodObserver> observers; field in MethodGen
1063 if (observers == null) { in addObserver()
1064 observers = new ArrayList<>(); in addObserver()
1066 observers.add(o); in addObserver()
1073 if (observers != null) { in removeObserver()
1074 observers.remove(o); in removeObserver()
1084 if (observers != null) { in update()
1085 for (final MethodObserver observer : observers) { in update()
/external/webrtc/talk/app/webrtc/
Dnotifier.h64 std::list<ObserverInterface*> observers = observers_; in FireOnChanged() local
65 for (std::list<ObserverInterface*>::iterator it = observers.begin(); in FireOnChanged()
66 it != observers.end(); ++it) { in FireOnChanged()
Dwebrtcsession_unittest.cc1409 observers[kNumber]; in VerifyMultipleAsyncCreateDescriptionAfterInit() local
1411 observers[i] = new WebRtcSessionCreateSDPObserverForTest(); in VerifyMultipleAsyncCreateDescriptionAfterInit()
1413 session_->CreateOffer(observers[i], options, session_options); in VerifyMultipleAsyncCreateDescriptionAfterInit()
1415 session_->CreateAnswer(observers[i], nullptr, session_options); in VerifyMultipleAsyncCreateDescriptionAfterInit()
1424 EXPECT_EQ_WAIT(expected_state, observers[i]->state(), 1000); in VerifyMultipleAsyncCreateDescriptionAfterInit()
1426 EXPECT_TRUE(observers[i]->description() != NULL); in VerifyMultipleAsyncCreateDescriptionAfterInit()
1428 EXPECT_TRUE(observers[i]->description() == NULL); in VerifyMultipleAsyncCreateDescriptionAfterInit()
4289 rtc::scoped_refptr<WebRtcSessionCreateSDPObserverForTest> observers[100]; in TEST_F() local
4296 for (auto& o : observers) { in TEST_F()
4303 for (auto& o : observers) { in TEST_F()
/external/skqp/modules/sksg/src/
DSkSGNode.cpp66 auto observers = new std::vector<Node*>(); in observeInval() local
67 observers->reserve(2); in observeInval()
68 observers->push_back(node->fInvalObserver); in observeInval()
70 node->fInvalObserverArray = observers; in observeInval()
/external/skia/modules/sksg/src/
DSkSGNode.cpp66 auto observers = new std::vector<Node*>(); in observeInval() local
67 observers->reserve(2); in observeInval()
68 observers->push_back(node->fInvalObserver); in observeInval()
70 node->fInvalObserverArray = observers; in observeInval()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNodeList.java53 private List<AstObserver> observers = new ArrayList<>(); field in NodeList
465 …this.observers.forEach(o -> o.listChange(this, AstObserver.ListChangeType.ADDITION, index, nodeAdd… in notifyElementAdded()
469 …this.observers.forEach(o -> o.listChange(this, AstObserver.ListChangeType.REMOVAL, index, nodeAdde… in notifyElementRemoved()
473 … this.observers.forEach(o -> o.listReplacement(this, index, this.get(index), nodeAddedOrRemoved)); in notifyElementReplaced()
478 this.observers.remove(observer); in unregister()
483 this.observers.add(observer); in register()
488 return this.observers.contains(observer); in isRegistered()
DNode.java172 private List<AstObserver> observers = new ArrayList<>(); field in Node
378 observers.forEach(o -> o.parentChange(this, parentNode, newParentNode)); in setParentNode()
539 this.observers.forEach(o -> o.propertyChange(this, property, oldValue, newValue)); in notifyPropertyChange()
544 this.observers.remove(observer); in unregister()
549 this.observers.add(observer); in register()
592 return this.observers.contains(observer); in isRegistered()
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dwindow.cpp93 auto observers = std::vector<rxt::testable_observer<int>>(); variable
111 observers.push_back(result.get_observer()); in __anon38a1318b0302()
121 REQUIRE(5 == observers.size());
131 auto actual = observers[0].messages();
142 auto actual = observers[1].messages();
153 auto actual = observers[2].messages();
163 auto actual = observers[3].messages();
171 auto actual = observers[4].messages();
/external/Reactive-Extensions/RxCpp/Rx/v2/test/subscriptions/
Dsubscription.cpp14 auto observers = std::make_shared<std::list<rxcpp::subscriber<int>>>(); variable
17 auto it = observers->insert(observers->end(), out); in __anonfe564e910102()
19 observers->erase(it); in __anonfe564e910102()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-group_by.hpp112 , observers(0) in group_by_state_type()
117 std::atomic<int> observers; member
122 ++state->observers; in stopsource()
127 --state->observers; in stopsource()
128 if (state->observers == 0) { in stopsource()
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/
Drx-test.hpp291 mutable std::list<observer_type> observers; member in rxcpp::schedulers::detail::hot_observable
306 auto local = this->observers; in hot_observable()
319 auto olocation = observers.insert(observers.end(), o); in on_subscribe()
327 sharedThis->observers.erase(olocation); in on_subscribe()
/external/tensorflow/tensorflow/lite/tools/accuracy/ilsvrc/
Dimagenet_model_evaluator.cc88 explicit CompositeObserver(const std::vector<Observer*>& observers) in CompositeObserver() argument
89 : observers_(observers) {} in CompositeObserver()
/external/libchrome/libchrome_tools/patch/
Dobserver_list_unittest.patch22 // Verify that observers are notified on the correct sequence.
/external/mockito/src/test/java/org/mockito/internal/util/reflection/
DParameterizedConstructorInstantiatorTest.java149 VarargConstructor(String whatever, Observer... observers) { } in VarargConstructor() argument
/external/scapy/doc/notebooks/tls/
Dnotebook4_tls13.ipynb66 …"# The PFS relies on the ECDH secret below being kept from observers, and deleted right after the …
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowContentResolver.java818 ArrayList<ContentObserver> observers = new ArrayList<>(1);
821 observers.add(entry.observer);
824 return observers;
/external/libcxx/include/
Dsystem_error70 // observers:
99 // observers:

12