Lines Matching refs:encodeLength

184     pure nothrow size_t encodeLength(in size_t sourceLength)  in encodeLength()  function
198 auto buf = new char[Base64.encodeLength(data.length)];
225 assert(buffer.length >= encodeLength(source.length), "Insufficient buffer for encoding");
229 …assert(result.length == encodeLength(source.length), "The length of result is different from Base6… in out()
286 auto encodedLength = Base64.encodeLength(data.length);
307 assert(buffer.length >= encodeLength(source.length), "Insufficient buffer for encoding");
368 bufptr - buffer.ptr == encodeLength(srcLen),
398 …assert(result == encodeLength(source.length), "The number of put is different from the length of B… in out()
540 pcount == encodeLength(srcLen),
564 return encode(source, new char[encodeLength(source.length)]);
581 return encode(source, new char[encodeLength(source.length)]);
686 auto size = encodeLength(data.length); in doEncoding()
1794 assert(Base64.encodeLength(tv[""].length) == 0);
1795 assert(Base64.encodeLength(tv["f"].length) == 4);
1796 assert(Base64.encodeLength(tv["fo"].length) == 4);
1797 assert(Base64.encodeLength(tv["foo"].length) == 4);
1798 assert(Base64.encodeLength(tv["foob"].length) == 8);
1799 assert(Base64.encodeLength(tv["fooba"].length) == 8);
1800 assert(Base64.encodeLength(tv["foobar"].length) == 8);
1846 assert(Base64Re.encodeLength(tv[""].length) == 0);
1847 assert(Base64Re.encodeLength(tv["f"].length) == 2);
1848 assert(Base64Re.encodeLength(tv["fo"].length) == 3);
1849 assert(Base64Re.encodeLength(tv["foo"].length) == 4);
1850 assert(Base64Re.encodeLength(tv["foob"].length) == 6);
1851 assert(Base64Re.encodeLength(tv["fooba"].length) == 7);
1852 assert(Base64Re.encodeLength(tv["foobar"].length) == 8);