Lines Matching defs:pfx
29 int av_strstart(const char *str, const char *pfx, const char **ptr)
31 while (*pfx && *pfx == *str) {
32 pfx++;
35 if (!*pfx && ptr)
37 return !*pfx;
40 int av_stristart(const char *str, const char *pfx, const char **ptr)
42 while (*pfx && toupper((unsigned)*pfx) == toupper((unsigned)*str)) {
43 pfx++;
46 if (!*pfx && ptr)
48 return !*pfx;