Home
last modified time | relevance | path

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

123

/external/v8/tools/clang/plugins/tests/
Dweak_ptr_factory.cpp10 base::WeakPtrFactory<OnlyMember> factory_; member in should_succeed::OnlyMember
16 base::WeakPtrFactory<FactoryLast> factory_; member in should_succeed::FactoryLast
28 base::WeakPtrFactory<FirstFactoryRefersToOtherType> factory_; member in should_succeed::FirstFactoryRefersToOtherType
41 ClassTemplate() : factory_(this) {} in ClassTemplate()
44 base::WeakPtrFactory<ClassTemplate> factory_; member in should_succeed::ClassTemplate
54 base::WeakPtrFactory<FactoryFirst> factory_; member in should_fail::FactoryFirst
60 base::WeakPtrFactory<FactoryMiddle> factory_; member in should_fail::FactoryMiddle
74 ClassTemplate() : factory_(this) {} in ClassTemplate()
76 base::WeakPtrFactory<ClassTemplate> factory_; member in should_fail::ClassTemplate
Dweak_ptr_factory.txt2 base::WeakPtrFactory<FactoryFirst> factory_;
5 base::WeakPtrFactory<FactoryMiddle> factory_;
11 base::WeakPtrFactory<ClassTemplate> factory_;
/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/v8/testing/gtest/test/
Dgtest-death-test_test.cc1019 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest
1022 factory_ = new MockDeathTestFactory; in SetUpTestCase()
1023 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
1029 delete factory_; in TearDownTestCase()
1030 factory_ = NULL; in TearDownTestCase()
1046 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
1052 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
1055 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
1056 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
1057 EXPECT_EQ(0U, factory_->PassedCalls()); in TEST_F()
[all …]
/external/googletest/googletest/test/
Dgtest-death-test_test.cc1019 static MockDeathTestFactory* factory_; member in MacroLogicDeathTest
1022 factory_ = new MockDeathTestFactory; in SetUpTestCase()
1023 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestCase()
1029 delete factory_; in TearDownTestCase()
1030 factory_ = NULL; in TearDownTestCase()
1046 MockDeathTestFactory* MacroLogicDeathTest::factory_ = NULL; member in MacroLogicDeathTest
1052 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
1055 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
1056 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
1057 EXPECT_EQ(0U, 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/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/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/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc67 DynamicMessageFactory factory_; member in google::protobuf::DynamicMessageTest
79 DynamicMessageTest(): factory_(&pool_) {} in DynamicMessageTest()
106 prototype_ = factory_.GetPrototype(descriptor_); in SetUp()
111 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_); in SetUp()
116 packed_prototype_ = factory_.GetPrototype(packed_descriptor_); in SetUp()
121 oneof_prototype_ = factory_.GetPrototype(oneof_descriptor_); in SetUp()
127 proto3_prototype_ = factory_.GetPrototype(proto3_descriptor_); in SetUp()
139 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); in TEST_F()
200 nested_prototype = factory_.GetPrototype(nested_descriptor); in TEST_F()
208 foogroup_prototype = factory_.GetPrototype(foogroup_descriptor); in TEST_F()
/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/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/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/sfntly/cpp/src/sample/chromium/
Dsubsetter_impl.cc626 if (factory_ == NULL) { in LoadFont()
627 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
631 factory_->LoadFonts(&mis, &font_array); in LoadFont()
644 if (factory_ == NULL) { in LoadFont()
645 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
649 factory_->LoadFonts(&mis, &font_array); in LoadFont()
661 if (factory_ == NULL || font_ == NULL) { in SubsetFont()
688 factory_->SerializeFont(new_font, &output_stream); in SubsetFont()
759 font_builder.Attach(factory_->NewFontBuilder()); in Subset()
/external/v8/src/
Djson-parser.h137 inline Factory* factory() { return factory_; } in factory()
155 Factory* factory_; variable
/external/v8/src/parsing/
Drewriter.cc27 factory_(ast_value_factory) { in Processor()
41 factory_(ast_value_factory) { in Processor()
51 AstNodeFactory* factory() { return &factory_; } in factory()
101 AstNodeFactory factory_; member in v8::internal::Processor
/external/sfntly/cpp/src/sfntly/
Dfont.h143 FontFactory* GetFontFactory() { return factory_; } in GetFontFactory()
222 FontFactory* factory_; // dumb pointer, avoid circular refcounting variable

123