Home | History | Annotate | Download | only in files

Lines Matching defs:last_dot

124   const StringType::size_type last_dot = FinalExtensionSeparatorPosition(path);
127 if (last_dot == StringType::npos || last_dot == 0U)
128 return last_dot;
131 path.rfind(FilePath::kExtensionSeparator, last_dot - 1);
133 path.find_last_of(FilePath::kSeparators, last_dot - 1,
139 return last_dot;
148 StringType extension(path, last_dot + 1);
151 if ((last_dot - penultimate_dot) <= 5U &&
152 (last_dot - penultimate_dot) > 1U) {
158 return last_dot;