• Home
  • Raw
  • Download

Lines Matching refs:base64bits

1661     unsigned int base64bits = 0;  in PyUnicode_DecodeUTF7Stateful()  local
1686 base64bits += 6; in PyUnicode_DecodeUTF7Stateful()
1688 if (base64bits >= 16) { in PyUnicode_DecodeUTF7Stateful()
1691 (base64buffer >> (base64bits-16)); in PyUnicode_DecodeUTF7Stateful()
1692 base64bits -= 16; in PyUnicode_DecodeUTF7Stateful()
1693 base64buffer &= (1 << base64bits) - 1; /* clear high bits */ in PyUnicode_DecodeUTF7Stateful()
1724 if (base64bits > 0) { /* left-over bits */ in PyUnicode_DecodeUTF7Stateful()
1725 if (base64bits >= 6) { in PyUnicode_DecodeUTF7Stateful()
1761 base64bits = 0; in PyUnicode_DecodeUTF7Stateful()
1793 (base64bits >= 6) || in PyUnicode_DecodeUTF7Stateful()
1794 (base64bits > 0 && base64buffer != 0)) { in PyUnicode_DecodeUTF7Stateful()
1843 unsigned int base64bits = 0; in PyUnicode_EncodeUTF7() local
1865 if (base64bits) { /* output remaining bits */ in PyUnicode_EncodeUTF7()
1866 *out++ = TO_BASE64(base64buffer << (6-base64bits)); in PyUnicode_EncodeUTF7()
1868 base64bits = 0; in PyUnicode_EncodeUTF7()
1901 base64bits += 16; in PyUnicode_EncodeUTF7()
1903 while (base64bits >= 6) { in PyUnicode_EncodeUTF7()
1904 *out++ = TO_BASE64(base64buffer >> (base64bits-6)); in PyUnicode_EncodeUTF7()
1905 base64bits -= 6; in PyUnicode_EncodeUTF7()
1911 base64bits += 16; in PyUnicode_EncodeUTF7()
1913 while (base64bits >= 6) { in PyUnicode_EncodeUTF7()
1914 *out++ = TO_BASE64(base64buffer >> (base64bits-6)); in PyUnicode_EncodeUTF7()
1915 base64bits -= 6; in PyUnicode_EncodeUTF7()
1918 if (base64bits) in PyUnicode_EncodeUTF7()
1919 *out++= TO_BASE64(base64buffer << (6-base64bits) ); in PyUnicode_EncodeUTF7()