Lines Matching defs:ends_with
56 ends_with(const char * haystack, const char * needle)
293 return (ends_with(file, ".mpg") || ends_with(file, ".mpeg") ||
294 ends_with(file, ".avi") || ends_with(file, ".divx") ||
295 ends_with(file, ".asf") || ends_with(file, ".wmv") ||
296 ends_with(file, ".mp4") || ends_with(file, ".m4v") ||
297 ends_with(file, ".mts") || ends_with(file, ".m2ts") ||
298 ends_with(file, ".m2t") || ends_with(file, ".mkv") ||
299 ends_with(file, ".vob") || ends_with(file, ".ts") ||
300 ends_with(file, ".flv") || ends_with(file, ".xvid") ||
302 ends_with(file, ".TiVo") ||
304 ends_with(file, ".m2v") || /* Foxconn add by Hank to support .m2v, 2012/04/12 */
305 ends_with(file, ".mov") || ends_with(file, ".3gp"));
311 return (ends_with(file, ".mp3") || ends_with(file, ".flac") ||
312 ends_with(file, ".wma") || ends_with(file, ".asf") ||
313 ends_with(file, ".fla") || ends_with(file, ".flc") ||
314 ends_with(file, ".m4a") || ends_with(file, ".aac") ||
315 ends_with(file, ".mp4") || ends_with(file, ".m4p") ||
316 ends_with(file, ".wav") || ends_with(file, ".ogg") ||
317 ends_with(file, ".pcm") || ends_with(file, ".3gp"));
323 return (ends_with(file, ".jpg") || ends_with(file, ".jpeg"));
329 return (ends_with(file, ".m3u") || ends_with(file, ".pls"));