Home | History | Annotate | Download | only in tests

Lines Matching defs:h3

301 	GptHeader h3;
305 Memcpy(&h3, h2, sizeof(h3));
306 h3.signature[0] ^= 0xba;
307 EXPECT(1 == HeaderFieldsSame(h1, &h3));
309 Memcpy(&h3, h2, sizeof(h3));
310 h3.revision++;
311 EXPECT(1 == HeaderFieldsSame(h1, &h3));
313 Memcpy(&h3, h2, sizeof(h3));
314 h3.size++;
315 EXPECT(1 == HeaderFieldsSame(h1, &h3));
317 Memcpy(&h3, h2, sizeof(h3));
318 h3.reserved_zero++;
319 EXPECT(1 == HeaderFieldsSame(h1, &h3));
321 Memcpy(&h3, h2, sizeof(h3));
322 h3.first_usable_lba++;
323 EXPECT(1 == HeaderFieldsSame(h1, &h3));
325 Memcpy(&h3, h2, sizeof(h3));
326 h3.last_usable_lba++;
327 EXPECT(1 == HeaderFieldsSame(h1, &h3));
329 Memcpy(&h3, h2, sizeof(h3));
330 h3.disk_uuid.u.raw[0] ^= 0xba;
331 EXPECT(1 == HeaderFieldsSame(h1, &h3));
333 Memcpy(&h3, h2, sizeof(h3));
334 h3.number_of_entries++;
335 EXPECT(1 == HeaderFieldsSame(h1, &h3));
337 Memcpy(&h3, h2, sizeof(h3));
338 h3.size_of_entry++;
339 EXPECT(1 == HeaderFieldsSame(h1, &h3));
341 Memcpy(&h3, h2, sizeof(h3));
342 h3.entries_crc32++;
343 EXPECT(1 == HeaderFieldsSame(h1, &h3));