Lines Matching +full:use +full:- +full:case

8  * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
14 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
28 Copyright (c) 1996 - 2013, Daniel Stenberg, <daniel@haxx.se>.
32 Permission to use, copy, modify, and distribute this software for any purpose
41 OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
45 be used in advertising or otherwise to promote the sale, use or other dealings
52 /* Portable, consistent toupper (remember EBCDIC). Do not use toupper() because
57 case 'a': in Curl_raw_toupper()
59 case 'b': in Curl_raw_toupper()
61 case 'c': in Curl_raw_toupper()
63 case 'd': in Curl_raw_toupper()
65 case 'e': in Curl_raw_toupper()
67 case 'f': in Curl_raw_toupper()
69 case 'g': in Curl_raw_toupper()
71 case 'h': in Curl_raw_toupper()
73 case 'i': in Curl_raw_toupper()
75 case 'j': in Curl_raw_toupper()
77 case 'k': in Curl_raw_toupper()
79 case 'l': in Curl_raw_toupper()
81 case 'm': in Curl_raw_toupper()
83 case 'n': in Curl_raw_toupper()
85 case 'o': in Curl_raw_toupper()
87 case 'p': in Curl_raw_toupper()
89 case 'q': in Curl_raw_toupper()
91 case 'r': in Curl_raw_toupper()
93 case 's': in Curl_raw_toupper()
95 case 't': in Curl_raw_toupper()
97 case 'u': in Curl_raw_toupper()
99 case 'v': in Curl_raw_toupper()
101 case 'w': in Curl_raw_toupper()
103 case 'x': in Curl_raw_toupper()
105 case 'y': in Curl_raw_toupper()
107 case 'z': in Curl_raw_toupper()
114 * Curl_raw_equal() is for doing "raw" case insensitive strings. This is meant
116 * this. See http://daniel.haxx.se/blog/2008/10/15/strcasecmp-in-turkish/ for
119 * The function is capable of comparing a-z case insensitively even for
120 * non-ascii.
144 max--; in Curl_raw_nequal()
159 * We use the matching rule described in RFC6125, section 6.4.3.
160 * http://tools.ietf.org/html/rfc6125#section-6.4.3
179 Curl_raw_nequal(pattern, "xn--", 4)) { in hostmatch()
191 /* The wildcard must match at least one character, so the left-most in hostmatch()
192 label of the hostname is at least as large as the left-most label in hostmatch()
194 if(hostname_label_end - hostname < pattern_label_end - pattern) in hostmatch()
197 prefixlen = pattern_wildcard - pattern; in hostmatch()
198 suffixlen = pattern_label_end - (pattern_wildcard+1); in hostmatch()
200 Curl_raw_nequal(pattern_wildcard+1, hostname_label_end - suffixlen, in hostmatch()
211 if(Curl_raw_equal(hostname, match_pattern)) /* trivial case */ in Curl_cert_hostcheck()