Lines Matching refs:ext
180 auto ext = path.substr(path.find_last_of(".") + 1); in _findByPath() local
181 if (!ext.compare("tvg")) return _find(FileType::Tvg); in _findByPath()
182 if (!ext.compare("svg")) return _find(FileType::Svg); in _findByPath()
183 if (!ext.compare("json")) return _find(FileType::Lottie); in _findByPath()
184 if (!ext.compare("png")) return _find(FileType::Png); in _findByPath()
185 if (!ext.compare("jpg")) return _find(FileType::Jpg); in _findByPath()
186 if (!ext.compare("webp")) return _find(FileType::Webp); in _findByPath()
187 if (!ext.compare("ttf") || !ext.compare("ttc")) return _find(FileType::Ttf); in _findByPath()
188 if (!ext.compare("otf") || !ext.compare("otc")) return _find(FileType::Ttf); in _findByPath()
302 auto ext = path.substr(path.find_last_of(".") + 1); in loader() local
303 if (!ext.compare("svg") || !ext.compare("json")) allowCache = false; in loader()