Home
last modified time | relevance | path

Searched refs:remove_prefix (Results 1 – 7 of 7) sorted by relevance

/system/core/healthd/
DAnimationParser.cpp40 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()
DAnimationParser.h27 bool remove_prefix(const std::string& str, const char* prefix, const char** rest);
/system/core/healthd/tests/
DAnimationParser_test.cpp38 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/
Dpath.cpp80 path.remove_prefix(1); in normalize()
155 path.remove_prefix(1); in preparePathComponent()
175 relative.remove_prefix(1); in relativize()
DMountRegistry.cpp304 chunk.remove_prefix(lineEnd + 1); in forEachLine()
/system/libbase/include/android-base/
Dstrings.h76 s->remove_prefix(prefix.size()); in ConsumePrefix()
/system/core/adb/
Dsockets.cpp610 command.remove_prefix(count); in parse_host_service()