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
44 static bool Curl_isunreserved(unsigned char in)
46 switch (in) {
84 unsigned char in; /* we need to treat the characters unsigned */
96 in = *string;
98 if(Curl_isunreserved(in))
100 ns[strindex++]=in;
116 result = Curl_convert_to_network(handle, &in, 1);
123 snprintf(&ns[strindex], 4, "%%%02X", in);
136 * Optionally detects control characters (byte codes lower than 32) in the
139 * Returns a pointer to a malloced string in *ostring with length given in
150 unsigned char in;
159 in = *string;
160 if(('%' == in) && (alloc > 2) &&
171 in = curlx_ultouc(hex); /* this long is never bigger than 255 anyway */
173 result = Curl_convert_from_network(data, &in, 1);
184 if(reject_ctrl && (in < 0x20)) {
189 ns[strindex++] = in;
206 * pointer to a malloced string with length given in *olen.