Searched defs:checksum (Results 1 - 25 of 55) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/firmware/pcbios/
H A Dpnpbios.c47 uint8_t checksum; member in struct:pnp_bios
74 /* Read whole header and verify checksum */
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/
H A Dacpi.h29 uint8_t checksum; member in struct:acpi_description_header
H A Dsmbios.h51 uint8_t checksum; member in struct:smbios_entry
66 /** DMI checksum */
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/prefix/
H A Dexeprefix.S86 checksum: label
H A Dromprefix.S56 checksum: label
368 /* Update checksum */
376 subb %bl, checksum
/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dfnrec.c57 unsigned long checksum; member in struct:fnrec_entry
126 entry->checksum = ( ( ( unsigned long ) called_fn ) ^
138 unsigned long checksum; local
146 checksum = ( ( ( ( unsigned long ) entry->called_fn ) ^
151 if ( entry->checksum != checksum ) {
152 printf ( " (checksum wrong at phys %08lx)",
188 entry->checksum++;
199 entry->checksum++;
H A Dnvo.c36 * Calculate checksum over non-volatile stored options
74 nvo->dhcpopts.data = ( nvo->data + 1 /* checksum */ );
75 nvo->dhcpopts.alloc_len = ( len - 1 /* checksum */ );
101 /* Allow one byte for the checksum (if any data is present) */
143 /* If checksum fails, or options data starts with a zero,
148 DBGC ( nvo, "NVO %p has checksum %02x and initial byte %02x; "
168 uint8_t *checksum = nvo->data; local
171 /* Recalculate checksum, if applicable */
173 *checksum -= nvo_checksum ( nvo );
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Dmodrom.pl131 sub checksum ($) { subroutine
199 &checksum(\$rom);
216 &checksum(\$rom);
H A Defirom.c103 uint8_t checksum; member in struct:__anon15809
111 uint8_t checksum; local
153 /* Fix image checksum */
154 for ( i = 0, checksum = 0 ; i < rom_size ; i++ )
155 checksum += *( ( uint8_t * ) buf + i );
156 headers->checksum -= checksum;
/vbox/src/VBox/Devices/PC/ipxe/src/util/Option/
H A DROM.pm149 sub checksum { subroutine
231 checksum => { offset => 0x06, length => 0x01, pack => "C" },
342 =item C<< checksum () >>
344 Calculate the byte checksum of the ROM.
348 sub checksum { subroutine
360 Fix the byte checksum of the ROM.
368 $hash->{checksum} = ( ( $hash->{checksum} - $hash->checksum() ) & 0xff );
449 checksum
466 sub checksum { subroutine
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dwritev.c71 struct Descriptor { PRInt32 length; PRUint32 checksum; } descriptor; member in struct:Descriptor
160 descriptor.checksum = 0;
166 PRUint32 overflow = descriptor.checksum & 0x80000000;
167 descriptor.checksum = (descriptor.checksum << 1);
168 if (0x00000000 != overflow) descriptor.checksum += 1;
169 descriptor.checksum += buffer[iov_index];
176 descriptor.checksum = PR_ntohl(descriptor.checksum);
H A Dtmoacc.c94 struct Descriptor { PRInt32 length; PRUint32 checksum; } descriptor; member in struct:Descriptor
98 PRUint32 checksum = 0; local
114 descriptor.checksum = PR_ntohl(descriptor.checksum);
160 PRUint32 overflow = checksum & 0x80000000;
161 checksum = (checksum << 1);
162 if (0x00000000 != overflow) checksum += 1;
163 checksum += buffer[byte];
165 if ((descriptor.checksum !
[all...]
H A Dtmocon.c165 struct Descriptor { PRInt32 length; PRUint32 checksum; } descriptor; member in struct:Descriptor
173 descriptor.checksum = 0;
176 PRUint32 overflow = descriptor.checksum & 0x80000000;
177 descriptor.checksum = (descriptor.checksum << 1);
178 if (0x00000000 != overflow) descriptor.checksum += 1;
179 descriptor.checksum += buffer[bytes];
181 descriptor.checksum = PR_htonl(descriptor.checksum);
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/Include/Ipf/machine/
H A Ddig64.h82 uint8_t checksum; member in struct:dig64_hcdp_table
/vbox/src/VBox/Devices/PC/BIOS/
H A Dboot.c60 uint8_t checksum; member in struct:__anon14980
H A Ddisk.c475 uint8_t channel, irq, mode, checksum, i, translation; local
508 checksum = 0;
510 checksum += read_byte(ebda_seg, (uint16_t)&EbdaData->bdisk.dpte + i);
511 checksum = -checksum;
512 bios_dsk->dpte.checksum = checksum;
517 uint8_t channel, iface, checksum, i; local
560 checksum = 0;
562 checksum
[all...]
H A Deltorito.c905 uint8_t channel, irq, mode, checksum, i; local
937 checksum = 0;
939 checksum += read_byte(ebda_seg, (uint16_t)&EbdaData->bdisk.dpte + i);
940 checksum = -checksum;
941 bios_dsk->dpte.checksum = checksum;
946 uint8_t channel, iface, checksum, i; local
989 checksum = 0;
991 checksum
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/
H A Dmultiboot.c273 uint32_t checksum; local
292 /* Copy header and verify checksum */
295 checksum = ( hdr->mb.magic + hdr->mb.flags +
296 hdr->mb.checksum );
297 if ( checksum != 0 )
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsFastLoadService.cpp387 PRUint32 checksum = NS_PTR_TO_INT32(mChecksumTable.Get(&key)); local
388 if (checksum) {
389 *aChecksum = checksum;
393 rv = aControl->ComputeChecksum(&checksum);
398 mChecksumTable.Put(&key, NS_INT32_TO_PTR(checksum));
400 mChecksumTable.Put(&key, (void *)(uintptr_t)checksum);
402 *aChecksum = checksum;
413 PRUint32 checksum;
414 nsresult rv = control->GetChecksum(&checksum);
425 mChecksumTable.Put(&key, NS_INT32_TO_PTR(checksum));
[all...]
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/
H A Dxf86Module.h141 CARD32 checksum[4]; /* contains a digital signature of the */ member in struct:__anon6899
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Dxf86Module.h141 CARD32 checksum[4]; /* contains a digital signature of the */ member in struct:__anon7212
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.13.0/
H A Dxf86Module.h141 CARD32 checksum[4]; /* contains a digital signature of the */ member in struct:__anon5983
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/
H A Dxf86Module.h141 CARD32 checksum[4]; /* contains a digital signature of the */ member in struct:__anon6286
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.15.0/
H A Dxf86Module.h141 CARD32 checksum[4]; /* contains a digital signature of the */ member in struct:__anon6584
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/
H A Dmultiboot.h78 uint32_t checksum; member in struct:multiboot_header

Completed in 137 milliseconds

123