Lines Matching refs:number
108 // Converts an IPv4 component to a 32-bit number, while checking for overflow.
111 // - IPV4 - The number was valid, and did not overflow.
122 uint32* number) {
171 // Use the 64-bit strtoi so we get a big number (no hex, decimal, or octal
172 // number can overflow a 64-bit number in <= 16 characters).
180 *number = static_cast<uint32>(num);
441 // add up to the right number of bits (hex components are 16 bits, while
472 // Converts a hex comonent into a number. This cannot fail since the caller has
486 // Convert it to a number (overflow is not possible, since with 4 hex
487 // characters we can at most have a 16 bit number).
491 // Converts an IPv6 address to a 128-bit number (network byte order), returning
530 uint16 number = IPv6HexComponentToNumber<CHAR>(
533 address[cur_index_in_address++] = (number & 0xFF00) >> 8;
534 address[cur_index_in_address++] = (number & 0x00FF);
538 // If there was an IPv4 section, convert it into a 32-bit number and append
553 // Append the 32-bit number to |address|.
607 // Turn the IP address into a 128 bit number.
652 // Stringify the 16 bit number (at most requires 4 hex digits).
658 // Put a colon after each number, except the last.