Home
last modified time | relevance | path

Searched refs:bus2 (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/media/blink/
Dwebaudiosourceprovider_impl_unittest.cc70 bool CompareBusses(const AudioBus* bus1, const AudioBus* bus2) { in CompareBusses() argument
71 EXPECT_EQ(bus1->channels(), bus2->channels()); in CompareBusses()
72 EXPECT_EQ(bus1->frames(), bus2->frames()); in CompareBusses()
74 if (memcmp(bus1->channel(ch), bus2->channel(ch), in CompareBusses()
160 scoped_ptr<AudioBus> bus2 = AudioBus::Create(params_); in TEST_F() local
169 bus2->Zero(); in TEST_F()
171 ASSERT_TRUE(CompareBusses(bus1.get(), bus2.get())); in TEST_F()
179 bus2->Zero(); in TEST_F()
181 ASSERT_TRUE(CompareBusses(bus1.get(), bus2.get())); in TEST_F()
189 ASSERT_TRUE(CompareBusses(bus1.get(), bus2.get())); in TEST_F()
[all …]
/external/chromium_org/media/base/
Daudio_bus_unittest.cc84 void CopyTest(AudioBus* bus1, AudioBus* bus2) { in CopyTest() argument
90 bus2->Zero(); in CopyTest()
91 bus1->CopyTo(bus2); in CopyTest()
92 VerifyBus(bus1, bus2); in CopyTest()
96 bus2->CopyTo(bus1); in CopyTest()
97 VerifyBus(bus2, bus1); in CopyTest()
170 scoped_ptr<AudioBus> bus2 = AudioBus::Create(params); in TEST_F() local
174 CopyTest(bus1.get(), bus2.get()); in TEST_F()
185 bus2 = AudioBus::WrapVector(kFrameCount, data_); in TEST_F()
186 CopyTest(bus1.get(), bus2.get()); in TEST_F()
[all …]
Daudio_fifo_unittest.cc114 scoped_ptr<AudioBus> bus2 = in TEST_F() local
116 const int frames_in_fifo = bus2->frames(); in TEST_F()
117 fifo.Push(bus2.get()); in TEST_F()
120 fifo.Push(bus2.get()); in TEST_F()
121 fifo.Consume(bus2.get(), 0, frames_in_fifo); in TEST_F()
Daudio_buffer_queue_unittest.cc332 scoped_ptr<AudioBus> bus2 = AudioBus::Create(channels, frames); in TEST() local
333 EXPECT_EQ(30, buffer.ReadFrames(30, 0, bus2.get())); in TEST()
334 VerifyBus(bus2.get(), 0, 30, bus2->frames(), 0, 1); in TEST()
/external/qemu/include/hw/pci/
Dpci.h293 qemu_irq *pic, PCIBus **bus2, PCIBus **bus3);