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[] = { |
| 56 0x09, // CHARACTER TABULATION |
| 57 0x0A, // LINE FEED (LF) |
| 58 0x0B, // LINE TABULATION |
| 59 0x0C, // FORM FEED (FF) |
| 60 0x0D, // CARRIAGE RETURN (CR) |
| 61 0x20, // SPACE |
| 62 0 |
| 63 }; |
| 64 |
55 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF"; | 65 const char kUtf8ByteOrderMark[] = "\xEF\xBB\xBF"; |
56 | 66 |
57 } // namespace base | 67 } // namespace base |
OLD | NEW |