• Home
  • Raw
  • Download

Lines Matching refs:_chars

196   const char *s1 = _chars;  in IsPrefixedBy_Ascii_NoCase()
211 const wchar_t *s1 = _chars; in IsPrefixedBy_Ascii_NoCase()
349 memcpy(newBuf, _chars, (size_t)(_len + 1)); \ in ReAlloc()
350 MY_STRING_DELETE(_chars); in ReAlloc()
351 _chars = newBuf; in ReAlloc()
361 MY_STRING_DELETE(_chars); in ReAlloc2()
362 _chars = newBuf; in ReAlloc2()
368 _chars = 0; in SetStartLen()
369 _chars = MY_STRING_NEW(char, len + 1); in SetStartLen()
413 memcpy(_chars, s._chars, num); in AString()
414 _chars[num] = 0; in AString()
420 char *chars = _chars; in AString()
430 char *chars = _chars; in AString()
441 _chars = 0; in AString()
442 _chars = MY_STRING_NEW(char, 4); in AString()
445 _chars[0] = 0; in AString()
451 _chars[0] = c; in AString()
452 _chars[1] = 0; in AString()
458 MyStringCopy(_chars, s); in AString()
464 MyStringCopy(_chars, s._chars); in AString()
472 MY_STRING_DELETE(_chars); in operator =()
473 _chars = newBuf; in operator =()
477 _chars[0] = c; in operator =()
478 _chars[1] = 0; in operator =()
488 MY_STRING_DELETE(_chars); in operator =()
489 _chars = newBuf; in operator =()
493 MyStringCopy(_chars, s); in operator =()
505 MY_STRING_DELETE(_chars); in operator =()
506 _chars = newBuf; in operator =()
510 MyStringCopy(_chars, s._chars); in operator =()
530 MY_STRING_DELETE(_chars); in SetFromWStr_if_Ascii()
531 _chars = newBuf; in SetFromWStr_if_Ascii()
535 char *dest = _chars; in SetFromWStr_if_Ascii()
575 MyStringCopy(_chars + _len, s); in operator +=()
583 MyStringCopy(_chars + _len, s._chars); in operator +=()
593 MY_STRING_DELETE(_chars); in SetFrom()
594 _chars = newBuf; in SetFrom()
598 memcpy(_chars, s, len); in SetFrom()
599 _chars[len] = 0; in SetFrom()
614 const char *fs = strstr(_chars + startIndex, s); in Find()
617 return (int)(fs - _chars); in Find()
647 const char *p = _chars + _len - 1; in ReverseFind()
651 return (int)(p - _chars); in ReverseFind()
652 if (p == _chars) in ReverseFind()
662 const char *p = _chars + _len - 1; in ReverseFind_PathSepar()
667 return (int)(p - _chars); in ReverseFind_PathSepar()
668 if (p == _chars) in ReverseFind_PathSepar()
676 const char *p = _chars; in TrimLeft()
683 unsigned pos = (unsigned)(p - _chars); in TrimLeft()
693 const char *p = _chars; in TrimRight()
703 _chars[i] = 0; in TrimRight()
713 _chars[0] = c; in InsertAtFront()
732 memcpy(_chars + index, s, num); in Insert()
743 memcpy(_chars + index, s, num); in Insert()
750 char *src = _chars; in RemoveChar()
773 _len = (unsigned)(dest - _chars); in RemoveChar()
788 _chars[(unsigned)pos] = newChar; in Replace()
899 wmemcpy(newBuf, _chars, _len + 1); in ReAlloc()
900 MY_STRING_DELETE(_chars); in ReAlloc()
901 _chars = newBuf; in ReAlloc()
911 MY_STRING_DELETE(_chars); in ReAlloc2()
912 _chars = newBuf; in ReAlloc2()
918 _chars = 0; in SetStartLen()
919 _chars = MY_STRING_NEW(wchar_t, len + 1); in SetStartLen()
953 wmemcpy(_chars, s, num); in UString()
954 _chars[num] = 0; in UString()
963 wmemcpy(_chars, s._chars, num); in UString()
964 _chars[num] = 0; in UString()
970 wchar_t *chars = _chars; in UString()
980 wchar_t *chars = _chars; in UString()
991 _chars = 0; in UString()
992 _chars = MY_STRING_NEW(wchar_t, 4); in UString()
995 _chars[0] = 0; in UString()
1001 _chars[0] = c; in UString()
1002 _chars[1] = 0; in UString()
1009 wmemcpy(_chars, s, len + 1); in UString()
1015 wmemcpy(_chars, s._chars, s._len + 1); in UString()
1023 MY_STRING_DELETE(_chars); in operator =()
1024 _chars = newBuf; in operator =()
1028 _chars[0] = c; in operator =()
1029 _chars[1] = 0; in operator =()
1039 MY_STRING_DELETE(_chars); in operator =()
1040 _chars = newBuf; in operator =()
1044 wmemcpy(_chars, s, len + 1); in operator =()
1056 MY_STRING_DELETE(_chars); in operator =()
1057 _chars = newBuf; in operator =()
1061 wmemcpy(_chars, s._chars, len + 1); in operator =()
1071 MY_STRING_DELETE(_chars); in SetFromBstr()
1072 _chars = newBuf; in SetFromBstr()
1077 wmemcpy(_chars, s, len + 1); in SetFromBstr()
1088 wchar_t *chars = _chars; in Add_LF()
1098 wmemcpy(_chars + _len, s, len + 1); in operator +=()
1106 wmemcpy(_chars + _len, s._chars, s._len + 1); in operator +=()
1116 MY_STRING_DELETE(_chars); in SetFrom()
1117 _chars = newBuf; in SetFrom()
1121 wmemcpy(_chars, s, len); in SetFrom()
1122 _chars[len] = 0; in SetFrom()
1132 MY_STRING_DELETE(_chars); in SetFromAscii()
1133 _chars = newBuf; in SetFromAscii()
1136 wchar_t *chars = _chars; in SetFromAscii()
1147 wchar_t *chars = _chars + _len; in AddAscii()
1158 const wchar_t *fs = wcsstr(_chars + startIndex, s); in Find()
1161 return (int)(fs - _chars); in Find()
1191 const wchar_t *p = _chars + _len - 1; in ReverseFind()
1195 return (int)(p - _chars); in ReverseFind()
1196 if (p == _chars) in ReverseFind()
1206 const wchar_t *p = _chars + _len - 1; in ReverseFind_PathSepar()
1211 return (int)(p - _chars); in ReverseFind_PathSepar()
1212 if (p == _chars) in ReverseFind_PathSepar()
1220 const wchar_t *p = _chars; in TrimLeft()
1227 unsigned pos = (unsigned)(p - _chars); in TrimLeft()
1237 const wchar_t *p = _chars; in TrimRight()
1247 _chars[i] = 0; in TrimRight()
1257 _chars[0] = c; in InsertAtFront()
1276 wmemcpy(_chars + index, s, num); in Insert()
1287 wmemcpy(_chars + index, s, num); in Insert()
1294 wchar_t *src = _chars; in RemoveChar()
1317 _len = (unsigned)(dest - _chars); in RemoveChar()
1332 _chars[(unsigned)pos] = newChar; in Replace()
1395 _chars = MY_STRING_NEW(wchar_t, newLimit + 1); in ReAlloc2()
1400 _chars = 0; in SetStartLen()
1401 _chars = MY_STRING_NEW(wchar_t, len + 1); in SetStartLen()
1419 wmemcpy(_chars, s, len + 1); in UString2()
1422 UString2::UString2(const UString2 &s): _chars(NULL), _len(0) in UString2()
1424 if (s._chars) in UString2()
1427 wmemcpy(_chars, s._chars, s._len + 1); in UString2()
1454 if (_chars) in operator =()
1455 MY_STRING_DELETE(_chars); in operator =()
1456 _chars = newBuf; in operator =()
1459 MyStringCopy(_chars, s); in operator =()
1469 if (_chars) in SetFromAscii()
1470 MY_STRING_DELETE(_chars); in SetFromAscii()
1471 _chars = newBuf; in SetFromAscii()
1473 wchar_t *chars = _chars; in SetFromAscii()
1488 if (_chars) in operator =()
1489 MY_STRING_DELETE(_chars); in operator =()
1490 _chars = newBuf; in operator =()
1493 MyStringCopy(_chars, s._chars); in operator =()