Searched refs:AbsDiff (Results 1 – 2 of 2) sorted by relevance
87 static uint32_t AbsDiff(uint32_t seq1, uint32_t seq2) { in AbsDiff() function132 uint32_t diff1 = AbsDiff(seq1, mHighestSeqNumber); in queuePacket()133 uint32_t diff2 = AbsDiff(seq2, mHighestSeqNumber); in queuePacket()134 uint32_t diff3 = AbsDiff(seq3, mHighestSeqNumber); in queuePacket()
118 static typename MathLimits<T>::UnsignedType AbsDiff(const T x, const T y) { in AbsDiff() function155 return AbsDiff(x, y) <= Max(margin, relative_margin); in WithinFractionOrMargin()