Lines Matching defs:val
111 struct in_addr val;
113 if (inet_aton(cp, &val))
114 return (val.s_addr);
127 uint32_t val;
144 val = 0; base = 10; digit = 0;
158 val = (val * base) + (c - '0');
163 val = (val << 4) |
177 if (pp >= parts + 3 || val > 0xffU)
179 *pp++ = val;
204 if (val > 0xffffffU)
206 val |= parts[0] << 24;
210 if (val > 0xffffU)
212 val |= (parts[0] << 24) | (parts[1] << 16);
216 if (val > 0xffU)
218 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8);
222 addr->s_addr = htonl(val);