Lines Matching refs:next4bytes
121 uint32_t next4bytes; in compute_checksum32() local
127 (void) memcpy(&next4bytes, &(bytes[i]), 4); in compute_checksum32()
128 swap_long(next4bytes); in compute_checksum32()
130 if (next4bytes > UINT32_T_MAX - regval) { in compute_checksum32()
131 next4bytes -= UINT32_T_MAX - regval; in compute_checksum32()
136 regval += next4bytes; in compute_checksum32()
148 (void) memcpy(&next4bytes, tailbytes, 4); in compute_checksum32()
149 swap_long(next4bytes); in compute_checksum32()
150 if (next4bytes > UINT32_T_MAX - regval) { in compute_checksum32()
151 next4bytes -= UINT32_T_MAX - regval; in compute_checksum32()
154 regval += next4bytes; in compute_checksum32()