Lines Matching refs:len
64 size_t len; in inet_ntop4() local
75 len = strlen(tmp); in inet_ntop4()
76 if(len == 0 || len >= size) { in inet_ntop4()
100 int len; in inet_ntop6() member
115 best.len = 0; in inet_ntop6()
116 cur.len = 0; in inet_ntop6()
121 cur.base = i; cur.len = 1; in inet_ntop6()
124 cur.len++; in inet_ntop6()
127 if(best.base == -1 || cur.len > best.len) in inet_ntop6()
132 if((cur.base != -1) && (best.base == -1 || cur.len > best.len)) in inet_ntop6()
134 if(best.base != -1 && best.len < 2) in inet_ntop6()
140 if(best.base != -1 && i >= best.base && i < (best.base + best.len)) { in inet_ntop6()
154 (best.len == 6 || (best.len == 5 && words[5] == 0xffff))) { in inet_ntop6()
167 if(best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in inet_ntop6()