Lines Matching defs:tp
134 char *tp, *ep;
179 tp = tmp;
186 *tp++ = ':';
191 if (tp + 1 >= ep)
193 *tp++ = ':';
200 if (!inet_ntop4(src + 12, tp, (socklen_t)(ep - tp)))
202 tp += strlen(tp);
205 advance = snprintf(tp, (size_t)(ep - tp), "%x", words[i]);
206 if (advance <= 0 || advance >= ep - tp)
208 tp += advance;
213 if (tp + 1 >= ep)
215 *tp++ = ':';
217 if (tp + 1 >= ep)
219 *tp++ = '\0';
224 if ((size_t)(tp - tmp) > size)