|
| unsigned | length () const |
| |
| bool | is8Bit () const |
| |
| ALWAYS_INLINE const LChar * | characters8 () const |
| |
| ALWAYS_INLINE const UChar * | characters16 () const |
| |
| template<typename CharType > |
| ALWAYS_INLINE const CharType * | characters () const |
| |
| size_t | cost () const |
| |
| size_t | costDuringGC () |
| |
| WTF_EXPORT_STRING_API size_t | sizeInBytes () const |
| |
| StringKind | stringKind () const |
| |
| bool | isSymbol () const |
| |
| bool | isAtomic () const |
| |
| void | setIsAtomic (bool isAtomic) |
| |
| WTF_EXPORT_STRING_API CString | utf8ForRange (unsigned offset, unsigned length, ConversionMode=LenientConversion) const |
| |
| WTF_EXPORT_STRING_API CString | utf8 (ConversionMode=LenientConversion) const |
| |
| bool | hasHash () const |
| |
| unsigned | existingHash () const |
| |
| unsigned | hash () const |
| |
| WTF_EXPORT_PRIVATE unsigned | concurrentHash () const |
| |
| unsigned | symbolAwareHash () const |
| |
| unsigned | existingSymbolAwareHash () const |
| |
| bool | isStatic () const |
| |
| size_t | refCount () const |
| |
| bool | hasOneRef () const |
| |
| bool | hasAtLeastOneRef () const |
| |
| void | ref () |
| |
| void | deref () |
| |
| Ref< StringImpl > | isolatedCopy () const |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | substring (unsigned pos, unsigned len=UINT_MAX) |
| |
| UChar | at (unsigned i) const |
| |
| UChar | operator[] (unsigned i) const |
| |
| WTF_EXPORT_STRING_API UChar32 | characterStartingAt (unsigned) |
| |
| WTF_EXPORT_STRING_API bool | containsOnlyWhitespace () |
| |
| int | toIntStrict (bool *ok=0, int base=10) |
| |
| unsigned | toUIntStrict (bool *ok=0, int base=10) |
| |
| int64_t | toInt64Strict (bool *ok=0, int base=10) |
| |
| uint64_t | toUInt64Strict (bool *ok=0, int base=10) |
| |
| intptr_t | toIntPtrStrict (bool *ok=0, int base=10) |
| |
| WTF_EXPORT_STRING_API int | toInt (bool *ok=0) |
| |
| unsigned | toUInt (bool *ok=0) |
| |
| int64_t | toInt64 (bool *ok=0) |
| |
| uint64_t | toUInt64 (bool *ok=0) |
| |
| intptr_t | toIntPtr (bool *ok=0) |
| |
| double | toDouble (bool *ok=0) |
| |
| float | toFloat (bool *ok=0) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToASCIILowercase () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToASCIIUppercase () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithoutLocale () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit (unsigned) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToUppercaseWithoutLocale () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithLocale (const AtomicString &localeIdentifier) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToUppercaseWithLocale (const AtomicString &localeIdentifier) |
| |
| Ref< StringImpl > | foldCase () |
| |
| Ref< StringImpl > | stripWhiteSpace () |
| |
| Ref< StringImpl > | stripWhiteSpace (IsWhiteSpaceFunctionPtr) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | simplifyWhiteSpace () |
| |
| Ref< StringImpl > | simplifyWhiteSpace (IsWhiteSpaceFunctionPtr) |
| |
| Ref< StringImpl > | removeCharacters (CharacterMatchFunctionPtr) |
| |
| template<typename CharType > |
| ALWAYS_INLINE Ref< StringImpl > | removeCharacters (const CharType *characters, CharacterMatchFunctionPtr) |
| |
| size_t | find (LChar character, unsigned start=0) |
| |
| size_t | find (char character, unsigned start=0) |
| |
| size_t | find (UChar character, unsigned start=0) |
| |
| WTF_EXPORT_STRING_API size_t | find (CharacterMatchFunctionPtr, unsigned index=0) |
| |
| size_t | find (const LChar *, unsigned index=0) |
| |
| ALWAYS_INLINE size_t | find (const char *s, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | find (StringImpl *) |
| |
| WTF_EXPORT_STRING_API size_t | find (StringImpl *, unsigned index) |
| |
| size_t | findIgnoringCase (const LChar *, unsigned index=0) |
| |
| ALWAYS_INLINE size_t | findIgnoringCase (const char *s, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringCase (StringImpl *, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl &, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl *, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API size_t | reverseFind (UChar, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API size_t | reverseFind (StringImpl *, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API size_t | reverseFindIgnoringCase (StringImpl *, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API bool | startsWithIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | startsWithIgnoringASCIICase (const StringImpl &) const |
| |
| bool | startsWith (StringImpl *str, bool caseSensitive) |
| |
| WTF_EXPORT_STRING_API bool | startsWith (UChar) const |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const char *, unsigned matchLength, bool caseSensitive) const |
| |
| template<unsigned matchLength> |
| bool | startsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const |
| |
| WTF_EXPORT_STRING_API bool | hasInfixStartingAt (const StringImpl &, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl *) |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl &) |
| |
| WTF_EXPORT_STRING_API bool | endsWithIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | endsWithIgnoringASCIICase (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl *, bool caseSensitive) |
| |
| WTF_EXPORT_STRING_API bool | endsWith (UChar) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (const char *, unsigned matchLength, bool caseSensitive) const |
| |
| template<unsigned matchLength> |
| bool | endsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const |
| |
| WTF_EXPORT_STRING_API bool | hasInfixEndingAt (const StringImpl &, unsigned endOffset) const |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, UChar) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, StringImpl *) |
| |
| ALWAYS_INLINE Ref< StringImpl > | replace (UChar pattern, const char *replacement, unsigned replacementLength) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, const LChar *, unsigned replacementLength) |
| |
| Ref< StringImpl > | replace (UChar, const UChar *, unsigned replacementLength) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (StringImpl *, StringImpl *) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (unsigned index, unsigned len, StringImpl *) |
| |
| WTF_EXPORT_STRING_API UCharDirection | defaultWritingDirection (bool *hasStrongDirectionality=nullptr) |
| |
| void | assertHashIsCorrect () |
| |
| unsigned | length () const |
| |
| bool | is8Bit () const |
| |
| ALWAYS_INLINE const LChar * | characters8 () const |
| |
| ALWAYS_INLINE const UChar * | characters16 () const |
| |
| template<typename CharType > |
| ALWAYS_INLINE const CharType * | characters () const |
| |
| size_t | cost () const |
| |
| size_t | costDuringGC () |
| |
| WTF_EXPORT_STRING_API size_t | sizeInBytes () const |
| |
| StringKind | stringKind () const |
| |
| bool | isSymbol () const |
| |
| bool | isAtomic () const |
| |
| void | setIsAtomic (bool isAtomic) |
| |
| WTF_EXPORT_STRING_API CString | utf8ForRange (unsigned offset, unsigned length, ConversionMode=LenientConversion) const |
| |
| WTF_EXPORT_STRING_API CString | utf8 (ConversionMode=LenientConversion) const |
| |
| bool | hasHash () const |
| |
| unsigned | existingHash () const |
| |
| unsigned | hash () const |
| |
| WTF_EXPORT_PRIVATE unsigned | concurrentHash () const |
| |
| unsigned | symbolAwareHash () const |
| |
| unsigned | existingSymbolAwareHash () const |
| |
| bool | isStatic () const |
| |
| size_t | refCount () const |
| |
| bool | hasOneRef () const |
| |
| bool | hasAtLeastOneRef () const |
| |
| void | ref () |
| |
| void | deref () |
| |
| Ref< StringImpl > | isolatedCopy () const |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | substring (unsigned pos, unsigned len=UINT_MAX) |
| |
| UChar | at (unsigned i) const |
| |
| UChar | operator[] (unsigned i) const |
| |
| WTF_EXPORT_STRING_API UChar32 | characterStartingAt (unsigned) |
| |
| WTF_EXPORT_STRING_API bool | containsOnlyWhitespace () |
| |
| int | toIntStrict (bool *ok=0, int base=10) |
| |
| unsigned | toUIntStrict (bool *ok=0, int base=10) |
| |
| int64_t | toInt64Strict (bool *ok=0, int base=10) |
| |
| uint64_t | toUInt64Strict (bool *ok=0, int base=10) |
| |
| intptr_t | toIntPtrStrict (bool *ok=0, int base=10) |
| |
| WTF_EXPORT_STRING_API int | toInt (bool *ok=0) |
| |
| unsigned | toUInt (bool *ok=0) |
| |
| int64_t | toInt64 (bool *ok=0) |
| |
| uint64_t | toUInt64 (bool *ok=0) |
| |
| intptr_t | toIntPtr (bool *ok=0) |
| |
| double | toDouble (bool *ok=0) |
| |
| float | toFloat (bool *ok=0) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToASCIILowercase () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToASCIIUppercase () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithoutLocale () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit (unsigned) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToUppercaseWithoutLocale () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithLocale (const AtomicString &localeIdentifier) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToUppercaseWithLocale (const AtomicString &localeIdentifier) |
| |
| Ref< StringImpl > | foldCase () |
| |
| Ref< StringImpl > | stripWhiteSpace () |
| |
| Ref< StringImpl > | stripWhiteSpace (IsWhiteSpaceFunctionPtr) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | simplifyWhiteSpace () |
| |
| Ref< StringImpl > | simplifyWhiteSpace (IsWhiteSpaceFunctionPtr) |
| |
| Ref< StringImpl > | removeCharacters (CharacterMatchFunctionPtr) |
| |
| template<typename CharType > |
| ALWAYS_INLINE Ref< StringImpl > | removeCharacters (const CharType *characters, CharacterMatchFunctionPtr) |
| |
| size_t | find (LChar character, unsigned start=0) |
| |
| size_t | find (char character, unsigned start=0) |
| |
| size_t | find (UChar character, unsigned start=0) |
| |
| WTF_EXPORT_STRING_API size_t | find (CharacterMatchFunctionPtr, unsigned index=0) |
| |
| size_t | find (const LChar *, unsigned index=0) |
| |
| ALWAYS_INLINE size_t | find (const char *s, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | find (StringImpl *) |
| |
| WTF_EXPORT_STRING_API size_t | find (StringImpl *, unsigned index) |
| |
| size_t | findIgnoringCase (const LChar *, unsigned index=0) |
| |
| ALWAYS_INLINE size_t | findIgnoringCase (const char *s, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringCase (StringImpl *, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl &, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl *, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API size_t | reverseFind (UChar, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API size_t | reverseFind (StringImpl *, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API size_t | reverseFindIgnoringCase (StringImpl *, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API bool | startsWithIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | startsWithIgnoringASCIICase (const StringImpl &) const |
| |
| bool | startsWith (StringImpl *str, bool caseSensitive) |
| |
| WTF_EXPORT_STRING_API bool | startsWith (UChar) const |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const char *, unsigned matchLength, bool caseSensitive) const |
| |
| template<unsigned matchLength> |
| bool | startsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const |
| |
| WTF_EXPORT_STRING_API bool | hasInfixStartingAt (const StringImpl &, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl *) |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl &) |
| |
| WTF_EXPORT_STRING_API bool | endsWithIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | endsWithIgnoringASCIICase (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl *, bool caseSensitive) |
| |
| WTF_EXPORT_STRING_API bool | endsWith (UChar) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (const char *, unsigned matchLength, bool caseSensitive) const |
| |
| template<unsigned matchLength> |
| bool | endsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const |
| |
| WTF_EXPORT_STRING_API bool | hasInfixEndingAt (const StringImpl &, unsigned endOffset) const |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, UChar) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, StringImpl *) |
| |
| ALWAYS_INLINE Ref< StringImpl > | replace (UChar pattern, const char *replacement, unsigned replacementLength) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, const LChar *, unsigned replacementLength) |
| |
| Ref< StringImpl > | replace (UChar, const UChar *, unsigned replacementLength) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (StringImpl *, StringImpl *) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (unsigned index, unsigned len, StringImpl *) |
| |
| WTF_EXPORT_STRING_API UCharDirection | defaultWritingDirection (bool *hasStrongDirectionality=nullptr) |
| |
| void | assertHashIsCorrect () |
| |
| unsigned | length () const |
| |
| bool | is8Bit () const |
| |
| ALWAYS_INLINE const LChar * | characters8 () const |
| |
| ALWAYS_INLINE const UChar * | characters16 () const |
| |
| template<typename CharType > |
| ALWAYS_INLINE const CharType * | characters () const |
| |
| size_t | cost () const |
| |
| size_t | costDuringGC () |
| |
| WTF_EXPORT_STRING_API size_t | sizeInBytes () const |
| |
| StringKind | stringKind () const |
| |
| bool | isSymbol () const |
| |
| bool | isAtomic () const |
| |
| void | setIsAtomic (bool isAtomic) |
| |
| WTF_EXPORT_STRING_API CString | utf8ForRange (unsigned offset, unsigned length, ConversionMode=LenientConversion) const |
| |
| WTF_EXPORT_STRING_API CString | utf8 (ConversionMode=LenientConversion) const |
| |
| bool | hasHash () const |
| |
| unsigned | existingHash () const |
| |
| unsigned | hash () const |
| |
| WTF_EXPORT_PRIVATE unsigned | concurrentHash () const |
| |
| unsigned | symbolAwareHash () const |
| |
| unsigned | existingSymbolAwareHash () const |
| |
| bool | isStatic () const |
| |
| size_t | refCount () const |
| |
| bool | hasOneRef () const |
| |
| bool | hasAtLeastOneRef () const |
| |
| void | ref () |
| |
| void | deref () |
| |
| Ref< StringImpl > | isolatedCopy () const |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | substring (unsigned pos, unsigned len=UINT_MAX) |
| |
| UChar | at (unsigned i) const |
| |
| UChar | operator[] (unsigned i) const |
| |
| WTF_EXPORT_STRING_API UChar32 | characterStartingAt (unsigned) |
| |
| WTF_EXPORT_STRING_API bool | containsOnlyWhitespace () |
| |
| int | toIntStrict (bool *ok=0, int base=10) |
| |
| unsigned | toUIntStrict (bool *ok=0, int base=10) |
| |
| int64_t | toInt64Strict (bool *ok=0, int base=10) |
| |
| uint64_t | toUInt64Strict (bool *ok=0, int base=10) |
| |
| intptr_t | toIntPtrStrict (bool *ok=0, int base=10) |
| |
| WTF_EXPORT_STRING_API int | toInt (bool *ok=0) |
| |
| unsigned | toUInt (bool *ok=0) |
| |
| int64_t | toInt64 (bool *ok=0) |
| |
| uint64_t | toUInt64 (bool *ok=0) |
| |
| intptr_t | toIntPtr (bool *ok=0) |
| |
| double | toDouble (bool *ok=0) |
| |
| float | toFloat (bool *ok=0) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToASCIILowercase () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToASCIIUppercase () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithoutLocale () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithoutLocaleStartingAtFailingIndex8Bit (unsigned) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToUppercaseWithoutLocale () |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToLowercaseWithLocale (const AtomicString &localeIdentifier) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | convertToUppercaseWithLocale (const AtomicString &localeIdentifier) |
| |
| Ref< StringImpl > | foldCase () |
| |
| Ref< StringImpl > | stripWhiteSpace () |
| |
| Ref< StringImpl > | stripWhiteSpace (IsWhiteSpaceFunctionPtr) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | simplifyWhiteSpace () |
| |
| Ref< StringImpl > | simplifyWhiteSpace (IsWhiteSpaceFunctionPtr) |
| |
| Ref< StringImpl > | removeCharacters (CharacterMatchFunctionPtr) |
| |
| template<typename CharType > |
| ALWAYS_INLINE Ref< StringImpl > | removeCharacters (const CharType *characters, CharacterMatchFunctionPtr) |
| |
| size_t | find (LChar character, unsigned start=0) |
| |
| size_t | find (char character, unsigned start=0) |
| |
| size_t | find (UChar character, unsigned start=0) |
| |
| WTF_EXPORT_STRING_API size_t | find (CharacterMatchFunctionPtr, unsigned index=0) |
| |
| size_t | find (const LChar *, unsigned index=0) |
| |
| ALWAYS_INLINE size_t | find (const char *s, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | find (StringImpl *) |
| |
| WTF_EXPORT_STRING_API size_t | find (StringImpl *, unsigned index) |
| |
| size_t | findIgnoringCase (const LChar *, unsigned index=0) |
| |
| ALWAYS_INLINE size_t | findIgnoringCase (const char *s, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringCase (StringImpl *, unsigned index=0) |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl &, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API size_t | findIgnoringASCIICase (const StringImpl *, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API size_t | reverseFind (UChar, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API size_t | reverseFind (StringImpl *, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API size_t | reverseFindIgnoringCase (StringImpl *, unsigned index=UINT_MAX) |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API bool | startsWithIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | startsWithIgnoringASCIICase (const StringImpl &) const |
| |
| bool | startsWith (StringImpl *str, bool caseSensitive) |
| |
| WTF_EXPORT_STRING_API bool | startsWith (UChar) const |
| |
| WTF_EXPORT_STRING_API bool | startsWith (const char *, unsigned matchLength, bool caseSensitive) const |
| |
| template<unsigned matchLength> |
| bool | startsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const |
| |
| WTF_EXPORT_STRING_API bool | hasInfixStartingAt (const StringImpl &, unsigned startOffset) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl *) |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl &) |
| |
| WTF_EXPORT_STRING_API bool | endsWithIgnoringASCIICase (const StringImpl *) const |
| |
| WTF_EXPORT_STRING_API bool | endsWithIgnoringASCIICase (const StringImpl &) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (StringImpl *, bool caseSensitive) |
| |
| WTF_EXPORT_STRING_API bool | endsWith (UChar) const |
| |
| WTF_EXPORT_STRING_API bool | endsWith (const char *, unsigned matchLength, bool caseSensitive) const |
| |
| template<unsigned matchLength> |
| bool | endsWith (const char(&prefix)[matchLength], bool caseSensitive=true) const |
| |
| WTF_EXPORT_STRING_API bool | hasInfixEndingAt (const StringImpl &, unsigned endOffset) const |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, UChar) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, StringImpl *) |
| |
| ALWAYS_INLINE Ref< StringImpl > | replace (UChar pattern, const char *replacement, unsigned replacementLength) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (UChar, const LChar *, unsigned replacementLength) |
| |
| Ref< StringImpl > | replace (UChar, const UChar *, unsigned replacementLength) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (StringImpl *, StringImpl *) |
| |
| WTF_EXPORT_STRING_API Ref< StringImpl > | replace (unsigned index, unsigned len, StringImpl *) |
| |
| WTF_EXPORT_STRING_API UCharDirection | defaultWritingDirection (bool *hasStrongDirectionality=nullptr) |
| |
| void | assertHashIsCorrect () |
| |
| template<> |
| ALWAYS_INLINE const LChar * | characters () const |
| |
| template<> |
| ALWAYS_INLINE const UChar * | characters () const |
| |
| template<StringImpl::CaseConvertType type, typename CharacterType > |
| ALWAYS_INLINE Ref< StringImpl > | convertASCIICase (StringImpl &impl, const CharacterType *data, unsigned length) |
| |
| template<> |
| ALWAYS_INLINE const LChar * | characters () const |
| |
| template<> |
| ALWAYS_INLINE const UChar * | characters () const |
| |
| template<> |
| ALWAYS_INLINE const LChar * | characters () const |
| |
| template<> |
| ALWAYS_INLINE const UChar * | characters () const |
| |
|
| static WTF_EXPORT_STRING_API void | destroy (StringImpl *) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const UChar *, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const LChar *, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create8BitIfPossible (const UChar *, unsigned length) |
| |
| template<size_t inlineCapacity> |
| static Ref< StringImpl > | create8BitIfPossible (const Vector< UChar, inlineCapacity > &vector) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create8BitIfPossible (const UChar *) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | create (const char *s, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const LChar *) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | create (const char *s) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | createSubstringSharingImpl (StringImpl &rep, unsigned offset, unsigned length) |
| |
| template<unsigned charactersCount> |
| static ALWAYS_INLINE Ref< StringImpl > | createFromLiteral (const char(&characters)[charactersCount]) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createFromLiteral (const char *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createFromLiteral (const char *characters) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createWithoutCopying (const UChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createWithoutCopying (const LChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createUninitialized (unsigned length, LChar *&data) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createUninitialized (unsigned length, UChar *&data) |
| |
| template<typename T > |
| static ALWAYS_INLINE RefPtr< StringImpl > | tryCreateUninitialized (unsigned length, T *&output) |
| |
| static Ref< StringImpl > | reallocate (Ref< StringImpl > &&originalString, unsigned length, LChar *&data) |
| |
| static Ref< StringImpl > | reallocate (Ref< StringImpl > &&originalString, unsigned length, UChar *&data) |
| |
| static unsigned | flagsOffset () |
| |
| static unsigned | flagIs8Bit () |
| |
| static unsigned | flagIsAtomic () |
| |
| static unsigned | flagIsSymbol () |
| |
| static unsigned | maskStringKind () |
| |
| static unsigned | dataOffset () |
| |
| template<typename CharType , size_t inlineCapacity, typename OverflowHandler > |
| static Ref< StringImpl > | adopt (Vector< CharType, inlineCapacity, OverflowHandler > &&vector) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | adopt (StringBuffer< UChar > &&) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | adopt (StringBuffer< LChar > &&) |
| |
| static ptrdiff_t | lengthMemoryOffset () |
| |
| static WTF_EXPORT_STRING_API CString | utf8ForCharacters (const LChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API CString | utf8ForCharacters (const UChar *characters, unsigned length, ConversionMode=LenientConversion) |
| |
| static ALWAYS_INLINE StringImpl * | empty () |
| |
| template<typename T > |
| static void | copyChars (T *destination, const T *source, unsigned numCharacters) |
| |
| static ALWAYS_INLINE void | copyChars (UChar *destination, const LChar *source, unsigned numCharacters) |
| |
| static WTF_EXPORT_STRING_API void | destroy (StringImpl *) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const UChar *, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const LChar *, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create8BitIfPossible (const UChar *, unsigned length) |
| |
| template<size_t inlineCapacity> |
| static Ref< StringImpl > | create8BitIfPossible (const Vector< UChar, inlineCapacity > &vector) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create8BitIfPossible (const UChar *) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | create (const char *s, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const LChar *) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | create (const char *s) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | createSubstringSharingImpl (StringImpl &rep, unsigned offset, unsigned length) |
| |
| template<unsigned charactersCount> |
| static ALWAYS_INLINE Ref< StringImpl > | createFromLiteral (const char(&characters)[charactersCount]) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createFromLiteral (const char *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createFromLiteral (const char *characters) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createWithoutCopying (const UChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createWithoutCopying (const LChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createUninitialized (unsigned length, LChar *&data) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createUninitialized (unsigned length, UChar *&data) |
| |
| template<typename T > |
| static ALWAYS_INLINE RefPtr< StringImpl > | tryCreateUninitialized (unsigned length, T *&output) |
| |
| static Ref< StringImpl > | reallocate (Ref< StringImpl > &&originalString, unsigned length, LChar *&data) |
| |
| static Ref< StringImpl > | reallocate (Ref< StringImpl > &&originalString, unsigned length, UChar *&data) |
| |
| static unsigned | flagsOffset () |
| |
| static unsigned | flagIs8Bit () |
| |
| static unsigned | flagIsAtomic () |
| |
| static unsigned | flagIsSymbol () |
| |
| static unsigned | maskStringKind () |
| |
| static unsigned | dataOffset () |
| |
| template<typename CharType , size_t inlineCapacity, typename OverflowHandler > |
| static Ref< StringImpl > | adopt (Vector< CharType, inlineCapacity, OverflowHandler > &&vector) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | adopt (StringBuffer< UChar > &&) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | adopt (StringBuffer< LChar > &&) |
| |
| static ptrdiff_t | lengthMemoryOffset () |
| |
| static WTF_EXPORT_STRING_API CString | utf8ForCharacters (const LChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API CString | utf8ForCharacters (const UChar *characters, unsigned length, ConversionMode=LenientConversion) |
| |
| static ALWAYS_INLINE StringImpl * | empty () |
| |
| template<typename T > |
| static void | copyChars (T *destination, const T *source, unsigned numCharacters) |
| |
| static ALWAYS_INLINE void | copyChars (UChar *destination, const LChar *source, unsigned numCharacters) |
| |
| static WTF_EXPORT_STRING_API void | destroy (StringImpl *) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const UChar *, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const LChar *, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create8BitIfPossible (const UChar *, unsigned length) |
| |
| template<size_t inlineCapacity> |
| static Ref< StringImpl > | create8BitIfPossible (const Vector< UChar, inlineCapacity > &vector) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create8BitIfPossible (const UChar *) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | create (const char *s, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | create (const LChar *) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | create (const char *s) |
| |
| static ALWAYS_INLINE Ref< StringImpl > | createSubstringSharingImpl (StringImpl &rep, unsigned offset, unsigned length) |
| |
| template<unsigned charactersCount> |
| static ALWAYS_INLINE Ref< StringImpl > | createFromLiteral (const char(&characters)[charactersCount]) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createFromLiteral (const char *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createFromLiteral (const char *characters) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createWithoutCopying (const UChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createWithoutCopying (const LChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createUninitialized (unsigned length, LChar *&data) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | createUninitialized (unsigned length, UChar *&data) |
| |
| template<typename T > |
| static ALWAYS_INLINE RefPtr< StringImpl > | tryCreateUninitialized (unsigned length, T *&output) |
| |
| static Ref< StringImpl > | reallocate (Ref< StringImpl > &&originalString, unsigned length, LChar *&data) |
| |
| static Ref< StringImpl > | reallocate (Ref< StringImpl > &&originalString, unsigned length, UChar *&data) |
| |
| static unsigned | flagsOffset () |
| |
| static unsigned | flagIs8Bit () |
| |
| static unsigned | flagIsAtomic () |
| |
| static unsigned | flagIsSymbol () |
| |
| static unsigned | maskStringKind () |
| |
| static unsigned | dataOffset () |
| |
| template<typename CharType , size_t inlineCapacity, typename OverflowHandler > |
| static Ref< StringImpl > | adopt (Vector< CharType, inlineCapacity, OverflowHandler > &&vector) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | adopt (StringBuffer< UChar > &&) |
| |
| static WTF_EXPORT_STRING_API Ref< StringImpl > | adopt (StringBuffer< LChar > &&) |
| |
| static ptrdiff_t | lengthMemoryOffset () |
| |
| static WTF_EXPORT_STRING_API CString | utf8ForCharacters (const LChar *characters, unsigned length) |
| |
| static WTF_EXPORT_STRING_API CString | utf8ForCharacters (const UChar *characters, unsigned length, ConversionMode=LenientConversion) |
| |
| static ALWAYS_INLINE StringImpl * | empty () |
| |
| template<typename T > |
| static void | copyChars (T *destination, const T *source, unsigned numCharacters) |
| |
| static ALWAYS_INLINE void | copyChars (UChar *destination, const LChar *source, unsigned numCharacters) |
| |