Home
last modified time | relevance | path

Searched refs:allTags (Results 1 - 4 of 4) sorted by relevance

/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_dump.cpp208 bool CheckTags(const std::vector<std::string> &tags, const std::map<std::string, TagCategory> &allTags) in CheckTags() argument
211 if (allTags.find(tag) == allTags.end()) { in CheckTags()
288 void TraceInit(const std::map<std::string, TagCategory> &allTags) in TraceInit() argument
291 for (auto it = allTags.begin(); it != allTags.end(); it++) { in TraceInit()
310 void SetAllTags(const TraceParams &traceParams, const std::map<std::string, TagCategory> &allTags, in SetAllTags() argument
342 auto iter = allTags.find(tagName); in SetAllTags()
343 if (iter == allTags.end()) { in SetAllTags()
430 bool SetTraceSetting(const TraceParams &traceParams, const std::map<std::string, TagCategory> &allTags, in SetTraceSetting() argument
1224 HandleTraceOpen(const TraceParams &traceParams, const std::map<std::string, TagCategory> &allTags, const std::map<std::string, std::vector<std::string>> &tagGroupTable) HandleTraceOpen() argument
1236 HandleServiceTraceOpen(const std::vector<std::string> &tagGroups, const std::map<std::string, TagCategory> &allTags, const std::map<std::string, std::vector<std::string>> &tagGroupTable) HandleServiceTraceOpen() argument
1287 ParseArgs(const std::string &args, TraceParams &cmdTraceParams, const std::map<std::string, TagCategory> &allTags, const std::map<std::string, std::vector<std::string>> &tagGroupTable) ParseArgs() argument
1381 std::map<std::string, TagCategory> allTags; OpenTrace() local
1427 std::map<std::string, TagCategory> allTags; OpenTrace() local
1592 std::map<std::string, TagCategory> allTags; CloseTrace() local
[all...]
/base/hiviewdfx/hitrace/frameworks/include/
H A Dcommon_utils.h59 bool ParseTagInfo(std::map<std::string, TagCategory> &allTags,
/base/hiviewdfx/hitrace/frameworks/native/
H A Dcommon_utils.cpp150 static bool ParseTagCategory(cJSON* tagCategoryNode, std::map<std::string, TagCategory>& allTags) in ParseTagCategory() argument
171 allTags.insert(std::pair<std::string, TagCategory>(tags->string, tagCategory)); in ParseTagCategory()
196 bool ParseTagInfo(std::map<std::string, TagCategory> &allTags, in ParseTagInfo() argument
210 if (!ParseTagCategory(tagCategory, allTags)) { in ParseTagInfo()
/base/hiviewdfx/hitrace/test/unittest/hitrace_dump/
H A Dhitrace_dump_test.cpp733 std::map<std::string, OHOS::HiviewDFX::Hitrace::TagCategory> allTags; in HWTEST_F() local
735 ASSERT_TRUE(ParseTagInfo(allTags, tagGroupTable) == true); in HWTEST_F()
736 ASSERT_TRUE(allTags.size() > 0); in HWTEST_F()
747 std::map<std::string, OHOS::HiviewDFX::Hitrace::TagCategory> allTags; in HWTEST_F() local
753 ParseTagInfo(allTags, tagGroupTable); in HWTEST_F()
755 ParseTagInfo(allTags, tagGroupTable); in HWTEST_F()
757 ParseTagInfo(allTags, tagGroupTable); in HWTEST_F()

Completed in 5 milliseconds