Lines Matching refs:ends_with
56 ends_with(const char * haystack, const char * needle)
378 return (ends_with(file, ".mpg") || ends_with(file, ".mpeg") ||
379 ends_with(file, ".avi") || ends_with(file, ".divx") ||
380 ends_with(file, ".asf") || ends_with(file, ".wmv") ||
381 ends_with(file, ".mp4") || ends_with(file, ".m4v") ||
382 ends_with(file, ".mts") || ends_with(file, ".m2ts") ||
383 ends_with(file, ".m2t") || ends_with(file, ".mkv") ||
384 ends_with(file, ".vob") || ends_with(file, ".ts") ||
385 ends_with(file, ".flv") || ends_with(file, ".xvid") ||
387 ends_with(file, ".TiVo") ||
389 ends_with(file, ".m2v") || /* Foxconn add by Hank to support .m2v, 2012/04/12 */
390 ends_with(file, ".mov") || ends_with(file, ".3gp"));
396 return (ends_with(file, ".mp3") || ends_with(file, ".flac") ||
397 ends_with(file, ".wma") || ends_with(file, ".asf") ||
398 ends_with(file, ".fla") || ends_with(file, ".flc") ||
399 ends_with(file, ".m4a") || ends_with(file, ".aac") ||
400 ends_with(file, ".mp4") || ends_with(file, ".m4p") ||
401 ends_with(file, ".wav") || ends_with(file, ".ogg") ||
402 ends_with(file, ".pcm") || ends_with(file, ".3gp"));
408 return (ends_with(file, ".jpg") || ends_with(file, ".jpeg"));
414 return (ends_with(file, ".m3u") || ends_with(file, ".pls"));
420 return (ends_with(file, ".srt") || ends_with(file, ".smi"));