Lines Matching refs:ipv4
12 // Optimization. To be considered as a possible ipv4, the string must end
38 the ipv4 if we return true here. We might as well parse it and have at
10335 std::string ipv4(const uint64_t address) noexcept {
11246 uint64_t ipv4{0};
11278 // At this stage, ipv4 contains digit_count*8 bits.
11283 ipv4 <<= (32 - digit_count * 8);
11284 ipv4 |= segment_result;
11292 ipv4 <<= 8;
11293 ipv4 |= segment_result;
11306 host = ada::serializers::ipv4(ipv4); // We have to reserialize the address.
11677 ada_log("parse_host fast path ipv4");
11701 ada_log("parse_host got ipv4 ", *host);
13631 // the presence of characters that cannot appear in the ipv4 address and we
13640 ada_log("parse_host fast path ipv4");
13668 ada_log("parse_host got ipv4 ", *host);
14032 uint64_t ipv4{0};
14069 // At this stage, ipv4 contains digit_count*8 bits.
14074 ipv4 <<= (32 - digit_count * 8);
14075 ipv4 |= segment_result;
14083 ipv4 <<= 8;
14084 ipv4 |= segment_result;
14105 // Optimization opportunity: Get rid of unnecessary string return in ipv4
14110 ada::serializers::ipv4(ipv4)); // We have to reserialize the address.