/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | entity_collection.cpp | 188 CORE_LOG_D("Trying to add null entity reference to a collection"); in AddEntities() 213 // TODO: If this collection is overriding another "template" collection, when removing entities, we in RemoveEntity() 223 for (auto& collection : collections_) { in RemoveEntity() 224 BASE_ASSERT(collection); in RemoveEntity() 225 if (collection->RemoveEntity(entity)) { in RemoveEntity() 346 auto collection = EntityCollection::Ptr { new EntityCollection(ecs_, uri, contextUri) }; in AddSubCollection() local 347 collection->SetSerialized(serializable); in AddSubCollection() 348 collections_.emplace_back(move(collection)); in AddSubCollection() 359 IEntityCollection& EntityCollection::AddSubCollectionClone(IEntityCollection& collection, string_vie argument [all...] |
H A D | asset_migration.cpp | 83 void MigrateAnimation(IEntityCollection& collection) in MigrateAnimation() argument 85 auto* aocm = GetManager<IAnimationOutputComponentManager>(collection.GetEcs()); in MigrateAnimation() 88 collection.GetEntitiesRecursive(false, entities); in MigrateAnimation()
|
H A D | asset_migration.h | 24 void MigrateAnimation(IEntityCollection& collection);
|
H A D | ecs_serializer.cpp | 307 // Figure out the correct collection (Recursive). in EntityFromJson() 308 const IEntityCollection* collection { nullptr }; in EntityFromJson() 309 const auto* collectionJson = jsonIn.find("collection"); in EntityFromJson() 315 collection = ec.GetSubCollection(static_cast<size_t>(index)); in EntityFromJson() 318 if (!collection) { in EntityFromJson() 326 collection = ec.GetSubCollection(collectionIndex); in EntityFromJson() 333 CORE_LOG_W("Invalid collection for a component."); in EntityFromJson() 337 if (collection) { in EntityFromJson() 340 return EntityFromJson(*collection, *entityJson, entityOut); in EntityFromJson() 357 // Write entity index/name if part of this collection in EntityToJson() 375 auto* collection = ec.GetSubCollection(i); EntityToJson() local 576 auto* collection = ec.GetSubCollection(i); WriteEntityCollection() local [all...] |
H A D | asset_manager.cpp | 47 if (ext == "collection") { in GetExtensionType() 121 // Check if this collection was already loaded. in LoadAssetToCache() 132 // Need to first remove the possible cached collection because otherwise gltf importer will not reload the resources in LoadAssetToCache() 136 // Load the entity collection. in LoadAssetToCache() 144 // Add loaded collection to cache map. in LoadAssetToCache() 168 // Add the created collection to the cache map. in CreateCachedCollection() 177 auto collection = cacheCollections_.find(cacheId); in GetCachedCollection() local 178 return collection != cacheCollections_.cend() ? collection->second.get() : nullptr; in GetCachedCollection() 210 // Set the active state when the collection empt in RefreshAsset() [all...] |
H A D | entity_collection.h | 80 IEntityCollection& AddSubCollectionClone(IEntityCollection& collection, BASE_NS::string_view uri) override; 119 BASE_NS::string_view collection, BASE_NS::string_view name, CORE_NS::Entity entity, bool makeUnique) override;
|
H A D | scene_holder.cpp | 73 // run garbage collection before updating the systems to ensure only valid entities/ components are available. in TickFrame() 876 SCENE_NS::IEntityCollection& collection, BASE_NS::string_view backupCollection, in GetEntityId() 880 entityName = collection.GetUniqueIdentifierRecursive(entity); in GetEntityId() 886 collection.AddEntityToSubcollection(backupCollection, entityName, entity, true); in GetEntityId() 887 auto gltfCollectionIx = collection.GetSubCollectionIndex(backupCollection); in GetEntityId() 888 if (auto gltfCollection = collection.GetSubCollection(gltfCollectionIx)) { in GetEntityId() 901 void ExtractQueryResults(CORE_NS::ComponentQuery& query, SCENE_NS::IEntityCollection& collection, in ExtractQueryResults() argument 909 if (GetEntityId(row.entity, id, collection, backupCollection, nameComponentManager)) { in ExtractQueryResults() 1168 // traverse through scene collection in FindResource() 1598 // Root level entity collection ite in RenameEntity() 875 GetEntityId(const CORE_NS::Entity& entity, BASE_NS::string_view& entityName, SCENE_NS::IEntityCollection& collection, BASE_NS::string_view backupCollection, CORE3D_NS::INameComponentManager& nameComponentManager) GetEntityId() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/include/ |
H A D | document_store.h | 23 #include "collection.h" 38 int UpdateDocument(const std::string &collection, const std::string &filter, const std::string &update, 41 int UpsertDocument(const std::string &collection, const std::string &filter, const std::string &document, 44 int InsertDocument(const std::string &collection, const std::string &document, uint32_t flags); 46 int DeleteDocument(const std::string &collection, const std::string &filter, uint32_t flags); 48 int FindDocument(const std::string &collection, const std::string &filter, const std::string &projection, 53 bool IsExistResultSet(const std::string &collection); 74 int InsertDataIntoDB(const std::string &collection, const std::string &document, JsonObject &documentObj,
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | entity_collection.cpp | 69 IEntityCollection& AddSubCollectionClone(IEntityCollection& collection, BASE_NS::string_view uri) override; 248 CORE_LOG_W("Trying to add empty entity to a collection '%s'", uri_.c_str()); in AddEntities() 277 for (auto& collection : collections_) { in RemoveEntity() 278 BASE_ASSERT(collection); in RemoveEntity() 279 if (collection->RemoveEntity(entity)) { in RemoveEntity() 368 IEntityCollection& EntityCollection::AddSubCollectionClone(IEntityCollection& collection, string_view uri) in AddSubCollectionClone() argument 370 collections_.emplace_back(EntityCollection::Ptr { new EntityCollection(ecs_, uri, collection.GetContextUri()) }); in AddSubCollectionClone() 372 static_cast<EntityCollection&>(collection).ClonePrivate(ec); in AddSubCollectionClone() 401 for (const auto& collection : collections_) { 402 BASE_ASSERT(collection); [all...] |
H A D | asset_migration.cpp | 83 void MigrateAnimation(IEntityCollection& collection) in MigrateAnimation() argument 85 auto* aocm = GetManager<IAnimationOutputComponentManager>(collection.GetEcs()); in MigrateAnimation() 88 collection.GetEntitiesRecursive(false, entities); in MigrateAnimation()
|
H A D | asset_migration.h | 24 void MigrateAnimation(IEntityCollection& collection);
|
H A D | ecs_serializer.cpp | 252 // Figure out the correct collection (Recursive). in EntityFromJson() 253 const IEntityCollection* collection { nullptr }; in EntityFromJson() 254 const auto* collectionJson = jsonIn.find("collection"); in EntityFromJson() 260 collection = ec.GetSubCollection(static_cast<size_t>(index)); in EntityFromJson() 263 if (!collection) { in EntityFromJson() 271 collection = ec.GetSubCollection(collectionIndex); in EntityFromJson() 278 CORE_LOG_W("Invalid collection for a component."); in EntityFromJson() 282 if (collection) { in EntityFromJson() 285 return EntityFromJson(*collection, *entityJson, entityOut); in EntityFromJson() 302 // Write entity index/name if part of this collection in EntityToJson() 320 auto* collection = ec.GetSubCollection(i); EntityToJson() local 514 auto* collection = ec.GetSubCollection(i); WriteEntityCollection() local [all...] |
H A D | ecs_asset_manager.cpp | 79 // Mapping from uri to a collection of entities. The entities live in the ECS but we need to keep track of some kind 96 if (ext == "collection") { in GetExtensionType() 160 // Check if this collection was already loaded. in LoadAssetToCache() 170 // Need to first remove the possible cached collection because otherwise gltf importer will not reload the resources in LoadAssetToCache() 177 // Add loaded collection to cache map. in LoadAssetToCache() 201 // Add the created collection to the cache map. in CreateCachedCollection() 210 auto collection = cacheCollections_.find(cacheId); in GetCachedCollection() local 211 return collection != cacheCollections_.cend() ? collection->second.get() : nullptr; in GetCachedCollection() 243 // Set the active state when the collection empt in RefreshAsset() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/interface/src/ |
H A D | document_store.cpp | 44 GLOGE("Check collection name invalid. %d", errCode); in CreateCollection() 50 GLOGE("Read collection option str failed. %d", errCode); in CreateCollection() 72 GLOGE("Create collection failed. %d", errCode); in CreateCollection() 90 GLOGE("Check collection name invalid. %d", errCode); in DropCollection() 111 GLOGE("Drop collection failed. %d", errCode); in DropCollection() 117 GLOGE("Clean collection option failed. %d", errCode); in DropCollection() 142 int UpdateArgsCheck(const std::string &collection, const std::string &filter, const std::string &update, uint32_t flags) in UpdateArgsCheck() argument 146 if (!CheckCommon::CheckCollectionName(collection, lowerCaseCollName, errCode)) { in UpdateArgsCheck() 147 GLOGE("Check collection name invalid. %d", errCode); in UpdateArgsCheck() 257 int DocumentStore::UpdateDocument(const std::string &collection, cons argument 284 UpsertArgsCheck(const std::string &collection, const std::string &filter, const std::string &document, uint32_t flags) UpsertArgsCheck() argument 445 UpsertDocument(const std::string &collection, const std::string &filter, const std::string &document, uint32_t flags) UpsertDocument() argument 483 InsertArgsCheck(const std::string &collection, const std::string &document, uint32_t flags) InsertArgsCheck() argument 502 InsertDataIntoDB(const std::string &collection, const std::string &document, JsonObject &documentObj, bool &isIdExist) InsertDataIntoDB() argument 520 InsertDocument(const std::string &collection, const std::string &document, uint32_t flags) InsertDocument() argument 539 DeleteArgsCheck(const std::string &collection, const std::string &filter, uint32_t flags) DeleteArgsCheck() argument 596 DeleteDocument(const std::string &collection, const std::string &filter, uint32_t flags) DeleteDocument() argument 712 FindArgsCheck(const std::string &collection, const std::string &filter, const std::string &projection, uint32_t flags) FindArgsCheck() argument 801 FindDocument(const std::string &collection, const std::string &filter, const std::string &projection, uint32_t flags, GRD_ResultSet *grdResultSet) FindDocument() argument 837 IsExistResultSet(const std::string &collection) IsExistResultSet() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | typography_create.cpp | 27 std::shared_ptr<FontCollection> collection) in Create() 29 return std::make_unique<AdapterTxt::TypographyCreate>(style, collection); in Create() 34 std::shared_ptr<OHOS::Rosen::FontCollection> collection) in TypographyCreate() 37 auto txtFontCollection = Convert(collection)->Get(); in TypographyCreate() 26 Create(const TypographyStyle& style, std::shared_ptr<FontCollection> collection) Create() argument 33 TypographyCreate(const TypographyStyle& style, std::shared_ptr<OHOS::Rosen::FontCollection> collection) TypographyCreate() argument
|
H A D | typography_create.h | 28 TypographyCreate(const TypographyStyle& style, std::shared_ptr<FontCollection> collection);
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_styled_string.h | 56 * @param collection 指向OH_Drawing_FontCollection的指针,由{@link OH_Drawing_CreateFontCollection}获取。
61 OH_Drawing_TypographyStyle* style, OH_Drawing_FontCollection* collection);
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_typography_create.h | 41 const TestingTypographyStyle &style, std::shared_ptr<TestingFontCollection> collection) in Create() 40 Create( const TestingTypographyStyle &style, std::shared_ptr<TestingFontCollection> collection) Create() argument
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | typography_create.h | 50 std::shared_ptr<FontCollection> collection);
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/include/scene_plugin/interface/ |
H A D | intf_entity_collection.h | 92 virtual IEntityCollection& AddSubCollectionClone(IEntityCollection& collection, BASE_NS::string_view uri) = 0; 125 BASE_NS::string_view collection, BASE_NS::string_view name, CORE_NS::Entity entity, bool makeUnique = true) = 0;
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/include/ecs_serializer/ |
H A D | intf_entity_collection.h | 82 virtual IEntityCollection& AddSubCollectionClone(IEntityCollection& collection, string_view uri) = 0;
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_node_extented.cpp | 524 OH_Drawing_TypographyStyle* typoStyle, OH_Drawing_FontCollection* collection) in OH_ArkUI_StyledString_Create() 527 storage->builder = OH_Drawing_CreateTypographyHandler(typoStyle, collection); in OH_ArkUI_StyledString_Create() 523 OH_ArkUI_StyledString_Create( OH_Drawing_TypographyStyle* typoStyle, OH_Drawing_FontCollection* collection) OH_ArkUI_StyledString_Create() argument
|
/foundation/multimodalinput/input/service/subscriber/include/ |
H A D | key_subscriber_handler.h | 77 void DumpSubscribers(int32_t fd, const SubscriberCollection &collection) const;
|
/foundation/multimodalinput/input/service/subscriber/src/ |
H A D | key_subscriber_handler.cpp | 1216 void KeySubscriberHandler::DumpSubscribers(int32_t fd, const SubscriberCollection &collection) const in DumpSubscribers() 1218 for (auto iter = collection.begin(); iter != collection.end(); ++iter) { in DumpSubscribers()
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_connection.cpp | 96 std::map<std::string, Connection::Info> collection; in Collect() local 124 collection.insert(std::pair{ suffix.debug_, info }); in Collect() 126 return collection; in Collect()
|