Lines Matching refs:filename
100 std::string& filename = parts[parts.size() - 1];
101 StringPiece name = filename;
105 if (filename.size() > kNinePng.size()
106 && std::equal(kNinePng.rbegin(), kNinePng.rend(), filename.rbegin())) {
108 name = name.substr(0, filename.size() - kNinePng.size());
112 size_t dot_pos = filename.rfind('.');
114 extension = name.substr(dot_pos + 1, filename.size() - (dot_pos + 1));
147 static bool IsHidden(const StringPiece& filename) {
148 return util::StartsWith(filename, ".");
226 // If the filename includes donottranslate, then the default translatable is false.