Lines Matching defs:out
42 urlencode(const char *in, int inlen, char *out, int outlen)
44 char *start = out, *end = out + outlen;
46 while (inlen-- && out < end - 4) {
54 *out++ = *in++;
58 *out++ = '+';
62 *out++ = '%';
63 *out++ = hex[(*in) >> 4];
64 *out++ = hex[(*in++) & 15];
66 *out = '\0';
68 if (out >= end - 4)
71 return lws_ptr_diff(out, start);
444 /* we have to parse out these headers in the CGI output */
818 /* ran out of input, ended the hdrs, or filled up the hdrs buf */