Lines Matching refs:WideString
25 template class fxcrt::StringPoolTemplate<WideString>;
26 template struct std::hash<WideString>;
252 Optional<WideString> TryVSWPrintf(size_t size, in TryVSWPrintf()
255 WideString str; in TryVSWPrintf()
290 WideString GetWideString(uint16_t codepage, const ByteStringView& bstr) { in GetWideString()
299 return WideString(); in GetWideString()
301 WideString wstr; in GetWideString()
313 static_assert(sizeof(WideString) <= sizeof(wchar_t*),
317 WideString WideString::FormatV(const wchar_t* format, va_list argList) { in FormatV()
335 Optional<WideString> ret = in FormatV()
347 WideString WideString::Format(const wchar_t* pFormat, ...) { in Format()
350 WideString ret = FormatV(pFormat, argList); in Format()
355 WideString::WideString() {} in WideString() function in fxcrt::WideString
357 WideString::WideString(const WideString& other) : m_pData(other.m_pData) {} in WideString() function in fxcrt::WideString
359 WideString::WideString(WideString&& other) noexcept { in WideString() function in fxcrt::WideString
363 WideString::WideString(const wchar_t* pStr, size_t nLen) { in WideString() function in fxcrt::WideString
368 WideString::WideString(wchar_t ch) { in WideString() function in fxcrt::WideString
373 WideString::WideString(const wchar_t* ptr) in WideString() function in fxcrt::WideString
374 : WideString(ptr, ptr ? wcslen(ptr) : 0) {} in WideString()
376 WideString::WideString(const WideStringView& stringSrc) { in WideString() function in fxcrt::WideString
383 WideString::WideString(const WideStringView& str1, const WideStringView& str2) { in WideString() function in fxcrt::WideString
397 WideString::WideString(const std::initializer_list<WideStringView>& list) { in WideString() function in fxcrt::WideString
416 WideString::~WideString() {} in ~WideString()
418 const WideString& WideString::operator=(const wchar_t* pStr) { in operator =()
427 const WideString& WideString::operator=(const WideStringView& stringSrc) { in operator =()
436 const WideString& WideString::operator=(const WideString& stringSrc) { in operator =()
443 const WideString& WideString::operator+=(const wchar_t* pStr) { in operator +=()
450 const WideString& WideString::operator+=(wchar_t ch) { in operator +=()
455 const WideString& WideString::operator+=(const WideString& str) { in operator +=()
462 const WideString& WideString::operator+=(const WideStringView& str) { in operator +=()
469 bool WideString::operator==(const wchar_t* ptr) const { in operator ==()
480 bool WideString::operator==(const WideStringView& str) const { in operator ==()
489 bool WideString::operator==(const WideString& other) const { in operator ==()
504 bool WideString::operator<(const wchar_t* ptr) const { in operator <()
508 bool WideString::operator<(const WideStringView& str) const { in operator <()
521 bool WideString::operator<(const WideString& other) const { in operator <()
525 void WideString::AssignCopy(const wchar_t* pSrcData, size_t nSrcLen) { in AssignCopy()
531 void WideString::ReallocBeforeWrite(size_t nNewLength) { in ReallocBeforeWrite()
552 void WideString::AllocBeforeWrite(size_t nNewLength) { in AllocBeforeWrite()
564 void WideString::ReleaseBuffer(size_t nNewLength) { in ReleaseBuffer()
580 WideString preserve(*this); in ReleaseBuffer()
585 void WideString::Reserve(size_t len) { in Reserve()
589 wchar_t* WideString::GetBuffer(size_t nMinBufLength) { in GetBuffer()
614 size_t WideString::Delete(size_t index, size_t count) { in Delete()
635 void WideString::Concat(const wchar_t* pSrcData, size_t nSrcLen) { in Concat()
657 ByteString WideString::UTF8Encode() const { in UTF8Encode()
661 ByteString WideString::UTF16LE_Encode() const { in UTF16LE_Encode()
678 WideString WideString::Mid(size_t first, size_t count) const { in Mid()
680 return WideString(); in Mid()
683 return WideString(); in Mid()
686 return WideString(); in Mid()
689 return WideString(); in Mid()
694 WideString dest; in Mid()
699 WideString WideString::Left(size_t count) const { in Left()
701 return WideString(); in Left()
705 WideString WideString::Right(size_t count) const { in Right()
707 return WideString(); in Right()
711 void WideString::AllocCopy(WideString& dest, in AllocCopy()
722 size_t WideString::Insert(size_t location, wchar_t ch) { in Insert()
736 Optional<size_t> WideString::Find(wchar_t ch, size_t start) const { in Find()
749 Optional<size_t> WideString::Find(const WideStringView& subStr, in Find()
764 void WideString::MakeLower() { in MakeLower()
772 void WideString::MakeUpper() { in MakeUpper()
780 size_t WideString::Remove(wchar_t chRemove) { in Remove()
814 size_t WideString::Replace(const WideStringView& pOld, in Replace()
864 WideString WideString::FromLocal(const ByteStringView& str) { in FromLocal()
869 WideString WideString::FromCodePage(const ByteStringView& str, in FromCodePage()
875 WideString WideString::FromUTF8(const ByteStringView& str) { in FromUTF8()
877 return WideString(); in FromUTF8()
883 return WideString(decoder.GetResult()); in FromUTF8()
887 WideString WideString::FromUTF16LE(const unsigned short* wstr, size_t wlen) { in FromUTF16LE()
889 return WideString(); in FromUTF16LE()
892 WideString result; in FromUTF16LE()
901 void WideString::SetAt(size_t index, wchar_t c) { in SetAt()
907 int WideString::Compare(const wchar_t* lpsz) const { in Compare()
913 int WideString::Compare(const WideString& str) const { in Compare()
930 int WideString::CompareNoCase(const wchar_t* lpsz) const { in CompareNoCase()
936 size_t WideString::WStringLength(const unsigned short* str) { in WStringLength()
944 void WideString::Trim() { in Trim()
949 void WideString::Trim(wchar_t target) { in Trim()
955 void WideString::Trim(const WideStringView& targets) { in Trim()
960 void WideString::TrimLeft() { in TrimLeft()
964 void WideString::TrimLeft(wchar_t target) { in TrimLeft()
969 void WideString::TrimLeft(const WideStringView& targets) { in TrimLeft()
998 void WideString::TrimRight() { in TrimRight()
1002 void WideString::TrimRight(wchar_t target) { in TrimRight()
1007 void WideString::TrimRight(const WideStringView& targets) { in TrimRight()
1056 int WideString::GetInteger() const { in GetInteger()
1060 float WideString::GetFloat() const { in GetFloat()
1064 std::wostream& operator<<(std::wostream& os, const WideString& str) { in operator <<()
1068 std::ostream& operator<<(std::ostream& os, const WideString& str) { in operator <<()