Searched refs:stripPrefix (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/cmds/incident_helper/src/parsers/ |
D | PageTypeInfoParser.cpp | 47 if (stripPrefix(&line, "Page block order:")) { in Parse() 52 if (stripPrefix(&line, "Pages per block:")) { in Parse() 56 if (stripPrefix(&line, "Free pages count per migrate type at order")) { in Parse() 60 if (stripPrefix(&line, "Number of blocks type")) { in Parse() 69 if (stripPrefix(&record[0], "Node")) { in Parse() 73 if (stripPrefix(&record[1], "zone")) { in Parse() 77 if (stripPrefix(&record[2], "type")) { in Parse() 92 if (stripPrefix(&record[0], "Node")) { in Parse() 96 if (stripPrefix(&record[1], "zone")) { in Parse()
|
D | CpuInfoParser.cpp | 70 if (stripPrefix(&line, "Threads:")) { in Parse() 77 if (stripPrefix(&line, "Mem:")) { in Parse() 84 if (stripPrefix(&line, "Swap:")) { in Parse()
|
D | ProcrankParser.cpp | 49 if (stripPrefix(&line, "ZRAM:")) { in Parse() 53 if (stripPrefix(&line, "RAM:")) { in Parse()
|
/frameworks/base/cmds/incident_helper/tests/ |
D | ih_util_test.cpp | 102 TEST(IhUtilTest, stripPrefix) { in TEST() argument 104 EXPECT_TRUE(stripPrefix(&data1, "Swap:")); in TEST() 108 EXPECT_FALSE(stripPrefix(&data2, "Total:")); in TEST() 112 EXPECT_TRUE(stripPrefix(&data3, "Swa")); in TEST() 116 EXPECT_FALSE(stripPrefix(&data4, "Swa", true)); in TEST()
|
/frameworks/base/tools/streaming_proto/ |
D | string_utils.h | 41 string stripPrefix(const string& str, const string& prefix);
|
D | string_utils.cpp | 112 stripPrefix(const string& str, const string& prefix) in stripPrefix() function
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.h | 90 bool stripPrefix(std::string* line, const char* key, bool endAtDelimiter = false);
|
D | ih_util.cpp | 169 bool stripPrefix(std::string* line, const char* key, bool endAtDelimiter) { in stripPrefix() function 432 if (stripPrefix(&mutableName, prefix.c_str())) { in insertField()
|
/frameworks/base/tools/streaming_proto/cpp/ |
D | main.cpp | 39 … text << indent << INDENT << "\"" << stripPrefix(enu.value(i).name(), prefix) << "\"," << endl; in write_enum()
|