| Index: third_party/WebKit/Source/wtf/text/WTFString.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/WTFString.h b/third_party/WebKit/Source/wtf/text/WTFString.h
|
| index 27462b0bae4a295154ff9c1d26b3890647125679..839454d9a9617bcb2d07f052cd6f3bfe88534bf4 100644
|
| --- a/third_party/WebKit/Source/wtf/text/WTFString.h
|
| +++ b/third_party/WebKit/Source/wtf/text/WTFString.h
|
| @@ -42,39 +42,6 @@ namespace WTF {
|
| class CString;
|
| struct StringHash;
|
|
|
| -// Declarations of string operations
|
| -
|
| -WTF_EXPORT int charactersToIntStrict(const LChar*, size_t, bool* ok = 0, int base = 10);
|
| -WTF_EXPORT int charactersToIntStrict(const UChar*, size_t, bool* ok = 0, int base = 10);
|
| -WTF_EXPORT unsigned charactersToUIntStrict(const LChar*, size_t, bool* ok = 0, int base = 10);
|
| -WTF_EXPORT unsigned charactersToUIntStrict(const UChar*, size_t, bool* ok = 0, int base = 10);
|
| -WTF_EXPORT int64_t charactersToInt64Strict(const LChar*, size_t, bool* ok = 0, int base = 10);
|
| -WTF_EXPORT int64_t charactersToInt64Strict(const UChar*, size_t, bool* ok = 0, int base = 10);
|
| -WTF_EXPORT uint64_t charactersToUInt64Strict(const LChar*, size_t, bool* ok = 0, int base = 10);
|
| -WTF_EXPORT uint64_t charactersToUInt64Strict(const UChar*, size_t, bool* ok = 0, int base = 10);
|
| -
|
| -WTF_EXPORT int charactersToInt(const LChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -WTF_EXPORT int charactersToInt(const UChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -WTF_EXPORT unsigned charactersToUInt(const LChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -WTF_EXPORT unsigned charactersToUInt(const UChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -WTF_EXPORT int64_t charactersToInt64(const LChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -WTF_EXPORT int64_t charactersToInt64(const UChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -WTF_EXPORT uint64_t charactersToUInt64(const LChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -WTF_EXPORT uint64_t charactersToUInt64(const UChar*, size_t, bool* ok = 0); // ignores trailing garbage
|
| -
|
| -// FIXME: Like the strict functions above, these give false for "ok" when there
|
| -// is trailing garbage. Like the non-strict functions above, these return the
|
| -// value when there is trailing garbage. It would be better if these were more
|
| -// consistent with the above functions instead.
|
| -WTF_EXPORT double charactersToDouble(const LChar*, size_t, bool* ok = 0);
|
| -WTF_EXPORT double charactersToDouble(const UChar*, size_t, bool* ok = 0);
|
| -WTF_EXPORT double charactersToDouble(const LChar*, size_t, size_t& parsedLength);
|
| -WTF_EXPORT double charactersToDouble(const UChar*, size_t, size_t& parsedLength);
|
| -WTF_EXPORT float charactersToFloat(const LChar*, size_t, bool* ok = 0);
|
| -WTF_EXPORT float charactersToFloat(const UChar*, size_t, bool* ok = 0);
|
| -WTF_EXPORT float charactersToFloat(const LChar*, size_t, size_t& parsedLength);
|
| -WTF_EXPORT float charactersToFloat(const UChar*, size_t, size_t& parsedLength);
|
| -
|
| enum TrailingZerosTruncatingPolicy {
|
| KeepTrailingZeros,
|
| TruncateTrailingZeros
|
| @@ -685,16 +652,6 @@ using WTF::emptyString;
|
| using WTF::emptyString16Bit;
|
| using WTF::append;
|
| using WTF::charactersAreAllASCII;
|
| -using WTF::charactersToIntStrict;
|
| -using WTF::charactersToUIntStrict;
|
| -using WTF::charactersToInt64Strict;
|
| -using WTF::charactersToUInt64Strict;
|
| -using WTF::charactersToInt;
|
| -using WTF::charactersToUInt;
|
| -using WTF::charactersToInt64;
|
| -using WTF::charactersToUInt64;
|
| -using WTF::charactersToDouble;
|
| -using WTF::charactersToFloat;
|
| using WTF::equal;
|
| using WTF::equalIgnoringCase;
|
| using WTF::find;
|
|
|