| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WTF_StringToNumber_h | 5 #ifndef WTF_StringToNumber_h |
| 6 #define WTF_StringToNumber_h | 6 #define WTF_StringToNumber_h |
| 7 | 7 |
| 8 #include "wtf/WTFExport.h" | 8 #include "platform/wtf/WTFExport.h" |
| 9 #include "wtf/text/Unicode.h" | 9 #include "platform/wtf/text/Unicode.h" |
| 10 | 10 |
| 11 namespace WTF { | 11 namespace WTF { |
| 12 | 12 |
| 13 // string -> int. | 13 // string -> int. |
| 14 WTF_EXPORT int charactersToIntStrict(const LChar*, | 14 WTF_EXPORT int charactersToIntStrict(const LChar*, |
| 15 size_t, | 15 size_t, |
| 16 bool* ok = 0, | 16 bool* ok = 0, |
| 17 int base = 10); | 17 int base = 10); |
| 18 WTF_EXPORT int charactersToIntStrict(const UChar*, | 18 WTF_EXPORT int charactersToIntStrict(const UChar*, |
| 19 size_t, | 19 size_t, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 using WTF::charactersToInt64Strict; | 104 using WTF::charactersToInt64Strict; |
| 105 using WTF::charactersToUInt64Strict; | 105 using WTF::charactersToUInt64Strict; |
| 106 using WTF::charactersToInt; | 106 using WTF::charactersToInt; |
| 107 using WTF::charactersToUInt; | 107 using WTF::charactersToUInt; |
| 108 using WTF::charactersToInt64; | 108 using WTF::charactersToInt64; |
| 109 using WTF::charactersToUInt64; | 109 using WTF::charactersToUInt64; |
| 110 using WTF::charactersToDouble; | 110 using WTF::charactersToDouble; |
| 111 using WTF::charactersToFloat; | 111 using WTF::charactersToFloat; |
| 112 | 112 |
| 113 #endif | 113 #endif |
| OLD | NEW |