Searched refs:checksum (Results 1 - 25 of 70) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Ddisrom.pl40 printf " %-16s 0x%02x (%s0x%02x)\n", "Checksum:", $rom->{checksum},
41 ( ( $rom->checksum == 0 ) ? "" : "INCORRECT: " ), $rom->checksum;
71 printf " %-16s 0x%02x (%s0x%02x)\n", "Checksum:", $pnp->{checksum},
72 ( ( $pnp->checksum == 0 ) ? "" : "INCORRECT: " ), $pnp->checksum;
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;
H A Dmodrom.pl131 sub checksum ($) { subroutine
199 &checksum(\$rom);
216 &checksum(\$rom);
/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 Dacpi.c39 * Fix up ACPI table checksum
50 acpi->checksum -= sum;
/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/PC/BIOS/
H A Dsmidmi.inc55 db 0 ; checksum (set by biossums)
65 db 0 ; checksum (set by biossums)
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/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/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/libs/xpcom18a4/xpcom/io/
H A DnsIFastLoadFileControl.idl61 * Get and set the recorded checksum value from the FastLoad file header.
63 attribute PRUint32 checksum;
100 * Computes the correct checksum of the FastLoad file, independent of the
101 * header's checksum value. The header checksum field is treated as zero
102 * when computing the checksum.
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/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/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/drivers/net/
H A Dmyri10ge_mcp.h49 uint16_t checksum; member in struct:mcp_slot
61 uint16_t checksum; member in struct:mcp_slot_8
H A D3c515.c689 unsigned int eeprom[0x40], checksum = 0; /* EEPROM contents */ local
708 checksum ^= eeprom[i];
712 checksum = (checksum ^ (checksum >> 8)) & 0xff;
713 if (checksum != 0x00)
714 printf(" ***INVALID CHECKSUM 0x%hX*** ", checksum);
/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/VBox/Devices/PC/ipxe/src/arch/i386/include/
H A Dmultiboot.h78 uint32_t checksum; member in struct:multiboot_header
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/prefix/
H A Dexeprefix.S86 checksum: label
/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

Completed in 901 milliseconds

123