Home
last modified time | relevance | path

Searched refs:entityName (Results 1 – 5 of 5) sorted by relevance

/openbmc/google-ipmi-sys/
H A Dentity_name.cpp62 std::string entityName; in getEntityName() local
65 entityName = in getEntityName()
73 int length = sizeof(struct GetEntityNameReply) + entityName.length(); in getEntityName()
83 reply.reserve(entityName.length() + sizeof(struct GetEntityNameReply)); in getEntityName()
84 reply.emplace_back(entityName.length()); /* entityNameLength */ in getEntityName()
85 reply.insert(reply.end(), entityName.begin(), in getEntityName()
86 entityName.end()); /* entityName */ in getEntityName()
H A Dhandler.cpp307 std::string entityName; in getEntityName() local
318 entityName = readNameFromConfig(it->second, instance, _entityConfig); in getEntityName()
319 if (entityName.empty()) in getEntityName()
329 return entityName; in getEntityName()
/openbmc/google-ipmi-sys/test/
H A Dentity_unittest.cpp51 std::string entityName = "asdf"; in TEST() local
55 .WillOnce(Return(entityName)); in TEST()
61 EXPECT_EQ(sizeof(GetEntityNameReply) + entityName.size(), data.size()); in TEST()
63 EXPECT_EQ(entityName.length(), data[0]); in TEST()
64 EXPECT_EQ(entityName.data(), in TEST()
/openbmc/pldm/host-bmc/
H A Dutils.cpp79 std::string entityName = entityMaps.at(node_entity.entity_type); in addObjectPathEntityAssociations() local
98 fs::path{entityName + in addObjectPathEntityAssociations()
137 path / fs::path{entityName + in addObjectPathEntityAssociations()
/openbmc/pldm/pldmtool/
H A Dpldm_platform_cmd.cpp677 std::string entityName = "[Physical] "; in getEntityName() local
681 entityName = "[Logical] "; in getEntityName()
687 return entityName + entityType.at(entityNumber); in getEntityName()
699 return entityName + OemIBMEntityType.at(entityNumber) + in getEntityName()
703 return entityName + OemString + "(OEM)"; in getEntityName()