/ohos5.0/base/update/updater/test/unittest/script/script_instruction/ |
H A D | script_instructionhelper_unittest.cpp | 111 factory_ = std::make_unique<TestInstructionFactory>(); in ScriptInstructionHelperUnitTest() 161 EXPECT_EQ(factory_->CreateInstructionInstance(instr1, "test1"), USCRIPT_SUCCESS); in TestAddInstruction() 164 EXPECT_EQ(factory_->CreateInstructionInstance(instr2, "test2"), USCRIPT_SUCCESS); in TestAddInstruction() 209 … EXPECT_EQ(helper->RegisterUserInstruction("", factory_.get()), USCRIPT_NOTEXIST_INSTRUCTION); in TestRegisterUserInstruction01() 216 … EXPECT_EQ(helper->RegisterUserInstruction("test3", factory_.get()), USCRIPT_ERROR_CREATE_OBJ); in TestRegisterUserInstruction01() 217 … EXPECT_EQ(helper->RegisterUserInstruction("test4", factory_.get()), USCRIPT_NOTEXIST_INSTRUCTION); in TestRegisterUserInstruction01() 218 … EXPECT_EQ(helper->RegisterUserInstruction("abort", factory_.get()), USCRIPT_ERROR_REVERED); in TestRegisterUserInstruction01() 219 EXPECT_EQ(helper->RegisterUserInstruction("test2", factory_.get()), USCRIPT_SUCCESS); in TestRegisterUserInstruction01() 263 std::unique_ptr<TestInstructionFactory> factory_; member in __anon10f020ce0110::ScriptInstructionHelperUnitTest
|
H A D | script_instruction_unittest.h | 46 UScriptInstructionFactory *factory_ = nullptr; variable
|
/ohos5.0/base/update/updater/test/fuzztest/scriptmanager_fuzzer/ |
H A D | scriptmanager_fuzzer.cpp | 178 if (factory_ != nullptr) { in ~FuzzTestScriptEnv() 179 delete factory_; in ~FuzzTestScriptEnv() 180 factory_ = nullptr; in ~FuzzTestScriptEnv() 186 if (factory_ == nullptr) { in GetInstructionFactory() 187 factory_ = new FuzzTestScriptInstructionFactory(); in GetInstructionFactory() 189 return factory_; in GetInstructionFactory() 208 UScriptInstructionFactory *factory_ = nullptr; member in OHOS::FuzzTestScriptEnv
|
/ohos5.0/base/update/updater/test/unittest/script/ |
H A D | script_unittest.cpp | 182 if (factory_ != nullptr) { in ~UTestScriptEnv() 183 delete factory_; in ~UTestScriptEnv() 184 factory_ = nullptr; in ~UTestScriptEnv() 192 if (factory_ == nullptr) { in GetInstructionFactory() 193 factory_ = new TestScriptInstructionFactory(); in GetInstructionFactory() 195 return factory_; in GetInstructionFactory() 213 UScriptInstructionFactory *factory_ = nullptr; member in __anonf49137a80110::UTestScriptEnv
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | ikvdb_factory.cpp | 19 IKvDBFactory *IKvDBFactory::factory_ = nullptr; member in DistributedDB::IKvDBFactory 26 return IKvDBFactory::factory_; in GetCurrent() 33 IKvDBFactory::factory_ = factory; in Register()
|
/ohos5.0/base/update/updater/test/fuzztest/extractandexecutescript_fuzzer/ |
H A D | extractandexecutescript_fuzzer.cpp | 97 UScriptInstructionFactory *factory_ = nullptr; member in UTestScriptEnv 101 if (factory_ != nullptr) { in ~UTestScriptEnv() 102 delete factory_; in ~UTestScriptEnv() 103 factory_ = nullptr; in ~UTestScriptEnv() 111 if (factory_ == nullptr) { in GetInstructionFactory() 112 factory_ = new TestScriptInstructionFactory(); in GetInstructionFactory() 114 return factory_; in GetInstructionFactory()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/dump/ |
H A D | dump_manager.cpp | 26 factory_.Insert(name, config); in AddConfig() 33 auto it = factory_.Find(name); in GetConfig() 46 return factory_; in LoadConfig()
|
/ohos5.0/base/update/updater/services/updater_binary/ |
H A D | update_processor.cpp | 59 if (factory_ != nullptr) { in ~UpdaterEnv() 60 delete factory_; in ~UpdaterEnv() 61 factory_ = nullptr; in ~UpdaterEnv() 75 if (factory_ == nullptr) { in GetInstructionFactory() 76 factory_ = new UpdaterInstructionFactory(); in GetInstructionFactory() 78 return factory_; in GetInstructionFactory()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/ |
H A D | pasteboard_entry_getter.h | 36 static Factory factory_; variable
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/include/ |
H A D | clip_factory.h | 29 static ClipFactory factory_; variable
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/ |
H A D | ikvdb_factory.h | 62 static IKvDBFactory *factory_;
|
/ohos5.0/base/update/updater/services/include/applypatch/ |
H A D | updater_env.h | 51 UScriptInstructionFactoryPtr factory_ = nullptr;
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/ |
H A D | pasteboard_entry_getter.cpp | 24 __attribute__((used)) PasteboardEntryGetter::Factory PasteboardEntryGetter::factory_; member in OHOS::MiscServices::PasteboardEntryGetter
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/dump/ |
H A D | dump_manager.h | 60 ConcurrentMap<std::string, Config> factory_;
|
/ohos5.0/base/update/updater/test/unittest/updater_binary/ |
H A D | update_binary_unittest.h | 56 Uscript::UScriptInstructionFactory *factory_ = nullptr; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/ |
H A D | graphics_context.h | 95 struct Agp3DPluginState& factory_; variable
|
H A D | graphics_context.cpp | 282 : factory_(factory), context_(context) in GraphicsContext() 394 factory_.Destroy(); in Unref()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/udmf/ |
H A D | udmf_service_impl.h | 76 static Factory factory_; variable
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
H A D | object_service_impl.h | 71 static Factory factory_; variable
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/util/ |
H A D | mesh_util.h | 90 CORE_NS::IClassFactory& factory_; in CORE3D_BEGIN_NAMESPACE() local
|
H A D | mesh_util.cpp | 732 if (IClassRegister* classRegister = factory_.GetInterface<IClassRegister>(); classRegister) { in InitializeBuilder() 758 MeshUtil::MeshUtil(IClassFactory& factory) : factory_(factory) {} in MeshUtil()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_service_impl.h | 143 static Factory factory_; variable
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_impl.h | 155 static Factory factory_; variable
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_impl.h | 211 static Factory factory_; variable
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/cloud/ |
H A D | cloud_service_impl.h | 90 static Factory factory_; variable
|