Lines Matching refs:hostlen
787 int hostlen; in nc_uri() local
807 hostlen = IA5_OFFSET_LEN(uri, hostptr); in nc_uri()
809 hostlen = p - hostptr; in nc_uri()
811 if (hostlen == 0) in nc_uri()
816 if (hostlen > base->length) { in nc_uri()
817 p = hostptr + hostlen - base->length; in nc_uri()
824 if ((base->length != (int)hostlen) in nc_uri()
825 || ia5ncasecmp(hostptr, baseptr, hostlen)) in nc_uri()
834 int hostlen, baselen, i; in nc_ip() local
837 hostlen = ip->length; in nc_ip()
842 if (!((hostlen == 4) || (hostlen == 16))) in nc_ip()
848 if (hostlen * 2 != baselen) in nc_ip()
851 maskptr = base->data + hostlen; in nc_ip()
855 for (i = 0; i < hostlen; i++) in nc_ip()