Lines Matching refs:pure

490         E peek() @safe pure @nogc nothrow { return s[0]; }
491 E read() @safe pure @nogc nothrow { E t = s[0]; s = s[1..$]; return t; }
497 E peek() @safe pure @nogc nothrow { return s[$-1]; }
498 E read() @safe pure @nogc nothrow { E t = s[$-1]; s = s[0..$-1]; return t; }
506 void write(E c) @safe pure nothrow { s ~= c; }
511 void write(E c) @safe pure @nogc nothrow { array[0] = c; array = array[1..$]; }
530 void skip() @safe pure @nogc nothrow { skipViaRead(); }
536 dchar decode() @safe pure @nogc nothrow { return decodeViaRead(); }
542 dchar safeDecode() @safe pure @nogc nothrow { return safeDecodeViaRead(); }
548 dchar decodeReverse() @safe pure @nogc nothrow { return decodeReverseViaRead(); }
601 E[] encode(dchar c) @safe pure nothrow
608 void encode(dchar c, ref E[] array) @safe pure nothrow
620 void skip(ref const(E)[] s) @safe pure nothrow
638 dchar decodeReverse(ref const(E)[] s) @safe pure nothrow
762 bool canEncode(dchar c) @safe pure @nogc nothrow
777 bool isValidCodeUnit(E c) @safe pure @nogc nothrow
783 size_t encodedLength(dchar c) @safe pure @nogc nothrow
838 @property EString replacementSequence() @safe pure @nogc nothrow
860 @property string encodingName() @safe pure nothrow @nogc
865 bool canEncode(dchar c) @safe pure nothrow @nogc
870 bool isValidCodeUnit(AsciiChar c) @safe pure nothrow @nogc
875 size_t encodedLength(dchar c) @safe pure nothrow @nogc
918 @property EString replacementSequence() @safe pure nothrow @nogc
943 @property string encodingName() @safe pure nothrow @nogc
948 bool canEncode(dchar c) @safe pure nothrow @nogc
953 bool isValidCodeUnit(Latin1Char c) @safe pure nothrow @nogc
958 size_t encodedLength(dchar c) @safe pure nothrow @nogc
994 @property EString replacementSequence() @safe pure nothrow @nogc
1022 @property string encodingName() @safe pure nothrow @nogc
1102 @property string encodingName() @safe pure nothrow @nogc
1195 @property string encodingName() @safe pure nothrow @nogc
1290 @property string encodingName() @safe pure nothrow @nogc
1328 @property string encodingName() @safe pure nothrow @nogc
1333 bool canEncode(dchar c) @safe pure nothrow @nogc
1338 bool isValidCodeUnit(char c) @safe pure nothrow @nogc
1355 private int tails(char c) @safe pure nothrow @nogc
1365 size_t encodedLength(dchar c) @safe pure nothrow @nogc
1477 @property EString replacementSequence() @safe pure nothrow @nogc
1494 @property string encodingName() @safe pure nothrow @nogc
1499 bool canEncode(dchar c) @safe pure nothrow @nogc
1504 bool isValidCodeUnit(wchar c) @safe pure nothrow @nogc
1509 size_t encodedLength(dchar c) @safe pure nothrow @nogc
1574 @property EString replacementSequence() @safe pure nothrow @nogc
1591 @property string encodingName() @safe pure nothrow @nogc
1596 bool canEncode(dchar c) @safe pure @nogc nothrow
1601 bool isValidCodeUnit(dchar c) @safe pure @nogc nothrow
1606 size_t encodedLength(dchar c) @safe pure @nogc nothrow
1642 @property EString replacementSequence() @safe pure nothrow @nogc
1669 bool isValidCodePoint(dchar c) @safe pure nothrow @nogc
1718 @safe pure unittest
1738 @safe pure unittest
1766 @system pure unittest
1801 @system pure unittest
1886 @system pure unittest
1918 @system pure unittest
1950 @system pure unittest
1986 @system pure unittest
2233 @safe pure unittest
2461 @system pure unittest
2474 @system pure unittest
2555 class EncodingException : Exception { this(string msg) @safe pure { super(msg); } }
2559 private this(string msg) @safe pure { super(msg); }
2928 override string[] names() @safe pure nothrow
2946 override string toString() @safe pure nothrow @nogc
2951 override bool canEncode(dchar c) @safe pure nothrow @nogc
2956 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
2961 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
2967 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
2975 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
2983 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3014 override string[] names() @safe pure nothrow
3030 override string toString() @safe pure nothrow @nogc
3035 override bool canEncode(dchar c) @safe pure nothrow @nogc
3040 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3045 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3051 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3059 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3067 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3094 override string[] names() @safe pure nothrow
3106 override string toString() @safe pure nothrow @nogc
3111 override bool canEncode(dchar c) @safe pure nothrow @nogc
3116 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3121 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3127 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3135 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3143 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3166 override string[] names() @safe pure nothrow
3174 override string toString() @safe pure nothrow @nogc
3179 override bool canEncode(dchar c) @safe pure nothrow @nogc
3184 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3189 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3195 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3203 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3211 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3234 override string[] names() @safe pure nothrow
3242 override string toString() @safe pure nothrow @nogc
3247 override bool canEncode(dchar c) @safe pure nothrow @nogc
3252 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3257 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3263 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3271 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3279 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3302 override string[] names() @safe pure nothrow
3310 override string toString() @safe pure nothrow @nogc
3315 override bool canEncode(dchar c) @safe pure nothrow @nogc
3320 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3325 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3331 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3339 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3347 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3439 override string[] names() @safe pure nothrow
3447 override string toString() @safe pure nothrow @nogc
3452 override bool canEncode(dchar c) @safe pure nothrow @nogc
3457 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3462 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3468 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3476 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3484 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3511 override string[] names() @safe pure nothrow
3516 override string toString() @safe pure nothrow @nogc
3521 override bool canEncode(dchar c) @safe pure nothrow @nogc
3526 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3531 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3537 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3550 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3563 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3607 override string[] names() @safe pure nothrow
3612 override string toString() @safe pure nothrow @nogc
3617 override bool canEncode(dchar c) @safe pure nothrow @nogc
3622 override size_t encodedLength(dchar c) @safe pure nothrow @nogc
3627 override size_t encode(dchar c, ubyte[] buffer) @safe pure nothrow @nogc
3633 override dchar decode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3646 override dchar safeDecode(ref const(ubyte)[] s) @safe pure nothrow @nogc
3659 override @property immutable(ubyte)[] replacementSequence() @safe pure nothrow @nogc
3798 @safe pure unittest