Searched refs:remove_prefix (Results 1 – 5 of 5) sorted by relevance
/system/core/healthd/ |
D | AnimationParser.cpp | 40 bool remove_prefix(const std::string& line, const char* prefix, const char** rest) { in remove_prefix() function 97 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc() 107 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc() 109 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc() 114 } else if (remove_prefix(line, percent_prefix, &rest)) { in parse_animation_desc()
|
D | AnimationParser.h | 27 bool remove_prefix(const std::string& str, const char* prefix, const char** rest);
|
/system/core/healthd/tests/ |
D | AnimationParser_test.cpp | 38 EXPECT_FALSE(remove_prefix(TEST_STRING, "def", &rest)); in TEST() 40 EXPECT_FALSE(remove_prefix(TEST_STRING, TEST_STRING, &rest)); in TEST() 42 EXPECT_TRUE(remove_prefix(TEST_STRING, "abc", &rest)); in TEST() 45 EXPECT_TRUE(remove_prefix(" abcdef", "abc", &rest)); in TEST()
|
/system/core/adb/ |
D | adb_utils.h | 147 str->remove_prefix(prefix.size()); in ConsumePrefix()
|
D | sockets.cpp | 610 command.remove_prefix(count); in parse_host_service()
|