Lines Matching refs:encodeLength

183     pure nothrow size_t encodeLength(in size_t sourceLength)  in encodeLength()  function
197 auto buf = new char[Base64.encodeLength(data.length)];
224 assert(buffer.length >= encodeLength(source.length), "Insufficient buffer for encoding");
228 …assert(result.length == encodeLength(source.length), "The length of result is different from Base6… in out()
285 auto encodedLength = Base64.encodeLength(data.length);
306 assert(buffer.length >= encodeLength(source.length), "Insufficient buffer for encoding");
367 bufptr - buffer.ptr == encodeLength(srcLen),
398 …assert(result == encodeLength(source.length), "The number of put is different from the length of B… in out()
551 pcount == encodeLength(srcLen),
575 return encode(source, new char[encodeLength(source.length)]);
592 return encode(source, new char[encodeLength(source.length)]);
698 auto size = encodeLength(data.length); in doEncoding()
1799 assert(Base64.encodeLength(tv[""].length) == 0);
1800 assert(Base64.encodeLength(tv["f"].length) == 4);
1801 assert(Base64.encodeLength(tv["fo"].length) == 4);
1802 assert(Base64.encodeLength(tv["foo"].length) == 4);
1803 assert(Base64.encodeLength(tv["foob"].length) == 8);
1804 assert(Base64.encodeLength(tv["fooba"].length) == 8);
1805 assert(Base64.encodeLength(tv["foobar"].length) == 8);
1851 assert(Base64Re.encodeLength(tv[""].length) == 0);
1852 assert(Base64Re.encodeLength(tv["f"].length) == 2);
1853 assert(Base64Re.encodeLength(tv["fo"].length) == 3);
1854 assert(Base64Re.encodeLength(tv["foo"].length) == 4);
1855 assert(Base64Re.encodeLength(tv["foob"].length) == 6);
1856 assert(Base64Re.encodeLength(tv["fooba"].length) == 7);
1857 assert(Base64Re.encodeLength(tv["foobar"].length) == 8);