Lines Matching refs:pos
168 int pos = -1; in z_impl_net_addr_ntop() local
199 pos = i; in z_impl_net_addr_ntop()
204 pos = -1; in z_impl_net_addr_ntop()
248 if (i == pos) { in z_impl_net_addr_ntop()
605 if (!cur->buf || !cur->pos) { in pkt_calc_chksum()
609 len = cur->buf->len - (cur->pos - cur->buf->data); in pkt_calc_chksum()
612 sum = calc_chksum(sum, cur->pos, len); in pkt_calc_chksum()
619 cur->pos = cur->buf->data; in pkt_calc_chksum()
622 sum += *cur->pos; in pkt_calc_chksum()
623 if (sum < *cur->pos) { in pkt_calc_chksum()
627 cur->pos++; in pkt_calc_chksum()
672 sum = calc_chksum(sum, pkt->cursor.pos, len); in net_calc_chksum()