Lines Matching refs:bytes
18 //Create random bytes.
20 UINT8 *bytes = generate_random_bytes(size);
23 UINT64 *reserved = (UINT64 *)(bytes + 16);
28 *(bytes + 4) = rand() % 0xC; //Fault reason.
29 *(bytes + 5) = rand() % 2; //Access type.
30 *(bytes + 6) = rand() % 2; //Address type.
31 *(bytes + 7) = rand() % 2 + 1; //Architecture type.
34 *location = bytes;
44 //Create random bytes.
46 UINT8 *bytes = generate_random_bytes(size);
50 *(bytes + 36 + i) = 0; //Reserved bytes 36-47.
52 UINT8 *fault_record = bytes + 48;
60 *location = bytes;
70 //Create random bytes.
72 UINT8 *bytes = generate_random_bytes(size);
76 *(bytes + 1 + i) = 0; //Reserved bytes 1 to 7.
78 UINT64 *reserved = (UINT64 *)(bytes + 24);
79 *reserved = 0; //Reserved bytes 24-31.
81 *(bytes + 48 + i) = 0; //Reserved bytes 48-63.
85 *location = bytes;