Searched refs:srcend (Results 1 – 1 of 1) sorted by relevance
465 const char* srcend = src + srclen; in proxy_base64_encode() local468 while (src+3 <= srcend && result+4 <= dstlen) in proxy_base64_encode()478 if (src < srcend) { in proxy_base64_encode()485 in[1] = src+1 < srcend ? src[1] : 0; in proxy_base64_encode()486 in[2] = src+2 < srcend ? src[2] : 0; in proxy_base64_encode()490 …dst[result+2] = (unsigned char) (src+1 < srcend ? cb64[ ((in[1] & 0xf) << 2) | ((in[2] & 0xc0) >> … in proxy_base64_encode()491 dst[result+3] = (unsigned char) (src+2 < srcend ? cb64[ in[2] & 0x3f ] : '='); in proxy_base64_encode()