Lines Matching refs:val
164 uint32_t val;
180 val = 0; base = 10;
190 val = (val * base) + (c - '0');
193 val = (val << 4) |
208 *pp++ = val;
232 if ((val > 0xffffff) || (parts[0] > 0xff))
234 val |= parts[0] << 24;
238 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff))
240 val |= (parts[0] << 24) | (parts[1] << 16);
244 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) ||
247 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8);
251 addr->s_addr = htonl(val);
265 struct in_addr val;
267 if (inet_aton(cp, &val))
268 return (val.s_addr);