Home | History | Annotate | Download | only in lib

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
35 /* The last 3 #include files should be in this order */
44 static bool Curl_isunreserved(unsigned char in)
46 switch (in) {
85 unsigned char in; /* we need to treat the characters unsigned */
103 in = *string;
105 if(Curl_isunreserved(in))
107 ns[strindex++]=in;
121 result = Curl_convert_to_network(data, &in, 1);
128 snprintf(&ns[strindex], 4, "%%%02X", in);
141 * Optionally detects control characters (byte codes lower than 32) in the
144 * Returns a pointer to a malloced string in *ostring with length given in
155 unsigned char in;
164 in = *string;
165 if(('%' == in) && (alloc > 2) &&
176 in = curlx_ultouc(hex); /* this long is never bigger than 255 anyway */
178 result = Curl_convert_from_network(data, &in, 1);
189 if(reject_ctrl && (in < 0x20)) {
194 ns[strindex++] = in;
211 * pointer to a malloced string with length given in *olen.
231 /* too large to return in an int, fail! */