Lines Matching defs:ptr
506 const char *ptr = str;
515 while (*ptr && (av_isspace(*ptr) || *ptr == ','))
516 ptr++;
517 if (!*ptr)
520 key = ptr;
522 if (!(ptr = strchr(key, '=')))
524 ptr++;
525 key_len = ptr - key;
530 if (*ptr == '\"') {
531 ptr++;
532 while (*ptr && *ptr != '\"') {
533 if (*ptr == '\\') {
534 if (!ptr[1])
537 *dest++ = ptr[1];
538 ptr += 2;
541 *dest++ = *ptr;
542 ptr++;
545 if (*ptr == '\"')
546 ptr++;
548 for (; *ptr && !(av_isspace(*ptr) || *ptr == ','); ptr++)
550 *dest++ = *ptr;