|
| 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) |
|
String & | operator= (const String &other) |
|
String & | operator= (String &&other) |
|
ALWAYS_INLINE | ~String () |
|
void | swap (String &o) |
|
bool | isNull () const |
|
bool | isEmpty () const |
|
StringImpl * | impl () const |
|
RefPtr< StringImpl > | releaseImpl () |
|
unsigned | length () const |
|
const LChar * | characters8 () const |
|
const UChar * | characters16 () const |
|
template<typename CharacterType > |
const CharacterType * | characters () 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< UChar > | charactersWithNullTermination () 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) |
|
String & | replace (UChar a, UChar b) |
|
String & | replace (UChar a, const String &b) |
|
String & | replace (const String &a, const String &b) |
|
String & | replace (unsigned index, unsigned len, const String &b) |
|
template<unsigned charactersCount> |
ALWAYS_INLINE String & | replaceWithLiteral (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) |
|
String & | operator= (const String &other) |
|
String & | operator= (String &&other) |
|
ALWAYS_INLINE | ~String () |
|
void | swap (String &o) |
|
bool | isNull () const |
|
bool | isEmpty () const |
|
StringImpl * | impl () const |
|
RefPtr< StringImpl > | releaseImpl () |
|
unsigned | length () const |
|
const LChar * | characters8 () const |
|
const UChar * | characters16 () const |
|
template<typename CharacterType > |
const CharacterType * | characters () 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< UChar > | charactersWithNullTermination () 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) |
|
String & | replace (UChar a, UChar b) |
|
String & | replace (UChar a, const String &b) |
|
String & | replace (const String &a, const String &b) |
|
String & | replace (unsigned index, unsigned len, const String &b) |
|
template<unsigned charactersCount> |
ALWAYS_INLINE String & | replaceWithLiteral (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) |
|
String & | operator= (const String &other) |
|
String & | operator= (String &&other) |
|
ALWAYS_INLINE | ~String () |
|
void | swap (String &o) |
|
bool | isNull () const |
|
bool | isEmpty () const |
|
StringImpl * | impl () const |
|
RefPtr< StringImpl > | releaseImpl () |
|
unsigned | length () const |
|
const LChar * | characters8 () const |
|
const UChar * | characters16 () const |
|
template<typename CharacterType > |
const CharacterType * | characters () 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< UChar > | charactersWithNullTermination () 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) |
|
String & | replace (UChar a, UChar b) |
|
String & | replace (UChar a, const String &b) |
|
String & | replace (const String &a, const String &b) |
|
String & | replace (unsigned index, unsigned len, const String &b) |
|
template<unsigned charactersCount> |
ALWAYS_INLINE String & | replaceWithLiteral (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 LChar * | characters () const |
|
template<> |
const UChar * | characters () const |
|
template<> |
const LChar * | characters () const |
|
template<> |
const UChar * | characters () const |
|
template<> |
const LChar * | characters () const |
|
template<> |
const UChar * | characters () const |
|
|
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) |
|