Home
last modified time | relevance | path

Searched refs:observer2 (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/mjsunit/es7/
Dobject-observe.js91 var observer2 = createObserver(); variable
94 assertEquals("function", typeof observer2.callback);
589 Thingy.observe(thingy, observer2.callback);
597 Object.deliverChangeRecords(observer2.callback);
610 observer2.assertCallbackRecords([
725 RecursiveThingy.observe(thingy, observer2.callback);
729 Object.deliverChangeRecords(observer2.callback);
735 observer2.assertCallbackRecords([
781 DeckSuit.observe(deck, observer2.callback);
784 Object.deliverChangeRecords(observer2.callback);
[all …]
/external/v8/test/cctest/heap/
Dtest-spaces.cc855 Observer observer2(96); in UNINITIALIZED_TEST() local
856 new_space->AddInlineAllocationObserver(&observer2); in UNINITIALIZED_TEST()
860 CHECK_EQ(observer2.count(), 1); in UNINITIALIZED_TEST()
864 CHECK_EQ(observer2.count(), 2); in UNINITIALIZED_TEST()
871 CHECK_EQ(observer2.count(), 3); // this one is still active. in UNINITIALIZED_TEST()
875 CHECK_EQ(observer2.count(), 3); in UNINITIALIZED_TEST()
878 CHECK_EQ(observer2.count(), 3); in UNINITIALIZED_TEST()
880 CHECK_EQ(observer2.count(), 3); in UNINITIALIZED_TEST()
882 CHECK_EQ(observer2.count(), 3); in UNINITIALIZED_TEST()
886 CHECK_EQ(observer2.count(), 4); in UNINITIALIZED_TEST()
[all …]
/external/v8/test/mjsunit/es6/
Ddebug-stepin-microtasks.js72 Object.observe(dummy, observer2);
80 function observer2() { function
/external/webrtc/talk/app/webrtc/
Dpeerconnectioninterface_unittest.cc1277 rtc::scoped_ptr<MockDataChannelObserver> observer2( in TEST_F() local
1288 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_F()
1296 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); in TEST_F()
1303 EXPECT_TRUE(observer2->IsOpen()); in TEST_F()
1308 EXPECT_EQ_WAIT(data_to_send2, observer2->last_message(), kTimeout); in TEST_F()
1324 rtc::scoped_ptr<MockDataChannelObserver> observer2( in TEST_F() local
1332 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_F()
1566 rtc::scoped_ptr<MockDataChannelObserver> observer2( in TEST_F() local
1571 EXPECT_TRUE_WAIT(observer2->IsOpen(), kTimeout); in TEST_F()