Home
last modified time | relevance | path

Searched refs:checksum (Results 1 – 25 of 147) sorted by relevance

123456

/dragonfly/gnu/usr.bin/cc80/backends/programs/cc1/
H A DMakefile16 OBJS= ${CXXXX_OBJS} cc1-checksum.o
29 checksum-options:
32 cc1-checksum.c: ${CXXXX_OBJS} ${GUTS} ${BACKEND} checksum-options
34 checksum-options > ${.TARGET}
42 cc1-checksum.o: cc1-checksum.c
44 CLEANFILES= cc1-checksum.* checksum-options
/dragonfly/gnu/usr.bin/cc47/cc1/
H A DMakefile13 OBJS+= cc1-checksum.o
19 checksum-options:
22 cc1-checksum.o: ${C_OBJS:.c=.o} ${BACKEND} checksum-options
24 checksum-options > ${.TARGET:.o=.c}
27 CLEANFILES+= cc1-checksum.* checksum-options
/dragonfly/gnu/usr.bin/cc47/cc1obj/
H A DMakefile21 OBJS= ${COMMOBJS} cc1obj-checksum.o
27 checksum-options:
30 cc1obj-checksum.o: ${COMMOBJS} ${OBJC_OBJS:.c=.o} checksum-options
32 ${BACKEND} checksum-options > ${.TARGET:.o=.c}
35 CLEANFILES+= cc1obj-checksum.* checksum-options
/dragonfly/gnu/usr.bin/cc80/backends/programs/cc1plus/
H A DMakefile17 OBJS= ${CXXXX_OBJS} cc1plus-checksum.o
30 checksum-options:
33 cc1plus-checksum.c: ${CXXXX_OBJS} ${GUTS} ${BACKEND} checksum-options
35 checksum-options > ${.TARGET}
43 CLEANFILES= cc1plus-checksum.* checksum-options
/dragonfly/contrib/elftoolchain/libelf/
H A Dlibelf_checksum.c51 unsigned long checksum; in _libelf_checksum() local
77 checksum = 0; in _libelf_checksum()
90 checksum = _libelf_sum(checksum, in _libelf_checksum()
97 return (long) (((checksum >> 16) & 0xFFFFUL) + (checksum & 0xFFFFUL)); in _libelf_checksum()
/dragonfly/sbin/dhclient/
H A Dpacket.c52 u_int32_t checksum(unsigned char *, unsigned, u_int32_t);
56 checksum(unsigned char *buf, unsigned nbytes, u_int32_t sum) in checksum() function
128 ip.ip_sum = wrapsum(checksum((unsigned char *)&ip, sizeof(ip), 0)); in assemble_udp_ip_header()
137 udp.uh_sum = wrapsum(checksum((unsigned char *)&udp, sizeof(udp), in assemble_udp_ip_header()
138 checksum(data, len, checksum((unsigned char *)&ip.ip_src, in assemble_udp_ip_header()
181 if (wrapsum(checksum(buf + bufix, ip_len, 0)) != 0) { in decode_udp_ip_header()
230 sum = wrapsum(checksum((unsigned char *)udp, sizeof(*udp), in decode_udp_ip_header()
231 checksum(data, len, checksum((unsigned char *)&ip->ip_src, in decode_udp_ip_header()
/dragonfly/gnu/usr.bin/cc47/cc1plus/
H A DMakefile57 OBJS= ${COMMOBJS} cc1plus-checksum.o
65 checksum-options:
68 cc1plus-checksum.o: ${COMMOBJS} ${FULLSRC:.c=.o} checksum-options
70 ${BACKEND} checksum-options > ${.TARGET:.o=.c}
73 CLEANFILES+= cc1plus-checksum.* checksum-options
/dragonfly/contrib/gdb-7/gdb/stubs/
H A Di386-stub.c460 unsigned char checksum; in getpacket() local
472 checksum = 0; in getpacket()
484 checksum = checksum + ch; in getpacket()
497 if (checksum != xmitcsum) in getpacket()
503 checksum, xmitcsum, buffer); in getpacket()
531 unsigned char checksum; in putpacket() local
539 checksum = 0; in putpacket()
545 checksum += ch; in putpacket()
550 putDebugChar (hexchars[checksum >> 4]); in putpacket()
551 putDebugChar (hexchars[checksum % 16]); in putpacket()
H A Dm68k-stub.c539 unsigned char checksum; in getpacket() local
551 checksum = 0; in getpacket()
563 checksum = checksum + ch; in getpacket()
576 if (checksum != xmitcsum) in getpacket()
582 checksum, xmitcsum, buffer); in getpacket()
611 unsigned char checksum; local
619 checksum = 0;
625 checksum += ch;
630 putDebugChar (hexchars[checksum >> 4]);
631 putDebugChar (hexchars[checksum % 16]);
H A Dsparc-stub.c292 unsigned char checksum; in getpacket() local
304 checksum = 0; in getpacket()
316 checksum = checksum + ch; in getpacket()
329 if (checksum != xmitcsum) in getpacket()
357 unsigned char checksum; in putpacket() local
365 checksum = 0; in putpacket()
371 checksum += ch; in putpacket()
376 putDebugChar(hexchars[checksum >> 4]); in putpacket()
377 putDebugChar(hexchars[checksum & 0xf]); in putpacket()
H A Dsh-stub.c389 unsigned char checksum; in getpacket() local
401 checksum = 0; in getpacket()
413 checksum = checksum + ch; in getpacket()
426 if (checksum != xmitcsum) in getpacket()
455 int checksum; in putpacket() local
463 checksum = 0; in putpacket()
479 checksum += *src; in putpacket()
481 checksum += '*'; in putpacket()
489 checksum += *src; in putpacket()
499 putDebugChar (highhex(checksum)); in putpacket()
[all …]
H A Dm32r-stub.c591 unsigned char checksum; in getpacket() local
603 checksum = 0; in getpacket()
615 checksum = checksum + ch; in getpacket()
628 if (checksum != xmitcsum) in getpacket()
634 mem2hex ((unsigned char *) &checksum, buf, 4, 0); in getpacket()
666 unsigned char checksum; in putpacket() local
674 checksum = 0; in putpacket()
680 checksum += ch; in putpacket()
684 putDebugChar (hexchars[checksum >> 4]); in putpacket()
685 putDebugChar (hexchars[checksum % 16]); in putpacket()
/dragonfly/sys/cpu/x86_64/misc/
H A Dx86_64-gdbstub.c179 unsigned char checksum; in getpacket() local
191 checksum = 0; in getpacket()
203 checksum = checksum + ch; in getpacket()
214 if (checksum != xmitcsum) in getpacket()
234 while (checksum != xmitcsum); in getpacket()
242 unsigned char checksum; in putpacket() local
263 checksum = 0; in putpacket()
269 checksum += ch; in putpacket()
274 putDebugChar (hexchars[checksum >> 4]); in putpacket()
275 putDebugChar (hexchars[checksum & 0xf]); in putpacket()
/dragonfly/sys/dev/netif/ix/
H A Dixgbe_x540.c503 u16 checksum = 0; in ixgbe_calc_eeprom_checksum_X540() local
524 checksum += word; in ixgbe_calc_eeprom_checksum_X540()
559 checksum += word; in ixgbe_calc_eeprom_checksum_X540()
563 checksum = (u16)IXGBE_EEPROM_SUM - checksum; in ixgbe_calc_eeprom_checksum_X540()
565 return (s32)checksum; in ixgbe_calc_eeprom_checksum_X540()
580 u16 checksum; in ixgbe_validate_eeprom_checksum_X540() local
602 checksum = (u16)(status & 0xffff); in ixgbe_validate_eeprom_checksum_X540()
615 if (read_checksum != checksum) { in ixgbe_validate_eeprom_checksum_X540()
623 *checksum_val = checksum; in ixgbe_validate_eeprom_checksum_X540()
642 u16 checksum; in ixgbe_update_eeprom_checksum_X540() local
[all …]
/dragonfly/usr.sbin/cpucontrol/
H A Dintel.h46 uint32_t checksum; /* Sum of all DWORDS should member
60 uint32_t checksum; member
65 uint32_t checksum; member
H A Dvia.h46 uint32_t checksum; /* Sum of all DWORDS should member
59 uint32_t checksum; member
/dragonfly/contrib/gcc-4.7/gcc/objcp/
H A DMake-lang.in64 obj-c++_OBJS = $(OBJCXX_OBJS) cc1objplus-checksum.o
66 cc1objplus-checksum.c : build/genchecksum$(build_exeext) checksum-options \
69 $(LIBDEPS) checksum-options > cc1objplus-checksum.c.tmp && \
70 $(srcdir)/../move-if-change cc1objplus-checksum.c.tmp \
71 cc1objplus-checksum.c
73 cc1objplus-checksum.o : cc1objplus-checksum.c $(CONFIG_H) $(SYSTEM_H)
75 cc1objplus$(exeext): $(OBJCXX_OBJS) cc1objplus-checksum.o $(BACKEND) $(LIBDEPS)
77 $(OBJCXX_OBJS) cc1objplus-checksum.o $(BACKEND) $(LIBS) $(BACKENDLIBS)
/dragonfly/usr.sbin/fstyp/
H A Dexfat.c158 uint32_t checksum; in exfat_compute_boot_chksum() local
160 checksum = 0; in exfat_compute_boot_chksum()
174 checksum = ((checksum & 1) ? 0x80000000u : 0u) + in exfat_compute_boot_chksum()
175 (checksum >> 1) + (uint32_t)sector[n]; in exfat_compute_boot_chksum()
180 *result = checksum; in exfat_compute_boot_chksum()
/dragonfly/contrib/lvm2/dist/lib/format_text/
H A Dimport.c44 checksum_fn_t checksum_fn, uint32_t checksum, in text_vgname_import() argument
59 offset2, size2, checksum_fn, checksum))) in text_vgname_import()
87 uint32_t checksum, in text_vg_import_fd() argument
104 offset2, size2, checksum_fn, checksum))) { in text_vg_import_fd()
/dragonfly/usr.sbin/makefs/cd9660/
H A Dcd9660_eltorito.c242 int16_t checksum; in cd9660_boot_setup_validation_entry() local
256 checksum = 0; in cd9660_boot_setup_validation_entry()
257 cd9660_721(0, ve->checksum); in cd9660_boot_setup_validation_entry()
260 checksum += (int16_t)csptr[i]; in cd9660_boot_setup_validation_entry()
261 checksum += 256 * (int16_t)csptr[i + 1]; in cd9660_boot_setup_validation_entry()
263 checksum = -checksum; in cd9660_boot_setup_validation_entry()
264 cd9660_721(checksum, ve->checksum); in cd9660_boot_setup_validation_entry()
268 ve->key[0], ve->key[1], checksum)); in cd9660_boot_setup_validation_entry()
/dragonfly/contrib/tcpdump/
H A Dchecksum.c147 uint16_t checksum; in create_osi_cksum() local
186 checksum = ((x << 8) | y); in create_osi_cksum()
188 return checksum; in create_osi_cksum()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_virt.c400 uint32_t checksum = 0; in amdgpu_virt_init_data_exchange() local
412 AMDGPU_FW_VRAM_PF2VF_READ(adev, checksum, &checksum); in amdgpu_virt_init_data_exchange()
419 adev->virt.fw_reserve.checksum_key, checksum); in amdgpu_virt_init_data_exchange()
420 if (checkval == checksum) { in amdgpu_virt_init_data_exchange()
440 AMDGPU_FW_VRAM_VF2PF_WRITE(adev, checksum, in amdgpu_virt_init_data_exchange()
H A Damdgpu_virt.h110 unsigned int checksum; member
117 uint32_t checksum; member
178 unsigned int checksum; member
184 uint32_t checksum; member
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_lzop.c291 uint32_t checksum; in make_header() local
309 checksum = lzo_adler32(1, data->compressed + HEADER_VERSION, in make_header()
311 archive_be32enc(&data->compressed[HEADER_H_CHECKSUM], checksum); in make_header()
323 uint32_t checksum; in drive_compressor() local
362 checksum = lzo_adler32(1, data->uncompressed, usize); in drive_compressor()
363 archive_be32enc(p + header_bytes + 8, checksum); in drive_compressor()
/dragonfly/stand/boot/pc32/libi386/
H A Dpxe.c160 uint8_t checksum; in pxe_init() local
183 checksum = 0; in pxe_init()
186 checksum += *checkptr++; in pxe_init()
187 if (checksum != 0) { in pxe_init()
205 checksum = 0; in pxe_init()
209 checksum += *checkptr++; in pxe_init()
210 if (checksum != 0) { in pxe_init()

123456