Lines Matching defs:DATA
390 FAIL() << msg << ": Data doesn't match"
597 int count_onebits(const void *data, size_t size) {
600 uint8_t *byte = ((uint8_t*) data) + pos;
743 // Sanity checks the data.
849 } DATA[] = {
858 for (i = 0; i < ARRAYSIZE(DATA); i++) {
859 struct checksum_data *data = DATA + i;
860 uint16_t result = ip_checksum_adjust(data->checksum, data->old_hdr_sum, data->new_hdr_sum);
861 EXPECT_EQ(result, data->result)
863 << "\n Expected: " << data->result
865 << "\n checksum=" << data->checksum
866 << " old_sum=" << data->old_hdr_sum << " new_sum=" << data->new_hdr_sum << "\n";