Searched refs:groupCfg (Results 1 – 3 of 3) sorted by relevance
582 DumpStatus ConfigUtils::GetGroupSimple(const GroupCfg &groupCfg, std::vector<std::shared_ptr<DumpCf… in GetGroupSimple() argument588 if ((groupCfg.list_ == nullptr) || (groupCfg.size_ < 1)) { in GetGroupSimple()593 if (groupCfg.expand_) { in GetGroupSimple()595 dumpGroup->name_ = groupCfg.name_; in GetGroupSimple()596 dumpGroup->desc_ = groupCfg.desc_; in GetGroupSimple()597 dumpGroup->type_ = groupCfg.type_; in GetGroupSimple()598 dumpGroup->expand_ = groupCfg.expand_; in GetGroupSimple()601 auto &outlist = (groupCfg.expand_) ? dumpGroup->childs_ : result; in GetGroupSimple()603 for (int i = 0; i < groupCfg.size_; i++) { in GetGroupSimple()604 if (groupCfg.list_[i].empty()) { in GetGroupSimple()[all …]
66 static int InitParseGroupCfg_(const char *groupCfg) in InitParseGroupCfg_() argument68 INIT_LOGI("Parse group config %s", groupCfg); in InitParseGroupCfg_()69 char *fileBuf = ReadFileData(groupCfg); in InitParseGroupCfg_()70 INIT_ERROR_CHECK(fileBuf != NULL, return -1, "Failed to read file content %s", groupCfg); in InitParseGroupCfg_()73 return -1, "Failed to parse json file %s", groupCfg); in InitParseGroupCfg_()
73 … DumpStatus GetGroupSimple(const GroupCfg& groupCfg, std::vector<std::shared_ptr<DumpCfg>> &result,