Lines Matching refs:pfx
33 int av_strstart(const char *str, const char *pfx, const char **ptr)
35 while (*pfx && *pfx == *str) {
36 pfx++;
39 if (!*pfx && ptr)
41 return !*pfx;
44 int av_stristart(const char *str, const char *pfx, const char **ptr)
46 while (*pfx && av_toupper((unsigned)*pfx) == av_toupper((unsigned)*str)) {
47 pfx++;
50 if (!*pfx && ptr)
52 return !*pfx;