Lines Matching refs:line
40 bool remove_prefix(std::string_view line, const char* prefix, const char** rest) { in remove_prefix() argument
41 const char* str = line.data(); in remove_prefix()
90 for (const auto& line : base::Split(content, "\n")) { in parse_animation_desc() local
94 if (can_ignore_line(line.c_str())) { in parse_animation_desc()
96 } else if (remove_prefix(line, animation_prefix, &rest)) { in parse_animation_desc()
101 LOGE("Bad animation format: %s\n", line.c_str()); 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()
110 LOGE("Bad clock_display format: %s\n", line.c_str()); in parse_animation_desc()
113 } else if (remove_prefix(line, percent_prefix, &rest)) { in parse_animation_desc()
115 LOGE("Bad percent_display format: %s\n", line.c_str()); in parse_animation_desc()
118 } else if (sscanf(line.c_str(), " frame: %d %d %d", in parse_animation_desc()
122 LOGE("Malformed animation description line: %s\n", line.c_str()); in parse_animation_desc()