Lines Matching refs:end

263     const uint8_t* end;  member
269 packet->end = buff + bufflen; in _dnsPacket_init()
280 if (p > packet->end) p = packet->end; in _dnsPacket_skip()
288 if (p + 2 > packet->end) return -1; in _dnsPacket_readInt16()
302 if (p + numBytes > packet->end) return 0; in _dnsPacket_checkBytes()
316 const uint8_t* end = packet->end; in _dnsPacket_checkQName() local
321 if (p >= end) break; in _dnsPacket_checkQName()
373 if (p + DNS_HEADER_SIZE > packet->end) { in _dnsPacket_checkQuery()
439 const uint8_t* end = packet->end; in _dnsPacket_hashBytes() local
441 while (numBytes > 0 && p < end) { in _dnsPacket_hashBytes()
451 const uint8_t* end = packet->end; in _dnsPacket_hashQName() local
456 if (p >= end) { /* should not happen */ in _dnsPacket_hashQName()
469 if (p + c >= end) { in _dnsPacket_hashQName()
546 const uint8_t* end1 = pack1->end; in _dnsPacket_isEqualDomainName()
548 const uint8_t* end2 = pack2->end; in _dnsPacket_isEqualDomainName()
588 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()
1454 if (sNetConfigMap.find(netid) != sNetConfigMap.end()) { in resolv_create_cache_for_net()
1499 if (auto it = sNetConfigMap.find(netid); it != sNetConfigMap.end()) { in find_netconfig_locked()
1530 std::copy_if(domains.begin(), domains.end(), std::back_inserter(res), in filter_domains()
1660 const std::set<std::string> olds(oldServers.begin(), oldServers.end()); in resolv_is_nameservers_equal()
1661 const std::set<std::string> news(newServers.begin(), newServers.end()); in resolv_is_nameservers_equal()
1786 if (search_returnCode != subsampling_map.end()) { in resolv_cache_get_subsampling_denom()
1790 denom = (search_default == subsampling_map.end()) ? 0 : search_default->second; in resolv_cache_get_subsampling_denom()
1953 std::sort(sortedTransTypes.begin(), sortedTransTypes.end()); in convert_network_type()