Home
last modified time | relevance | path

Searched refs:chksum (Results 1 – 25 of 30) sorted by relevance

12

/dragonfly/contrib/gcc-8.0/gcc/
H A Dcoverage.c545 chksum = crc32_string (chksum, string); in coverage_checksum_string()
548 return chksum; in coverage_checksum_string()
561 chksum = coverage_checksum_string (chksum, xloc.file); in coverage_compute_lineno_checksum()
565 return chksum; in coverage_compute_lineno_checksum()
573 unsigned chksum; in coverage_compute_profile_id() local
589 chksum = coverage_checksum_string (chksum, xloc.file); in coverage_compute_profile_id()
601 chksum = chksum & 0x7fffffff; in coverage_compute_profile_id()
602 return chksum + (!chksum); in coverage_compute_profile_id()
625 chksum = crc32_byte (chksum, bb->index); in coverage_compute_cfg_checksum()
628 chksum = crc32_byte (chksum, e->dest->index); in coverage_compute_cfg_checksum()
[all …]
/dragonfly/usr.sbin/makefs/msdos/
H A Dmsdosfs_conv.c164 winChkName(const u_char *un, size_t unlen, struct winentry *wep, int chksum) in winChkName() argument
174 chksum = wep->weChksum; in winChkName()
175 else if (chksum != wep->weChksum) in winChkName()
176 chksum = -1; in winChkName()
177 if (chksum == -1) in winChkName()
212 return chksum; in winChkName()
236 int chksum) in unix2winfn() argument
267 wep->weChksum = chksum; in unix2winfn()
H A Dmsdosfs_vnops.c166 int chksum = -1, chksum_ok; in msdosfs_findslot() local
239 chksum = -1; in msdosfs_findslot()
264 chksum = winChkName( in msdosfs_findslot()
267 (struct winentry *)dep, chksum); in msdosfs_findslot()
276 chksum = -1; in msdosfs_findslot()
283 chksum_ok = (chksum == winChksum(dep->deName)); in msdosfs_findslot()
286 chksum = -1; in msdosfs_findslot()
H A Ddirentry.h140 int chksum);
142 int chksum);
H A Dmsdosfs_lookup.c139 uint8_t chksum = winChksum(ndep->deName); in createde() local
169 cnt++, chksum)) in createde()
/dragonfly/contrib/file/src/
H A Dis_tar.c123 recsum = from_oct(header->header.chksum, sizeof(header->header.chksum)); in is_tar()
132 for (i = 0; i < sizeof(header->header.chksum); i++) in is_tar()
133 sum -= header->header.chksum[i]; in is_tar()
134 sum += ' ' * sizeof(header->header.chksum); in is_tar()
H A Dtar.h60 char chksum[8]; member
/dragonfly/sys/vfs/msdosfs/
H A Dmsdosfs_conv.c528 int chksum, struct msdosfsmount *pmp) in unix2winfn() argument
552 wep->weChksum = chksum; in unix2winfn()
625 return chksum; in winChkName()
650 chksum = wep->weChksum; in win2unixfn()
651 } else if (chksum != wep->weChksum) in win2unixfn()
652 chksum = -1; in win2unixfn()
653 if (chksum == -1) in win2unixfn()
668 return chksum; in win2unixfn()
689 return chksum; in win2unixfn()
710 return chksum; in win2unixfn()
[all …]
H A Dmsdosfs_lookup.c141 int chksum = -1, chksum_ok; in msdosfs_lookup() local
248 chksum = -1; in msdosfs_lookup()
274 chksum = win2unixfn(&nb, in msdosfs_lookup()
275 (struct winentry *)dep, chksum, in msdosfs_lookup()
280 chksum = winChkName(&nb, in msdosfs_lookup()
282 chksum, pmp); in msdosfs_lookup()
283 if (chksum == -2) { in msdosfs_lookup()
284 chksum = -1; in msdosfs_lookup()
293 chksum = -1; in msdosfs_lookup()
304 chksum = -1; in msdosfs_lookup()
[all …]
H A Ddirentry.h151 int chksum, struct msdosfsmount *pmp);
153 int chksum, struct msdosfsmount *pmp);
154 int win2unixfn(struct mbnambuf *nbp, struct winentry *wep, int chksum,
H A Dmsdosfs_vnops.c1505 int chksum = -1; in msdosfs_readdir() local
1654 chksum = -1; in msdosfs_readdir()
1665 chksum = win2unixfn(&nb, in msdosfs_readdir()
1666 (struct winentry *)dentp, chksum, pmp); in msdosfs_readdir()
1674 chksum = -1; in msdosfs_readdir()
1703 if (chksum != winChksum(dentp->deName)) { in msdosfs_readdir()
1713 chksum = -1; in msdosfs_readdir()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dcoverage.c461 coverage_checksum_string (unsigned chksum, const char *string) in coverage_checksum_string() argument
511 chksum = crc32_string (chksum, string); in coverage_checksum_string()
514 return chksum; in coverage_checksum_string()
524 unsigned chksum = xloc.line; in coverage_compute_lineno_checksum() local
526 chksum = coverage_checksum_string (chksum, xloc.file); in coverage_compute_lineno_checksum()
527 chksum = coverage_checksum_string in coverage_compute_lineno_checksum()
530 return chksum; in coverage_compute_lineno_checksum()
547 unsigned chksum = n_basic_blocks; in coverage_compute_cfg_checksum() local
553 chksum = crc32_byte (chksum, bb->index); in coverage_compute_cfg_checksum()
556 chksum = crc32_byte (chksum, e->dest->index); in coverage_compute_cfg_checksum()
[all …]
/dragonfly/contrib/binutils-2.34/bfd/
H A Dihex.c286 unsigned int chksum; in ihex_scan() local
331 chksum = len + addr + (addr >> 8) + type; in ihex_scan()
333 chksum += HEX2 (buf + 2 * i); in ihex_scan()
334 if (((- chksum) & 0xff) != (unsigned int) HEX2 (buf + 2 * i)) in ihex_scan()
340 (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i)); in ihex_scan()
730 unsigned int chksum; in ihex_write_record() local
743 chksum = count + addr + (addr >> 8) + type; in ihex_write_record()
748 chksum += *data; in ihex_write_record()
751 TOHEX (p, (- chksum) & 0xff); in ihex_write_record()
/dragonfly/contrib/binutils-2.27/bfd/
H A Dihex.c285 unsigned int chksum; in ihex_scan() local
330 chksum = len + addr + (addr >> 8) + type; in ihex_scan()
332 chksum += HEX2 (buf + 2 * i); in ihex_scan()
333 if (((- chksum) & 0xff) != (unsigned int) HEX2 (buf + 2 * i)) in ihex_scan()
338 (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i)); in ihex_scan()
723 unsigned int chksum; in ihex_write_record() local
736 chksum = count + addr + (addr >> 8) + type; in ihex_write_record()
741 chksum += *data; in ihex_write_record()
744 TOHEX (p, (- chksum) & 0xff); in ihex_write_record()
/dragonfly/contrib/gdb-7/bfd/
H A Dihex.c286 unsigned int chksum; in ihex_scan() local
331 chksum = len + addr + (addr >> 8) + type; in ihex_scan()
333 chksum += HEX2 (buf + 2 * i); in ihex_scan()
334 if (((- chksum) & 0xff) != (unsigned int) HEX2 (buf + 2 * i)) in ihex_scan()
339 (- chksum) & 0xff, (unsigned int) HEX2 (buf + 2 * i)); in ihex_scan()
724 unsigned int chksum; in ihex_write_record() local
737 chksum = count + addr + (addr >> 8) + type; in ihex_write_record()
742 chksum += *data; in ihex_write_record()
745 TOHEX (p, (- chksum) & 0xff); in ihex_write_record()
/dragonfly/sys/dev/disk/advansys/
H A Dadwlib.c265 u_int16_t chksum; in adw_eeprom_read() local
269 chksum = 0; in adw_eeprom_read()
275 chksum += wval; in adw_eeprom_read()
289 return (chksum); in adw_eeprom_read()
297 u_int16_t chksum; in adw_eeprom_write() local
300 chksum = 0; in adw_eeprom_write()
310 chksum += *wbuf; in adw_eeprom_write()
317 adw_eeprom_write_16(adw, addr, chksum); in adw_eeprom_write()
H A Dadvlib.c1421 u_int32_t chksum; in adv_load_microcode() local
1430 chksum = adv_msum_lram_16(adv, s_addr, mcode_lram_size); in adv_load_microcode()
1436 return (chksum); in adv_load_microcode()
H A Dadvlib.h306 u_int16_t chksum; member
/dragonfly/usr.sbin/fstyp/
H A Dexfat.c323 uint32_t chksum; in fstyp_exfat() local
340 bytespersec, &chksum); in fstyp_exfat()
351 if (chksum != le32toh(cksect[0])) { in fstyp_exfat()
353 le32toh(cksect[0]), chksum); in fstyp_exfat()
/dragonfly/bin/pax/
H A Dtar.h97 char chksum[CHK_LEN]; /* checksum */ member
136 char chksum[CHK_LEN]; /* checksum */ member
H A Dtar.c315 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) in tar_id()
616 if (ul_oct(tar_chksm(hdblk, sizeof(HD_TAR)), hd->chksum, in tar_wr()
617 sizeof(hd->chksum), 3)) in tar_wr()
692 if (asc_ul(hd->chksum,sizeof(hd->chksum),OCT) != tar_chksm(blk,BLKMULT)) in ustar_id()
1006 if (ul_oct(tar_chksm(hdblk, sizeof(HD_USTAR)), hd->chksum, in ustar_wr()
1007 sizeof(hd->chksum), 3)) in ustar_wr()
/dragonfly/sys/dev/netif/plip/
H A Dif_plip.c596 u_char chksum = 0; in lpoutput() local
643 chksum += i; in lpoutput()
650 chksum += 0x08 + 0x00; /* Add into checksum */ in lpoutput()
657 chksum += *cp; in lpoutput()
664 if (clpoutbyte(chksum, LPMAXSPIN2, ppbus)) in lpoutput()
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_virt.c380 unsigned int chksum) in amdgpu_virt_fw_reserve_get_checksum() argument
391 pos = (char *)&chksum; in amdgpu_virt_fw_reserve_get_checksum()
392 for (i = 0; i < sizeof(chksum); ++i) in amdgpu_virt_fw_reserve_get_checksum()
H A Damdgpu_virt.h299 unsigned int chksum);
/dragonfly/contrib/gdb-7/gdb/stubs/
H A Dia64vms-stub.c1933 unsigned char chksum = 0; in send_pkt() local
1937 chksum += gdb_buf[i]; in send_pkt()
1940 byte2hex (gdb_buf + gdb_blen + 1, chksum); in send_pkt()
2038 unsigned char chksum = 0; in one_command() local
2043 chksum += gdb_buf[i]; in one_command()
2045 if (v != chksum) in one_command()

12