Lines Matching defs:in
10 * This software is licensed as described in the file COPYING, which
23 /* Escape and unescape URL encoding in strings. The functions return a new
46 static bool Curl_isunreserved(unsigned char in)
48 switch (in) {
86 unsigned char in; /* we need to treat the characters unsigned */
98 in = *string;
100 if(Curl_isunreserved(in))
102 ns[strindex++]=in;
118 res = Curl_convert_to_network(handle, &in, 1);
125 snprintf(&ns[strindex], 4, "%%%02X", in);
138 * Optionally detects control characters (byte codes lower than 32) in the
141 * Returns a pointer to a malloced string in *ostring with length given in
152 unsigned char in;
161 in = *string;
162 if(('%' == in) && ISXDIGIT(string[1]) && ISXDIGIT(string[2])) {
172 in = curlx_ultouc(hex); /* this long is never bigger than 255 anyway */
174 res = Curl_convert_from_network(data, &in, 1);
184 if(reject_ctrl && (in < 0x20)) {
189 ns[strindex++] = in;
207 * pointer to a malloced string with length given in *olen.