Lines Matching defs:pfx
28 int av_strstart(const char *str, const char *pfx, const char **ptr)
30 while (*pfx && *pfx == *str) {
31 pfx++;
34 if (!*pfx && ptr)
36 return !*pfx;
39 int av_stristart(const char *str, const char *pfx, const char **ptr)
41 while (*pfx && toupper((unsigned)*pfx) == toupper((unsigned)*str)) {
42 pfx++;
45 if (!*pfx && ptr)
47 return !*pfx;