Lines Matching refs:sz

43          sz = new char[1];  in Simstr()
44 *sz = 0; in Simstr()
49 sz = new char[len+1]; in Simstr()
50 memcpy(sz,s_,len+1); in Simstr()
59 sz = new char[1]; in Simstr()
60 *sz = 0; in Simstr()
69 sz = new char[len+1]; in Simstr()
70 memcpy( sz, anybytes, len ); in Simstr()
71 *( sz + len ) = 0; in Simstr()
79 sz = new char[1]; in Simstr()
80 *sz = 0; in Simstr()
85 sz = new char[len+1]; in Simstr()
86 memset(sz,c,anzahl); in Simstr()
87 sz[len] = 0; in Simstr()
99 sz = new char[1]; in Simstr()
100 *sz = 0; in Simstr()
108 sz = new char[len+1]; in Simstr()
109 memcpy(sz,anybytes+firstBytesPos,len); in Simstr()
110 *(sz+len) = 0; in Simstr()
118 sz = new char[len+1]; in Simstr()
119 memcpy(sz,S.sz,len+1); in Simstr()
124 if (sz == S.sz) in operator =()
127 delete [] sz; in operator =()
130 sz = new char[len+1]; in operator =()
131 memcpy(sz,S.sz,len+1); in operator =()
138 delete [] sz; in ~Simstr()
149 return sz[unsigned(n)]; in ch()
163 Simstr ret = sz; in operator +()
188 { return !strcmp(sz,S.sz) ? true : false; } in operator ==()
192 { return strcmp(sz,S.sz) ? true : false; } in operator !=()
196 { return (strcmp(sz,S.sz) < 0) ? true : false; } in operator <()
200 { return (strcmp(sz,S.sz) > 0) ? true : false; } in operator >()
204 { return (strcmp(sz,S.sz) <= 0) ? true : false; } in operator <=()
208 { return (strcmp(sz,S.sz) >= 0) ? true : false; } in operator >=()
219 Simstr::get(int n) const { return (n >= len || n < 0) ? 0 : sz[n]; } in get()
222 Simstr::get_front() const { return sz[0]; } in get_front()
225 Simstr::get_back() const { return len ? sz[len-1] : 0; } in get_back()
236 memcpy(ret.sz, sz+startPos, anz); in get()
248 memcpy(ret.sz, sz, anz); in get_front()
261 memcpy(ret.sz, sz+start, anz); in get_back()
272 return sz; in get_first_token()
282 return sz; in get_last_token()
297 memcpy(result,sz,pos); in insert()
299 memcpy(result+pos+1,sz+pos,len-pos+1); in insert()
301 delete [] sz; in insert()
302 sz = result; in insert()
312 memcpy(result+1,sz,len+1); in push_front()
314 delete [] sz; in push_front()
315 sz = result; in push_front()
324 memcpy(result,sz,len); in push_back()
328 delete [] sz; in push_back()
329 sz = result; in push_back()
341 memcpy(result,sz,pos); in insert()
342 memcpy(result+pos,S.sz,S.len); in insert()
343 memcpy(result+pos+S.len,sz+pos,len-pos+1); in insert()
345 delete [] sz; in insert()
346 sz = result; in insert()
355 memcpy(result,S.sz,S.len); in push_front()
356 memcpy(result+S.len,sz,len+1); in push_front()
358 delete [] sz; in push_front()
359 sz = result; in push_front()
368 memcpy(result,sz,len); in push_back()
369 memcpy(result+len,S.sz,S.len+1); in push_back()
371 delete [] sz; in push_back()
372 sz = result; in push_back()
389 memcpy(result,sz,pos); in remove()
390 memcpy(result+pos,sz+pos+anz,len-pos-anz+1); in remove()
392 delete [] sz; in remove()
393 sz = result; in remove()
401 for ( ; newlen > 1 && sz[newlen] <= 32; --newlen ) {} in remove_trailing_blanks()
416 memcpy(result,sz+anz,len-anz+1); in pop_front()
418 delete [] sz; in pop_front()
419 sz = result; in pop_front()
433 memcpy(result,sz,len-anz); in pop_back()
436 delete [] sz; in pop_back()
437 sz = result; in pop_back()
456 if (sz[i] != c) in remove_all()
457 result[j++] = sz[i]; in remove_all()
459 delete [] sz; in remove_all()
460 sz = new char[j+1]; in remove_all()
461 memcpy(sz,result,j); in remove_all()
462 sz[j] = 0; in remove_all()
482 ? sz[start] == ' ' in strip()
483 || sz[start] == '\t' in strip()
489 while (start < len && sz[start] == c) in strip()
497 ? sz[ende] == ' ' in strip()
498 || sz[ende] == '\t' in strip()
504 while (ende >= start && sz[ende] == c) in strip()
515 delete [] sz; in empty()
516 sz = new char[1]; in empty()
517 *sz = 0; in empty()
534 ret = sz; in take_first_token()
535 delete [] sz; in take_first_token()
536 sz = new char[1]; in take_first_token()
537 *sz = NULCH; in take_first_token()
556 ret = sz; in take_last_token()
557 delete [] sz; in take_last_token()
558 sz = new char[1]; in take_last_token()
559 *sz = NULCH; in take_last_token()
574 for (i = 0; i < len ? sz[i] != c : false; i++) ; in pos_first()
588 for (; i < len ? sz[i] != c : false; i++) ; in pos_first_after()
600 for (i = len-1; i >= 0 ? sz[i] != c : false; i--) ; in pos_last()
610 char * ptr = strstr(sz,S.sz); in pos_first()
612 return int(ptr-sz); in pos_first()
639 if (sz[i] == c) in count()
651 for (i = 0; sz[i] <= 32 && i < len; i++) ; in is_no_text()
665 sz[unsigned(pos)] = c; in replace()
678 memcpy(result,sz,startPos); in replace()
679 memcpy(result+startPos, S.sz, S.len); in replace()
680 memcpy(result+startPos+S.len, sz+startPos+anz, len-startPos-anz+1); in replace()
682 delete [] sz; in replace()
683 sz = result; in replace()
691 if (sz[i] == oldCh) in replace_all()
692 sz[i] = newCh; in replace_all()
703 if (strcmp(vgl.sz,oldS.sz) == 0) in replace_all()
717 sz[i] = (char) tolower(sz[i]); in to_lower()