Lines Matching refs:name

118   free(co->name);
474 * sometimes we get an IP-only host name, and that might also be a numerical
531 /* we have a <name>=<value> pair or a stand-alone word here */
541 /* trim trailing spaces and tabs after name */
574 * Check for too long individual name or contents, or too long
575 * combination of name + contents. Chrome and Firefox support 4095 or
581 infof(data, "oversized cookie dropped, name/val %zu + %zu bytes",
588 * otherwise have to test for the prefix in both the cookie name and
605 if(!co->name) {
606 /* The very first name/value pair is the actual cookie name */
608 /* Bad name/value pair. */
612 strstore(&co->name, namep, nlen);
615 if(!co->name || !co->value) {
619 if(invalid_octets(co->value) || invalid_octets(co->name)) {
620 infof(data, "invalid octets in name/value, cookie dropped");
627 * this was a "<name>=" with no content, and we must allow
684 * dot OR the exact host name being "localhost".
702 co->tailmatch = TRUE; /* we always do that if the domain name was
781 * Else, this is the second (or more) name we don't know about!
836 * If we didn't get a cookie name, or a bad one, the this is an illegal
839 if(badcookie || !co->name) {
857 * with httpOnly after the domain name are not accessible from javascripts,
943 co->name = strdup(ptr);
944 if(!co->name)
947 /* For Netscape file format cookies we check prefix on the name */
948 if(strncasecompare("__Secure-", co->name, 9))
950 else if(strncasecompare("__Host-", co->name, 7))
1036 /* the PSL check requires lowercase domain name and pattern */
1048 "set cookies for '%s'", co->name, domain, co->domain);
1059 if(strcasecompare(clist->name, co->name)) {
1093 "overlay an existing cookie", co->name, co->domain);
1100 if(!replace_co && strcasecompare(clist->name, co->name)) {
1149 free(clist->name);
1165 replace_old?"Replaced":"Added", co->name, co->value,
1295 * shorter path. Path, domain and name lengths are considered in that order,
1319 /* 3 - compare cookie name lengths */
1320 l1 = c1->name ? strlen(c1->name) : 0;
1321 l2 = c2->name ? strlen(c2->name) : 0;
1359 CLONE(name);
1457 * Now we need to make sure that if there is a name appearing more than
1599 "%s\t" /* name */
1612 co->name,
1620 * "-" as file name to write to stdout.