Lines Matching defs:pfx
37 int av_strstart(const char *str, const char *pfx, const char **ptr)
39 while (*pfx && *pfx == *str) {
40 pfx++;
43 if (!*pfx && ptr)
45 return !*pfx;
48 int av_stristart(const char *str, const char *pfx, const char **ptr)
50 while (*pfx && av_toupper((unsigned)*pfx) == av_toupper((unsigned)*str)) {
51 pfx++;
54 if (!*pfx && ptr)
56 return !*pfx;