/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/client/ |
H A D | clitar.c | 219 memcpy(hb.dbuf.chksum, " ", sizeof(hb.dbuf.chksum)); 226 oct_it((SMB_BIG_UINT) chk, 8, hb.dbuf.chksum); 227 hb.dbuf.chksum[6] = '\0'; 254 /* compensate for blanks in chksum header */ 255 for (i=sizeof(hb->dbuf.chksum), jp=hb->dbuf.chksum; --i>=0;) 258 chk += ' ' * sizeof(hb->dbuf.chksum); 260 fchk=unoct(hb->dbuf.chksum, sizeof(hb->dbuf.chksum)); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/log/ |
H A D | log_put.c | 153 __db_chksum(NULL, dbt->data, dbt->size, key, hdr.chksum); 155 __db_chksum(&hdr, dbt->data, dbt->size, key, hdr.chksum); 654 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL, hdr.chksum); 657 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL, hdr.chksum); 731 if (hdr->chksum[0] == 0) 735 hdr->chksum); 739 hdr->chksum); 745 LOG_HDR_SUM(CRYPTO_ON(env), hdr, hdr->chksum); 1515 (CRYPTO_ON(env)) ? db_cipher->mac_key : NULL, hdr.chksum);
|
H A D | log_get.c | 625 hdr.chksum, rp + hdr.size, hdr.len - hdr.size, is_hmac)) != 0) { 839 * our buffer in order to fail at the chksum. __logc_hdrchk made 971 P_32_SWAP(hdr->chksum); 1141 if (hdr->prev == 0 && hdr->chksum[0] == 0 && hdr->len == 0) {
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | rdt.c | 94 ff_rdt_calc_response_and_checksum(char response[41], char chksum[9], argument 127 chksum[i] = response[i * 4]; 128 chksum[8] = 0;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
H A D | rdt.c | 94 ff_rdt_calc_response_and_checksum(char response[41], char chksum[9], argument 127 chksum[i] = response[i * 4]; 128 chksum[8] = 0;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/aic94xx/ |
H A D | aic94xx_sds.c | 396 __le32 chksum; member in struct:asd_flash_de 404 __le32 chksum; member in struct:asd_flash_dir 421 u16 chksum; member in struct:asd_manuf_sec 616 u16 chksum = 0; local 619 chksum += *p++; 621 return chksum; 659 ms->chksum = le16_to_cpu((__force __le16) ms->chksum);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/isdn/hisax/ |
H A D | hfc_2bds0.c | 189 int chksum; local 234 chksum = (ReadReg(cs, HFCD_DATA, cip) << 8); 236 chksum += ReadReg(cs, HFCD_DATA, cip); 240 debugl1(cs, "hfc_empty_fifo %d chksum %x stat %x", 241 bcs->channel, chksum, stat); 593 int chksum; local 653 chksum = (ReadReg(cs, HFCD_DATA, cip) << 8); 655 chksum += ReadReg(cs, HFCD_DATA, cip); 659 debugl1(cs, "empty_dfifo chksum %x stat %x", 660 chksum, sta [all...] |
H A D | hfc_2bs0.c | 150 int chksum; local 211 chksum = (cs->BC_Read_Reg(cs, HFC_DATA, cip) << 8); 213 chksum += cs->BC_Read_Reg(cs, HFC_DATA, cip); 217 debugl1(cs, "hfc_empty_fifo %d chksum %x stat %x", 218 bcs->channel, chksum, stat);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/ |
H A D | a100u2w.c | 294 u8 *np, chksum = 0; local 305 chksum += *np++; 307 if (nvramp->CheckSum != (u8) chksum) 322 u8 *np, *np1, chksum = 0; local 327 chksum += *np++; 328 *np = chksum;
|
H A D | advansys.c | 648 ushort chksum; member in struct:asceep_config 4616 ASC_DCNT chksum; local 4625 chksum = AscMemSumLramWord(iop_base, s_addr, mcode_word_size); 4626 ASC_DBG(1, "chksum 0x%lx\n", (ulong)chksum); 4636 return chksum; 4737 unsigned long chksum; local 4774 chksum = (fw->data[3] << 24) | (fw->data[2] << 16) | 4776 ASC_DBG(1, "_asc_mcode_chksum 0x%lx\n", (ulong)chksum); 4778 fw->size - 4) != chksum) { 4814 AdvLoadMicrocode(AdvPortAddr iop_base, const unsigned char *buf, int size, int memsize, int chksum) argument 5034 unsigned long chksum; local 5493 unsigned long chksum; local 5993 unsigned long chksum; local 10005 ushort chksum; local 10707 ushort addr, chksum; local 10775 ushort addr, chksum; local 10842 ushort addr, chksum; local 10909 ushort wval, chksum; local 10952 ushort wval, chksum; local 10995 ushort wval, chksum; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/hfsplus_journal/ |
H A D | journal.c | 20 int i, chksum = 0; local 23 chksum = (chksum << 8) ^ (chksum + *ptr); 25 return (~chksum);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla2xxx/ |
H A D | qla_attr.c | 130 uint32_t chksum; local 133 chksum = 0; 135 chksum += le32_to_cpu(*iter++); 136 chksum = ~chksum + 1; 137 *iter = cpu_to_le32(chksum); 140 uint8_t chksum; local 143 chksum = 0; 145 chksum += *iter++; 146 chksum [all...] |
H A D | qla_init.c | 2158 uint8_t chksum = 0; local 2178 for (cnt = 0, chksum = 0; cnt < ha->nvram_size; cnt++) 2179 chksum += *ptr++; 2185 if (chksum || nv->id[0] != 'I' || nv->id[1] != 'S' || 2189 "checksum=0x%x id=%c version=0x%x.\n", chksum, nv->id[0], 4230 uint32_t chksum; local 4260 for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++) 4261 chksum += le32_to_cpu(*dptr++); 4267 if (chksum || nv->id[0] != 'I' || nv->id[1] != 'S' || nv->id[2] != 'P' 4272 "checksum=0x%x id=%c version=0x%x.\n", chksum, n 4988 uint32_t chksum; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/ |
H A D | ewrk3.c | 411 u_char eeprom_image[EEPROM_MAX], chksum, eisa_cr = 0; local 431 for (chksum = 0, i = 0; i < EEPROM_MAX; i += 2) { 440 chksum += eeprom_image[i] + eeprom_image[i + 1]; 443 if (chksum != 0) { /* Bad EEPROM Data! */ 1426 u_short chksum; local 1462 chksum = inb(EWRK3_APROM); 1463 chksum |= (inb(EWRK3_APROM) << 8); 1464 if (k != chksum)
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/dbinc/ |
H A D | log.h | 146 u_int8_t chksum[DB_MAC_KEY]; /* Current checksum. */ member in struct:__hdr
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/pnp/isapnp/ |
H A D | core.c | 297 unsigned char chksum = 0x00; local 327 chksum |= (1 << (i - 65)); 329 if (checksum != 0x00 && checksum == chksum) { 353 chksum = 0x00;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/test/ |
H A D | sec001.tcl | 69 set db [berkdb_open -create -chksum -btree $testfile2]
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/ |
H A D | util.c | 1372 * IN assertion: chksum is a valid Adler-16 checksum: 1373 * (chksum & 0xffU) < ADLER16_BASE && ((chksum >> 8) & 0xffU) < ADLER16_BASE 1381 unsigned int adler16(chksum, buf, len) 1382 unsigned int chksum; 1386 unsigned int sum1 = chksum & 0xff; 1387 unsigned int sum2 = (chksum >> 8) & 0xff;
|
H A D | zipfile.c | 792 ulg chksum = CRCVAL_INITIAL; 834 chksum = crc32(chksum, (uch *)(iname), strlen(iname)); 838 /* chksum = adler16(ADLERVAL_INITIAL, 845 if (chksum != iname_chksum) { 896 ulg chksum = CRCVAL_INITIAL; 930 chksum = adler16(ADLERVAL_INITIAL, 939 chksum = crc32(chksum, (uch *)(iname), strlen(iname)); 946 if (chksum ! [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 1872 uint16_t cnt, chksum; local 1895 for (chksum = 0; cnt; cnt--) 1896 chksum += le16_to_cpu(*wptr++); 1897 if (chksum) { 1901 chksum)); 1954 uint16_t cnt, chksum; local 1976 for (cnt = 0, chksum = 0; cnt < sizeof(struct qla_fdt_layout) >> 1; 1978 chksum += le16_to_cpu(*wptr++); 1980 if (chksum) { 1982 "checksum=0x%x id=%c version=0x%x.\n", chksum, fd [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/txn/ |
H A D | txn.c | 1614 u_int8_t *bp, *key, chksum[DB_MAC_KEY]; local 1653 __db_chksum(&hdr, buffer + hdrsize, rec_len, key, chksum); 1654 memcpy(buffer + SSZA(HDR, chksum), chksum, sum_len);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/ |
H A D | qib_common.h | 678 __le16 chksum; member in struct:qib_header
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | ivi_common.c | 768 uint16_t chksum = ivi_calc_band_checksum(band); local 769 if (chksum != band->checksum) { 772 band->plane, band->band_num, band->checksum, chksum);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/lzo-2.06/ |
H A D | Makefile.in | 54 tests/chksum$(EXEEXT) tests/promote$(EXEEXT) \ 176 am_tests_chksum_OBJECTS = tests/chksum.$(OBJEXT) 441 tests_chksum_SOURCES = tests/chksum.c 723 tests/chksum.$(OBJEXT): tests/$(am__dirstamp) \ 725 tests/chksum$(EXEEXT): $(tests_chksum_OBJECTS) $(tests_chksum_DEPENDENCIES) tests/$(am__dirstamp) 726 @rm -f tests/chksum$(EXEEXT) 909 -rm -f tests/chksum.$(OBJEXT) 1005 @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/chksum.Po@am__quote@ 1511 ./tests/chksum 1519 ./tests/chksum [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/squashfs-4.2/ |
H A D | mksquashfs.c | 1992 unsigned short get_checksum(char *buff, int bytes, unsigned short chksum) argument 1997 chksum = (chksum & 1) ? (chksum >> 1) | 0x8000 : chksum >> 1; 1998 chksum += *b++; 2001 return chksum; 2008 unsigned short chksum = 0; local 2019 chksum = get_checksum(write_buffer->data, bytes, 2020 chksum); [all...] |