Lines Matching refs:dohlen
225 &p->dohlen); in dohprobe()
250 ERROR_CHECK_SETOPT(CURLOPT_POSTFIELDSIZE, (long)p->dohlen); in dohprobe()
422 static DOHcode skipqname(const unsigned char *doh, size_t dohlen, in skipqname() argument
427 if(dohlen < (*indexp + 1)) in skipqname()
432 if(dohlen < (*indexp + 2)) in skipqname()
439 if(dohlen < (*indexp + 1 + length)) in skipqname()
490 size_t dohlen, in store_cname() argument
503 if(index >= dohlen) in store_cname()
509 if((index + 1) >= dohlen) in store_cname()
527 if((index + length) > dohlen) in store_cname()
542 size_t dohlen, in rdata() argument
570 rc = store_cname(doh, dohlen, index, d); in rdata()
595 size_t dohlen, in doh_decode() argument
609 if(dohlen < 12) in doh_decode()
619 rc = skipqname(doh, dohlen, &index); in doh_decode()
622 if(dohlen < (index + 4)) in doh_decode()
633 rc = skipqname(doh, dohlen, &index); in doh_decode()
637 if(dohlen < (index + 2)) in doh_decode()
648 if(dohlen < (index + 2)) in doh_decode()
655 if(dohlen < (index + 4)) in doh_decode()
663 if(dohlen < (index + 2)) in doh_decode()
668 if(dohlen < (index + rdlength)) in doh_decode()
671 rc = rdata(doh, dohlen, rdlength, type, index, d); in doh_decode()
680 rc = skipqname(doh, dohlen, &index); in doh_decode()
684 if(dohlen < (index + 8)) in doh_decode()
689 if(dohlen < (index + 2)) in doh_decode()
694 if(dohlen < (index + rdlength)) in doh_decode()
702 rc = skipqname(doh, dohlen, &index); in doh_decode()
706 if(dohlen < (index + 8)) in doh_decode()
711 if(dohlen < (index + 2)) in doh_decode()
716 if(dohlen < (index + rdlength)) in doh_decode()
722 if(index != dohlen) in doh_decode()