OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/string_number_conversions.h" | 5 #include "base/strings/string_number_conversions.h" |
6 | 6 |
7 #include <ctype.h> | 7 #include <ctype.h> |
8 #include <errno.h> | 8 #include <errno.h> |
9 #include <stdlib.h> | 9 #include <stdlib.h> |
10 #include <wctype.h> | 10 #include <wctype.h> |
11 | 11 |
12 #include <limits> | 12 #include <limits> |
13 | 13 |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/third_party/dmg_fp/dmg_fp.h" | 15 #include "base/third_party/dmg_fp/dmg_fp.h" |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 bool HexStringToInt64(const StringPiece& input, int64* output) { | 489 bool HexStringToInt64(const StringPiece& input, int64* output) { |
490 return IteratorRangeToNumber<HexIteratorRangeToInt64Traits>::Invoke( | 490 return IteratorRangeToNumber<HexIteratorRangeToInt64Traits>::Invoke( |
491 input.begin(), input.end(), output); | 491 input.begin(), input.end(), output); |
492 } | 492 } |
493 | 493 |
494 bool HexStringToBytes(const std::string& input, std::vector<uint8>* output) { | 494 bool HexStringToBytes(const std::string& input, std::vector<uint8>* output) { |
495 return HexStringToBytesT(input, output); | 495 return HexStringToBytesT(input, output); |
496 } | 496 } |
497 | 497 |
498 } // namespace base | 498 } // namespace base |
OLD | NEW |