Lines Matching refs:check
27 void check( int value, char* message );
242 void check(int okay, char* message) {
289 check( offset + _32__MINHDR <= MAX_OFFSET, "_32_ header out of bounds" );
291 check( offset + len <= MAX_OFFSET, "_32_ header-length out of bounds" );
325 check( offset + _32__CHKSUM <= MAX_OFFSET, "PCI-Bios checksum out of bounds" );
332 check( offset + _32__CHKSUM <= MAX_OFFSET, "PCI-Bios checksum out of bounds" );
343 check( offset + _MP__MINHDR <= MAX_OFFSET, "_MP_ header out of bounds" );
345 check( offset + len <= MAX_OFFSET, "_MP_ header-length out of bounds" );
379 check( offset + _MP__CHKSUM <= MAX_OFFSET, "MP checksum out of bounds" );
386 check( offset + _MP__CHKSUM <= MAX_OFFSET, "MP checksum out of bounds" );
397 check( offset + PCMP_MINHDR <= MAX_OFFSET, "PCMP header out of bounds" );
400 check( offset + len <= MAX_OFFSET, "PCMP header-length out of bounds" );
404 check( 0, "PCMP header indicates extended tables (unsupported)" );
439 check( offset + PCMP_CHKSUM <= MAX_OFFSET, "PCMP checksum out of bounds" );
446 check( offset + PCMP_CHKSUM <= MAX_OFFSET, "PCMP checksum out of bounds" );
457 check( offset + _PIR_MINHDR <= MAX_OFFSET, "$PIR header out of bounds" );
460 check( offset + len <= MAX_OFFSET, "$PIR header-length out of bounds" );
494 check( offset + _PIR_CHKSUM <= MAX_OFFSET, "$PIR checksum out of bounds" );
501 check( offset + _PIR_CHKSUM <= MAX_OFFSET, "$PIR checksum out of bounds" );