Lines Matching refs:bits
47 unsigned int bits) in Curl_cidr4_match() argument
52 if(bits > 32) in Curl_cidr4_match()
61 if(bits && (bits != 32)) { in Curl_cidr4_match()
62 unsigned int mask = 0xffffffff << (32 - bits); in Curl_cidr4_match()
67 ipv4, haddr, network, hcheck, bits, mask, in Curl_cidr4_match()
79 unsigned int bits) in Curl_cidr6_match() argument
87 if(!bits) in Curl_cidr6_match()
88 bits = 128; in Curl_cidr6_match()
90 bytes = bits / 8; in Curl_cidr6_match()
91 rest = bits & 0x07; in Curl_cidr6_match()
107 (void)bits; in Curl_cidr6_match()
221 unsigned int bits = 0; in Curl_check_noproxy() local
236 bits = (unsigned int)atoi(slash + 1); in Curl_check_noproxy()
240 match = Curl_cidr6_match(name, check, bits); in Curl_check_noproxy()
242 match = Curl_cidr4_match(name, check, bits); in Curl_check_noproxy()