Home | History | Annotate | Download | only in tests

Lines Matching refs:EXPECT

212 	EXPECT(GUID_EXPECTED_SIZE == sizeof(Guid));
213 EXPECT(GPTHEADER_EXPECTED_SIZE == sizeof(GptHeader));
214 EXPECT(GPTENTRY_EXPECTED_SIZE == sizeof(GptEntry));
226 EXPECT(GPT_SUCCESS == GptInit(gpt));
228 EXPECT(GPT_ERROR_INVALID_SECTOR_SIZE == GptInit(gpt));
262 EXPECT(cases[i].expected_retval == CheckParameters(gpt));
275 EXPECT(HeaderCrc(h1) == h1->header_crc32);
280 EXPECT(HeaderCrc(h1) != h1->header_crc32);
285 EXPECT(HeaderCrc(h1) != h1->header_crc32);
290 EXPECT(HeaderCrc(h1) == h1->header_crc32);
303 EXPECT(0 == HeaderFieldsSame(h1, h2));
307 EXPECT(1 == HeaderFieldsSame(h1, &h3));
311 EXPECT(1 == HeaderFieldsSame(h1, &h3));
315 EXPECT(1 == HeaderFieldsSame(h1, &h3));
319 EXPECT(1 == HeaderFieldsSame(h1, &h3));
323 EXPECT(1 == HeaderFieldsSame(h1, &h3));
327 EXPECT(1 == HeaderFieldsSame(h1, &h3));
331 EXPECT(1 == HeaderFieldsSame(h1, &h3));
335 EXPECT(1 == HeaderFieldsSame(h1, &h3));
339 EXPECT(1 == HeaderFieldsSame(h1, &h3));
343 EXPECT(1 == HeaderFieldsSame(h1, &h3));
356 EXPECT(1 == CheckHeader(NULL, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
363 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
364 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
372 * in header is not that, we expect the header is invalid.
398 EXPECT(CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
400 EXPECT(CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
431 EXPECT(CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
433 EXPECT(CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
450 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
451 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
454 EXPECT(0 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
455 EXPECT(0 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
471 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
472 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
480 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
481 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
519 EXPECT(CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
521 EXPECT(CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
544 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
545 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
547 EXPECT
548 EXPECT(0 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, GPT_FLAG_EXTERNAL));
563 EXPECT(1 == CheckHeader(h1, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
564 EXPECT(1 == CheckHeader(h2, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
570 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
571 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
577 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
578 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
585 EXPECT(0 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
586 EXPECT(0 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
592 EXPECT(0 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
593 EXPECT(0 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
603 EXPECT(0 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
608 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
614 EXPECT(1 == CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
615 EXPECT(1 == CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0));
664 EXPECT(CheckHeader(h1, 0, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
666 EXPECT(CheckHeader(h2, 1, gpt->streaming_drive_sectors, gpt->gpt_drive_sectors, 0) ==
684 /* Modify first byte of primary entries, and expect the CRC is wrong. */
686 EXPECT(0 == CheckEntries(e1, h1));
687 EXPECT(0 == CheckEntries(e2, h1));
690 EXPECT(GPT_ERROR_CRC_CORRUPTED == CheckEntries(e1, h1));
691 EXPECT(GPT_ERROR_CRC_CORRUPTED == CheckEntries(e2, h1));
713 EXPECT(GPT_ERROR_OUT_OF_REGION == CheckEntries(e1, h1));
719 EXPECT(GPT_ERROR_OUT_OF_REGION == CheckEntries(e1, h1));
725 EXPECT(GPT_ERROR_OUT_OF_REGION == CheckEntries(e1, h1));
732 EXPECT(0 == CheckEntries(e1, h1));
808 EXPECT(cases[i].overlapped == CheckEntries(e, h));
823 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
824 EXPECT(MASK_BOTH == gpt->valid_headers);
825 EXPECT(MASK_BOTH == gpt->valid_entries);
828 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
829 EXPECT(MASK_BOTH == gpt->valid_headers);
830 EXPECT(MASK_BOTH == gpt->valid_entries);
831 EXPECT(0 == gpt->modified);
836 EXPECT(GPT_ERROR_INVALID_SECTOR_SIZE == GptSanityCheck(gpt));
842 EXPECT(GPT_ERROR_INVALID_HEADERS == GptSanityCheck(gpt));
843 EXPECT(0 == gpt->valid_headers);
844 EXPECT(0 == gpt->valid_entries);
847 EXPECT(GPT_ERROR_INVALID_HEADERS == GptSanityCheck(gpt));
848 EXPECT(0 == gpt->valid_headers);
849 EXPECT(0 == gpt->valid_entries);
850 EXPECT(0 == gpt->modified);
854 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
855 EXPECT(MASK_SECONDARY == gpt->valid_headers);
856 EXPECT(MASK_BOTH == gpt->valid_entries);
858 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
859 EXPECT(MASK_BOTH == gpt->valid_headers);
860 EXPECT(MASK_BOTH == gpt->valid_entries);
861 EXPECT(GPT_MODIFIED_HEADER1 == gpt->modified);
865 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
866 EXPECT(MASK_PRIMARY == gpt->valid_headers);
867 EXPECT(MASK_BOTH == gpt->valid_entries);
869 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
870 EXPECT(MASK_BOTH == gpt->valid_headers);
871 EXPECT(MASK_BOTH == gpt->valid_entries);
872 EXPECT(GPT_MODIFIED_HEADER2 == gpt->modified);
881 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
882 EXPECT(MASK_PRIMARY == gpt->valid_headers);
883 EXPECT(MASK_BOTH == gpt->valid_entries);
885 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
886 EXPECT(MASK_BOTH == gpt->valid_headers);
887 EXPECT(MASK_BOTH == gpt->valid_entries);
888 EXPECT(GPT_MODIFIED_HEADER2 == gpt->modified);
894 EXPECT(GPT_ERROR_INVALID_ENTRIES == GptSanityCheck(gpt));
895 EXPECT(MASK_BOTH == gpt->valid_headers);
896 EXPECT(MASK_NONE == gpt->valid_entries);
899 EXPECT(GPT_ERROR_INVALID_ENTRIES == GptSanityCheck(gpt));
900 EXPECT(MASK_BOTH == gpt->valid_headers);
901 EXPECT(MASK_NONE == gpt->valid_entries);
902 EXPECT(0 == gpt->modified);
906 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
907 EXPECT(MASK_BOTH == gpt->valid_headers);
908 EXPECT(MASK_SECONDARY == gpt->valid_entries);
910 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
911 EXPECT(MASK_BOTH == gpt->valid_headers);
912 EXPECT(MASK_BOTH == gpt->valid_entries);
913 EXPECT(GPT_MODIFIED_ENTRIES1 == gpt->modified);
917 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
918 EXPECT(MASK_BOTH == gpt->valid_headers);
919 EXPECT(MASK_PRIMARY == gpt->valid_entries);
921 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
922 EXPECT(MASK_BOTH == gpt->valid_headers);
923 EXPECT(MASK_BOTH == gpt->valid_entries);
924 EXPECT(GPT_MODIFIED_ENTRIES2 == gpt->modified);
937 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
938 EXPECT(MASK_SECONDARY == gpt->valid_headers);
939 EXPECT(MASK_BOTH == gpt->valid_entries);
946 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
947 EXPECT(MASK_SECONDARY == gpt->valid_headers);
948 EXPECT(MASK_SECONDARY == gpt->valid_entries);
950 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
951 EXPECT(MASK_BOTH == gpt->valid_headers);
952 EXPECT(MASK_BOTH == gpt->valid_entries);
953 EXPECT((GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES1) == gpt->modified);
958 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
959 EXPECT(MASK_PRIMARY == gpt->valid_headers);
960 EXPECT(MASK_PRIMARY == gpt->valid_entries);
962 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
963 EXPECT(MASK_BOTH == gpt->valid_headers);
964 EXPECT(MASK_BOTH == gpt->valid_entries);
965 EXPECT((GPT_MODIFIED_HEADER2 | GPT_MODIFIED_ENTRIES2) == gpt->modified);
971 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
972 EXPECT(MASK_SECONDARY == gpt->valid_headers);
973 EXPECT(MASK_PRIMARY == gpt->valid_entries);
975 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
976 EXPECT(MASK_BOTH == gpt->valid_headers);
977 EXPECT(MASK_BOTH == gpt->valid_entries);
978 EXPECT((GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES2) == gpt->modified);
983 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
984 EXPECT(MASK_PRIMARY == gpt->valid_headers);
985 EXPECT(MASK_SECONDARY == gpt->valid_entries);
987 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
988 EXPECT(MASK_BOTH == gpt->valid_headers);
989 EXPECT(MASK_BOTH == gpt->valid_entries);
990 EXPECT((GPT_MODIFIED_HEADER2 | GPT_MODIFIED_ENTRIES1) == gpt->modified);
999 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
1000 EXPECT(MASK_PRIMARY == gpt->valid_headers);
1001 EXPECT(MASK_PRIMARY == gpt->valid_entries);
1003 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
1004 EXPECT(MASK_BOTH == gpt->valid_headers);
1005 EXPECT(MASK_BOTH == gpt->valid_entries);
1006 EXPECT((GPT_MODIFIED_HEADER2 | GPT_MODIFIED_ENTRIES2) == gpt->modified);
1012 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
1013 EXPECT(MASK_SECONDARY == gpt->valid_entries);
1017 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
1018 EXPECT(MASK_PRIMARY == gpt->valid_entries);
1024 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
1025 EXPECT(MASK_SECONDARY == gpt->valid_headers);
1029 EXPECT(GPT_SUCCESS == GptSanityCheck(gpt));
1030 EXPECT(MASK_PRIMARY == gpt->valid_headers);
1042 EXPECT(0x0100000000000000ULL == e->attrs.whole);
1043 EXPECT(1 == GetEntrySuccessful(e));
1046 EXPECT(0xFEFFFFFFFFFFFFFFULL == e->attrs.whole);
1047 EXPECT(0 == GetEntrySuccessful(e));
1051 EXPECT(15 == GetEntryTries(e));
1052 EXPECT(0x00F0000000000000ULL == e->attrs.whole);
1055 EXPECT(0xFF0FFFFFFFFFFFFFULL == e->attrs.whole);
1056 EXPECT(0 == GetEntryTries(e));
1060 EXPECT(0x000F000000000000ULL == e->attrs.whole);
1061 EXPECT(15 == GetEntryPriority(e));
1064 EXPECT(0xFFF0FFFFFFFFFFFFULL == e->attrs.whole);
1065 EXPECT(0 == GetEntryPriority(e));
1068 EXPECT(1 == GetEntrySuccessful(e));
1069 EXPECT(15 == GetEntryPriority(e));
1070 EXPECT(15 == GetEntryTries(e));
1073 EXPECT(1 == GetEntrySuccessful(e));
1074 EXPECT(2 == GetEntryTries(e));
1075 EXPECT(3 == GetEntryPriority(e));
1086 EXPECT(1 == IsUnusedEntry(e));
1087 EXPECT(0 == IsKernelEntry(e));
1090 EXPECT(0 == IsUnusedEntry(e));
1091 EXPECT(1 == IsKernelEntry(e));
1094 EXPECT(0 == IsUnusedEntry(e));
1095 EXPECT(0 == IsKernelEntry(e));
1117 * Invalidate all kernel entries and expect GptNextKernelEntry() cannot find
1129 EXPECT(GPT_ERROR_NO_VALID_KERNEL ==
1148 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1149 EXPECT(KERNEL_A == gpt->current_kernel);
1150 EXPECT(34 == start);
1151 EXPECT(100 == size);
1153 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1154 EXPECT(KERNEL_B == gpt->current_kernel);
1155 EXPECT(134 == start);
1156 EXPECT(99 == size);
1158 EXPECT(GPT_ERROR_NO_VALID_KERNEL ==
1160 EXPECT(-1 == gpt->current_kernel);
1163 EXPECT(GPT_ERROR_NO_VALID_KERNEL ==
1165 EXPECT(-1 == gpt->current_kernel);
1185 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1186 EXPECT(KERNEL_B == gpt->current_kernel);
1187 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1188 EXPECT(KERNEL_Y == gpt->current_kernel);
1189 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1190 EXPECT(KERNEL_A == gpt->current_kernel);
1191 EXPECT(GPT_ERROR_NO_VALID_KERNEL ==
1212 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1213 EXPECT(KERNEL_X == gpt->current_kernel);
1214 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1215 EXPECT(KERNEL_A == gpt->current_kernel);
1216 EXPECT(GPT_ERROR_NO_VALID_KERNEL ==
1239 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1240 EXPECT(KERNEL_A == gpt->current_kernel);
1241 EXPECT(1 == GetEntrySuccessful(e + KERNEL_A));
1242 EXPECT(4 == GetEntryPriority(e + KERNEL_A));
1243 EXPECT(0 == GetEntryTries(e + KERNEL_A));
1244 EXPECT(1 == GetEntrySuccessful(e2 + KERNEL_A));
1245 EXPECT(4 == GetEntryPriority(e2 + KERNEL_A));
1246 EXPECT(0 == GetEntryTries(e2 + KERNEL_A));
1248 EXPECT(GPT_SUCCESS == GptUpdateKernelEntry(gpt, GPT_UPDATE_ENTRY_TRY));
1249 EXPECT(1 == GetEntrySuccessful(e + KERNEL_A));
1250 EXPECT(4 == GetEntryPriority(e + KERNEL_A));
1251 EXPECT(0 == GetEntryTries(e + KERNEL_A));
1252 EXPECT(0 == gpt->modified);
1254 EXPECT(GPT_SUCCESS == GptUpdateKernelEntry(gpt, GPT_UPDATE_ENTRY_BAD));
1255 EXPECT(1 == GetEntrySuccessful(e + KERNEL_A));
1256 EXPECT(4 == GetEntryPriority(e + KERNEL_A));
1257 EXPECT(0 == GetEntryTries(e + KERNEL_A));
1258 EXPECT(0 == gpt->modified);
1261 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1262 EXPECT(KERNEL_B == gpt->current_kernel);
1263 EXPECT(0 == GetEntrySuccessful(e + KERNEL_B));
1264 EXPECT(3 == GetEntryPriority(e + KERNEL_B));
1265 EXPECT(2 == GetEntryTries(e + KERNEL_B));
1267 EXPECT(GPT_SUCCESS == GptUpdateKernelEntry(gpt, GPT_UPDATE_ENTRY_BAD));
1268 EXPECT(0 == GetEntrySuccessful(e + KERNEL_B));
1269 EXPECT(0 == GetEntryPriority(e + KERNEL_B));
1270 EXPECT(0 == GetEntryTries(e + KERNEL_B));
1272 EXPECT(0 == GetEntrySuccessful(e2 + KERNEL_B));
1273 EXPECT(0 == GetEntryPriority(e2 + KERNEL_B));
1274 EXPECT(0 == GetEntryTries(e2 + KERNEL_B));
1276 EXPECT(0x0F == gpt->modified);
1279 EXPECT(GPT_SUCCESS == GptNextKernelEntry(gpt, &start, &size));
1280 EXPECT(KERNEL_X == gpt->current_kernel);
1281 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X));
1282 EXPECT(2 == GetEntryPriority(e + KERNEL_X));
1283 EXPECT(2 == GetEntryTries(e + KERNEL_X));
1285 EXPECT(GPT_SUCCESS == GptUpdateKernelEntry(gpt, GPT_UPDATE_ENTRY_TRY));
1286 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X));
1287 EXPECT(2 == GetEntryPriority(e + KERNEL_X));
1288 EXPECT(1 == GetEntryTries(e + KERNEL_X));
1289 EXPECT(0 == GetEntrySuccessful(e2 + KERNEL_X));
1290 EXPECT(2 == GetEntryPriority(e2 + KERNEL_X));
1291 EXPECT(1 == GetEntryTries(e2 + KERNEL_X));
1293 EXPECT(GPT_SUCCESS == GptUpdateKernelEntry(gpt, GPT_UPDATE_ENTRY_TRY));
1294 EXPECT(0 == GetEntrySuccessful(e + KERNEL_X));
1295 EXPECT(0 == GetEntryPriority(e + KERNEL_X));
1296 EXPECT(0 == GetEntryTries(e + KERNEL_X));
1300 EXPECT(GPT_ERROR_INVALID_UPDATE_TYPE ==
1303 EXPECT(GPT_ERROR_INVALID_UPDATE_TYPE ==
1311 * Give an invalid kernel type, and expect GptUpdateKernelEntry() returns
1322 EXPECT(GPT_ERROR_INVALID_UPDATE_TYPE ==
1381 EXPECT(cases[i].duplicate == CheckEntries(e, h));
1397 EXPECT(!Memcmp(&g, &e[0].unique, sizeof(Guid)));
1400 EXPECT(!Memcmp(&g, &e[1].unique, sizeof(Guid)));
1412 EXPECT(GptErrorText(i));
1413 EXPECT(strcmp(GptErrorText(i), "Unknown"));
1417 EXPECT(!strcmp(GptErrorText(GPT_ERROR_COUNT), "Unknown"));
1432 EXPECT(1 == CheckHeader(primary_header, 0, gpt->streaming_drive_sectors,
1435 EXPECT(0 == CheckHeader(primary_header, 0, gpt->streaming_drive_sectors,
1442 EXPECT(1 == CheckHeader(primary_header, 0, gpt->streaming_drive_sectors,
1445 EXPECT(0 == CheckHeader(primary_header, 0, gpt->streaming_drive_sectors,
1451 EXPECT(1 == CheckHeader(primary_header, 0, gpt->streaming_drive_sectors,
1459 EXPECT(1 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors,
1461 EXPECT(0 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors,
1470 EXPECT(1 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors,
1472 EXPECT(0 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors,
1477 EXPECT(1 == CheckHeader(secondary_header, 1, gpt->streaming_drive_sectors,