Lines Matching refs:suffix
831 char *suffix; in http_get_filename() local
852 suffix = strstr(url, ".mp3"); in http_get_filename()
853 if (!suffix) { in http_get_filename()
854 suffix = strstr(url, ".MP3"); in http_get_filename()
855 if (suffix) { in http_get_filename()
856 name_end = suffix + 3; in http_get_filename()
859 name_end = suffix + 3; in http_get_filename()
863 suffix = strstr(url, ".wav"); in http_get_filename()
864 if (!suffix) { in http_get_filename()
865 suffix = strstr(url, ".WAV"); in http_get_filename()
866 if (suffix) { in http_get_filename()
867 name_end = suffix + 3; in http_get_filename()
870 name_end = suffix + 3; in http_get_filename()
875 suffix = strstr(url, ".m4a"); in http_get_filename()
876 if (!suffix) { in http_get_filename()
877 suffix = strstr(url, ".M4A"); in http_get_filename()
878 if (suffix) { in http_get_filename()
879 name_end = suffix + 3; in http_get_filename()
882 name_end = suffix + 3; in http_get_filename()
887 suffix = strstr(url, ".pcm"); in http_get_filename()
888 if (!suffix) { in http_get_filename()
889 suffix = strstr(url, ".PCM"); in http_get_filename()
890 if (suffix) { in http_get_filename()
891 name_end = suffix + 3; in http_get_filename()
894 name_end = suffix + 3; in http_get_filename()
901 for (name_begin = suffix - 1; in http_get_filename()
914 if (name_begin == url || name_begin == suffix) { in http_get_filename()