Lines Matching refs:val
115 unsigned int val = (unsigned int)(*tp * 10) + in inet_pton4() local
120 if(val > 255) in inet_pton4()
122 *tp = (unsigned char)val; in inet_pton4()
165 size_t val; in inet_pton6() local
176 val = 0; in inet_pton6()
185 val <<= 4; in inet_pton6()
186 val |= (pch - xdigits); in inet_pton6()
201 *tp++ = (unsigned char) ((val >> 8) & 0xff); in inet_pton6()
202 *tp++ = (unsigned char) (val & 0xff); in inet_pton6()
204 val = 0; in inet_pton6()
218 *tp++ = (unsigned char) ((val >> 8) & 0xff); in inet_pton6()
219 *tp++ = (unsigned char) (val & 0xff); in inet_pton6()