Lines Matching refs:outptr

1743   char	*outptr,			/* Output pointer */  in httpDecode64_2()  local
1758 for (outptr = out, outend = out + *outlen - 1, pos = 0; *in != '\0'; in ++) in httpDecode64_2()
1786 if (outptr < outend) in httpDecode64_2()
1787 *outptr = base64 << 2; in httpDecode64_2()
1791 if (outptr < outend) in httpDecode64_2()
1792 *outptr++ |= (base64 >> 4) & 3; in httpDecode64_2()
1793 if (outptr < outend) in httpDecode64_2()
1794 *outptr = (base64 << 4) & 255; in httpDecode64_2()
1798 if (outptr < outend) in httpDecode64_2()
1799 *outptr++ |= (base64 >> 2) & 15; in httpDecode64_2()
1800 if (outptr < outend) in httpDecode64_2()
1801 *outptr = (base64 << 6) & 255; in httpDecode64_2()
1805 if (outptr < outend) in httpDecode64_2()
1806 *outptr++ |= base64; in httpDecode64_2()
1812 *outptr = '\0'; in httpDecode64_2()
1818 *outlen = (int)(outptr - out); in httpDecode64_2()
1846 char *outptr, /* Output pointer */ in httpEncode64_2() local
1868 for (outptr = out, outend = out + outlen - 1; inlen > 0; in ++, inlen --) in httpEncode64_2()
1874 if (outptr < outend) in httpEncode64_2()
1875 *outptr ++ = base64[(in[0] & 255) >> 2]; in httpEncode64_2()
1876 if (outptr < outend) in httpEncode64_2()
1877 *outptr ++ = base64[(((in[0] & 255) << 4) | ((in[1] & 255) >> 4)) & 63]; in httpEncode64_2()
1883 if (outptr < outend) in httpEncode64_2()
1884 *outptr ++ = '='; in httpEncode64_2()
1885 if (outptr < outend) in httpEncode64_2()
1886 *outptr ++ = '='; in httpEncode64_2()
1890 if (outptr < outend) in httpEncode64_2()
1891 *outptr ++ = base64[(((in[0] & 255) << 2) | ((in[1] & 255) >> 6)) & 63]; in httpEncode64_2()
1897 if (outptr < outend) in httpEncode64_2()
1898 *outptr ++ = '='; in httpEncode64_2()
1902 if (outptr < outend) in httpEncode64_2()
1903 *outptr ++ = base64[in[0] & 63]; in httpEncode64_2()
1906 *outptr = '\0'; in httpEncode64_2()