Lines Matching refs:cp
1048 unsigned char *cp = NULL; in doh_decode_rdata_name() local
1062 cp = *buf; in doh_decode_rdata_name()
1063 clen = *cp++; in doh_decode_rdata_name()
1074 if(Curl_dyn_addn(&thename, cp, clen) || in doh_decode_rdata_name()
1078 cp += clen; in doh_decode_rdata_name()
1084 clen = *cp++; in doh_decode_rdata_name()
1086 *buf = cp; in doh_decode_rdata_name()
1109 unsigned char *cp = rrval; in doh_decode_rdata_alpn() local
1116 cp = rrval; in doh_decode_rdata_alpn()
1118 size_t tlen = (size_t) *cp++; in doh_decode_rdata_alpn()
1128 if('\\' == *cp || ',' == *cp) { in doh_decode_rdata_alpn()
1132 if(Curl_dyn_addn(&dval, cp++, 1)) in doh_decode_rdata_alpn()
1176 unsigned char *cp = rrval; in doh_resp_decode_httpsrr() local
1195 lhrr->priority = (uint16_t)((cp[0] << 8) + cp[1]); in doh_resp_decode_httpsrr()
1196 cp += 2; in doh_resp_decode_httpsrr()
1198 if(doh_decode_rdata_name(&cp, &remaining, &dnsname) != CURLE_OK) in doh_resp_decode_httpsrr()
1202 pcode = (uint16_t)((*cp << 8) + (*(cp + 1))); in doh_resp_decode_httpsrr()
1203 cp += 2; in doh_resp_decode_httpsrr()
1204 plen = (uint16_t)((*cp << 8) + (*(cp + 1))); in doh_resp_decode_httpsrr()
1205 cp += 2; in doh_resp_decode_httpsrr()
1208 if(doh_decode_rdata_alpn(cp, plen, &lhrr->alpns) != CURLE_OK) in doh_resp_decode_httpsrr()
1216 lhrr->ipv4hints = Curl_memdup(cp, plen); in doh_resp_decode_httpsrr()
1224 lhrr->echconfiglist = Curl_memdup(cp, plen); in doh_resp_decode_httpsrr()
1232 lhrr->ipv6hints = Curl_memdup(cp, plen); in doh_resp_decode_httpsrr()
1238 cp += plen; in doh_resp_decode_httpsrr()