Lines Matching refs:Sum
43 UINT8 Sum; in CalculateSum8() local
49 for (Sum = 0, Count = 0; Count < Length; Count++) { in CalculateSum8()
50 Sum = (UINT8) (Sum + *(Buffer + Count)); in CalculateSum8()
53 return Sum; in CalculateSum8()
118 UINT16 Sum; in CalculateSum16() local
128 for (Sum = 0, Count = 0; Count < Total; Count++) { in CalculateSum16()
129 Sum = (UINT16) (Sum + *(Buffer + Count)); in CalculateSum16()
132 return Sum; in CalculateSum16()
200 UINT32 Sum; in CalculateSum32() local
210 for (Sum = 0, Count = 0; Count < Total; Count++) { in CalculateSum32()
211 Sum = Sum + *(Buffer + Count); in CalculateSum32()
214 return Sum; in CalculateSum32()
282 UINT64 Sum; in CalculateSum64() local
292 for (Sum = 0, Count = 0; Count < Total; Count++) { in CalculateSum64()
293 Sum = Sum + *(Buffer + Count); in CalculateSum64()
296 return Sum; in CalculateSum64()