/third_party/python/Modules/ |
D | mathmodule.c | 2515 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/cups-filters/fontembed/ |
D | sfnt.c | 226 unsigned int csum=0; in otf_do_load() local 234 csum+=otf_checksum(tmp,len); in otf_do_load() 236 if (csum!=0xb1b0afba) { in otf_do_load() 439 unsigned int csum=otf_checksum(ret,table->length); in otf_get_table() local 441 csum-=get_ULONG(ret+8); in otf_get_table() 443 if (csum!=table->checkSum) { in otf_get_table() 814 int otf_action_copy_head(void *param,int csum,OUTPUT_FN output,void *context) // {{{ in otf_action_copy_head() argument 830 set_ULONG(data+8,0xb1b0afba-csum); // head. fix global checksum in otf_action_copy_head() 846 unsigned int csum=otf_checksum(data,ret-4); in otf_action_replace() local 848 csum+=get_ULONG(pad); in otf_action_replace() [all …]
|
D | sfnt_int.h | 77 int otf_action_copy(void *param,int csum,OUTPUT_FN output,void *context); 78 int otf_action_replace(void *param,int csum,OUTPUT_FN output,void *context); 81 int otf_action_copy_head(void *param,int csum,OUTPUT_FN output,void *context);
|
/third_party/libwebsockets/lib/misc/ |
D | romfs.c | 219 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()
|
D | romfs.h | 60 romfs_get_info(romfs_t romfs, const char *path, size_t *len, size_t *csum);
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | if_axge.c | 233 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/ltp/testcases/network/lib6/ |
D | asapi_01.c | 200 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/ltp/testcases/network/sctp/ |
D | sctp_big_chunk.c | 125 uint32_t csum = tst_crc32c(packet + ip6_hdr_len, pkt_len - ip6_hdr_len); in setup_client() local 127 memcpy(packet + ip6_hdr_len + 8, &csum, 4); in setup_client()
|
/third_party/ffmpeg/libavcodec/ |
D | svq1dec.c | 555 int csum = get_bits(bitbuf, 16); in svq1_decode_frame_header() local 557 …csum = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_CCITT), av_bswap16(csum), bitbuf->buffer, bitb… in svq1_decode_frame_header() 560 (csum == 0) ? "correct" : "incorrect", csum); in svq1_decode_frame_header()
|
D | qdm2.c | 1151 int csum = 257 * get_bits(&gb, 8); in qdm2_decode_super_block() local 1152 csum += 2 * get_bits(&gb, 8); in qdm2_decode_super_block() 1154 csum = qdm2_packet_checksum(q->compressed_data, q->checksum_size, csum); in qdm2_decode_super_block() 1156 if (csum != 0) { in qdm2_decode_super_block()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-igmp_querier.c | 186 query->csum = 0; /* Calculate later */ in create_query() 224 query->csum = calc_checksum((u_int16_t *) query, query_size); in create_query()
|
D | ns-mcast.h | 94 uint16_t csum; member
|
/third_party/rust/crates/cxx/tests/ffi/ |
D | tests.cc | 427 uint32_t sum = 0, csum = 0; in c_take_rust_vec_shared_forward_iterator() local 432 csum += it->z; in c_take_rust_vec_shared_forward_iterator() 434 if (sum == 2021 && csum == 2021) { in c_take_rust_vec_shared_forward_iterator()
|
/third_party/libbpf/src/ |
D | bpf_helper_defs.h | 1061 static __s64 (*bpf_csum_update)(struct __sk_buff *skb, __wsum csum) = (void *) 40;
|
/third_party/e2fsprogs/ |
D | BUILD.gn | 331 "e2fsprogs/lib/ext2fs/csum.c",
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 12408 __wsum csum; member 12472 __wsum csum; member 57508 __be32 csum; member 57559 __be16 csum; member 58166 __wsum csum; member 71609 __wsum csum; member 76336 __wsum csum; member 76625 __be16 csum; member 85422 __wsum csum; member 86177 __sum16 csum; member [all …]
|
/third_party/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 18379 …<var-decl name="csum" type-id="fbd88bba" visibility="default" filepath="include/linux/skbuff.h" li… 25662 …<var-decl name="csum" type-id="fbd88bba" visibility="default" filepath="include/linux/skbuff.h" li…
|
D | test-PR27569-v0.abi | 18379 …<var-decl name="csum" type-id="fbd88bba" visibility="default" filepath="include/linux/skbuff.h" li… 25634 …<var-decl name="csum" type-id="fbd88bba" visibility="default" filepath="include/linux/skbuff.h" li…
|