Home
last modified time | relevance | path

Searched refs:destStr (Results 1 – 3 of 3) sorted by relevance

/developtools/profiler/device/cmds/test/unittest/
Dhiprofiler_cmd_test.cpp510 std::string destStr = "help"; variable
511 EXPECT_EQ(strncmp(content.c_str(), destStr.c_str(), strlen(destStr.c_str())), 0);
516 destStr = "Service not started";
517 EXPECT_EQ(strncmp(content.c_str(), destStr.c_str(), strlen(destStr.c_str())), 0);
523 destStr = "OK";
524 EXPECT_EQ(strncmp(content.c_str(), destStr.c_str(), strlen(destStr.c_str())), 0);
544 std::string destStr = "Read " + configTestFile + " fail"; variable
545 EXPECT_TRUE(content.find(destStr) != std::string::npos);
618 std::string destStr = "plugin"; variable
619 EXPECT_TRUE(content.find(destStr) != std::string::npos);
/developtools/profiler/device/cmds/src/
Dparse_plugin_config.cpp58 std::string destStr = (i % REMAINDER) ? "config_data" : "plugin_name"; in GetPluginsConfig() local
59 beginPos = content.find(destStr); in GetPluginsConfig()
64 content = content.substr(beginPos + destStr.size(), content.size()); in GetPluginsConfig()
65 destStr = (i % REMAINDER) ? "{" : "\""; in GetPluginsConfig()
66 beginPos = content.find(destStr); in GetPluginsConfig()
71 destStr = (i % REMAINDER) ? "}" : "\""; in GetPluginsConfig()
72 endPos = content.find(destStr); in GetPluginsConfig()
/developtools/profiler/hiebpf/test/unittest/
Dringbuffer_test.cpp436 std::string destStr = "this is hiebpf test file"; variable
437 const int size = destStr.length();
438 ret = ringBuffer->Put(destStr);
449 EXPECT_STREQ(buff, destStr.c_str());