Home
last modified time | relevance | path

Searched refs:factory_ (Results 1 – 25 of 61) sorted by relevance

123

/external/protobuf/gtest/test/
Dgtest-death-test_test.cc836 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest
839 factory_ = new MockDeathTestFactory; in SetUpTestCase()
840 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
846 delete factory_; in TearDownTestCase()
847 factory_ = NULL; in TearDownTestCase()
863 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
869 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
872 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
873 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
874 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
[all …]
/external/google-breakpad/src/testing/gtest/test/
Dgtest-death-test_test.cc956 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest
959 factory_ = new MockDeathTestFactory; in SetUpTestCase()
960 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
966 delete factory_; in TearDownTestCase()
967 factory_ = NULL; in TearDownTestCase()
983 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
989 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
992 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
993 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
994 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
[all …]
/external/gtest/test/
Dgtest-death-test_test.cc954 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest
957 factory_ = new MockDeathTestFactory; in SetUpTestCase()
958 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
964 delete factory_; in TearDownTestCase()
965 factory_ = NULL; in TearDownTestCase()
981 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
987 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
990 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
991 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
992 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest-death-test_test.cc1020 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest
1023 factory_ = new MockDeathTestFactory; in SetUpTestCase()
1024 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
1030 delete factory_; in TearDownTestCase()
1031 factory_ = NULL; in TearDownTestCase()
1047 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
1053 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
1056 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
1057 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
1058 EXPECT_EQ(0, factory_->PassedCalls()); in TEST_F()
[all …]
/external/webrtc/talk/media/webrtc/
Dwebrtcvideocapturer_unittest.cc49 : factory_(new FakeWebRtcVcmFactory), in WebRtcVideoCapturerTest()
50 capturer_(new cricket::WebRtcVideoCapturer(factory_)), in WebRtcVideoCapturerTest()
52 factory_->device_info.AddDevice(kTestDeviceName, kTestDeviceId); in WebRtcVideoCapturerTest()
59 factory_->device_info.AddCapability(kTestDeviceId, vga); in WebRtcVideoCapturerTest()
63 FakeWebRtcVcmFactory* factory_; // owned by capturer_ member in WebRtcVideoCapturerTest
92 EXPECT_TRUE(capturer_->Init(factory_->Create(0, in TEST_F()
105 EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480)); in TEST_F()
118 EXPECT_TRUE(capturer_->Init(factory_->Create(0, in TEST_F()
132 EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480)); in TEST_F()
Dwebrtcvideocapturer.cc132 : factory_(new WebRtcVcmFactory), in WebRtcVideoCapturer()
141 : factory_(factory), in WebRtcVideoCapturer()
162 webrtc::VideoCaptureModule::DeviceInfo* info = factory_->CreateDeviceInfo(0); in Init()
185 factory_->DestroyDeviceInfo(info); in Init()
205 factory_->DestroyDeviceInfo(info); in Init()
212 module_ = factory_->Create(0, vcm_id); in Init()
Dfakewebrtcvcmfactory.h61 if (factory_) in ~FakeWebRtcVideoCaptureModule()
62 factory_->OnDestroyed(this); in ~FakeWebRtcVideoCaptureModule()
Dfakewebrtcvideocapturemodule.h43 : factory_(factory), in FakeWebRtcVideoCaptureModule()
131 FakeWebRtcVcmFactory* factory_; variable
Dwebrtcvideoframefactory_unittest.cc83 cricket::VideoFrameFactory& factory = factory_; in TestCreateAliasedFrame()
115 cricket::WebRtcVideoFrameFactory factory_; member in WebRtcVideoFrameFactoryTest
/external/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc59 DynamicMessageFactory factory_; member in google::protobuf::DynamicMessageTest
69 DynamicMessageTest(): factory_(&pool_) {} in DynamicMessageTest()
92 prototype_ = factory_.GetPrototype(descriptor_); in SetUp()
97 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_); in SetUp()
102 packed_prototype_ = factory_.GetPrototype(packed_descriptor_); in SetUp()
107 oneof_prototype_ = factory_.GetPrototype(oneof_descriptor_); in SetUp()
119 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); in TEST_F()
180 nested_prototype = factory_.GetPrototype(nested_descriptor); in TEST_F()
188 foogroup_prototype = factory_.GetPrototype(foogroup_descriptor); in TEST_F()
/external/webrtc/webrtc/p2p/client/
Dfakeportallocator.h94 factory_(factory), in FakePortAllocatorSession()
104 port_.reset(TestUDPPort::Create(worker_thread_, factory_, &network_, in StartGettingPorts()
134 rtc::PacketSocketFactory* factory_; variable
145 : worker_thread_(worker_thread), factory_(factory) { in FakePortAllocator()
146 if (factory_ == NULL) { in FakePortAllocator()
149 factory_ = owned_factory_.get(); in FakePortAllocator()
174 worker_thread_, factory_, content_name, component, ice_ufrag, ice_pwd); in CreateSessionInternal()
179 rtc::PacketSocketFactory* factory_; variable
/external/webrtc/webrtc/base/
Dsslsocketfactory.cc31 : AsyncSocketAdapter(NULL), factory_(factory), family_(family), in ProxySocketAdapter()
47 detect_ = new AutoDetectProxy(factory_->agent_); in Connect()
81 Attach(factory_->CreateProxySocket(detect_->proxy(), family_, type_)); in OnProxyDetectionComplete()
91 SslSocketFactory* factory_; member in rtc::ProxySocketAdapter
104 : factory_(factory), in SslSocketFactory()
120 return factory_->CreateSocket(family, type); in CreateSocket()
139 AsyncSocket* socket = factory_->CreateAsyncSocket(family, type); in CreateProxySocket()
Dreferencecountedsingletonfactory.h90 factory_(factory) { in rcsf_ptr()
119 factory_->ReleaseInstance(); in release()
132 return factory_; in factory()
145 instance_ = factory_->GetInstance(); in Acquire()
150 ReferenceCountedSingletonFactory<Interface>* factory_; variable
Dsocketpool.cc113 NewSocketPool::NewSocketPool(SocketFactory* factory) : factory_(factory) { in NewSocketPool()
122 factory_->CreateAsyncSocket(remote.family(), SOCK_STREAM); in RequestConnectedStream()
149 : factory_(factory), stream_(NULL), checked_out_(false) { in ReuseSocketPool()
169 factory_->CreateAsyncSocket(family, SOCK_STREAM); in RequestConnectedStream()
Dsocketpool.h86 SocketFactory* factory_;
108 SocketFactory* factory_; variable
/external/webrtc/talk/app/webrtc/
Dpeerconnectionfactory_unittest.cc107 factory_ = webrtc::CreatePeerConnectionFactory(rtc::Thread::Current(), in SetUp()
113 ASSERT_TRUE(factory_.get() != NULL); in SetUp()
141 rtc::scoped_refptr<PeerConnectionFactoryInterface> factory_; member in PeerConnectionFactoryTest
185 rtc::scoped_refptr<PeerConnectionInterface> pc(factory_->CreatePeerConnection( in TEST_F()
215 rtc::scoped_refptr<PeerConnectionInterface> pc(factory_->CreatePeerConnection( in TEST_F()
244 rtc::scoped_refptr<PeerConnectionInterface> pc(factory_->CreatePeerConnection( in TEST_F()
265 rtc::scoped_refptr<PeerConnectionInterface> pc(factory_->CreatePeerConnection( in TEST_F()
290 rtc::scoped_refptr<PeerConnectionInterface> pc(factory_->CreatePeerConnection( in TEST_F()
325 rtc::scoped_refptr<PeerConnectionInterface> pc(factory_->CreatePeerConnection( in TEST_F()
353 factory_->CreateVideoSource(capturer, NULL)); in TEST_F()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/closure/
Dxmlhttp.js33 return goog.net.XmlHttp.factory_.createInstance();
43 return goog.net.XmlHttp.factory_.getOptions();
106 goog.net.XmlHttp.factory_;
127 goog.net.XmlHttp.factory_ = factory;
/external/chromium-trace/catapult/third_party/Paste/paste/
Drecursive.py216 def factory_(app): function
222 self.factory = factory_
224 def factory_(app): function
231 self.factory = factory_
233 def factory_(app): function
238 self.factory = factory_
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_encoder_adapter_unittest.cc182 : factory_(new MockVideoEncoderFactory()) {} in TestSimulcastEncoderAdapterFakeHelper()
187 return new SimulcastEncoderAdapter(factory_); in CreateMockEncoderAdapter()
191 EXPECT_TRUE(!factory_->encoders().empty()); in ExpectCallSetChannelParameters()
192 for (size_t i = 0; i < factory_->encoders().size(); ++i) { in ExpectCallSetChannelParameters()
193 EXPECT_CALL(*factory_->encoders()[i], in ExpectCallSetChannelParameters()
199 MockVideoEncoderFactory* factory() { return factory_; } in factory()
202 MockVideoEncoderFactory* factory_; member in webrtc::testing::TestSimulcastEncoderAdapterFakeHelper
/external/v8/test/mjsunit/
Ddebug-set-variable-value.js108 this.factory_ = factory;
113 var fun = this.factory_(true);
122 var fun = this.factory_(false);
/external/webrtc/webrtc/modules/video_coding/test/
Dvcm_payload_sink_factory.cc32 : factory_(factory), stream_(stream), vcm_(), frame_receiver_() { in VcmPayloadSink()
45 virtual ~VcmPayloadSink() { factory_->Remove(this); } in ~VcmPayloadSink()
90 VcmPayloadSinkFactory* factory_; member in webrtc::rtpplayer::VcmPayloadSinkFactory::VcmPayloadSink
/external/v8/src/parsing/
Drewriter.cc24 factory_(ast_value_factory) { in Processor()
35 factory_(ast_value_factory) { in Processor()
46 AstNodeFactory* factory() { return &factory_; } in factory()
80 AstNodeFactory factory_; member in v8::internal::Processor
/external/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc624 if (factory_ == NULL) { in LoadFont()
625 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
629 factory_->LoadFonts(&mis, &font_array); in LoadFont()
641 if (factory_ == NULL || font_ == NULL) { in SubsetFont()
668 factory_->SerializeFont(new_font, &output_stream); in SubsetFont()
739 font_builder.Attach(factory_->NewFontBuilder()); in Subset()
Dsubsetter_impl.h68 FontFactoryPtr factory_; variable
/external/sfntly/cpp/src/sfntly/
Dfont.h143 FontFactory* GetFontFactory() { return factory_; } in GetFontFactory()
222 FontFactory* factory_; // dumb pointer, avoid circular refcounting variable

123