Lines Matching refs:val
70 in_addr_t val; in inet_aton() local
85 val = 0; base = 10; in inet_aton()
95 val = (val * base) + (c - '0'); in inet_aton()
98 val = (val << 4) | in inet_aton()
113 *pp++ = val; in inet_aton()
137 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton()
139 val |= parts[0] << 24; in inet_aton()
143 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton()
145 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton()
149 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton()
151 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
155 addr->s_addr = htonl(val); in inet_aton()