Lines Matching refs:src
56 static const char *http_copy_decode(char *dst, const char *src,
330 const char *src, /* I - Source pointer */
340 * Copy the src to the destination until we hit a terminating character
344 for (ptr = dst, end = dst + dstsize - 1; *src && !strchr(term, *src); src ++)
347 if (*src == '%' && isxdigit(src[1] & 255) && isxdigit(src[2] & 255))
353 src ++;
354 if (isalpha(*src))
355 quoted = (tolower(*src) - 'a' + 10) << 4;
357 quoted = (*src - '0') << 4;
359 src ++;
360 if (isalpha(*src))
361 quoted |= tolower(*src) - 'a' + 10;
363 quoted |= *src - '0';
368 *ptr++ = *src;
373 return (src);