Lines Matching refs:total
1129 /* Total number of bytes in tmp */
1130 int total;
1141 v6stat.total = 0;
1156 if (v6stat.total != 16)
1162 if (v6stat.total == 16)
1170 if (v6stat.total > 0)
1177 && (v6stat.zero_pos != v6stat.total))
1184 || (v6stat.zero_pos == v6stat.total))
1196 memset(v6 + v6stat.zero_pos, 0, 16 - v6stat.total);
1198 if (v6stat.total != v6stat.zero_pos)
1199 memcpy(v6 + v6stat.zero_pos + 16 - v6stat.total,
1201 v6stat.total - v6stat.zero_pos);
1213 if (s->total == 16)
1219 s->zero_pos = s->total;
1221 else if (s->zero_pos != s->total)
1231 if (s->total > 12)
1236 if (!ipv4_from_asc(s->tmp + s->total, elem))
1238 s->total += 4;
1242 if (!ipv6_hex(s->tmp + s->total, elem, len))
1244 s->total += 2;