Searched refs:intAbs (Results 1 – 3 of 3) sorted by relevance
37 private static int intAbs(short v) { in intAbs() method in IpUtils60 sum += intAbs(shortBuf.get(i)); in checksum()79 return intAbs((short) negated); in checksum()85 partial += intAbs(buf.getShort(headerOffset + 12)); in pseudoChecksumIPv4()86 partial += intAbs(buf.getShort(headerOffset + 14)); in pseudoChecksumIPv4()87 partial += intAbs(buf.getShort(headerOffset + 16)); in pseudoChecksumIPv4()88 partial += intAbs(buf.getShort(headerOffset + 18)); in pseudoChecksumIPv4()96 partial += intAbs(buf.getShort(headerOffset + offset)); in pseudoChecksumIPv6()133 int transportLen = intAbs(buf.getShort(transportOffset + 4)); in udpChecksum()
451 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 2)); in fillInPacket()452 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 4)); in fillInPacket()453 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 6)); in fillInPacket()454 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 8)); in fillInPacket()475 private static int intAbs(short v) { in intAbs() method in DhcpPacket500 sum += intAbs(s); in checksum()520 return intAbs((short) negated); in checksum()
648 HPLandroid/net/dhcp/DhcpPacket;->intAbs(S)I