Lines Matching refs:len
47 len = 0; in Simstr()
53 len = strlen(str_); in Simstr()
54 sz = new char[len+1]; in Simstr()
55 memcpy(sz,str_,len+1); in Simstr()
66 len = 0; in Simstr()
73 len = maxLen < nrOfBytes in Simstr()
76 sz = new char[len+1]; in Simstr()
77 memcpy(sz,anybytes+firstBytesPos,len); in Simstr()
78 *(sz+len) = 0; in Simstr()
85 len = S.len; in Simstr()
86 sz = new char[len+1]; in Simstr()
87 memcpy(sz,S.sz,len+1); in Simstr()
97 len = S.len; in operator =()
98 sz = new char[len+1]; in operator =()
99 memcpy(sz,S.sz,len+1); in operator =()
161 char * result = new char[len+2]; in push_front()
164 memcpy(result+1,sz,len+1); in push_front()
168 len++; in push_front()
174 char * result = new char[len+2]; in push_back()
176 memcpy(result,sz,len); in push_back()
177 result[len] = c; in push_back()
178 result[len+1] = 0; in push_back()
182 len++; in push_back()
188 char * result = new char[len+1+S.len]; in push_front()
190 memcpy(result,S.sz,S.len); in push_front()
191 memcpy(result+S.len,sz,len+1); in push_front()
195 len += S.len; in push_front()
201 char * result = new char[len+1+S.len]; in push_back()
203 memcpy(result,sz,len); in push_back()
204 memcpy(result+len,S.sz,S.len+1); in push_back()
208 len += S.len; in push_back()
217 if (pos >= len || pos < 0 || anzahl < 1) in remove()
220 int anz = len - pos < anzahl ? len - pos : anzahl; in remove()
222 char * result = new char[len-anz+1]; in remove()
225 memcpy(result+pos,sz+pos+anz,len-pos-anz+1); in remove()
229 len -= anz; in remove()
235 int newlen = len-1; in remove_trailing_blanks()
238 if (newlen < len-1) in remove_trailing_blanks()
239 remove ( newlen+1, len-newlen); in remove_trailing_blanks()
248 for (i = 0; i < len ? sz[i] != c : false; i++) ; in pos_first()
249 if (i >= len) in pos_first()
259 for (i = len-1; i >= 0 ? sz[i] != c : false; i--) ; in pos_last()
269 if (!len) in is_no_text()
273 for (i = 0; sz[i] <= 32 && i < len; i++) ; in is_no_text()
274 if (i < len) in is_no_text()
284 for (int i=0; i < len; i++) in replace_all()