Home
last modified time | relevance | path

Searched refs:factory_ (Results 1 - 22 of 22) sorted by relevance

/third_party/googletest/googletest/test/
H A Dgoogletest-death-test-test.cc1056 static MockDeathTestFactory* factory_; member in __anon3036::MacroLogicDeathTest
1059 factory_ = new MockDeathTestFactory; in SetUpTestSuite()
1060 replacer_ = new testing::internal::ReplaceDeathTestFactory(factory_); in SetUpTestSuite()
1066 delete factory_; in TearDownTestSuite()
1067 factory_ = nullptr; in TearDownTestSuite()
1085 MockDeathTestFactory* MacroLogicDeathTest::factory_ = nullptr; member in __anon3036::MacroLogicDeathTest
1090 factory_->SetParameters(false, DeathTest::OVERSEE_TEST, 0, true); in TEST_F()
1093 EXPECT_EQ(0, factory_->AssumeRoleCalls()); in TEST_F()
1094 EXPECT_EQ(0, factory_->WaitCalls()); in TEST_F()
1095 EXPECT_EQ(0U, factory_ in TEST_F()
[all...]
/third_party/protobuf/src/google/protobuf/
H A Ddynamic_message_unittest.cc63 DynamicMessageFactory factory_; member in google::protobuf::DynamicMessageTest
75 DynamicMessageTest() : factory_(&pool_) {} in DynamicMessageTest()
102 prototype_ = factory_.GetPrototype(descriptor_); in SetUp()
107 extensions_prototype_ = factory_.GetPrototype(extensions_descriptor_); in SetUp()
112 packed_prototype_ = factory_.GetPrototype(packed_descriptor_); in SetUp()
117 oneof_prototype_ = factory_.GetPrototype(oneof_descriptor_); in SetUp()
122 proto3_prototype_ = factory_.GetPrototype(proto3_descriptor_); in SetUp()
134 EXPECT_EQ(prototype_, factory_.GetPrototype(descriptor_)); in TEST_F()
213 nested_prototype = factory_.GetPrototype(nested_descriptor); in TEST_P()
221 foogroup_prototype = factory_ in TEST_P()
[all...]
H A Dextension_set_heavy.cc91 : pool_(pool), factory_(factory), containing_type_(containing_type) {} in DescriptorPoolExtensionFinder()
98 MessageFactory* factory_; member in google::protobuf::internal::DescriptorPoolExtensionFinder
307 factory_->GetPrototype(extension->message_type()); in Find()
H A Dgenerated_message_reflection.cc2317 : factory_(factory), in AssignDescriptorsHelper()
2335 DescriptorPool::internal_generated_pool(), factory_); in AssignMessageDescriptor()
2352 MessageFactory* factory_; member in google::protobuf::AssignDescriptorsHelper
H A Dmap_test.cc2831 DynamicMessageFactory factory_; member in google::protobuf::internal::__anon17033::MapFieldInDynamicMessageTest
2837 : pool_(DescriptorPool::generated_pool()), factory_(pool_) {} in MapFieldInDynamicMessageTest()
2845 map_prototype_ = factory_.GetPrototype(map_descriptor_); in SetUp()
2890 factory_.GetPrototype(recursive_map_descriptor_)->New()); in TEST_F()
/third_party/node/deps/v8/src/heap/
H A Dmemory-measurement.cc27 : isolate_(isolate), factory_(factory) { in MemoryMeasurementResultBuilder()
31 AddProperty(result_, factory_->total_string(), in AddTotal()
36 AddProperty(result_, factory_->current_string(), in AddCurrent()
46 Handle<FixedArray> other = factory_->NewFixedArray(length); in Build()
50 AddProperty(result_, factory_->other_string(), in Build()
51 factory_->NewJSArrayWithElements(other)); in Build()
61 AddProperty(result, factory_->jsMemoryEstimate_string(), estimate_obj); in NewResult()
63 AddProperty(result, factory_->jsMemoryRange_string(), range); in NewResult()
67 return factory_->NewNumberFromSize(value); in NewNumber()
70 return factory_ in NewJSObject()
85 Factory* factory_; global() member in v8::internal::__anon14659::MemoryMeasurementResultBuilder
[all...]
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
H A Dsubsetter_impl.cc633 if (factory_ == NULL) { in LoadFont()
634 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
638 factory_->LoadFonts(&mis, &font_array); in LoadFont()
651 if (factory_ == NULL) { in LoadFont()
652 factory_.Attach(FontFactory::GetInstance()); in LoadFont()
656 factory_->LoadFonts(&mis, &font_array); in LoadFont()
664 if (factory_ == NULL || font_ == NULL) { in SubsetFont()
691 factory_->SerializeFont(new_font, &output_stream); in SubsetFont()
766 font_builder.Attach(factory_->NewFontBuilder()); in Subset()
H A Dsubsetter_impl.h71 FontFactoryPtr factory_; member in sfntly::SubsetterImpl
/third_party/node/src/inspector/
H A Dmain_thread_interface.cc43 : object_id_(object_id), factory_(std::move(factory)) {} in CreateObjectRequest()
46 thread->AddObject(object_id_, WrapInDeletable(factory_(thread)));
51 Factory factory_; member in node::inspector::__anon15350::CreateObjectRequest
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dexception_safety_testing.h897 : factory_(f), operation_(op), contracts_{WrapContract(contracts)...} {} in ExceptionSafetyTest()
904 auto t_ptr = factory_(); in Test()
929 return [this](T* t_ptr) { return AssertionResult(*factory_() == *t_ptr); }; in WrapContract()
932 Factory factory_;
1010 return {factory_, new_operation, contracts_}; in WithOperation()
1031 factory_, operation_, in WithContracts()
1088 : factory_(f), operation_(o), contracts_(i) {} in ExceptionSafetyTestBuilder()
1094 factory_, selected_operation, std::get<Indices>(contracts_)...) in TestImpl()
1098 Factory factory_; member in ExceptionSafetyTestBuilder
/third_party/node/deps/v8/src/parsing/
H A Drewriter.cc26 factory_(ast_value_factory, zone), in Processor()
40 factory_(ast_value_factory, zone_), in Processor()
53 AstNodeFactory* factory() { return &factory_; } in factory()
89 AstNodeFactory factory_; member in v8::internal::final
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/
H A Dfont.h143 FontFactory* GetFontFactory() { return factory_; } in GetFontFactory()
222 FontFactory* factory_; // dumb pointer, avoid circular refcounting member in sfntly::Font::Builder
H A Dfont.cc319 : factory_(factory), in Builder()
/third_party/libfuse/include/
H A Dfuse.h1314 * objects are created and pushed onto the stack with the *factory_*
1318 * @param factory_ the factory function for this filesystem module
1320 #define FUSE_REGISTER_MODULE(name_, factory_) \
1321 fuse_module_factory_t fuse_module_ ## name_ ## _factory = factory_
/third_party/googletest/googletest/include/gtest/
H A Dgtest.h666 internal::TestFactoryBase* const factory_; // The factory that creates member in testing::TestInfo::internal
2296 explicit FactoryImpl(Factory f) : factory_(std::move(f)) {} in RegisterTest()
2297 Test* CreateTest() override { return factory_(); } in RegisterTest()
2300 Factory factory_; in RegisterTest() member in testing::FactoryImpl
/third_party/node/deps/googletest/include/gtest/
H A Dgtest.h658 internal::TestFactoryBase* const factory_; // The factory that creates member in testing::TestInfo::internal
2289 explicit FactoryImpl(Factory f) : factory_(std::move(f)) {} in RegisterTest()
2290 Test* CreateTest() override { return factory_(); } in RegisterTest()
2293 Factory factory_; in RegisterTest() member in testing::FactoryImpl
/third_party/mesa3d/src/gtest/include/gtest/
H A Dgtest.h817 internal::TestFactoryBase* const factory_; // The factory that creates member in testing::TestInfo::internal
2445 explicit FactoryImpl(Factory f) : factory_(std::move(f)) {} in RegisterTest()
2446 Test* CreateTest() override { return factory_(); } in RegisterTest()
2449 Factory factory_; in RegisterTest() member in testing::FactoryImpl
/third_party/node/src/
H A Djs_native_api_v8_inspector.cc162 : object_id_(object_id), factory_(std::move(factory)) {} in CreateObjectRequest()
165 thread->AddObject(object_id_, WrapInDeletable(factory_(thread)));
170 Factory factory_; member in v8impl::__anon15371::CreateObjectRequest
/third_party/googletest/googlemock/include/gmock/
H A Dgmock-actions.h635 : factory_(factory) {} in FactoryValueProducer()
636 T Produce() override { return factory_(); }
639 const FactoryFunction factory_; member in testing::DefaultValue::FactoryValueProducer
/third_party/googletest/googletest/src/
H A Dgtest.cc2747 factory_(factory),
2751 TestInfo::~TestInfo() { delete factory_; }
2837 factory_, &internal::TestFactoryBase::CreateTest,
/third_party/mesa3d/src/gtest/src/
H A Dgtest.cc2555 factory_(factory), in TestInfo()
2559 TestInfo::~TestInfo() { delete factory_; } in ~TestInfo()
2675 factory_, &internal::TestFactoryBase::CreateTest, in Run()
/third_party/node/deps/googletest/src/
H A Dgtest.cc2737 factory_(factory),
2741 TestInfo::~TestInfo() { delete factory_; }
2827 factory_, &internal::TestFactoryBase::CreateTest,

Completed in 67 milliseconds