Lines Matching refs:vlen
493 size_t vlen; in parse_cookie_header() local
514 vlen = strcspn(++ptr, ";\r\n"); in parse_cookie_header()
517 ptr = &valuep[vlen]; in parse_cookie_header()
520 while(vlen && ISBLANK(valuep[vlen-1])) in parse_cookie_header()
521 vlen--; in parse_cookie_header()
524 while(vlen && ISBLANK(*valuep)) { in parse_cookie_header()
526 vlen--; in parse_cookie_header()
530 if(memchr(valuep, '\t', vlen)) { in parse_cookie_header()
537 vlen = 0; in parse_cookie_header()
545 if(nlen >= (MAX_NAME-1) || vlen >= (MAX_NAME-1) || in parse_cookie_header()
546 ((nlen + vlen) > MAX_NAME)) { in parse_cookie_header()
548 nlen, vlen); in parse_cookie_header()
578 strstore(&co->value, valuep, vlen); in parse_cookie_header()
588 else if(!vlen) { in parse_cookie_header()
616 strstore(&co->path, valuep, vlen); in parse_cookie_header()
625 strncasecompare("domain", namep, 6) && vlen) { in parse_cookie_header()
635 vlen--; in parse_cookie_header()
644 if(bad_domain(valuep, vlen)) in parse_cookie_header()
651 || (is_ip && !strncmp(valuep, domain, vlen) && in parse_cookie_header()
652 (vlen == strlen(domain))) in parse_cookie_header()
653 || (!is_ip && cookie_tailmatch(valuep, vlen, domain))) { in parse_cookie_header()
654 strstore(&co->domain, valuep, vlen); in parse_cookie_header()