Lines Matching refs:tp
123 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp;
163 tp = tmp;
169 *tp++ = ':';
174 *tp++ = ':';
179 if (!inet_ntop4(src+12, tp,
180 sizeof(tmp) - (tp - tmp)))
182 tp += strlen(tp);
185 tp += snprintf(tp, sizeof(tmp) - (tp - tmp), "%x", words[i]);
190 *tp++ = ':';
191 *tp++ = '\0';
196 if ((size_t)(tp - tmp) > size) {
200 memcpy(dst, tmp, (size_t)(tp - tmp));