webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WTF::String Class Reference

#include <WTFString.h>

Public Types

enum  ConstructFromLiteralTag { ConstructFromLiteral, ConstructFromLiteral, ConstructFromLiteral }
 
enum  ConstructFromLiteralTag { ConstructFromLiteral, ConstructFromLiteral, ConstructFromLiteral }
 
enum  ConstructFromLiteralTag { ConstructFromLiteral, ConstructFromLiteral, ConstructFromLiteral }
 
typedef struct ImplicitConversionFromWTFStringToBoolDisallowedA *String::* UnspecifiedBoolTypeA
 
typedef struct ImplicitConversionFromWTFStringToBoolDisallowedB *String::* UnspecifiedBoolTypeB
 
typedef struct ImplicitConversionFromWTFStringToBoolDisallowedA *String::* UnspecifiedBoolTypeA
 
typedef struct ImplicitConversionFromWTFStringToBoolDisallowedB *String::* UnspecifiedBoolTypeB
 
typedef struct ImplicitConversionFromWTFStringToBoolDisallowedA *String::* UnspecifiedBoolTypeA
 
typedef struct ImplicitConversionFromWTFStringToBoolDisallowedB *String::* UnspecifiedBoolTypeB
 

Public Member Functions

 String ()
 
WTF_EXPORT_STRING_API String (const UChar *characters, unsigned length)
 
template<size_t inlineCapacity, typename OverflowHandler >
 String (const Vector< UChar, inlineCapacity, OverflowHandler > &)
 
WTF_EXPORT_STRING_API String (const UChar *)
 
WTF_EXPORT_STRING_API String (const LChar *characters, unsigned length)
 
WTF_EXPORT_STRING_API String (const char *characters, unsigned length)
 
WTF_EXPORT_STRING_API String (const LChar *characters)
 
WTF_EXPORT_STRING_API String (const char *characters)
 
 String (StringImpl &)
 
 String (StringImpl *)
 
 String (Ref< StringImpl > &&)
 
 String (RefPtr< StringImpl > &&)
 
 String (Ref< AtomicStringImpl > &&)
 
 String (RefPtr< AtomicStringImpl > &&)
 
WTF_EXPORT_STRING_API String (ASCIILiteral characters)
 
template<unsigned charactersCount>
 String (const char(&characters)[charactersCount], ConstructFromLiteralTag)
 
 String (const String &other)
 
 String (String &&other)
 
Stringoperator= (const String &other)
 
Stringoperator= (String &&other)
 
ALWAYS_INLINE ~String ()
 
void swap (String &o)
 
bool isNull () const
 
bool isEmpty () const
 
StringImplimpl () const
 
RefPtr< StringImplreleaseImpl ()
 
unsigned length () const
 
const LCharcharacters8 () const
 
const UCharcharacters16 () const
 
template<typename CharacterType >
const CharacterTypecharacters () const
 
bool is8Bit () const
 
unsigned sizeInBytes () const
 
WTF_EXPORT_STRING_API CString ascii () const
 
WTF_EXPORT_STRING_API CString latin1 () const
 
WTF_EXPORT_STRING_API CString utf8 (ConversionMode) const
 
WTF_EXPORT_STRING_API CString utf8 () const
 
UChar at (unsigned index) const
 
UChar operator[] (unsigned index) const
 
size_t find (UChar c, unsigned start=0) const
 
size_t find (const String &str) const
 
size_t find (const String &str, unsigned start) const
 
size_t findIgnoringASCIICase (const String &str) const
 
size_t findIgnoringASCIICase (const String &str, unsigned startOffset) const
 
size_t find (CharacterMatchFunctionPtr matchFunction, unsigned start=0) const
 
size_t find (const LChar *str, unsigned start=0) const
 
size_t reverseFind (UChar c, unsigned start=UINT_MAX) const
 
size_t reverseFind (const String &str, unsigned start=UINT_MAX) const
 
size_t findIgnoringCase (const LChar *str, unsigned start=0) const
 
size_t findIgnoringCase (const String &str, unsigned start=0) const
 
size_t reverseFindIgnoringCase (const String &str, unsigned start=UINT_MAX) const
 
size_t find (const LChar *str, unsigned start, bool caseSensitive) const
 
size_t find (const String &str, unsigned start, bool caseSensitive) const
 
size_t reverseFind (const String &str, unsigned start, bool caseSensitive) const
 
WTF_EXPORT_STRING_API Vector< UCharcharactersWithNullTermination () const
 
WTF_EXPORT_STRING_API UChar32 characterStartingAt (unsigned) const
 
bool contains (UChar c) const
 
bool contains (const LChar *str, bool caseSensitive=true, unsigned startOffset=0) const
 
bool contains (const String &str) const
 
bool contains (const String &str, bool caseSensitive, unsigned startOffset=0) const
 
bool containsIgnoringASCIICase (const String &str) const
 
bool containsIgnoringASCIICase (const String &str, unsigned startOffset) const
 
bool startsWith (const String &s) const
 
bool startsWithIgnoringASCIICase (const String &s) const
 
bool startsWith (const String &s, bool caseSensitive) const
 
bool startsWith (UChar character) const
 
template<unsigned matchLength>
bool startsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const
 
bool hasInfixStartingAt (const String &prefix, unsigned startOffset) const
 
bool endsWith (const String &s) const
 
bool endsWithIgnoringASCIICase (const String &s) const
 
bool endsWith (const String &s, bool caseSensitive) const
 
bool endsWith (UChar character) const
 
bool endsWith (char character) const
 
template<unsigned matchLength>
bool endsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const
 
bool hasInfixEndingAt (const String &suffix, unsigned endOffset) const
 
WTF_EXPORT_STRING_API void append (const String &)
 
WTF_EXPORT_STRING_API void append (LChar)
 
void append (char c)
 
WTF_EXPORT_STRING_API void append (UChar)
 
WTF_EXPORT_STRING_API void append (const LChar *, unsigned length)
 
WTF_EXPORT_STRING_API void append (const UChar *, unsigned length)
 
WTF_EXPORT_STRING_API void insert (const String &, unsigned pos)
 
Stringreplace (UChar a, UChar b)
 
Stringreplace (UChar a, const String &b)
 
Stringreplace (const String &a, const String &b)
 
Stringreplace (unsigned index, unsigned len, const String &b)
 
template<unsigned charactersCount>
ALWAYS_INLINE StringreplaceWithLiteral (UChar a, const char(&characters)[charactersCount])
 
WTF_EXPORT_STRING_API void truncate (unsigned len)
 
WTF_EXPORT_STRING_API void remove (unsigned pos, int len=1)
 
WTF_EXPORT_STRING_API String substring (unsigned pos, unsigned len=UINT_MAX) const
 
WTF_EXPORT_STRING_API String substringSharingImpl (unsigned pos, unsigned len=UINT_MAX) const
 
String left (unsigned len) const
 
String right (unsigned len) const
 
WTF_EXPORT_STRING_API String convertToASCIILowercase () const
 
WTF_EXPORT_STRING_API String convertToASCIIUppercase () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithoutLocale () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit (unsigned) const
 
WTF_EXPORT_STRING_API String convertToUppercaseWithoutLocale () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithLocale (const AtomicString &localeIdentifier) const
 
WTF_EXPORT_STRING_API String convertToUppercaseWithLocale (const AtomicString &localeIdentifier) const
 
WTF_EXPORT_STRING_API String stripWhiteSpace () const
 
WTF_EXPORT_STRING_API String stripWhiteSpace (IsWhiteSpaceFunctionPtr) const
 
WTF_EXPORT_STRING_API String simplifyWhiteSpace () const
 
WTF_EXPORT_STRING_API String simplifyWhiteSpace (IsWhiteSpaceFunctionPtr) const
 
WTF_EXPORT_STRING_API String removeCharacters (CharacterMatchFunctionPtr) const
 
template<bool isSpecialCharacter>
bool isAllSpecialCharacters () const
 
WTF_EXPORT_STRING_API String foldCase () const
 
WTF_EXPORT_STRING_API void split (const String &separator, bool allowEmptyEntries, Vector< String > &result) const
 
void split (const String &separator, Vector< String > &result) const
 
WTF_EXPORT_STRING_API void split (UChar separator, bool allowEmptyEntries, Vector< String > &result) const
 
void split (UChar separator, Vector< String > &result) const
 
WTF_EXPORT_STRING_API int toIntStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API unsigned toUIntStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API int64_t toInt64Strict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API uint64_t toUInt64Strict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API intptr_t toIntPtrStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API int toInt (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API unsigned toUInt (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API int64_t toInt64 (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API uint64_t toUInt64 (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API intptr_t toIntPtr (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API double toDouble (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API float toFloat (bool *ok=nullptr) const
 
bool percentage (int &percentage) const
 
WTF_EXPORT_STRING_API String isolatedCopy () const
 
WTF_EXPORT_STRING_API bool isSafeToSendToAnotherThread () const
 
 operator UnspecifiedBoolTypeA () const
 
 operator UnspecifiedBoolTypeB () const
 
UCharDirection defaultWritingDirection (bool *hasStrongDirectionality=nullptr) const
 
bool containsOnlyASCII () const
 
bool containsOnlyLatin1 () const
 
bool containsOnlyWhitespace () const
 
 String (WTF::HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
unsigned existingHash () const
 
WTF_EXPORT_STRING_API void show () const
 
UChar characterAt (unsigned index) const
 
void clearImplIfNotShared ()
 
 String ()
 
WTF_EXPORT_STRING_API String (const UChar *characters, unsigned length)
 
template<size_t inlineCapacity, typename OverflowHandler >
 String (const Vector< UChar, inlineCapacity, OverflowHandler > &)
 
WTF_EXPORT_STRING_API String (const UChar *)
 
WTF_EXPORT_STRING_API String (const LChar *characters, unsigned length)
 
WTF_EXPORT_STRING_API String (const char *characters, unsigned length)
 
WTF_EXPORT_STRING_API String (const LChar *characters)
 
WTF_EXPORT_STRING_API String (const char *characters)
 
 String (StringImpl &)
 
 String (StringImpl *)
 
 String (Ref< StringImpl > &&)
 
 String (RefPtr< StringImpl > &&)
 
 String (Ref< AtomicStringImpl > &&)
 
 String (RefPtr< AtomicStringImpl > &&)
 
WTF_EXPORT_STRING_API String (ASCIILiteral characters)
 
template<unsigned charactersCount>
 String (const char(&characters)[charactersCount], ConstructFromLiteralTag)
 
 String (const String &other)
 
 String (String &&other)
 
Stringoperator= (const String &other)
 
Stringoperator= (String &&other)
 
ALWAYS_INLINE ~String ()
 
void swap (String &o)
 
bool isNull () const
 
bool isEmpty () const
 
StringImplimpl () const
 
RefPtr< StringImplreleaseImpl ()
 
unsigned length () const
 
const LCharcharacters8 () const
 
const UCharcharacters16 () const
 
template<typename CharacterType >
const CharacterTypecharacters () const
 
bool is8Bit () const
 
unsigned sizeInBytes () const
 
WTF_EXPORT_STRING_API CString ascii () const
 
WTF_EXPORT_STRING_API CString latin1 () const
 
WTF_EXPORT_STRING_API CString utf8 (ConversionMode) const
 
WTF_EXPORT_STRING_API CString utf8 () const
 
UChar at (unsigned index) const
 
UChar operator[] (unsigned index) const
 
size_t find (UChar c, unsigned start=0) const
 
size_t find (const String &str) const
 
size_t find (const String &str, unsigned start) const
 
size_t findIgnoringASCIICase (const String &str) const
 
size_t findIgnoringASCIICase (const String &str, unsigned startOffset) const
 
size_t find (CharacterMatchFunctionPtr matchFunction, unsigned start=0) const
 
size_t find (const LChar *str, unsigned start=0) const
 
size_t reverseFind (UChar c, unsigned start=UINT_MAX) const
 
size_t reverseFind (const String &str, unsigned start=UINT_MAX) const
 
size_t findIgnoringCase (const LChar *str, unsigned start=0) const
 
size_t findIgnoringCase (const String &str, unsigned start=0) const
 
size_t reverseFindIgnoringCase (const String &str, unsigned start=UINT_MAX) const
 
size_t find (const LChar *str, unsigned start, bool caseSensitive) const
 
size_t find (const String &str, unsigned start, bool caseSensitive) const
 
size_t reverseFind (const String &str, unsigned start, bool caseSensitive) const
 
WTF_EXPORT_STRING_API Vector< UCharcharactersWithNullTermination () const
 
WTF_EXPORT_STRING_API UChar32 characterStartingAt (unsigned) const
 
bool contains (UChar c) const
 
bool contains (const LChar *str, bool caseSensitive=true, unsigned startOffset=0) const
 
bool contains (const String &str) const
 
bool contains (const String &str, bool caseSensitive, unsigned startOffset=0) const
 
bool containsIgnoringASCIICase (const String &str) const
 
bool containsIgnoringASCIICase (const String &str, unsigned startOffset) const
 
bool startsWith (const String &s) const
 
bool startsWithIgnoringASCIICase (const String &s) const
 
bool startsWith (const String &s, bool caseSensitive) const
 
bool startsWith (UChar character) const
 
template<unsigned matchLength>
bool startsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const
 
bool hasInfixStartingAt (const String &prefix, unsigned startOffset) const
 
bool endsWith (const String &s) const
 
bool endsWithIgnoringASCIICase (const String &s) const
 
bool endsWith (const String &s, bool caseSensitive) const
 
bool endsWith (UChar character) const
 
bool endsWith (char character) const
 
template<unsigned matchLength>
bool endsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const
 
bool hasInfixEndingAt (const String &suffix, unsigned endOffset) const
 
WTF_EXPORT_STRING_API void append (const String &)
 
WTF_EXPORT_STRING_API void append (LChar)
 
void append (char c)
 
WTF_EXPORT_STRING_API void append (UChar)
 
WTF_EXPORT_STRING_API void append (const LChar *, unsigned length)
 
WTF_EXPORT_STRING_API void append (const UChar *, unsigned length)
 
WTF_EXPORT_STRING_API void insert (const String &, unsigned pos)
 
Stringreplace (UChar a, UChar b)
 
Stringreplace (UChar a, const String &b)
 
Stringreplace (const String &a, const String &b)
 
Stringreplace (unsigned index, unsigned len, const String &b)
 
template<unsigned charactersCount>
ALWAYS_INLINE StringreplaceWithLiteral (UChar a, const char(&characters)[charactersCount])
 
WTF_EXPORT_STRING_API void truncate (unsigned len)
 
WTF_EXPORT_STRING_API void remove (unsigned pos, int len=1)
 
WTF_EXPORT_STRING_API String substring (unsigned pos, unsigned len=UINT_MAX) const
 
WTF_EXPORT_STRING_API String substringSharingImpl (unsigned pos, unsigned len=UINT_MAX) const
 
String left (unsigned len) const
 
String right (unsigned len) const
 
WTF_EXPORT_STRING_API String convertToASCIILowercase () const
 
WTF_EXPORT_STRING_API String convertToASCIIUppercase () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithoutLocale () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit (unsigned) const
 
WTF_EXPORT_STRING_API String convertToUppercaseWithoutLocale () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithLocale (const AtomicString &localeIdentifier) const
 
WTF_EXPORT_STRING_API String convertToUppercaseWithLocale (const AtomicString &localeIdentifier) const
 
WTF_EXPORT_STRING_API String stripWhiteSpace () const
 
WTF_EXPORT_STRING_API String stripWhiteSpace (IsWhiteSpaceFunctionPtr) const
 
WTF_EXPORT_STRING_API String simplifyWhiteSpace () const
 
WTF_EXPORT_STRING_API String simplifyWhiteSpace (IsWhiteSpaceFunctionPtr) const
 
WTF_EXPORT_STRING_API String removeCharacters (CharacterMatchFunctionPtr) const
 
template<bool isSpecialCharacter>
bool isAllSpecialCharacters () const
 
WTF_EXPORT_STRING_API String foldCase () const
 
WTF_EXPORT_STRING_API void split (const String &separator, bool allowEmptyEntries, Vector< String > &result) const
 
void split (const String &separator, Vector< String > &result) const
 
WTF_EXPORT_STRING_API void split (UChar separator, bool allowEmptyEntries, Vector< String > &result) const
 
void split (UChar separator, Vector< String > &result) const
 
WTF_EXPORT_STRING_API int toIntStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API unsigned toUIntStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API int64_t toInt64Strict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API uint64_t toUInt64Strict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API intptr_t toIntPtrStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API int toInt (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API unsigned toUInt (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API int64_t toInt64 (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API uint64_t toUInt64 (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API intptr_t toIntPtr (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API double toDouble (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API float toFloat (bool *ok=nullptr) const
 
bool percentage (int &percentage) const
 
WTF_EXPORT_STRING_API String isolatedCopy () const
 
WTF_EXPORT_STRING_API bool isSafeToSendToAnotherThread () const
 
 operator UnspecifiedBoolTypeA () const
 
 operator UnspecifiedBoolTypeB () const
 
UCharDirection defaultWritingDirection (bool *hasStrongDirectionality=nullptr) const
 
bool containsOnlyASCII () const
 
bool containsOnlyLatin1 () const
 
bool containsOnlyWhitespace () const
 
 String (WTF::HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
unsigned existingHash () const
 
WTF_EXPORT_STRING_API void show () const
 
UChar characterAt (unsigned index) const
 
void clearImplIfNotShared ()
 
 String ()
 
WTF_EXPORT_STRING_API String (const UChar *characters, unsigned length)
 
template<size_t inlineCapacity, typename OverflowHandler >
 String (const Vector< UChar, inlineCapacity, OverflowHandler > &)
 
WTF_EXPORT_STRING_API String (const UChar *)
 
WTF_EXPORT_STRING_API String (const LChar *characters, unsigned length)
 
WTF_EXPORT_STRING_API String (const char *characters, unsigned length)
 
WTF_EXPORT_STRING_API String (const LChar *characters)
 
WTF_EXPORT_STRING_API String (const char *characters)
 
 String (StringImpl &)
 
 String (StringImpl *)
 
 String (Ref< StringImpl > &&)
 
 String (RefPtr< StringImpl > &&)
 
 String (Ref< AtomicStringImpl > &&)
 
 String (RefPtr< AtomicStringImpl > &&)
 
WTF_EXPORT_STRING_API String (ASCIILiteral characters)
 
template<unsigned charactersCount>
 String (const char(&characters)[charactersCount], ConstructFromLiteralTag)
 
 String (const String &other)
 
 String (String &&other)
 
Stringoperator= (const String &other)
 
Stringoperator= (String &&other)
 
ALWAYS_INLINE ~String ()
 
void swap (String &o)
 
bool isNull () const
 
bool isEmpty () const
 
StringImplimpl () const
 
RefPtr< StringImplreleaseImpl ()
 
unsigned length () const
 
const LCharcharacters8 () const
 
const UCharcharacters16 () const
 
template<typename CharacterType >
const CharacterTypecharacters () const
 
bool is8Bit () const
 
unsigned sizeInBytes () const
 
WTF_EXPORT_STRING_API CString ascii () const
 
WTF_EXPORT_STRING_API CString latin1 () const
 
WTF_EXPORT_STRING_API CString utf8 (ConversionMode) const
 
WTF_EXPORT_STRING_API CString utf8 () const
 
UChar at (unsigned index) const
 
UChar operator[] (unsigned index) const
 
size_t find (UChar c, unsigned start=0) const
 
size_t find (const String &str) const
 
size_t find (const String &str, unsigned start) const
 
size_t findIgnoringASCIICase (const String &str) const
 
size_t findIgnoringASCIICase (const String &str, unsigned startOffset) const
 
size_t find (CharacterMatchFunctionPtr matchFunction, unsigned start=0) const
 
size_t find (const LChar *str, unsigned start=0) const
 
size_t reverseFind (UChar c, unsigned start=UINT_MAX) const
 
size_t reverseFind (const String &str, unsigned start=UINT_MAX) const
 
size_t findIgnoringCase (const LChar *str, unsigned start=0) const
 
size_t findIgnoringCase (const String &str, unsigned start=0) const
 
size_t reverseFindIgnoringCase (const String &str, unsigned start=UINT_MAX) const
 
size_t find (const LChar *str, unsigned start, bool caseSensitive) const
 
size_t find (const String &str, unsigned start, bool caseSensitive) const
 
size_t reverseFind (const String &str, unsigned start, bool caseSensitive) const
 
WTF_EXPORT_STRING_API Vector< UCharcharactersWithNullTermination () const
 
WTF_EXPORT_STRING_API UChar32 characterStartingAt (unsigned) const
 
bool contains (UChar c) const
 
bool contains (const LChar *str, bool caseSensitive=true, unsigned startOffset=0) const
 
bool contains (const String &str) const
 
bool contains (const String &str, bool caseSensitive, unsigned startOffset=0) const
 
bool containsIgnoringASCIICase (const String &str) const
 
bool containsIgnoringASCIICase (const String &str, unsigned startOffset) const
 
bool startsWith (const String &s) const
 
bool startsWithIgnoringASCIICase (const String &s) const
 
bool startsWith (const String &s, bool caseSensitive) const
 
bool startsWith (UChar character) const
 
template<unsigned matchLength>
bool startsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const
 
bool hasInfixStartingAt (const String &prefix, unsigned startOffset) const
 
bool endsWith (const String &s) const
 
bool endsWithIgnoringASCIICase (const String &s) const
 
bool endsWith (const String &s, bool caseSensitive) const
 
bool endsWith (UChar character) const
 
bool endsWith (char character) const
 
template<unsigned matchLength>
bool endsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const
 
bool hasInfixEndingAt (const String &suffix, unsigned endOffset) const
 
WTF_EXPORT_STRING_API void append (const String &)
 
WTF_EXPORT_STRING_API void append (LChar)
 
void append (char c)
 
WTF_EXPORT_STRING_API void append (UChar)
 
WTF_EXPORT_STRING_API void append (const LChar *, unsigned length)
 
WTF_EXPORT_STRING_API void append (const UChar *, unsigned length)
 
WTF_EXPORT_STRING_API void insert (const String &, unsigned pos)
 
Stringreplace (UChar a, UChar b)
 
Stringreplace (UChar a, const String &b)
 
Stringreplace (const String &a, const String &b)
 
Stringreplace (unsigned index, unsigned len, const String &b)
 
template<unsigned charactersCount>
ALWAYS_INLINE StringreplaceWithLiteral (UChar a, const char(&characters)[charactersCount])
 
WTF_EXPORT_STRING_API void truncate (unsigned len)
 
WTF_EXPORT_STRING_API void remove (unsigned pos, int len=1)
 
WTF_EXPORT_STRING_API String substring (unsigned pos, unsigned len=UINT_MAX) const
 
WTF_EXPORT_STRING_API String substringSharingImpl (unsigned pos, unsigned len=UINT_MAX) const
 
String left (unsigned len) const
 
String right (unsigned len) const
 
WTF_EXPORT_STRING_API String convertToASCIILowercase () const
 
WTF_EXPORT_STRING_API String convertToASCIIUppercase () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithoutLocale () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit (unsigned) const
 
WTF_EXPORT_STRING_API String convertToUppercaseWithoutLocale () const
 
WTF_EXPORT_STRING_API String convertToLowercaseWithLocale (const AtomicString &localeIdentifier) const
 
WTF_EXPORT_STRING_API String convertToUppercaseWithLocale (const AtomicString &localeIdentifier) const
 
WTF_EXPORT_STRING_API String stripWhiteSpace () const
 
WTF_EXPORT_STRING_API String stripWhiteSpace (IsWhiteSpaceFunctionPtr) const
 
WTF_EXPORT_STRING_API String simplifyWhiteSpace () const
 
WTF_EXPORT_STRING_API String simplifyWhiteSpace (IsWhiteSpaceFunctionPtr) const
 
WTF_EXPORT_STRING_API String removeCharacters (CharacterMatchFunctionPtr) const
 
template<bool isSpecialCharacter>
bool isAllSpecialCharacters () const
 
WTF_EXPORT_STRING_API String foldCase () const
 
WTF_EXPORT_STRING_API void split (const String &separator, bool allowEmptyEntries, Vector< String > &result) const
 
void split (const String &separator, Vector< String > &result) const
 
WTF_EXPORT_STRING_API void split (UChar separator, bool allowEmptyEntries, Vector< String > &result) const
 
void split (UChar separator, Vector< String > &result) const
 
WTF_EXPORT_STRING_API int toIntStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API unsigned toUIntStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API int64_t toInt64Strict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API uint64_t toUInt64Strict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API intptr_t toIntPtrStrict (bool *ok=nullptr, int base=10) const
 
WTF_EXPORT_STRING_API int toInt (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API unsigned toUInt (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API int64_t toInt64 (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API uint64_t toUInt64 (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API intptr_t toIntPtr (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API double toDouble (bool *ok=nullptr) const
 
WTF_EXPORT_STRING_API float toFloat (bool *ok=nullptr) const
 
bool percentage (int &percentage) const
 
WTF_EXPORT_STRING_API String isolatedCopy () const
 
WTF_EXPORT_STRING_API bool isSafeToSendToAnotherThread () const
 
 operator UnspecifiedBoolTypeA () const
 
 operator UnspecifiedBoolTypeB () const
 
UCharDirection defaultWritingDirection (bool *hasStrongDirectionality=nullptr) const
 
bool containsOnlyASCII () const
 
bool containsOnlyLatin1 () const
 
bool containsOnlyWhitespace () const
 
 String (WTF::HashTableDeletedValueType)
 
bool isHashTableDeletedValue () const
 
unsigned existingHash () const
 
WTF_EXPORT_STRING_API void show () const
 
UChar characterAt (unsigned index) const
 
void clearImplIfNotShared ()
 
template<>
const LCharcharacters () const
 
template<>
const UCharcharacters () const
 
template<>
const LCharcharacters () const
 
template<>
const UCharcharacters () const
 
template<>
const LCharcharacters () const
 
template<>
const UCharcharacters () const
 

Static Public Member Functions

static String adopt (StringBuffer< LChar > &&buffer)
 
static String adopt (StringBuffer< UChar > &&buffer)
 
template<typename CharacterType , size_t inlineCapacity, typename OverflowHandler >
static String adopt (Vector< CharacterType, inlineCapacity, OverflowHandler > &&vector)
 
static WTF_EXPORT_STRING_API String number (int)
 
static WTF_EXPORT_STRING_API String number (unsigned int)
 
static WTF_EXPORT_STRING_API String number (long)
 
static WTF_EXPORT_STRING_API String number (unsigned long)
 
static WTF_EXPORT_STRING_API String number (long long)
 
static WTF_EXPORT_STRING_API String number (unsigned long long)
 
static WTF_EXPORT_STRING_API String number (double, unsigned precision=6, TrailingZerosTruncatingPolicy=TruncateTrailingZeros)
 
static WTF_EXPORT_STRING_API String numberToStringECMAScript (double)
 
static WTF_EXPORT_STRING_API String numberToStringFixedWidth (double, unsigned decimalPlaces)
 
static WTF_EXPORT_STRING_API String format (const char *,...) WTF_ATTRIBUTE_PRINTF(1
 
static WTF_EXPORT_STRING_API String static String createUninitialized (unsigned length, UChar *&data)
 
static String createUninitialized (unsigned length, LChar *&data)
 
static WTF_EXPORT_STRING_API String make8BitFrom16BitSource (const UChar *, size_t)
 
template<size_t inlineCapacity>
static String make8BitFrom16BitSource (const Vector< UChar, inlineCapacity > &buffer)
 
static WTF_EXPORT_STRING_API String make16BitFrom8BitSource (const LChar *, size_t)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const LChar *, size_t)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const LChar *)
 
static String fromUTF8 (const char *s, size_t length)
 
static String fromUTF8 (const char *s)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const CString &)
 
static WTF_EXPORT_STRING_API String fromUTF8WithLatin1Fallback (const LChar *, size_t)
 
static String fromUTF8WithLatin1Fallback (const char *s, size_t length)
 
static String adopt (StringBuffer< LChar > &&buffer)
 
static String adopt (StringBuffer< UChar > &&buffer)
 
template<typename CharacterType , size_t inlineCapacity, typename OverflowHandler >
static String adopt (Vector< CharacterType, inlineCapacity, OverflowHandler > &&vector)
 
static WTF_EXPORT_STRING_API String number (int)
 
static WTF_EXPORT_STRING_API String number (unsigned int)
 
static WTF_EXPORT_STRING_API String number (long)
 
static WTF_EXPORT_STRING_API String number (unsigned long)
 
static WTF_EXPORT_STRING_API String number (long long)
 
static WTF_EXPORT_STRING_API String number (unsigned long long)
 
static WTF_EXPORT_STRING_API String number (double, unsigned precision=6, TrailingZerosTruncatingPolicy=TruncateTrailingZeros)
 
static WTF_EXPORT_STRING_API String numberToStringECMAScript (double)
 
static WTF_EXPORT_STRING_API String numberToStringFixedWidth (double, unsigned decimalPlaces)
 
static WTF_EXPORT_STRING_API String format (const char *,...) WTF_ATTRIBUTE_PRINTF(1
 
static WTF_EXPORT_STRING_API String static String createUninitialized (unsigned length, UChar *&data)
 
static String createUninitialized (unsigned length, LChar *&data)
 
static WTF_EXPORT_STRING_API String make8BitFrom16BitSource (const UChar *, size_t)
 
template<size_t inlineCapacity>
static String make8BitFrom16BitSource (const Vector< UChar, inlineCapacity > &buffer)
 
static WTF_EXPORT_STRING_API String make16BitFrom8BitSource (const LChar *, size_t)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const LChar *, size_t)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const LChar *)
 
static String fromUTF8 (const char *s, size_t length)
 
static String fromUTF8 (const char *s)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const CString &)
 
static WTF_EXPORT_STRING_API String fromUTF8WithLatin1Fallback (const LChar *, size_t)
 
static String fromUTF8WithLatin1Fallback (const char *s, size_t length)
 
static String adopt (StringBuffer< LChar > &&buffer)
 
static String adopt (StringBuffer< UChar > &&buffer)
 
template<typename CharacterType , size_t inlineCapacity, typename OverflowHandler >
static String adopt (Vector< CharacterType, inlineCapacity, OverflowHandler > &&vector)
 
static WTF_EXPORT_STRING_API String number (int)
 
static WTF_EXPORT_STRING_API String number (unsigned int)
 
static WTF_EXPORT_STRING_API String number (long)
 
static WTF_EXPORT_STRING_API String number (unsigned long)
 
static WTF_EXPORT_STRING_API String number (long long)
 
static WTF_EXPORT_STRING_API String number (unsigned long long)
 
static WTF_EXPORT_STRING_API String number (double, unsigned precision=6, TrailingZerosTruncatingPolicy=TruncateTrailingZeros)
 
static WTF_EXPORT_STRING_API String numberToStringECMAScript (double)
 
static WTF_EXPORT_STRING_API String numberToStringFixedWidth (double, unsigned decimalPlaces)
 
static WTF_EXPORT_STRING_API String format (const char *,...) WTF_ATTRIBUTE_PRINTF(1
 
static WTF_EXPORT_STRING_API String static String createUninitialized (unsigned length, UChar *&data)
 
static String createUninitialized (unsigned length, LChar *&data)
 
static WTF_EXPORT_STRING_API String make8BitFrom16BitSource (const UChar *, size_t)
 
template<size_t inlineCapacity>
static String make8BitFrom16BitSource (const Vector< UChar, inlineCapacity > &buffer)
 
static WTF_EXPORT_STRING_API String make16BitFrom8BitSource (const LChar *, size_t)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const LChar *, size_t)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const LChar *)
 
static String fromUTF8 (const char *s, size_t length)
 
static String fromUTF8 (const char *s)
 
static WTF_EXPORT_STRING_API String fromUTF8 (const CString &)
 
static WTF_EXPORT_STRING_API String fromUTF8WithLatin1Fallback (const LChar *, size_t)
 
static String fromUTF8WithLatin1Fallback (const char *s, size_t length)
 

Member Typedef Documentation

◆ UnspecifiedBoolTypeA [1/3]

typedef struct ImplicitConversionFromWTFStringToBoolDisallowedA*String::* WTF::String::UnspecifiedBoolTypeA

◆ UnspecifiedBoolTypeA [2/3]

typedef struct ImplicitConversionFromWTFStringToBoolDisallowedA*String::* WTF::String::UnspecifiedBoolTypeA

◆ UnspecifiedBoolTypeA [3/3]

typedef struct ImplicitConversionFromWTFStringToBoolDisallowedA*String::* WTF::String::UnspecifiedBoolTypeA

◆ UnspecifiedBoolTypeB [1/3]

typedef struct ImplicitConversionFromWTFStringToBoolDisallowedB*String::* WTF::String::UnspecifiedBoolTypeB

◆ UnspecifiedBoolTypeB [2/3]

typedef struct ImplicitConversionFromWTFStringToBoolDisallowedB*String::* WTF::String::UnspecifiedBoolTypeB

◆ UnspecifiedBoolTypeB [3/3]

typedef struct ImplicitConversionFromWTFStringToBoolDisallowedB*String::* WTF::String::UnspecifiedBoolTypeB

Member Enumeration Documentation

◆ ConstructFromLiteralTag [1/3]

Enumerator
ConstructFromLiteral 
ConstructFromLiteral 
ConstructFromLiteral 

◆ ConstructFromLiteralTag [2/3]

Enumerator
ConstructFromLiteral 
ConstructFromLiteral 
ConstructFromLiteral 

◆ ConstructFromLiteralTag [3/3]

Enumerator
ConstructFromLiteral 
ConstructFromLiteral 
ConstructFromLiteral 

Constructor & Destructor Documentation

◆ String() [1/57]

WTF::String::String ( )
inline

◆ String() [2/57]

WTF::String::String ( const UChar characters,
unsigned  length 
)

◆ String() [3/57]

template<size_t inlineCapacity, typename OverflowHandler >
WTF::String::String ( const Vector< UChar, inlineCapacity, OverflowHandler > &  vector)
explicit

◆ String() [4/57]

WTF::String::String ( const UChar str)

◆ String() [5/57]

WTF::String::String ( const LChar characters,
unsigned  length 
)

◆ String() [6/57]

WTF::String::String ( const char *  characters,
unsigned  length 
)

◆ String() [7/57]

WTF::String::String ( const LChar characters)

◆ String() [8/57]

WTF::String::String ( const char *  characters)

◆ String() [9/57]

WTF::String::String ( StringImpl impl)
inline

◆ String() [10/57]

WTF::String::String ( StringImpl impl)
inline

◆ String() [11/57]

WTF::String::String ( Ref< StringImpl > &&  impl)
inline

◆ String() [12/57]

WTF::String::String ( RefPtr< StringImpl > &&  impl)
inline

◆ String() [13/57]

WTF::String::String ( Ref< AtomicStringImpl > &&  impl)
inline

◆ String() [14/57]

WTF::String::String ( RefPtr< AtomicStringImpl > &&  impl)
inline

◆ String() [15/57]

WTF::String::String ( ASCIILiteral  characters)

◆ String() [16/57]

template<unsigned charactersCount>
WTF::String::String ( const char(&)  characters[charactersCount],
ConstructFromLiteralTag   
)
inline

◆ String() [17/57]

WTF::String::String ( const String other)
inline

◆ String() [18/57]

WTF::String::String ( String &&  other)
inline

◆ ~String() [1/3]

ALWAYS_INLINE WTF::String::~String ( )
inline

◆ String() [19/57]

WTF::String::String ( WTF::HashTableDeletedValueType  )
inline

◆ String() [20/57]

WTF::String::String ( )
inline

◆ String() [21/57]

WTF_EXPORT_STRING_API WTF::String::String ( const UChar characters,
unsigned  length 
)

◆ String() [22/57]

template<size_t inlineCapacity, typename OverflowHandler >
WTF::String::String ( const Vector< UChar, inlineCapacity, OverflowHandler > &  )
explicit

◆ String() [23/57]

WTF_EXPORT_STRING_API WTF::String::String ( const UChar )

◆ String() [24/57]

WTF_EXPORT_STRING_API WTF::String::String ( const LChar characters,
unsigned  length 
)

◆ String() [25/57]

WTF_EXPORT_STRING_API WTF::String::String ( const char *  characters,
unsigned  length 
)

◆ String() [26/57]

WTF_EXPORT_STRING_API WTF::String::String ( const LChar characters)

◆ String() [27/57]

WTF_EXPORT_STRING_API WTF::String::String ( const char *  characters)

◆ String() [28/57]

WTF::String::String ( StringImpl )

◆ String() [29/57]

WTF::String::String ( StringImpl )

◆ String() [30/57]

WTF::String::String ( Ref< StringImpl > &&  )

◆ String() [31/57]

WTF::String::String ( RefPtr< StringImpl > &&  )

◆ String() [32/57]

WTF::String::String ( Ref< AtomicStringImpl > &&  )

◆ String() [33/57]

WTF::String::String ( RefPtr< AtomicStringImpl > &&  )

◆ String() [34/57]

WTF_EXPORT_STRING_API WTF::String::String ( ASCIILiteral  characters)

◆ String() [35/57]

template<unsigned charactersCount>
WTF::String::String ( const char(&)  characters[charactersCount],
ConstructFromLiteralTag   
)
inline

◆ String() [36/57]

WTF::String::String ( const String other)
inline

◆ String() [37/57]

WTF::String::String ( String &&  other)
inline

◆ ~String() [2/3]

ALWAYS_INLINE WTF::String::~String ( )
inline

◆ String() [38/57]

WTF::String::String ( WTF::HashTableDeletedValueType  )
inline

◆ String() [39/57]

WTF::String::String ( )
inline

◆ String() [40/57]

WTF_EXPORT_STRING_API WTF::String::String ( const UChar characters,
unsigned  length 
)

◆ String() [41/57]

template<size_t inlineCapacity, typename OverflowHandler >
WTF::String::String ( const Vector< UChar, inlineCapacity, OverflowHandler > &  )
explicit

◆ String() [42/57]

WTF_EXPORT_STRING_API WTF::String::String ( const UChar )

◆ String() [43/57]

WTF_EXPORT_STRING_API WTF::String::String ( const LChar characters,
unsigned  length 
)

◆ String() [44/57]

WTF_EXPORT_STRING_API WTF::String::String ( const char *  characters,
unsigned  length 
)

◆ String() [45/57]

WTF_EXPORT_STRING_API WTF::String::String ( const LChar characters)

◆ String() [46/57]

WTF_EXPORT_STRING_API WTF::String::String ( const char *  characters)

◆ String() [47/57]

WTF::String::String ( StringImpl )

◆ String() [48/57]

WTF::String::String ( StringImpl )

◆ String() [49/57]

WTF::String::String ( Ref< StringImpl > &&  )

◆ String() [50/57]

WTF::String::String ( RefPtr< StringImpl > &&  )

◆ String() [51/57]

WTF::String::String ( Ref< AtomicStringImpl > &&  )

◆ String() [52/57]

WTF::String::String ( RefPtr< AtomicStringImpl > &&  )

◆ String() [53/57]

WTF_EXPORT_STRING_API WTF::String::String ( ASCIILiteral  characters)

◆ String() [54/57]

template<unsigned charactersCount>
WTF::String::String ( const char(&)  characters[charactersCount],
ConstructFromLiteralTag   
)
inline

◆ String() [55/57]

WTF::String::String ( const String other)
inline

◆ String() [56/57]

WTF::String::String ( String &&  other)
inline

◆ ~String() [3/3]

ALWAYS_INLINE WTF::String::~String ( )
inline

◆ String() [57/57]

WTF::String::String ( WTF::HashTableDeletedValueType  )
inline

Member Function Documentation

◆ adopt() [1/9]

static String WTF::String::adopt ( StringBuffer< LChar > &&  buffer)
inlinestatic

◆ adopt() [2/9]

static String WTF::String::adopt ( StringBuffer< LChar > &&  buffer)
inlinestatic

◆ adopt() [3/9]

static String WTF::String::adopt ( StringBuffer< LChar > &&  buffer)
inlinestatic

◆ adopt() [4/9]

static String WTF::String::adopt ( StringBuffer< UChar > &&  buffer)
inlinestatic

◆ adopt() [5/9]

static String WTF::String::adopt ( StringBuffer< UChar > &&  buffer)
inlinestatic

◆ adopt() [6/9]

static String WTF::String::adopt ( StringBuffer< UChar > &&  buffer)
inlinestatic

◆ adopt() [7/9]

template<typename CharacterType , size_t inlineCapacity, typename OverflowHandler >
static String WTF::String::adopt ( Vector< CharacterType, inlineCapacity, OverflowHandler > &&  vector)
inlinestatic

◆ adopt() [8/9]

template<typename CharacterType , size_t inlineCapacity, typename OverflowHandler >
static String WTF::String::adopt ( Vector< CharacterType, inlineCapacity, OverflowHandler > &&  vector)
inlinestatic

◆ adopt() [9/9]

template<typename CharacterType , size_t inlineCapacity, typename OverflowHandler >
static String WTF::String::adopt ( Vector< CharacterType, inlineCapacity, OverflowHandler > &&  vector)
inlinestatic

◆ append() [1/18]

void WTF::String::append ( const String str)

◆ append() [2/18]

WTF_EXPORT_STRING_API void WTF::String::append ( const String )

◆ append() [3/18]

WTF_EXPORT_STRING_API void WTF::String::append ( const String )

◆ append() [4/18]

void WTF::String::append ( LChar  character)

◆ append() [5/18]

WTF_EXPORT_STRING_API void WTF::String::append ( LChar  )

◆ append() [6/18]

WTF_EXPORT_STRING_API void WTF::String::append ( LChar  )

◆ append() [7/18]

void WTF::String::append ( char  c)
inline

◆ append() [8/18]

void WTF::String::append ( char  c)
inline

◆ append() [9/18]

void WTF::String::append ( char  c)
inline

◆ append() [10/18]

void WTF::String::append ( UChar  character)

◆ append() [11/18]

WTF_EXPORT_STRING_API void WTF::String::append ( UChar  )

◆ append() [12/18]

WTF_EXPORT_STRING_API void WTF::String::append ( UChar  )

◆ append() [13/18]

void WTF::String::append ( const LChar charactersToAppend,
unsigned  length 
)

◆ append() [14/18]

WTF_EXPORT_STRING_API void WTF::String::append ( const LChar ,
unsigned  length 
)

◆ append() [15/18]

WTF_EXPORT_STRING_API void WTF::String::append ( const LChar ,
unsigned  length 
)

◆ append() [16/18]

void WTF::String::append ( const UChar charactersToAppend,
unsigned  length 
)

◆ append() [17/18]

WTF_EXPORT_STRING_API void WTF::String::append ( const UChar ,
unsigned  length 
)

◆ append() [18/18]

WTF_EXPORT_STRING_API void WTF::String::append ( const UChar ,
unsigned  length 
)

◆ ascii() [1/3]

CString WTF::String::ascii ( ) const

◆ ascii() [2/3]

WTF_EXPORT_STRING_API CString WTF::String::ascii ( ) const

◆ ascii() [3/3]

WTF_EXPORT_STRING_API CString WTF::String::ascii ( ) const

◆ at() [1/3]

UChar WTF::String::at ( unsigned  index) const
inline

◆ at() [2/3]

UChar WTF::String::at ( unsigned  index) const
inline

◆ at() [3/3]

UChar WTF::String::at ( unsigned  index) const
inline

◆ characterAt() [1/3]

UChar WTF::String::characterAt ( unsigned  index) const
inline

◆ characterAt() [2/3]

UChar WTF::String::characterAt ( unsigned  index) const
inline

◆ characterAt() [3/3]

UChar WTF::String::characterAt ( unsigned  index) const
inline

◆ characters() [1/9]

template<typename CharacterType >
const CharacterType* WTF::String::characters ( ) const
inline

◆ characters() [2/9]

template<typename CharacterType >
const CharacterType* WTF::String::characters ( ) const
inline

◆ characters() [3/9]

template<typename CharacterType >
const CharacterType* WTF::String::characters ( ) const
inline

◆ characters() [4/9]

template<>
const LChar* WTF::String::characters ( ) const
inline

◆ characters() [5/9]

template<>
const LChar* WTF::String::characters ( ) const
inline

◆ characters() [6/9]

template<>
const LChar* WTF::String::characters ( ) const
inline

◆ characters() [7/9]

template<>
const UChar* WTF::String::characters ( ) const
inline

◆ characters() [8/9]

template<>
const UChar* WTF::String::characters ( ) const
inline

◆ characters() [9/9]

template<>
const UChar* WTF::String::characters ( ) const
inline

◆ characters16() [1/3]

const UChar* WTF::String::characters16 ( ) const
inline

◆ characters16() [2/3]

const UChar* WTF::String::characters16 ( ) const
inline

◆ characters16() [3/3]

const UChar* WTF::String::characters16 ( ) const
inline

◆ characters8() [1/3]

const LChar* WTF::String::characters8 ( ) const
inline

◆ characters8() [2/3]

const LChar* WTF::String::characters8 ( ) const
inline

◆ characters8() [3/3]

const LChar* WTF::String::characters8 ( ) const
inline

◆ characterStartingAt() [1/3]

WTF_EXPORT_STRING_API UChar32 WTF::String::characterStartingAt ( unsigned  ) const

◆ characterStartingAt() [2/3]

WTF_EXPORT_STRING_API UChar32 WTF::String::characterStartingAt ( unsigned  ) const

◆ characterStartingAt() [3/3]

UChar32 WTF::String::characterStartingAt ( unsigned  i) const

◆ charactersWithNullTermination() [1/3]

WTF_EXPORT_STRING_API Vector<UChar> WTF::String::charactersWithNullTermination ( ) const

◆ charactersWithNullTermination() [2/3]

Vector< UChar > WTF::String::charactersWithNullTermination ( ) const

◆ charactersWithNullTermination() [3/3]

WTF_EXPORT_STRING_API Vector<UChar> WTF::String::charactersWithNullTermination ( ) const

◆ clearImplIfNotShared() [1/3]

void WTF::String::clearImplIfNotShared ( )
inline

◆ clearImplIfNotShared() [2/3]

void WTF::String::clearImplIfNotShared ( )
inline

◆ clearImplIfNotShared() [3/3]

void WTF::String::clearImplIfNotShared ( )
inline

◆ contains() [1/12]

bool WTF::String::contains ( UChar  c) const
inline

◆ contains() [2/12]

bool WTF::String::contains ( UChar  c) const
inline

◆ contains() [3/12]

bool WTF::String::contains ( UChar  c) const
inline

◆ contains() [4/12]

bool WTF::String::contains ( const LChar str,
bool  caseSensitive = true,
unsigned  startOffset = 0 
) const
inline

◆ contains() [5/12]

bool WTF::String::contains ( const LChar str,
bool  caseSensitive = true,
unsigned  startOffset = 0 
) const
inline

◆ contains() [6/12]

bool WTF::String::contains ( const LChar str,
bool  caseSensitive = true,
unsigned  startOffset = 0 
) const
inline

◆ contains() [7/12]

bool WTF::String::contains ( const String str) const
inline

◆ contains() [8/12]

bool WTF::String::contains ( const String str) const
inline

◆ contains() [9/12]

bool WTF::String::contains ( const String str) const
inline

◆ contains() [10/12]

bool WTF::String::contains ( const String str,
bool  caseSensitive,
unsigned  startOffset = 0 
) const
inline

◆ contains() [11/12]

bool WTF::String::contains ( const String str,
bool  caseSensitive,
unsigned  startOffset = 0 
) const
inline

◆ contains() [12/12]

bool WTF::String::contains ( const String str,
bool  caseSensitive,
unsigned  startOffset = 0 
) const
inline

◆ containsIgnoringASCIICase() [1/6]

bool WTF::String::containsIgnoringASCIICase ( const String str) const
inline

◆ containsIgnoringASCIICase() [2/6]

bool WTF::String::containsIgnoringASCIICase ( const String str) const
inline

◆ containsIgnoringASCIICase() [3/6]

bool WTF::String::containsIgnoringASCIICase ( const String str) const
inline

◆ containsIgnoringASCIICase() [4/6]

bool WTF::String::containsIgnoringASCIICase ( const String str,
unsigned  startOffset 
) const
inline

◆ containsIgnoringASCIICase() [5/6]

bool WTF::String::containsIgnoringASCIICase ( const String str,
unsigned  startOffset 
) const
inline

◆ containsIgnoringASCIICase() [6/6]

bool WTF::String::containsIgnoringASCIICase ( const String str,
unsigned  startOffset 
) const
inline

◆ containsOnlyASCII() [1/3]

bool WTF::String::containsOnlyASCII ( ) const
inline

◆ containsOnlyASCII() [2/3]

bool WTF::String::containsOnlyASCII ( ) const

◆ containsOnlyASCII() [3/3]

bool WTF::String::containsOnlyASCII ( ) const

◆ containsOnlyLatin1() [1/3]

bool WTF::String::containsOnlyLatin1 ( ) const
inline

◆ containsOnlyLatin1() [2/3]

bool WTF::String::containsOnlyLatin1 ( ) const

◆ containsOnlyLatin1() [3/3]

bool WTF::String::containsOnlyLatin1 ( ) const

◆ containsOnlyWhitespace() [1/3]

bool WTF::String::containsOnlyWhitespace ( ) const
inline

◆ containsOnlyWhitespace() [2/3]

bool WTF::String::containsOnlyWhitespace ( ) const
inline

◆ containsOnlyWhitespace() [3/3]

bool WTF::String::containsOnlyWhitespace ( ) const
inline

◆ convertToASCIILowercase() [1/3]

String WTF::String::convertToASCIILowercase ( ) const

◆ convertToASCIILowercase() [2/3]

WTF_EXPORT_STRING_API String WTF::String::convertToASCIILowercase ( ) const

◆ convertToASCIILowercase() [3/3]

WTF_EXPORT_STRING_API String WTF::String::convertToASCIILowercase ( ) const

◆ convertToASCIIUppercase() [1/3]

String WTF::String::convertToASCIIUppercase ( ) const

◆ convertToASCIIUppercase() [2/3]

WTF_EXPORT_STRING_API String WTF::String::convertToASCIIUppercase ( ) const

◆ convertToASCIIUppercase() [3/3]

WTF_EXPORT_STRING_API String WTF::String::convertToASCIIUppercase ( ) const

◆ convertToLowercaseWithLocale() [1/3]

String WTF::String::convertToLowercaseWithLocale ( const AtomicString localeIdentifier) const

◆ convertToLowercaseWithLocale() [2/3]

WTF_EXPORT_STRING_API String WTF::String::convertToLowercaseWithLocale ( const AtomicString localeIdentifier) const

◆ convertToLowercaseWithLocale() [3/3]

WTF_EXPORT_STRING_API String WTF::String::convertToLowercaseWithLocale ( const AtomicString localeIdentifier) const

◆ convertToLowercaseWithoutLocale() [1/3]

String WTF::String::convertToLowercaseWithoutLocale ( ) const

◆ convertToLowercaseWithoutLocale() [2/3]

WTF_EXPORT_STRING_API String WTF::String::convertToLowercaseWithoutLocale ( ) const

◆ convertToLowercaseWithoutLocale() [3/3]

WTF_EXPORT_STRING_API String WTF::String::convertToLowercaseWithoutLocale ( ) const

◆ convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit() [1/3]

String WTF::String::convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit ( unsigned  failingIndex) const

◆ convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit() [2/3]

WTF_EXPORT_STRING_API String WTF::String::convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit ( unsigned  ) const

◆ convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit() [3/3]

WTF_EXPORT_STRING_API String WTF::String::convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit ( unsigned  ) const

◆ convertToUppercaseWithLocale() [1/3]

WTF_EXPORT_STRING_API String WTF::String::convertToUppercaseWithLocale ( const AtomicString localeIdentifier) const

◆ convertToUppercaseWithLocale() [2/3]

String WTF::String::convertToUppercaseWithLocale ( const AtomicString localeIdentifier) const

◆ convertToUppercaseWithLocale() [3/3]

WTF_EXPORT_STRING_API String WTF::String::convertToUppercaseWithLocale ( const AtomicString localeIdentifier) const

◆ convertToUppercaseWithoutLocale() [1/3]

WTF_EXPORT_STRING_API String WTF::String::convertToUppercaseWithoutLocale ( ) const

◆ convertToUppercaseWithoutLocale() [2/3]

String WTF::String::convertToUppercaseWithoutLocale ( ) const

◆ convertToUppercaseWithoutLocale() [3/3]

WTF_EXPORT_STRING_API String WTF::String::convertToUppercaseWithoutLocale ( ) const

◆ createUninitialized() [1/6]

static WTF_EXPORT_STRING_API String static String WTF::String::createUninitialized ( unsigned  length,
UChar *&  data 
)
inlinestatic

◆ createUninitialized() [2/6]

static WTF_EXPORT_STRING_API String static String WTF::String::createUninitialized ( unsigned  length,
UChar *&  data 
)
inlinestatic

◆ createUninitialized() [3/6]

static WTF_EXPORT_STRING_API String static String WTF::String::createUninitialized ( unsigned  length,
UChar *&  data 
)
inlinestatic

◆ createUninitialized() [4/6]

static String WTF::String::createUninitialized ( unsigned  length,
LChar *&  data 
)
inlinestatic

◆ createUninitialized() [5/6]

static String WTF::String::createUninitialized ( unsigned  length,
LChar *&  data 
)
inlinestatic

◆ createUninitialized() [6/6]

static String WTF::String::createUninitialized ( unsigned  length,
LChar *&  data 
)
inlinestatic

◆ defaultWritingDirection() [1/3]

UCharDirection WTF::String::defaultWritingDirection ( bool *  hasStrongDirectionality = nullptr) const
inline

◆ defaultWritingDirection() [2/3]

UCharDirection WTF::String::defaultWritingDirection ( bool *  hasStrongDirectionality = nullptr) const
inline

◆ defaultWritingDirection() [3/3]

UCharDirection WTF::String::defaultWritingDirection ( bool *  hasStrongDirectionality = nullptr) const
inline

◆ endsWith() [1/15]

bool WTF::String::endsWith ( const String s) const
inline

◆ endsWith() [2/15]

bool WTF::String::endsWith ( const String s) const
inline

◆ endsWith() [3/15]

bool WTF::String::endsWith ( const String s) const
inline

◆ endsWith() [4/15]

bool WTF::String::endsWith ( const String s,
bool  caseSensitive 
) const
inline

◆ endsWith() [5/15]

bool WTF::String::endsWith ( const String s,
bool  caseSensitive 
) const
inline

◆ endsWith() [6/15]

bool WTF::String::endsWith ( const String s,
bool  caseSensitive 
) const
inline

◆ endsWith() [7/15]

bool WTF::String::endsWith ( UChar  character) const
inline

◆ endsWith() [8/15]

bool WTF::String::endsWith ( UChar  character) const
inline

◆ endsWith() [9/15]

bool WTF::String::endsWith ( UChar  character) const
inline

◆ endsWith() [10/15]

bool WTF::String::endsWith ( char  character) const
inline

◆ endsWith() [11/15]

bool WTF::String::endsWith ( char  character) const
inline

◆ endsWith() [12/15]

bool WTF::String::endsWith ( char  character) const
inline

◆ endsWith() [13/15]

template<unsigned matchLength>
bool WTF::String::endsWith ( const char(&)  prefix[matchLength],
bool  caseSensitive = true 
) const
inline

◆ endsWith() [14/15]

template<unsigned matchLength>
bool WTF::String::endsWith ( const char(&)  prefix[matchLength],
bool  caseSensitive = true 
) const
inline

◆ endsWith() [15/15]

template<unsigned matchLength>
bool WTF::String::endsWith ( const char(&)  prefix[matchLength],
bool  caseSensitive = true 
) const
inline

◆ endsWithIgnoringASCIICase() [1/3]

bool WTF::String::endsWithIgnoringASCIICase ( const String s) const
inline

◆ endsWithIgnoringASCIICase() [2/3]

bool WTF::String::endsWithIgnoringASCIICase ( const String s) const
inline

◆ endsWithIgnoringASCIICase() [3/3]

bool WTF::String::endsWithIgnoringASCIICase ( const String s) const
inline

◆ existingHash() [1/3]

unsigned WTF::String::existingHash ( ) const
inline

◆ existingHash() [2/3]

unsigned WTF::String::existingHash ( ) const
inline

◆ existingHash() [3/3]

unsigned WTF::String::existingHash ( ) const
inline

◆ find() [1/21]

size_t WTF::String::find ( UChar  c,
unsigned  start = 0 
) const
inline

◆ find() [2/21]

size_t WTF::String::find ( UChar  c,
unsigned  start = 0 
) const
inline

◆ find() [3/21]

size_t WTF::String::find ( UChar  c,
unsigned  start = 0 
) const
inline

◆ find() [4/21]

size_t WTF::String::find ( const String str) const
inline

◆ find() [5/21]

size_t WTF::String::find ( const String str) const
inline

◆ find() [6/21]

size_t WTF::String::find ( const String str) const
inline

◆ find() [7/21]

size_t WTF::String::find ( const String str,
unsigned  start 
) const
inline

◆ find() [8/21]

size_t WTF::String::find ( const String str,
unsigned  start 
) const
inline

◆ find() [9/21]

size_t WTF::String::find ( const String str,
unsigned  start 
) const
inline

◆ find() [10/21]

size_t WTF::String::find ( CharacterMatchFunctionPtr  matchFunction,
unsigned  start = 0 
) const
inline

◆ find() [11/21]

size_t WTF::String::find ( CharacterMatchFunctionPtr  matchFunction,
unsigned  start = 0 
) const
inline

◆ find() [12/21]

size_t WTF::String::find ( CharacterMatchFunctionPtr  matchFunction,
unsigned  start = 0 
) const
inline

◆ find() [13/21]

size_t WTF::String::find ( const LChar str,
unsigned  start = 0 
) const
inline

◆ find() [14/21]

size_t WTF::String::find ( const LChar str,
unsigned  start = 0 
) const
inline

◆ find() [15/21]

size_t WTF::String::find ( const LChar str,
unsigned  start = 0 
) const
inline

◆ find() [16/21]

size_t WTF::String::find ( const LChar str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ find() [17/21]

size_t WTF::String::find ( const LChar str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ find() [18/21]

size_t WTF::String::find ( const LChar str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ find() [19/21]

size_t WTF::String::find ( const String str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ find() [20/21]

size_t WTF::String::find ( const String str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ find() [21/21]

size_t WTF::String::find ( const String str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ findIgnoringASCIICase() [1/6]

size_t WTF::String::findIgnoringASCIICase ( const String str) const
inline

◆ findIgnoringASCIICase() [2/6]

size_t WTF::String::findIgnoringASCIICase ( const String str) const
inline

◆ findIgnoringASCIICase() [3/6]

size_t WTF::String::findIgnoringASCIICase ( const String str) const
inline

◆ findIgnoringASCIICase() [4/6]

size_t WTF::String::findIgnoringASCIICase ( const String str,
unsigned  startOffset 
) const
inline

◆ findIgnoringASCIICase() [5/6]

size_t WTF::String::findIgnoringASCIICase ( const String str,
unsigned  startOffset 
) const
inline

◆ findIgnoringASCIICase() [6/6]

size_t WTF::String::findIgnoringASCIICase ( const String str,
unsigned  startOffset 
) const
inline

◆ findIgnoringCase() [1/6]

size_t WTF::String::findIgnoringCase ( const LChar str,
unsigned  start = 0 
) const
inline

◆ findIgnoringCase() [2/6]

size_t WTF::String::findIgnoringCase ( const LChar str,
unsigned  start = 0 
) const
inline

◆ findIgnoringCase() [3/6]

size_t WTF::String::findIgnoringCase ( const LChar str,
unsigned  start = 0 
) const
inline

◆ findIgnoringCase() [4/6]

size_t WTF::String::findIgnoringCase ( const String str,
unsigned  start = 0 
) const
inline

◆ findIgnoringCase() [5/6]

size_t WTF::String::findIgnoringCase ( const String str,
unsigned  start = 0 
) const
inline

◆ findIgnoringCase() [6/6]

size_t WTF::String::findIgnoringCase ( const String str,
unsigned  start = 0 
) const
inline

◆ foldCase() [1/3]

WTF_EXPORT_STRING_API String WTF::String::foldCase ( ) const

◆ foldCase() [2/3]

String WTF::String::foldCase ( ) const

◆ foldCase() [3/3]

WTF_EXPORT_STRING_API String WTF::String::foldCase ( ) const

◆ format() [1/3]

static WTF_EXPORT_STRING_API String WTF::String::format ( const char *  ,
  ... 
)
static

◆ format() [2/3]

String WTF::String::format ( const char *  format,
  ... 
)
static

◆ format() [3/3]

static WTF_EXPORT_STRING_API String WTF::String::format ( const char *  ,
  ... 
)
static

◆ fromUTF8() [1/15]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8 ( const LChar ,
size_t   
)
static

◆ fromUTF8() [2/15]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8 ( const LChar ,
size_t   
)
static

◆ fromUTF8() [3/15]

String WTF::String::fromUTF8 ( const LChar stringStart,
size_t  length 
)
static

◆ fromUTF8() [4/15]

String WTF::String::fromUTF8 ( const LChar string)
static

◆ fromUTF8() [5/15]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8 ( const LChar )
static

◆ fromUTF8() [6/15]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8 ( const LChar )
static

◆ fromUTF8() [7/15]

static String WTF::String::fromUTF8 ( const char *  s,
size_t  length 
)
inlinestatic

◆ fromUTF8() [8/15]

static String WTF::String::fromUTF8 ( const char *  s,
size_t  length 
)
inlinestatic

◆ fromUTF8() [9/15]

static String WTF::String::fromUTF8 ( const char *  s,
size_t  length 
)
inlinestatic

◆ fromUTF8() [10/15]

static String WTF::String::fromUTF8 ( const char *  s)
inlinestatic

◆ fromUTF8() [11/15]

static String WTF::String::fromUTF8 ( const char *  s)
inlinestatic

◆ fromUTF8() [12/15]

static String WTF::String::fromUTF8 ( const char *  s)
inlinestatic

◆ fromUTF8() [13/15]

String WTF::String::fromUTF8 ( const CString s)
static

◆ fromUTF8() [14/15]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8 ( const CString )
static

◆ fromUTF8() [15/15]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8 ( const CString )
static

◆ fromUTF8WithLatin1Fallback() [1/6]

String WTF::String::fromUTF8WithLatin1Fallback ( const LChar string,
size_t  size 
)
static

◆ fromUTF8WithLatin1Fallback() [2/6]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8WithLatin1Fallback ( const LChar ,
size_t   
)
static

◆ fromUTF8WithLatin1Fallback() [3/6]

static WTF_EXPORT_STRING_API String WTF::String::fromUTF8WithLatin1Fallback ( const LChar ,
size_t   
)
static

◆ fromUTF8WithLatin1Fallback() [4/6]

static String WTF::String::fromUTF8WithLatin1Fallback ( const char *  s,
size_t  length 
)
inlinestatic

◆ fromUTF8WithLatin1Fallback() [5/6]

static String WTF::String::fromUTF8WithLatin1Fallback ( const char *  s,
size_t  length 
)
inlinestatic

◆ fromUTF8WithLatin1Fallback() [6/6]

static String WTF::String::fromUTF8WithLatin1Fallback ( const char *  s,
size_t  length 
)
inlinestatic

◆ hasInfixEndingAt() [1/3]

bool WTF::String::hasInfixEndingAt ( const String suffix,
unsigned  endOffset 
) const
inline

◆ hasInfixEndingAt() [2/3]

bool WTF::String::hasInfixEndingAt ( const String suffix,
unsigned  endOffset 
) const
inline

◆ hasInfixEndingAt() [3/3]

bool WTF::String::hasInfixEndingAt ( const String suffix,
unsigned  endOffset 
) const
inline

◆ hasInfixStartingAt() [1/3]

bool WTF::String::hasInfixStartingAt ( const String prefix,
unsigned  startOffset 
) const
inline

◆ hasInfixStartingAt() [2/3]

bool WTF::String::hasInfixStartingAt ( const String prefix,
unsigned  startOffset 
) const
inline

◆ hasInfixStartingAt() [3/3]

bool WTF::String::hasInfixStartingAt ( const String prefix,
unsigned  startOffset 
) const
inline

◆ impl() [1/3]

StringImpl* WTF::String::impl ( ) const
inline

◆ impl() [2/3]

StringImpl* WTF::String::impl ( ) const
inline

◆ impl() [3/3]

StringImpl* WTF::String::impl ( ) const
inline

◆ insert() [1/3]

WTF_EXPORT_STRING_API void WTF::String::insert ( const String ,
unsigned  pos 
)

◆ insert() [2/3]

void WTF::String::insert ( const String string,
unsigned  pos 
)

◆ insert() [3/3]

WTF_EXPORT_STRING_API void WTF::String::insert ( const String ,
unsigned  pos 
)

◆ is8Bit() [1/3]

bool WTF::String::is8Bit ( ) const
inline

◆ is8Bit() [2/3]

bool WTF::String::is8Bit ( ) const
inline

◆ is8Bit() [3/3]

bool WTF::String::is8Bit ( ) const
inline

◆ isAllSpecialCharacters() [1/3]

template<bool isSpecialCharacter>
bool WTF::String::isAllSpecialCharacters ( ) const

◆ isAllSpecialCharacters() [2/3]

template<bool isSpecialCharacter>
bool WTF::String::isAllSpecialCharacters ( ) const
inline

◆ isAllSpecialCharacters() [3/3]

template<bool isSpecialCharacter>
bool WTF::String::isAllSpecialCharacters ( ) const

◆ isEmpty() [1/3]

bool WTF::String::isEmpty ( void  ) const
inline

◆ isEmpty() [2/3]

bool WTF::String::isEmpty ( void  ) const
inline

◆ isEmpty() [3/3]

bool WTF::String::isEmpty ( ) const
inline

◆ isHashTableDeletedValue() [1/3]

bool WTF::String::isHashTableDeletedValue ( ) const
inline

◆ isHashTableDeletedValue() [2/3]

bool WTF::String::isHashTableDeletedValue ( ) const
inline

◆ isHashTableDeletedValue() [3/3]

bool WTF::String::isHashTableDeletedValue ( ) const
inline

◆ isNull() [1/3]

bool WTF::String::isNull ( ) const
inline

◆ isNull() [2/3]

bool WTF::String::isNull ( ) const
inline

◆ isNull() [3/3]

bool WTF::String::isNull ( ) const
inline

◆ isolatedCopy() [1/3]

WTF_EXPORT_STRING_API String WTF::String::isolatedCopy ( ) const

◆ isolatedCopy() [2/3]

WTF_EXPORT_STRING_API String WTF::String::isolatedCopy ( ) const

◆ isolatedCopy() [3/3]

String WTF::String::isolatedCopy ( ) const

◆ isSafeToSendToAnotherThread() [1/3]

WTF_EXPORT_STRING_API bool WTF::String::isSafeToSendToAnotherThread ( ) const

◆ isSafeToSendToAnotherThread() [2/3]

WTF_EXPORT_STRING_API bool WTF::String::isSafeToSendToAnotherThread ( ) const

◆ isSafeToSendToAnotherThread() [3/3]

bool WTF::String::isSafeToSendToAnotherThread ( ) const

◆ latin1() [1/3]

CString WTF::String::latin1 ( ) const

◆ latin1() [2/3]

WTF_EXPORT_STRING_API CString WTF::String::latin1 ( ) const

◆ latin1() [3/3]

WTF_EXPORT_STRING_API CString WTF::String::latin1 ( ) const

◆ left() [1/3]

String WTF::String::left ( unsigned  len) const
inline

◆ left() [2/3]

String WTF::String::left ( unsigned  len) const
inline

◆ left() [3/3]

String WTF::String::left ( unsigned  len) const
inline

◆ length() [1/3]

unsigned WTF::String::length ( void  ) const
inline

◆ length() [2/3]

unsigned WTF::String::length ( void  ) const
inline

◆ length() [3/3]

unsigned WTF::String::length ( ) const
inline

◆ make16BitFrom8BitSource() [1/3]

static WTF_EXPORT_STRING_API String WTF::String::make16BitFrom8BitSource ( const LChar ,
size_t   
)
static

◆ make16BitFrom8BitSource() [2/3]

static WTF_EXPORT_STRING_API String WTF::String::make16BitFrom8BitSource ( const LChar ,
size_t   
)
static

◆ make16BitFrom8BitSource() [3/3]

String WTF::String::make16BitFrom8BitSource ( const LChar source,
size_t  length 
)
static

◆ make8BitFrom16BitSource() [1/6]

static WTF_EXPORT_STRING_API String WTF::String::make8BitFrom16BitSource ( const UChar ,
size_t   
)
static

◆ make8BitFrom16BitSource() [2/6]

static WTF_EXPORT_STRING_API String WTF::String::make8BitFrom16BitSource ( const UChar ,
size_t   
)
static

◆ make8BitFrom16BitSource() [3/6]

String WTF::String::make8BitFrom16BitSource ( const UChar source,
size_t  length 
)
static

◆ make8BitFrom16BitSource() [4/6]

template<size_t inlineCapacity>
static String WTF::String::make8BitFrom16BitSource ( const Vector< UChar, inlineCapacity > &  buffer)
inlinestatic

◆ make8BitFrom16BitSource() [5/6]

template<size_t inlineCapacity>
static String WTF::String::make8BitFrom16BitSource ( const Vector< UChar, inlineCapacity > &  buffer)
inlinestatic

◆ make8BitFrom16BitSource() [6/6]

template<size_t inlineCapacity>
static String WTF::String::make8BitFrom16BitSource ( const Vector< UChar, inlineCapacity > &  buffer)
inlinestatic

◆ number() [1/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( int  )
static

◆ number() [2/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( int  )
static

◆ number() [3/21]

String WTF::String::number ( int  number)
static

◆ number() [4/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( unsigned  int)
static

◆ number() [5/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( unsigned  int)
static

◆ number() [6/21]

String WTF::String::number ( unsigned int  number)
static

◆ number() [7/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( long  )
static

◆ number() [8/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( long  )
static

◆ number() [9/21]

String WTF::String::number ( long  number)
static

◆ number() [10/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( unsigned  long)
static

◆ number() [11/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( unsigned  long)
static

◆ number() [12/21]

String WTF::String::number ( unsigned long  number)
static

◆ number() [13/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( long  long)
static

◆ number() [14/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( long  long)
static

◆ number() [15/21]

String WTF::String::number ( long long  number)
static

◆ number() [16/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( unsigned long  long)
static

◆ number() [17/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( unsigned long  long)
static

◆ number() [18/21]

String WTF::String::number ( unsigned long long  number)
static

◆ number() [19/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( double  ,
unsigned  precision = 6,
TrailingZerosTruncatingPolicy  = TruncateTrailingZeros 
)
static

◆ number() [20/21]

static WTF_EXPORT_STRING_API String WTF::String::number ( double  ,
unsigned  precision = 6,
TrailingZerosTruncatingPolicy  = TruncateTrailingZeros 
)
static

◆ number() [21/21]

String WTF::String::number ( double  number,
unsigned  precision = 6,
TrailingZerosTruncatingPolicy  trailingZerosTruncatingPolicy = TruncateTrailingZeros 
)
static

◆ numberToStringECMAScript() [1/3]

static WTF_EXPORT_STRING_API String WTF::String::numberToStringECMAScript ( double  )
static

◆ numberToStringECMAScript() [2/3]

static WTF_EXPORT_STRING_API String WTF::String::numberToStringECMAScript ( double  )
static

◆ numberToStringECMAScript() [3/3]

String WTF::String::numberToStringECMAScript ( double  number)
static

◆ numberToStringFixedWidth() [1/3]

static WTF_EXPORT_STRING_API String WTF::String::numberToStringFixedWidth ( double  ,
unsigned  decimalPlaces 
)
static

◆ numberToStringFixedWidth() [2/3]

String WTF::String::numberToStringFixedWidth ( double  number,
unsigned  decimalPlaces 
)
static

◆ numberToStringFixedWidth() [3/3]

static WTF_EXPORT_STRING_API String WTF::String::numberToStringFixedWidth ( double  ,
unsigned  decimalPlaces 
)
static

◆ operator UnspecifiedBoolTypeA() [1/3]

WTF::String::operator UnspecifiedBoolTypeA ( ) const

◆ operator UnspecifiedBoolTypeA() [2/3]

WTF::String::operator UnspecifiedBoolTypeA ( ) const

◆ operator UnspecifiedBoolTypeA() [3/3]

WTF::String::operator UnspecifiedBoolTypeA ( ) const

◆ operator UnspecifiedBoolTypeB() [1/3]

WTF::String::operator UnspecifiedBoolTypeB ( ) const

◆ operator UnspecifiedBoolTypeB() [2/3]

WTF::String::operator UnspecifiedBoolTypeB ( ) const

◆ operator UnspecifiedBoolTypeB() [3/3]

WTF::String::operator UnspecifiedBoolTypeB ( ) const

◆ operator=() [1/6]

String& WTF::String::operator= ( const String other)
inline

◆ operator=() [2/6]

String& WTF::String::operator= ( const String other)
inline

◆ operator=() [3/6]

String& WTF::String::operator= ( const String other)
inline

◆ operator=() [4/6]

String& WTF::String::operator= ( String &&  other)
inline

◆ operator=() [5/6]

String& WTF::String::operator= ( String &&  other)
inline

◆ operator=() [6/6]

String& WTF::String::operator= ( String &&  other)
inline

◆ operator[]() [1/3]

UChar WTF::String::operator[] ( unsigned  index) const
inline

◆ operator[]() [2/3]

UChar WTF::String::operator[] ( unsigned  index) const
inline

◆ operator[]() [3/3]

UChar WTF::String::operator[] ( unsigned  index) const
inline

◆ percentage() [1/3]

bool WTF::String::percentage ( int &  percentage) const

◆ percentage() [2/3]

bool WTF::String::percentage ( int &  percentage) const

◆ percentage() [3/3]

bool WTF::String::percentage ( int &  percentage) const

◆ releaseImpl() [1/3]

RefPtr<StringImpl> WTF::String::releaseImpl ( )
inline

◆ releaseImpl() [2/3]

RefPtr<StringImpl> WTF::String::releaseImpl ( )
inline

◆ releaseImpl() [3/3]

RefPtr<StringImpl> WTF::String::releaseImpl ( )
inline

◆ remove() [1/3]

WTF_EXPORT_STRING_API void WTF::String::remove ( unsigned  pos,
int  len = 1 
)

◆ remove() [2/3]

WTF_EXPORT_STRING_API void WTF::String::remove ( unsigned  pos,
int  len = 1 
)

◆ remove() [3/3]

void WTF::String::remove ( unsigned  pos,
int  len = 1 
)

◆ removeCharacters() [1/3]

String WTF::String::removeCharacters ( CharacterMatchFunctionPtr  findMatch) const

◆ removeCharacters() [2/3]

WTF_EXPORT_STRING_API String WTF::String::removeCharacters ( CharacterMatchFunctionPtr  ) const

◆ removeCharacters() [3/3]

WTF_EXPORT_STRING_API String WTF::String::removeCharacters ( CharacterMatchFunctionPtr  ) const

◆ replace() [1/12]

String& WTF::String::replace ( UChar  a,
UChar  b 
)
inline

◆ replace() [2/12]

String& WTF::String::replace ( UChar  a,
UChar  b 
)
inline

◆ replace() [3/12]

String& WTF::String::replace ( UChar  a,
UChar  b 
)
inline

◆ replace() [4/12]

String& WTF::String::replace ( UChar  a,
const String b 
)
inline

◆ replace() [5/12]

String& WTF::String::replace ( UChar  a,
const String b 
)
inline

◆ replace() [6/12]

String& WTF::String::replace ( UChar  a,
const String b 
)
inline

◆ replace() [7/12]

String& WTF::String::replace ( const String a,
const String b 
)
inline

◆ replace() [8/12]

String& WTF::String::replace ( const String a,
const String b 
)
inline

◆ replace() [9/12]

String& WTF::String::replace ( const String a,
const String b 
)
inline

◆ replace() [10/12]

String& WTF::String::replace ( unsigned  index,
unsigned  len,
const String b 
)
inline

◆ replace() [11/12]

String& WTF::String::replace ( unsigned  index,
unsigned  len,
const String b 
)
inline

◆ replace() [12/12]

String& WTF::String::replace ( unsigned  index,
unsigned  len,
const String b 
)
inline

◆ replaceWithLiteral() [1/3]

template<unsigned charactersCount>
ALWAYS_INLINE String& WTF::String::replaceWithLiteral ( UChar  a,
const char(&)  characters[charactersCount] 
)
inline

◆ replaceWithLiteral() [2/3]

template<unsigned charactersCount>
ALWAYS_INLINE String& WTF::String::replaceWithLiteral ( UChar  a,
const char(&)  characters[charactersCount] 
)
inline

◆ replaceWithLiteral() [3/3]

template<unsigned charactersCount>
ALWAYS_INLINE String& WTF::String::replaceWithLiteral ( UChar  a,
const char(&)  characters[charactersCount] 
)
inline

◆ reverseFind() [1/9]

size_t WTF::String::reverseFind ( UChar  c,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFind() [2/9]

size_t WTF::String::reverseFind ( UChar  c,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFind() [3/9]

size_t WTF::String::reverseFind ( UChar  c,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFind() [4/9]

size_t WTF::String::reverseFind ( const String str,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFind() [5/9]

size_t WTF::String::reverseFind ( const String str,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFind() [6/9]

size_t WTF::String::reverseFind ( const String str,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFind() [7/9]

size_t WTF::String::reverseFind ( const String str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ reverseFind() [8/9]

size_t WTF::String::reverseFind ( const String str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ reverseFind() [9/9]

size_t WTF::String::reverseFind ( const String str,
unsigned  start,
bool  caseSensitive 
) const
inline

◆ reverseFindIgnoringCase() [1/3]

size_t WTF::String::reverseFindIgnoringCase ( const String str,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFindIgnoringCase() [2/3]

size_t WTF::String::reverseFindIgnoringCase ( const String str,
unsigned  start = UINT_MAX 
) const
inline

◆ reverseFindIgnoringCase() [3/3]

size_t WTF::String::reverseFindIgnoringCase ( const String str,
unsigned  start = UINT_MAX 
) const
inline

◆ right() [1/3]

String WTF::String::right ( unsigned  len) const
inline

◆ right() [2/3]

String WTF::String::right ( unsigned  len) const
inline

◆ right() [3/3]

String WTF::String::right ( unsigned  len) const
inline

◆ show() [1/3]

void String::show ( ) const

◆ show() [2/3]

WTF_EXPORT_STRING_API void WTF::String::show ( ) const

◆ show() [3/3]

WTF_EXPORT_STRING_API void WTF::String::show ( ) const

◆ simplifyWhiteSpace() [1/6]

WTF_EXPORT_STRING_API String WTF::String::simplifyWhiteSpace ( ) const

◆ simplifyWhiteSpace() [2/6]

WTF_EXPORT_STRING_API String WTF::String::simplifyWhiteSpace ( ) const

◆ simplifyWhiteSpace() [3/6]

String WTF::String::simplifyWhiteSpace ( ) const

◆ simplifyWhiteSpace() [4/6]

String WTF::String::simplifyWhiteSpace ( IsWhiteSpaceFunctionPtr  isWhiteSpace) const

◆ simplifyWhiteSpace() [5/6]

WTF_EXPORT_STRING_API String WTF::String::simplifyWhiteSpace ( IsWhiteSpaceFunctionPtr  ) const

◆ simplifyWhiteSpace() [6/6]

WTF_EXPORT_STRING_API String WTF::String::simplifyWhiteSpace ( IsWhiteSpaceFunctionPtr  ) const

◆ sizeInBytes() [1/3]

unsigned WTF::String::sizeInBytes ( ) const
inline

◆ sizeInBytes() [2/3]

unsigned WTF::String::sizeInBytes ( ) const
inline

◆ sizeInBytes() [3/3]

unsigned WTF::String::sizeInBytes ( ) const
inline

◆ split() [1/12]

WTF_EXPORT_STRING_API void WTF::String::split ( const String separator,
bool  allowEmptyEntries,
Vector< String > &  result 
) const

◆ split() [2/12]

WTF_EXPORT_STRING_API void WTF::String::split ( const String separator,
bool  allowEmptyEntries,
Vector< String > &  result 
) const

◆ split() [3/12]

void WTF::String::split ( const String separator,
bool  allowEmptyEntries,
Vector< String > &  result 
) const

◆ split() [4/12]

void WTF::String::split ( const String separator,
Vector< String > &  result 
) const
inline

◆ split() [5/12]

void WTF::String::split ( const String separator,
Vector< String > &  result 
) const
inline

◆ split() [6/12]

void WTF::String::split ( const String separator,
Vector< String > &  result 
) const
inline

◆ split() [7/12]

WTF_EXPORT_STRING_API void WTF::String::split ( UChar  separator,
bool  allowEmptyEntries,
Vector< String > &  result 
) const

◆ split() [8/12]

void WTF::String::split ( UChar  separator,
bool  allowEmptyEntries,
Vector< String > &  result 
) const

◆ split() [9/12]

WTF_EXPORT_STRING_API void WTF::String::split ( UChar  separator,
bool  allowEmptyEntries,
Vector< String > &  result 
) const

◆ split() [10/12]

void WTF::String::split ( UChar  separator,
Vector< String > &  result 
) const
inline

◆ split() [11/12]

void WTF::String::split ( UChar  separator,
Vector< String > &  result 
) const
inline

◆ split() [12/12]

void WTF::String::split ( UChar  separator,
Vector< String > &  result 
) const
inline

◆ startsWith() [1/12]

bool WTF::String::startsWith ( const String s) const
inline

◆ startsWith() [2/12]

bool WTF::String::startsWith ( const String s) const
inline

◆ startsWith() [3/12]

bool WTF::String::startsWith ( const String s) const
inline

◆ startsWith() [4/12]

bool WTF::String::startsWith ( const String s,
bool  caseSensitive 
) const
inline

◆ startsWith() [5/12]

bool WTF::String::startsWith ( const String s,
bool  caseSensitive 
) const
inline

◆ startsWith() [6/12]

bool WTF::String::startsWith ( const String s,
bool  caseSensitive 
) const
inline

◆ startsWith() [7/12]

bool WTF::String::startsWith ( UChar  character) const
inline

◆ startsWith() [8/12]

bool WTF::String::startsWith ( UChar  character) const
inline

◆ startsWith() [9/12]

bool WTF::String::startsWith ( UChar  character) const
inline

◆ startsWith() [10/12]

template<unsigned matchLength>
bool WTF::String::startsWith ( const char(&)  prefix[matchLength],
bool  caseSensitive = true 
) const
inline

◆ startsWith() [11/12]

template<unsigned matchLength>
bool WTF::String::startsWith ( const char(&)  prefix[matchLength],
bool  caseSensitive = true 
) const
inline

◆ startsWith() [12/12]

template<unsigned matchLength>
bool WTF::String::startsWith ( const char(&)  prefix[matchLength],
bool  caseSensitive = true 
) const
inline

◆ startsWithIgnoringASCIICase() [1/3]

bool WTF::String::startsWithIgnoringASCIICase ( const String s) const
inline

◆ startsWithIgnoringASCIICase() [2/3]

bool WTF::String::startsWithIgnoringASCIICase ( const String s) const
inline

◆ startsWithIgnoringASCIICase() [3/3]

bool WTF::String::startsWithIgnoringASCIICase ( const String s) const
inline

◆ stripWhiteSpace() [1/6]

WTF_EXPORT_STRING_API String WTF::String::stripWhiteSpace ( ) const

◆ stripWhiteSpace() [2/6]

String WTF::String::stripWhiteSpace ( ) const

◆ stripWhiteSpace() [3/6]

WTF_EXPORT_STRING_API String WTF::String::stripWhiteSpace ( ) const

◆ stripWhiteSpace() [4/6]

WTF_EXPORT_STRING_API String WTF::String::stripWhiteSpace ( IsWhiteSpaceFunctionPtr  ) const

◆ stripWhiteSpace() [5/6]

String WTF::String::stripWhiteSpace ( IsWhiteSpaceFunctionPtr  isWhiteSpace) const

◆ stripWhiteSpace() [6/6]

WTF_EXPORT_STRING_API String WTF::String::stripWhiteSpace ( IsWhiteSpaceFunctionPtr  ) const

◆ substring() [1/3]

WTF_EXPORT_STRING_API String WTF::String::substring ( unsigned  pos,
unsigned  len = UINT_MAX 
) const

◆ substring() [2/3]

String WTF::String::substring ( unsigned  pos,
unsigned  len = UINT_MAX 
) const

◆ substring() [3/3]

WTF_EXPORT_STRING_API String WTF::String::substring ( unsigned  pos,
unsigned  len = UINT_MAX 
) const

◆ substringSharingImpl() [1/3]

WTF_EXPORT_STRING_API String WTF::String::substringSharingImpl ( unsigned  pos,
unsigned  len = UINT_MAX 
) const

◆ substringSharingImpl() [2/3]

String WTF::String::substringSharingImpl ( unsigned  pos,
unsigned  len = UINT_MAX 
) const

◆ substringSharingImpl() [3/3]

WTF_EXPORT_STRING_API String WTF::String::substringSharingImpl ( unsigned  pos,
unsigned  len = UINT_MAX 
) const

◆ swap() [1/3]

void WTF::String::swap ( String o)
inline

◆ swap() [2/3]

void WTF::String::swap ( String o)
inline

◆ swap() [3/3]

void WTF::String::swap ( String o)
inline

◆ toDouble() [1/3]

WTF_EXPORT_STRING_API double WTF::String::toDouble ( bool *  ok = nullptr) const

◆ toDouble() [2/3]

double WTF::String::toDouble ( bool *  ok = nullptr) const

◆ toDouble() [3/3]

WTF_EXPORT_STRING_API double WTF::String::toDouble ( bool *  ok = nullptr) const

◆ toFloat() [1/3]

float WTF::String::toFloat ( bool *  ok = nullptr) const

◆ toFloat() [2/3]

WTF_EXPORT_STRING_API float WTF::String::toFloat ( bool *  ok = nullptr) const

◆ toFloat() [3/3]

WTF_EXPORT_STRING_API float WTF::String::toFloat ( bool *  ok = nullptr) const

◆ toInt() [1/3]

WTF_EXPORT_STRING_API int WTF::String::toInt ( bool *  ok = nullptr) const

◆ toInt() [2/3]

int WTF::String::toInt ( bool *  ok = nullptr) const

◆ toInt() [3/3]

WTF_EXPORT_STRING_API int WTF::String::toInt ( bool *  ok = nullptr) const

◆ toInt64() [1/3]

WTF_EXPORT_STRING_API int64_t WTF::String::toInt64 ( bool *  ok = nullptr) const

◆ toInt64() [2/3]

WTF_EXPORT_STRING_API int64_t WTF::String::toInt64 ( bool *  ok = nullptr) const

◆ toInt64() [3/3]

int64_t WTF::String::toInt64 ( bool *  ok = nullptr) const

◆ toInt64Strict() [1/3]

WTF_EXPORT_STRING_API int64_t WTF::String::toInt64Strict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toInt64Strict() [2/3]

WTF_EXPORT_STRING_API int64_t WTF::String::toInt64Strict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toInt64Strict() [3/3]

int64_t WTF::String::toInt64Strict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toIntPtr() [1/3]

WTF_EXPORT_STRING_API intptr_t WTF::String::toIntPtr ( bool *  ok = nullptr) const

◆ toIntPtr() [2/3]

WTF_EXPORT_STRING_API intptr_t WTF::String::toIntPtr ( bool *  ok = nullptr) const

◆ toIntPtr() [3/3]

intptr_t WTF::String::toIntPtr ( bool *  ok = nullptr) const

◆ toIntPtrStrict() [1/3]

WTF_EXPORT_STRING_API intptr_t WTF::String::toIntPtrStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toIntPtrStrict() [2/3]

WTF_EXPORT_STRING_API intptr_t WTF::String::toIntPtrStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toIntPtrStrict() [3/3]

intptr_t WTF::String::toIntPtrStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toIntStrict() [1/3]

int WTF::String::toIntStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toIntStrict() [2/3]

WTF_EXPORT_STRING_API int WTF::String::toIntStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toIntStrict() [3/3]

WTF_EXPORT_STRING_API int WTF::String::toIntStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toUInt() [1/3]

WTF_EXPORT_STRING_API unsigned WTF::String::toUInt ( bool *  ok = nullptr) const

◆ toUInt() [2/3]

unsigned WTF::String::toUInt ( bool *  ok = nullptr) const

◆ toUInt() [3/3]

WTF_EXPORT_STRING_API unsigned WTF::String::toUInt ( bool *  ok = nullptr) const

◆ toUInt64() [1/3]

WTF_EXPORT_STRING_API uint64_t WTF::String::toUInt64 ( bool *  ok = nullptr) const

◆ toUInt64() [2/3]

WTF_EXPORT_STRING_API uint64_t WTF::String::toUInt64 ( bool *  ok = nullptr) const

◆ toUInt64() [3/3]

uint64_t WTF::String::toUInt64 ( bool *  ok = nullptr) const

◆ toUInt64Strict() [1/3]

WTF_EXPORT_STRING_API uint64_t WTF::String::toUInt64Strict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toUInt64Strict() [2/3]

uint64_t WTF::String::toUInt64Strict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toUInt64Strict() [3/3]

WTF_EXPORT_STRING_API uint64_t WTF::String::toUInt64Strict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toUIntStrict() [1/3]

WTF_EXPORT_STRING_API unsigned WTF::String::toUIntStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toUIntStrict() [2/3]

unsigned WTF::String::toUIntStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ toUIntStrict() [3/3]

WTF_EXPORT_STRING_API unsigned WTF::String::toUIntStrict ( bool *  ok = nullptr,
int  base = 10 
) const

◆ truncate() [1/3]

void WTF::String::truncate ( unsigned  len)

◆ truncate() [2/3]

WTF_EXPORT_STRING_API void WTF::String::truncate ( unsigned  len)

◆ truncate() [3/3]

WTF_EXPORT_STRING_API void WTF::String::truncate ( unsigned  len)

◆ utf8() [1/6]

WTF_EXPORT_STRING_API CString WTF::String::utf8 ( ConversionMode  ) const

◆ utf8() [2/6]

CString WTF::String::utf8 ( ConversionMode  mode) const

◆ utf8() [3/6]

WTF_EXPORT_STRING_API CString WTF::String::utf8 ( ConversionMode  ) const

◆ utf8() [4/6]

WTF_EXPORT_STRING_API CString WTF::String::utf8 ( ) const

◆ utf8() [5/6]

CString WTF::String::utf8 ( ) const

◆ utf8() [6/6]

WTF_EXPORT_STRING_API CString WTF::String::utf8 ( ) const

The documentation for this class was generated from the following files: