Lines Matching refs:bytes
17 //Create random bytes.
19 UINT8 *bytes = generate_random_bytes(size);
22 UINT64 *validation = (UINT64 *)bytes;
30 *(bytes + 73) &= ~0x1C; //Extended bits 2-4
33 *(bytes + 72) = rand() % 16; //Memory error type
36 create_valid_error_section(bytes + 8);
39 *location = bytes;
48 //Create random bytes.
50 UINT8 *bytes = generate_random_bytes(size);
53 UINT64 *validation = (UINT64 *)bytes;
61 *(bytes + 63) = 0; //Reserved byte 63
64 *(bytes + 61) = rand() % 16; //Memory error type
65 *(bytes + 62) = rand() % 2; //Status
68 create_valid_error_section(bytes + 8);
71 *location = bytes;