Lines Matching defs:ends_with
34 ends_with(const char * haystack, const char * needle)
210 return (ends_with(file, ".mpg") || ends_with(file, ".mpeg") ||
211 ends_with(file, ".avi") || ends_with(file, ".divx") ||
212 ends_with(file, ".asf") || ends_with(file, ".wmv") ||
213 ends_with(file, ".mp4") || ends_with(file, ".m4v") ||
214 ends_with(file, ".mts") || ends_with(file, ".m2ts") ||
215 ends_with(file, ".m2t") || ends_with(file, ".mkv") ||
216 ends_with(file, ".vob") || ends_with(file, ".ts") ||
217 ends_with(file, ".flv") || ends_with(file, ".xvid") ||
219 ends_with(file, ".TiVo") ||
221 ends_with(file, ".m2v") || /* Foxconn add by Silver to support .m2v, 2012/01/03 */
222 ends_with(file, ".mov") || ends_with(file, ".3gp"));
228 return (ends_with(file, ".mp3") || ends_with(file, ".flac") ||
229 ends_with(file, ".wma") || ends_with(file, ".asf") ||
230 ends_with(file, ".fla") || ends_with(file, ".flc") ||
231 ends_with(file, ".m4a") || ends_with(file, ".aac") ||
232 ends_with(file, ".mp4") || ends_with(file, ".m4p") ||
233 ends_with(file, ".wav") || ends_with(file, ".ogg") ||
234 ends_with(file, ".pcm") || ends_with(file, ".3gp"));
240 return (ends_with(file, ".jpg") || ends_with(file, ".jpeg"));
246 return (ends_with(file, ".m3u") || ends_with(file, ".pls"));