Lines Matching refs:total
680 /* Total number of bytes in tmp */
681 int total;
692 v6stat.total = 0;
707 if (v6stat.total != 16)
713 if (v6stat.total == 16)
721 if (v6stat.total > 0)
728 && (v6stat.zero_pos != v6stat.total))
735 || (v6stat.zero_pos == v6stat.total))
747 memset(v6 + v6stat.zero_pos, 0, 16 - v6stat.total);
749 if (v6stat.total != v6stat.zero_pos)
750 memcpy(v6 + v6stat.zero_pos + 16 - v6stat.total,
752 v6stat.total - v6stat.zero_pos);
764 if (s->total == 16)
770 s->zero_pos = s->total;
772 else if (s->zero_pos != s->total)
782 if (s->total > 12)
787 if (!ipv4_from_asc(s->tmp + s->total, elem))
789 s->total += 4;
793 if (!ipv6_hex(s->tmp + s->total, elem, len))
795 s->total += 2;