Home
last modified time | relevance | path

Searched refs:best (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c105 struct { int base, len; } best, cur; in inet_ntop6() local
118 best.base = -1; in inet_ntop6()
128 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
129 best = cur; in inet_ntop6()
135 if (best.base == -1 || cur.len > best.len) in inet_ntop6()
136 best = cur; in inet_ntop6()
138 if (best.base != -1 && best.len < 2) in inet_ntop6()
139 best.base = -1; in inet_ntop6()
148 if (best.base != -1 && i >= best.base && in inet_ntop6()
149 i < (best.base + best.len)) { in inet_ntop6()
[all …]