/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | asset_manager.cpp | 70 IAssetLoader::Ptr AssetManager::CreateAssetLoader(IEntityCollection& ec, string_view src, string_view contextUri) in CreateAssetLoader() argument 72 return SCENE_NS::CreateAssetLoader(*this, renderContext_, graphicsContext_, ec, src, contextUri); in CreateAssetLoader() 75 bool AssetManager::LoadAsset(IEntityCollection& ec, string_view uri, string_view contextUri) in LoadAsset() argument 77 auto assetLoader = CreateAssetLoader(ec, uri, contextUri); in LoadAsset() 101 bool AssetManager::SaveJsonEntityCollection(const IEntityCollection& ec, string_view uri, string_view contextUri) const in SaveJsonEntityCollection() argument 107 auto result = ecsSerializer_.WriteEntityCollection(ec, jsonOut); in SaveJsonEntityCollection() 138 auto ec = EntityCollection::Ptr { new EntityCollection(ecs, uri, contextUri) }; in LoadAssetToCache() local 139 if (LoadAsset(*ec, uri, contextUri)) { in LoadAssetToCache() 142 ec->SetActive(false); in LoadAssetToCache() 145 return (cacheCollections_[cacheId] = move(ec)) in LoadAssetToCache() 162 auto ec = EntityCollection::Ptr { new EntityCollection(ecs, uri, contextUri) }; CreateCachedCollection() local 201 RefreshAsset(IEntityCollection& ec, bool active) RefreshAsset() argument 217 InstantiateCollection(IEntityCollection& ec, string_view uri, string_view contextUri) InstantiateCollection() argument [all...] |
H A D | ecs_serializer.cpp | 180 const IEntityCollection& ec, const Property& property, uintptr_t offset, json::standalone_value& jsonOut) const in ToJson() 182 return PropertyToJson(ec, property, offset, jsonOut); in ToJson() 186 const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const in FromJson() 188 return PropertyFromJson(ec, jsonIn, property, offset); in FromJson() 211 const IEntityCollection& /*ec*/, const Property& /*property*/, uintptr_t offset, json::standalone_value& jsonOut) in PropertyToJson() 219 const IEntityCollection& /*ec*/, const json::value& jsonIn, const Property& /*property*/, uintptr_t offset) in PropertyFromJson() 226 const IEntityCollection& ec, const json::value& jsonIn, RenderHandleReference& handleRefOut) in RenderHandleReferenceFromJson() 228 CORE_UNUSED(ec); in RenderHandleReferenceFromJson() 262 bool RenderHandleReferenceToJson(IRenderContext& renderContext, const IEntityCollection& ec, in RenderHandleReferenceToJson() argument 265 CORE_UNUSED(ec); in RenderHandleReferenceToJson() 179 ToJson( const IEntityCollection& ec, const Property& property, uintptr_t offset, json::standalone_value& jsonOut) const ToJson() argument 185 FromJson( const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const FromJson() argument 225 RenderHandleReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, RenderHandleReference& handleRefOut) RenderHandleReferenceFromJson() argument 280 EntityFromJson(const IEntityCollection& ec, const json::value& jsonIn, Entity& entityOut) EntityFromJson() argument 355 EntityToJson(const IEntityCollection& ec, const Entity& entityIn, json::standalone_value& jsonOut) EntityToJson() argument 394 EntityReferenceToJson(IRenderContext& renderContext, const IEntityCollection& ec, const EntityReference& entityIn, json::standalone_value& jsonOut) EntityReferenceToJson() argument 416 EntityReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, EntityReference& entityOut) EntityReferenceFromJson() argument 547 WriteEntityCollection(const IEntityCollection& ec, json::standalone_value& jsonOut) const WriteEntityCollection() argument 637 WriteComponents(const IEntityCollection& ec, Entity entity, json::standalone_value& jsonOut) const WriteComponents() argument 665 WriteComponent(const IEntityCollection& ec, Entity entity, const IComponentManager& cm, IComponentManager::ComponentId id, json::standalone_value& jsonOut) const WriteComponent() argument 718 WriteProperty( const IEntityCollection& ec, const Property& property, uintptr_t offset, json::standalone_value& jsonOut) const WriteProperty() argument 846 ReadEntityCollection( IEntityCollection& ec, const json::value& jsonIn, string_view contextUri) const ReadEntityCollection() argument 951 ReadComponents(IEntityCollection& ec, const json::value& jsonIn, bool setId) const ReadComponents() argument 1002 ReadComponent( IEntityCollection& ec, const json::value& jsonIn, Entity entity, IComponentManager& component) const ReadComponent() argument 1063 ReadProperty( IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const ReadProperty() argument [all...] |
H A D | ecs_serializer.h | 43 bool WriteEntityCollection(const IEntityCollection& ec, CORE_NS::json::standalone_value& jsonOut) const override; 45 const IEntityCollection& ec, CORE_NS::Entity entity, CORE_NS::json::standalone_value& jsonOut) const override; 46 bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, const CORE_NS::IComponentManager& cm, 48 bool WriteProperty(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr_t offset, 55 IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const override; 56 bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId) const override; 57 bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity entity, 59 bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Property& property, 66 const IEntityCollection& ec, const CORE_NS::Property&, uintptr_t, CORE_NS::json::standalone_value&)>; 68 const IEntityCollection& ec, cons [all...] |
H A D | asset_manager.h | 38 IEntityCollection& ec, BASE_NS::string_view src, BASE_NS::string_view contextUri) override; 40 bool LoadAsset(IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) override; 43 const IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) const override; 55 void RefreshAsset(IEntityCollection& ec, bool active) override; 58 IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) override;
|
H A D | asset_loader.cpp | 62 void AddNodeToCollectionRecursive(IEntityCollection& ec, ISceneNode& node, string_view path) in AddNodeToCollectionRecursive() argument 67 EntityReference ref = ec.GetEcs().GetEntityManager().GetReferenceCounted(entity); in AddNodeToCollectionRecursive() 68 ec.AddEntity(ref); in AddNodeToCollectionRecursive() 69 ec.SetId(currentPath, ref); in AddNodeToCollectionRecursive() 73 AddNodeToCollectionRecursive(ec, *child, childBasePath); in AddNodeToCollectionRecursive() 82 IEntityCollection& ec, string_view src, string_view contextUri) in AssetLoader() 84 ecs_(ec.GetEcs()), ec_(ec), src_(src), contextUri_(contextUri), in AssetLoader() 731 IGraphicsContext& graphicsContext, IEntityCollection& ec, string_view src, string_view contextUri) in CreateAssetLoader() 733 return IAssetLoader::Ptr { new AssetLoader(assetManager, renderContext, graphicsContext, ec, sr in CreateAssetLoader() 81 AssetLoader(AssetManager& assetManager, IRenderContext& renderContext, IGraphicsContext& graphicsContext, IEntityCollection& ec, string_view src, string_view contextUri) AssetLoader() argument 730 CreateAssetLoader(AssetManager& assetManager, IRenderContext& renderContext, IGraphicsContext& graphicsContext, IEntityCollection& ec, string_view src, string_view contextUri) CreateAssetLoader() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_serializer.cpp | 60 bool WriteEntityCollection(const IEntityCollection& ec, CORE_NS::json::standalone_value& jsonOut) const override; 62 const IEntityCollection& ec, CORE_NS::Entity entity, CORE_NS::json::standalone_value& jsonOut) const override; 63 bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, const CORE_NS::IComponentManager& cm, 65 bool WriteProperty(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr_t offset, 72 IEntityCollection& ec, const CORE_NS::json::value& jsonIn, ::string_view contextUri) const override; 73 bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn) const override; 74 bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity entity, 76 bool ReadProperty(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, const CORE_NS::Property& property, 86 const IEntityCollection& ec, const CORE_NS::Property&, uintptr_t, CORE_NS::json::standalone_value&)>; 88 const IEntityCollection& ec, cons 126 ToJson( const IEntityCollection& ec, const Property& property, uintptr_t offset, json::standalone_value& jsonOut) const ToJson() argument 132 FromJson( const IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const FromJson() argument 170 RenderHandleReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, RenderHandleReference& handleRefOut) RenderHandleReferenceFromJson() argument 207 RenderHandleReferenceToJson(IRenderContext& renderContext, const IEntityCollection& ec, const RenderHandleReference& handleRefIn, json::standalone_value& jsonOut) RenderHandleReferenceToJson() argument 225 EntityFromJson(const IEntityCollection& ec, const json::value& jsonIn, Entity& entityOut) EntityFromJson() argument 300 EntityToJson(const IEntityCollection& ec, const Entity& entityIn, json::standalone_value& jsonOut) EntityToJson() argument 339 EntityReferenceToJson(IRenderContext& renderContext, const IEntityCollection& ec, const EntityReference& entityIn, json::standalone_value& jsonOut) EntityReferenceToJson() argument 361 EntityReferenceFromJson(const IEcsSerializer& ecsSerializer, IRenderContext& renderContext, const IEntityCollection& ec, const json::value& jsonIn, EntityReference& entityOut) EntityReferenceFromJson() argument 486 WriteEntityCollection(const IEntityCollection& ec, json::standalone_value& jsonOut) const WriteEntityCollection() argument 575 WriteComponents(const IEntityCollection& ec, Entity entity, json::standalone_value& jsonOut) const WriteComponents() argument 603 WriteComponent(const IEntityCollection& ec, Entity entity, const IComponentManager& cm, IComponentManager::ComponentId id, json::standalone_value& jsonOut) const WriteComponent() argument 656 WriteProperty( const IEntityCollection& ec, const Property& property, uintptr_t offset, json::standalone_value& jsonOut) const WriteProperty() argument 783 ReadEntityCollection( IEntityCollection& ec, const json::value& jsonIn, string_view contextUri) const ReadEntityCollection() argument 828 ReadComponents(IEntityCollection& ec, const json::value& jsonIn) const ReadComponents() argument 904 ReadComponent( IEntityCollection& ec, const json::value& jsonIn, Entity entity, IComponentManager& component) const ReadComponent() argument 965 ReadProperty( IEntityCollection& ec, const json::value& jsonIn, const Property& property, uintptr_t offset) const ReadProperty() argument [all...] |
H A D | ecs_asset_manager.cpp | 41 IEntityCollection& ec, string_view src, string_view contextUri) override; 43 bool LoadAsset(IEntityCollection& ec, string_view uri, string_view contextUri) override; 45 const IEntityCollection& ec, string_view uri, string_view contextUri) const override; 57 void RefreshAsset(IEntityCollection& ec, bool active) override; 60 IEntityCollection& ec, string_view uri, string_view contextUri) override; 122 IEntityCollection& ec, string_view src, string_view contextUri) in CreateEcsAssetLoader() 124 return ::ECS_SERIALIZER_NS::CreateEcsAssetLoader(*this, graphicsContext_, ec, src, contextUri); in CreateEcsAssetLoader() 127 bool EcsAssetManager::LoadAsset(IEntityCollection& ec, string_view uri, string_view contextUri) in LoadAsset() argument 129 auto assetLoader = CreateEcsAssetLoader(ec, uri, contextUri); in LoadAsset() 140 const IEntityCollection& ec, string_vie in SaveJsonEntityCollection() 121 CreateEcsAssetLoader( IEntityCollection& ec, string_view src, string_view contextUri) CreateEcsAssetLoader() argument 139 SaveJsonEntityCollection( const IEntityCollection& ec, string_view uri, string_view contextUri) const SaveJsonEntityCollection() argument 174 auto ec = CreateEntityCollection(ecs, cacheUri, contextUri); LoadAssetToCache() local 195 auto ec = CreateEntityCollection(ecs, uri, contextUri); CreateCachedCollection() local 234 RefreshAsset(IEntityCollection& ec, bool active) RefreshAsset() argument 250 InstantiateCollection( IEntityCollection& ec, string_view uri, string_view contextUri) InstantiateCollection() argument [all...] |
H A D | ecs_asset_loader.cpp | 52 void AddNodeToCollectionRecursive(IEntityCollection& ec, ISceneNode& node, string_view path) in AddNodeToCollectionRecursive() argument 57 EntityReference ref = ec.GetEcs().GetEntityManager().GetReferenceCounted(entity); in AddNodeToCollectionRecursive() 58 ec.AddEntity(ref); in AddNodeToCollectionRecursive() 59 ec.SetId(currentPath, ref); in AddNodeToCollectionRecursive() 63 AddNodeToCollectionRecursive(ec, *child, childBasePath); in AddNodeToCollectionRecursive() 73 EcsAssetLoader(IEcsAssetManager& assetManager, IGraphicsContext& graphicsContext, IEntityCollection& ec, in EcsAssetLoader() argument 76 graphicsContext_(graphicsContext), ecs_(ec.GetEcs()), ec_(ec), src_(src), contextUri_(contextUri) in EcsAssetLoader() 570 IEntityCollection& ec, string_view src, string_view contextUri) in CreateEcsAssetLoader() 572 return IEcsAssetLoader::Ptr { new EcsAssetLoader(assetManager, graphicsContext, ec, sr in CreateEcsAssetLoader() 569 CreateEcsAssetLoader(IEcsAssetManager& assetManager, IGraphicsContext& graphicsContext, IEntityCollection& ec, string_view src, string_view contextUri) CreateEcsAssetLoader() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | std_filesystem.cpp | 114 std::error_code ec; in DeleteFile() local 115 return std::filesystem::remove(U8Path(path), ec) && !ec; in DeleteFile() 148 std::error_code ec; in DeleteDirectory() local 149 return std::filesystem::remove(U8Path(path), ec) && !ec; in DeleteDirectory() 164 std::error_code ec; in Rename() local 165 std::filesystem::rename(U8Path(pathFrom), U8Path(pathTo), ec); in Rename() local 166 return !ec; in Rename() 199 std::error_code ec; in GetEntry() local [all...] |
H A D | std_directory.cpp | 101 std::error_code ec; in Create() local 102 if (std::filesystem::create_directory(U8Path(path), ec)) { in Create() 111 std::error_code ec; in Open() local 112 if (std::filesystem::is_directory(U8Path(path), ec)) { in Open() 115 const auto message = ec.message(); in Open() 116 CORE_LOG_E("'%.*s ec %d '%s'", static_cast<int>(path.size()), path.data(), ec.value(), message.data()); in Open() 125 std::error_code ec; in GetEntries() local 126 for (auto& iter : std::filesystem::directory_iterator(U8Path(dir_->path_), ec)) { in GetEntries() 252 std::error_code ec; in ResolveAbsolutePath() local [all...] |
H A D | std_file.cpp | 110 std::error_code ec; in Open() local 111 auto canonicalPath = std::filesystem::canonical(U8Path(path), ec); in Open() 112 if (ec) { in Open() 144 std::error_code ec; in Create() local 145 auto canonicalPath = std::filesystem::weakly_canonical(U8Path(path), ec); in Create() 146 if (ec) { in Create()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/ |
H A D | intf_ecs_serializer.h | 60 virtual bool ToJson(const IEntityCollection& ec, const Property& property, uintptr_t offset, 62 virtual bool FromJson(const IEntityCollection& ec, const json::value& jsonIn, 74 virtual bool WriteEntityCollection(const IEntityCollection& ec, json::standalone_value& jsonOut) const = 0; 76 const IEntityCollection& ec, Entity entity, json::standalone_value& jsonOut) const = 0; 77 virtual bool WriteComponent(const IEntityCollection& ec, Entity entity, 80 virtual bool WriteProperty(const IEntityCollection& ec, const Property& property, uintptr_t offset, 87 IEntityCollection& ec, const json::value& jsonIn, string_view contextUri) const = 0; 88 virtual bool ReadComponents(IEntityCollection& ec, const json::value& jsonIn) const = 0; 89 virtual bool ReadComponent(IEntityCollection& ec, const json::value& jsonIn, Entity entity, 91 virtual bool ReadProperty(IEntityCollection& ec, cons [all...] |
H A D | intf_ecs_asset_manager.h | 42 IEntityCollection& ec, string_view src, string_view contextUri) = 0; 44 virtual bool LoadAsset(IEntityCollection& ec, string_view uri, string_view contextUri) = 0; 47 const IEntityCollection& ec, string_view uri, string_view contextUri) const = 0; 59 virtual void RefreshAsset(IEntityCollection& ec, bool active) = 0; 62 IEntityCollection& ec, string_view uri, string_view contextUri) = 0;
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_ecs_serializer.h | 60 virtual bool ToJson(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr_t offset, 62 virtual bool FromJson(const IEntityCollection& ec, const CORE_NS::json::value& jsonIn, 74 virtual bool WriteEntityCollection(const IEntityCollection& ec, CORE_NS::json::standalone_value& jsonOut) const = 0; 76 const IEntityCollection& ec, CORE_NS::Entity entity, CORE_NS::json::standalone_value& jsonOut) const = 0; 77 virtual bool WriteComponent(const IEntityCollection& ec, CORE_NS::Entity entity, 80 virtual bool WriteProperty(const IEntityCollection& ec, const CORE_NS::Property& property, uintptr_t offset, 87 IEntityCollection& ec, const CORE_NS::json::value& jsonIn, BASE_NS::string_view contextUri) const = 0; 88 virtual bool ReadComponents(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, bool setId) const = 0; 89 virtual bool ReadComponent(IEntityCollection& ec, const CORE_NS::json::value& jsonIn, CORE_NS::Entity entity, 91 virtual bool ReadProperty(IEntityCollection& ec, cons [all...] |
H A D | intf_asset_manager.h | 51 IEntityCollection& ec, BASE_NS::string_view src, BASE_NS::string_view contextUri) = 0; 53 virtual bool LoadAsset(IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) = 0; 56 const IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) const = 0; 68 virtual void RefreshAsset(IEntityCollection& ec, bool active) = 0; 71 IEntityCollection& ec, BASE_NS::string_view uri, BASE_NS::string_view contextUri) = 0;
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_hid_host_observer_proxy.cpp | 39 ErrCode ec = reply.ReadInt32(); in OnConnectionStateChanged() local 40 if (FAILED(ec)) { in OnConnectionStateChanged() 41 return ec; in OnConnectionStateChanged()
|
H A D | bluetooth_pan_observer_proxy.cpp | 39 ErrCode ec = reply.ReadInt32(); in OnConnectionStateChanged() local 40 if (FAILED(ec)) { in OnConnectionStateChanged() 41 return ec; in OnConnectionStateChanged()
|
H A D | bluetooth_hid_host_stub.cpp | 199 ErrCode ec = HidHostVCUnplug(device, id, size, type, result); in HidHostVCUnplugInner() local 200 if (SUCCEEDED(ec)) { in HidHostVCUnplugInner() 214 ErrCode ec = HidHostSendData(device, id, size, type, result); in HidHostSendDataInner() local 215 if (SUCCEEDED(ec)) { in HidHostSendDataInner() 228 ErrCode ec = HidHostSetReport(device, type, report, result); in HidHostSetReportInner() local 229 if (SUCCEEDED(ec)) { in HidHostSetReportInner() 243 ErrCode ec = HidHostGetReport(device, id, size, type, result); in HidHostGetReportInner() local 244 if (SUCCEEDED(ec)) { in HidHostGetReportInner()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_register_font.cpp | 43 static bool StdFilesystemExists(const std::string& p, std::error_code& ec) in StdFilesystemExists() argument 45 return std::filesystem::exists(p, ec); in StdFilesystemExists() 81 std::error_code ec; in LoadFontDataFromFile() local 82 bool ret = StdFilesystemExists(path, ec); in LoadFontDataFromFile() 83 if (ec) { in LoadFontDataFromFile()
|
/foundation/multimodalinput/input/util/common/include/ |
H A D | define_multimodal.h | 119 #define CK(cond, ec) \ 123 __FILE__, __LINE__, #cond, ec); \ 262 #define CK(cond, ec) \ 265 MMI_HILOGE("CK(%{public}s), errCode:%{public}d", #cond, ec); \
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | exif_metadata.cpp | 180 MnoteHuaweiEntryCount *ec = nullptr; in HandleMakerNote() local 181 mnote_huawei_get_entry_count(reinterpret_cast<ExifMnoteDataHuawei *>(md), &ec); in HandleMakerNote() local 182 if (ec == nullptr) { in HandleMakerNote() 186 for (unsigned int i = 0; i < ec->size; i++) { in HandleMakerNote() 187 MnoteHuaweiEntry *entry = ec->entries[i]; in HandleMakerNote() 217 MnoteHuaweiEntryCount *ec = nullptr; in HandleHwMnote() local 218 mnote_huawei_get_entry_count(reinterpret_cast<ExifMnoteDataHuawei *>(md), &ec); in HandleHwMnote() local 219 if (ec == nullptr) { in HandleHwMnote() 222 for (unsigned int i = 0; i < ec->size; i++) { in HandleHwMnote() 223 MnoteHuaweiEntry *entry = ec in HandleHwMnote() [all...] |
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_opp_proxy.cpp | 158 int32_t ec = reply.ReadInt32(); in GetDeviceState() local 159 if (FAILED(ec)) { in GetDeviceState() 160 return ec; in GetDeviceState()
|
/foundation/graphic/graphic_3d/lume/LumeBinaryCompile/LumeShaderCompiler/src/io/dev/ |
H A D | FileMonitor.cpp | 57 std::error_code ec;
in resolveAbsolutePath() local 58 std::filesystem::path path = std::filesystem::canonical(aPath, ec);
in resolveAbsolutePath() 59 if (ec.value() == 0) {
in resolveAbsolutePath()
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
H A D | netfirewall_database.cpp | 32 std::error_code ec;
in NetFirewallDataBase() local 33 if (std::filesystem::create_directories(FIREWALL_DB_PATH, ec)) {
in NetFirewallDataBase() 37 ec.message().c_str());
in NetFirewallDataBase()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | kv_delegate.cpp | 53 std::error_code ec;
in RemoveDbFile() local 54 bool success = std::filesystem::remove(dbPath, ec);
in RemoveDbFile() 56 ZLOGE("failed to remove file %{public}s, err: %{public}s", fileName, ec.message().c_str());
in RemoveDbFile()
|