Lines Matching defs:sLen
76 * we should set sLen to strlen(sb.ptr()) in related SString constructor and assignment.
132 lenpos_t sLen; ///< The size of the string in s
140 SString() : sLen(0), sizeGrowth(sizeGrowthDefault) {}
142 s = StringAllocate(source.s, source.sLen);
143 sSize = sLen = (s) ? source.sLen : 0;
147 sSize = sLen = (s) ? strlen(s) : 0;
151 sSize = sLen = buf.size();
158 sSize = sLen = (s) ? last - first : 0;
163 sLen = 0;
169 sLen = 0;
177 return sLen;
188 assign(source.s, source.sLen);
214 sLen = 0;
225 return append(sOther.s, sOther.sLen);
244 if (pos < sLen) { // character changed must be in string bounds