Searched refs:remove_prefix (Results 1 – 7 of 7) 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 96 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc() 106 } else if (remove_prefix(line, fail_prefix, &rest)) { in parse_animation_desc() 108 } else if (remove_prefix(line, clock_prefix, &rest)) { in parse_animation_desc() 113 } 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/incremental_delivery/incfs/ |
D | path.cpp | 80 path.remove_prefix(1); in normalize() 155 path.remove_prefix(1); in preparePathComponent() 175 relative.remove_prefix(1); in relativize()
|
D | MountRegistry.cpp | 304 chunk.remove_prefix(lineEnd + 1); in forEachLine()
|
/system/libbase/include/android-base/ |
D | strings.h | 76 s->remove_prefix(prefix.size()); in ConsumePrefix()
|
/system/core/adb/ |
D | sockets.cpp | 610 command.remove_prefix(count); in parse_host_service()
|