Lines Matching +full:binary +full:- +full:coded
6 * Redistribution and use in source and binary forms, with or without
13 * 2. Redistributions in binary form must reproduce the above copyright
41 #include "netdissect-stdinc.h"
94 * Convert IPv6 binary address into presentation (printable) format.
103 * Keep this in mind if you think this function should have been coded in addrtostr6()
125 best.base = -1; in addrtostr6()
127 cur.base = -1; in addrtostr6()
130 if (cur.base == -1) in addrtostr6()
133 } else if (cur.base != -1) { in addrtostr6()
134 if (best.base == -1 || cur.len > best.len) in addrtostr6()
136 cur.base = -1; in addrtostr6()
139 if ((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in addrtostr6()
141 if (best.base != -1 && best.len < 2) in addrtostr6()
142 best.base = -1; in addrtostr6()
155 space_left--; \ in addrtostr6()
160 if (best.base != -1 && i >= best.base && i < (best.base + best.len)) { in addrtostr6()
182 space_left -= added_space; in addrtostr6()
193 space_left -= snprintfed; in addrtostr6()
198 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in addrtostr6()