Lines Matching refs:tmp
51 uint16_t tmp = *addr / scale;
56 if (((tmp) > 0) || *started || (scale == 1)) {
57 *str = tmp + '0';
60 *addr -= (tmp * scale);
118 int tmp;
121 while ((tmp = *src++) != 0) {
122 tmp -= '0';
123 if ((tmp < 0) || (tmp > 9))
128 (*dst) += tmp;
833 char tmp[16];
861 snprintf(tmp, sizeof(tmp), ":%02x",
863 strncat(buf, tmp, size - strlen(buf) - 1);
870 snprintf(tmp, sizeof(tmp), "/%u", addr->a_prefixlen);
871 strncat(buf, tmp, size - strlen(buf) - 1);