OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
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/libpcap/
sf-pcap-ng.c
259
struct block_header
bhdr
;
local
261
status = read_bytes(fp, &
bhdr
, sizeof(
bhdr
), 0, errbuf);
266
bhdr
.block_type = SWAPLONG(
bhdr
.block_type);
267
bhdr
.total_length = SWAPLONG(
bhdr
.total_length);
277
if (
bhdr
.total_length > 16*1024*1024) {
280
bhdr
.total_length, 16*1024*1024);
288
if (
bhdr
.total_length < sizeof(struct block_header)
[
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;
Completed in 152 milliseconds