Home
last modified time | relevance | path

Searched refs:new_sum (Results 1 – 9 of 9) sorted by relevance

/external/android-clat/
Dipv4.c66 uint32_t old_sum, new_sum; in ipv4_packet() local
116 new_sum = ipv6_pseudo_header_checksum(ip6_targ, len_left, nxthdr); in ipv4_packet()
127 iov_len = icmp_packet(out, pos + 2, (const struct icmphdr *)next_header, new_sum, len_left); in ipv4_packet()
130 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv4_packet()
133 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv4_packet()
Dtranslate.h80 uint32_t new_sum, size_t len);
82 uint32_t new_sum, size_t len);
85 size_t header_size, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload,
88 uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size);
Dtranslate.c342 uint32_t new_sum, size_t len) { in udp_packet() argument
354 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size); in udp_packet()
366 uint32_t new_sum, size_t len) { in tcp_packet() argument
389 return tcp_translate(out, pos, tcp, header_size, old_sum, new_sum, payload, payload_size); in tcp_packet()
403 uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) { in udp_translate() argument
413 udp_targ->check = ip_checksum_adjust(udp->check, old_sum, new_sum); in udp_translate()
420 udp_targ->check = packet_checksum(new_sum, out, pos); in udp_translate()
443 size_t header_size, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, in tcp_translate() argument
461 tcp_targ->check = ip_checksum_adjust(tcp->check, old_sum, new_sum); in tcp_translate()
Dipv6.c86 uint32_t old_sum, new_sum; in ipv6_packet() local
153 new_sum = ipv4_pseudo_header_checksum(ip_targ, len_left); in ipv6_packet()
162 tcp_packet(out, pos + 2, (const struct tcphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
165 udp_packet(out, pos + 2, (const struct udphdr *)next_header, old_sum, new_sum, len_left); in ipv6_packet()
/external/llvm-project/mlir/test/Dialect/Affine/
Dops.mlir200 %new_sum = addf %sum_iter, %t : f32
201 affine.yield %new_sum : f32
/external/llvm-project/mlir/test/Dialect/SCF/
Dops.mlir214 %new_sum = addf %sum_iter, %t : f32
215 scf.yield %new_sum : f32
/external/rust/crates/itertools/tests/
Dtest_std.rs1001 let new_sum = acc.clone() + item; in fold_while() localVariable
1002 if new_sum <= 20 { in fold_while()
1003 FoldWhile::Continue(new_sum) in fold_while()
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc908 const float new_sum = sum + addend; in fold() local
916 compensation += (sum - new_sum) + addend; in fold()
918 compensation += (addend - new_sum) + sum; in fold()
920 sum = new_sum; in fold()
/external/llvm-project/mlir/include/mlir/Dialect/SCF/
DSCFOps.td137 %new_sum = addf %sum_iter, %t : f32
138 scf.yield %new_sum : f32