Searched defs:ScopeBuffer (Results 1 – 2 of 2) sorted by relevance
95 struct ScopeBuffer(T, alias realloc = /*core.stdc.stdlib*/.realloc) struct134 auto sbuf = ScopeBuffer!ubyte(tmpbuf); argument145 debug(ScopeBuffer) buf[0 .. bufLen] = 0; in free() argument157 void put(T c) in put()197 * The result is only valid until the next `put()` or `ScopeBuffer` goes out of scope. argument199 @system inout(T)[] opSlice(size_t lower, size_t upper) inout in inout()230 * The number of elements in the `ScopeBuffer`. argument232 @property size_t length() const in length()242 @property void length(size_t i) in length()252 alias opDollar = length;[all …]
96 struct ScopeBuffer(T, alias realloc = /*core.stdc.stdlib*/.realloc) struct135 auto sbuf = ScopeBuffer!ubyte(tmpbuf); argument146 debug(ScopeBuffer) buf[0 .. bufLen] = 0; in free() argument158 void put(T c) in put()198 * The result is only valid until the next `put()` or `ScopeBuffer` goes out of scope. argument200 @system inout(T)[] opSlice(size_t lower, size_t upper) inout in inout()231 * The number of elements in the `ScopeBuffer`. argument233 @property size_t length() const in length()243 @property void length(size_t i) in length()253 alias opDollar = length;[all …]