Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/string_number_conversions.h" |
| 6 | 6 |
| 7 #include <errno.h> | 7 #include <errno.h> |
| 8 #include <stdlib.h> | 8 #include <stdlib.h> |
| 9 #include <wctype.h> | |
|
tzik
2011/06/15 09:38:19
for iswspace()
| |
| 9 | 10 |
| 10 #include <limits> | 11 #include <limits> |
| 11 | 12 |
| 12 #include "base/logging.h" | 13 #include "base/logging.h" |
| 13 #include "base/third_party/dmg_fp/dmg_fp.h" | 14 #include "base/third_party/dmg_fp/dmg_fp.h" |
| 14 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 15 | 16 |
| 16 namespace base { | 17 namespace base { |
| 17 | 18 |
| 18 namespace { | 19 namespace { |
| (...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 524 return IteratorRangeToNumber<HexCharBufferToIntTraits>::Invoke(begin, | 525 return IteratorRangeToNumber<HexCharBufferToIntTraits>::Invoke(begin, |
| 525 end, | 526 end, |
| 526 output); | 527 output); |
| 527 } | 528 } |
| 528 | 529 |
| 529 bool HexStringToBytes(const std::string& input, std::vector<uint8>* output) { | 530 bool HexStringToBytes(const std::string& input, std::vector<uint8>* output) { |
| 530 return HexStringToBytesT(input, output); | 531 return HexStringToBytesT(input, output); |
| 531 } | 532 } |
| 532 | 533 |
| 533 } // namespace base | 534 } // namespace base |
| 534 | |
| OLD | NEW |