Home
last modified time | relevance | path

Searched refs:old_sum (Results 1 – 6 of 6) sorted by relevance

/external/android-clat/
Dtranslate.h79 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum,
81 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum,
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);
Dipv4.c66 uint32_t old_sum, new_sum; in ipv4_packet() local
115 old_sum = ipv4_pseudo_header_checksum(header, 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.c342 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, in udp_packet() argument
355 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size); in udp_packet()
366 int tcp_packet(clat_packet out, clat_packet_index pos, const struct tcphdr *tcp, uint32_t old_sum, in tcp_packet() argument
390 return tcp_translate(out, pos, tcp, header_size, old_sum, new_sum, payload, payload_size); in tcp_packet()
404 uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) { in udp_translate() argument
414 udp_targ->check = ip_checksum_adjust(udp->check, old_sum, new_sum); in udp_translate()
444 size_t header_size, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, in tcp_translate() argument
462 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
152 old_sum = ipv6_pseudo_header_checksum(ip6, len_left, protocol); 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/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_utils.cc116 float old_sum = conj_sum_[i]; in InfiniteStep() local
121 (old_sum + std::conj(sample - old_mean) * (sample - running_mean_[i])) in InfiniteStep()
174 float old_sum = conj_sum; in WindowedStep() local
179 (old_sum + std::conj(sample - old_mean) * (sample - mean)).real(); in WindowedStep()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dtiled_dot_emitter.cc573 llvm::Value* old_sum = (*vector_accumulators)[i].Get(); in EmitInnerLoopTiled() local
575 vsl_.Add(old_sum, vsl_.Mul(rhs_value, lhs_tile[i]))); in EmitInnerLoopTiled()