Home
last modified time | relevance | path

Searched refs:csum (Results 1 – 25 of 75) sorted by relevance

123

/third_party/python/Modules/
Dmathmodule.c2515 double x, scale, oldcsum, csum = 1.0, frac1 = 0.0, frac2 = 0.0, frac3 = 0.0; in vector_norm() local
2548 assert(fabs(csum) >= fabs(x)); in vector_norm()
2549 oldcsum = csum; in vector_norm()
2550 csum += x; in vector_norm()
2551 frac1 += (oldcsum - csum) + x; in vector_norm()
2554 assert(fabs(csum) >= fabs(x)); in vector_norm()
2555 oldcsum = csum; in vector_norm()
2556 csum += x; in vector_norm()
2557 frac2 += (oldcsum - csum) + x; in vector_norm()
2559 assert(csum + lo * lo == csum); in vector_norm()
[all …]
/third_party/e2fsprogs/tests/j_corrupt_commit_csum/
Dname1 corrupt commit csum (csum v3)
/third_party/e2fsprogs/tests/j_corrupt_sb_csum/
Dname1 corrupt sb csum (csum v3)
/third_party/e2fsprogs/tests/j_corrupt_revoke_csum/
Dname1 corrupt revoke csum (csum v3)
/third_party/e2fsprogs/tests/j_corrupt_descr_csum/
Dname1 corrupt descr csum (csum v3)
/third_party/e2fsprogs/lib/ext2fs/
Dblknum.c256 __u32 csum; in ext2fs_block_bitmap_checksum() local
259 csum = gdp->bg_block_bitmap_csum_lo; in ext2fs_block_bitmap_checksum()
261 csum |= ((__u32)gdp->bg_block_bitmap_csum_hi << 16); in ext2fs_block_bitmap_checksum()
262 return csum; in ext2fs_block_bitmap_checksum()
297 __u32 csum; in ext2fs_inode_bitmap_checksum() local
300 csum = gdp->bg_inode_bitmap_csum_lo; in ext2fs_inode_bitmap_checksum()
302 csum |= ((__u32)gdp->bg_inode_bitmap_csum_hi << 16); in ext2fs_inode_bitmap_checksum()
303 return csum; in ext2fs_inode_bitmap_checksum()
/third_party/libwebsockets/lib/misc/
Dromfs.c219 romfs_get_info(romfs_t romfs, const char *path, size_t *len, size_t *csum) in romfs_get_info() argument
233 if (csum) in romfs_get_info()
234 *csum = untohl(ci->checksum); in romfs_get_info()
/third_party/e2fsprogs/e2fsck/
Djfs_user.h242 __u32 csum; in jbd2_descriptor_block_csum_set() local
250 csum = jbd2_chksum(j, j->j_csum_seed, bh->b_data, j->j_blocksize); in jbd2_descriptor_block_csum_set()
251 tail->t_checksum = cpu_to_be32(csum); in jbd2_descriptor_block_csum_set()
/third_party/FreeBSD/sys/dev/usb/net/
Dif_axge.c233 uint8_t csum; in axge_csum_cfg() local
235 csum = 0; in axge_csum_cfg()
236 csum |= CTCR_IP | CTCR_TCP | CTCR_UDP; in axge_csum_cfg()
237 axge_write_cmd_1(sc, AXGE_ACCESS_MAC, AXGE_CTCR, csum); in axge_csum_cfg()
239 csum = 0; in axge_csum_cfg()
240 csum |= CRCR_IP | CRCR_TCP | CRCR_UDP; in axge_csum_cfg()
241 axge_write_cmd_1(sc, AXGE_ACCESS_MAC, AXGE_CRCR, csum); in axge_csum_cfg()
/third_party/libnl/lib/route/link/
Dgeneve.c653 int rtnl_link_geneve_set_udp_csum(struct rtnl_link *link, uint8_t csum) in rtnl_link_geneve_set_udp_csum() argument
659 geneve->udp_csum = csum; in rtnl_link_geneve_set_udp_csum()
690 int rtnl_link_geneve_set_udp_zero_csum6_tx(struct rtnl_link *link, uint8_t csum) in rtnl_link_geneve_set_udp_zero_csum6_tx() argument
696 geneve->udp_zero_csum6_tx = csum; in rtnl_link_geneve_set_udp_zero_csum6_tx()
727 int rtnl_link_geneve_set_udp_zero_csum6_rx(struct rtnl_link *link, uint8_t csum) in rtnl_link_geneve_set_udp_zero_csum6_rx() argument
733 geneve->udp_zero_csum6_rx = csum; in rtnl_link_geneve_set_udp_zero_csum6_rx()
/third_party/ltp/testcases/network/lib6/
Dasapi_01.c200 static unsigned short csum(unsigned short partial, unsigned char *packet, in csum() function
324 cs = csum(0, (unsigned char *)&ph, sizeof(ph)); in client()
325 cs = csum(~cs, rpbuf, xlen); in client()
326 if (!csum(0, rpbuf, xlen)) { in client()
/third_party/e2fsprogs/tests/
Dfilter.sed27 s/, csum 0x\([0-9a-f]*\)//g
28 s/ csum 0x\([0-9a-f]*\)//g
/third_party/e2fsprogs/tests/t_change_uuid_mcsum_seed_mounted/
Dscript1 test_description="change meta-csum uuid with mcsum-seed"
23 echo "turn on csum seed" >> $OUT
/third_party/libnl/etc/
Dpktloc65 tcp.csum u16 tcp+16
76 udp.csum u16 tcp+6
/third_party/e2fsprogs/tests/j_corrupt_revoke_block/
Dname1 corrupt revoke block (csum v3)
/third_party/e2fsprogs/tests/m_mmp_bad_csum/
Dname1 mmp with bad csum (metadata_csum)
/third_party/e2fsprogs/tests/f_super_bad_csum/
Dname1 bad csum in superblock (metadata_csum)
/third_party/e2fsprogs/tests/j_corrupt_commit_tid/
Dname1 corrupt commit tid (csum v3)
/third_party/e2fsprogs/tests/j_corrupt_journal_block/
Dname1 corrupt journal block (csum v3)
/third_party/e2fsprogs/tests/j_corrupt_descr_tid/
Dname1 corrupt descr tid (csum v3)
/third_party/e2fsprogs/tests/f_bad_gdt_csum/
Dname1 bad group descriptor csum (metadata_csum)
/third_party/e2fsprogs/tests/j_corrupt_sb_magic/
Dname1 corrupt sb magic (csum v3)
/third_party/e2fsprogs/tests/f_extent_int_bad_csum/
Dname1 bad csum in internal extent (metadata_csum)
/third_party/e2fsprogs/tests/j_short_trans_old_csum/
Dname1 trans nuking bitmaps v1 journal csum
/third_party/e2fsprogs/tests/f_htree_leaf_csum/
Dname1 bad csum in htree leaf block

123