HomeSort by relevance Sort by last modified time
    Searched refs:bhdr (Results 1 - 4 of 4) sorted by null

  /external/vboot_reference/utility/
image_types.c 46 const BMP_IMAGE_HEADER *bhdr = buf; local
47 if (bhdr->CharB == 'B' && bhdr->CharM == 'M' &&
48 bhdr->Planes == 1 &&
49 (bhdr->CompressionType == 0 || bhdr->CompressionType == 1) &&
50 (bhdr->BitPerPixel == 1 || bhdr->BitPerPixel == 4 ||
51 bhdr->BitPerPixel == 8 || bhdr->BitPerPixel == 24))
    [all...]
  /external/vboot_reference/tests/
vboot_display_tests.c 30 static BmpBlockHeader *bhdr; variable
50 bhdr = (BmpBlockHeader *)(gbb_data + gbb->bmpfv_offset);
53 memcpy(bhdr->signature, BMPBLOCK_SIGNATURE, BMPBLOCK_SIGNATURE_SIZE);
54 bhdr->major_version = BMPBLOCK_MAJOR_VERSION;
55 bhdr->minor_version = BMPBLOCK_MINOR_VERSION;
56 bhdr->number_of_localizations = 3;
157 bhdr->signature[0] ^= 0x5a;
206 bhdr->signature[0] ^= 0x5a;
vboot_region_tests.c 43 BmpBlockHeader *bhdr; local
71 bhdr = (BmpBlockHeader *)(gbb_data + gbb->bmpfv_offset);
74 memcpy(bhdr->signature, BMPBLOCK_SIGNATURE, BMPBLOCK_SIGNATURE_SIZE);
75 bhdr->major_version = BMPBLOCK_MAJOR_VERSION;
76 bhdr->minor_version = BMPBLOCK_MINOR_VERSION;
77 bhdr->number_of_localizations = 3;
78 bhdr->number_of_screenlayouts = 1;
  /external/libpcap/
sf-pcap-ng.c 263 struct block_header bhdr; local
267 status = read_bytes(fp, &bhdr, sizeof(bhdr), 0, errbuf);
272 bhdr.block_type = SWAPLONG(bhdr.block_type);
273 bhdr.total_length = SWAPLONG(bhdr.total_length);
283 if (bhdr.total_length > 16*1024*1024) {
286 bhdr.total_length, 16*1024*1024);
294 if (bhdr.total_length < sizeof(struct block_header)
    [all...]

Completed in 123 milliseconds