OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/strings/string_util.h" | 5 #include "base/strings/string_util.h" |
6 | 6 |
7 namespace base { | 7 namespace base { |
8 | 8 |
9 #define WHITESPACE_UNICODE \ | 9 #define WHITESPACE_UNICODE \ |
10 0x0009, /* CHARACTER TABULATION */ \ | 10 0x0009, /* CHARACTER TABULATION */ \ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 const char kWhitespaceASCII[] = { | 45 const char kWhitespaceASCII[] = { |
46 0x09, // CHARACTER TABULATION | 46 0x09, // CHARACTER TABULATION |
47 0x0A, // LINE FEED (LF) | 47 0x0A, // LINE FEED (LF) |
48 0x0B, // LINE TABULATION | 48 0x0B, // LINE TABULATION |
49 0x0C, // FORM FEED (FF) | 49 0x0C, // FORM FEED (FF) |
50 0x0D, // CARRIAGE RETURN (CR) | 50 0x0D, // CARRIAGE RETURN (CR) |
51 0x20, // SPACE | 51 0x20, // SPACE |
52 0 | 52 0 |
53 }; | 53 }; |
54 | 54 |
| 55 const char16 kWhitespaceASCIIAs16[] = {0x09, // CHARACTER TABULATION |
| 56 0x0A, // LINE FEED (LF) |
| 57 0x0B, // LINE TABULATION |
| 58 0x0C, // FORM FEED (FF) |
| 59 0x0D, // CARRIAGE RETURN (CR) |
| 60 0x20, // SPACE |
| 61 0}; |
| 62 |
55 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF"; | 63 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF"; |
56 | 64 |
57 } // namespace base | 65 } // namespace base |
OLD | NEW |