File: character_names.h

package info (click to toggle)
chromium 139.0.7258.138-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,120,676 kB
  • sloc: cpp: 35,100,869; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (244 lines) | stat: -rw-r--r-- 9,686 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
/*
 * Copyright (C) 2007, 2009, 2010 Apple Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_WTF_TEXT_CHARACTER_NAMES_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_WTF_TEXT_CHARACTER_NAMES_H_

#include "third_party/blink/renderer/platform/wtf/text/wtf_uchar.h"

namespace blink::uchar {

// Names here are taken from the Unicode standard.
//
// Most of these are UChar constants, not UChar32, which makes them
// more convenient for Blink code that mostly uses UTF-16.
//
// Please keep these in code point order.

// U+00**
const UChar kCharacterTabulation = 0x0009;
// An alias for a popular name.
inline constexpr UChar kTab = kCharacterTabulation;
const UChar kLineFeed = 0x000A;
const UChar kLineTabulation = 0x000B;
const UChar kFormFeed = 0x000C;
const UChar kCarriageReturn = 0x000D;
const UChar kSpace = 0x0020;
const UChar kComma = 0x002C;
const UChar kHyphenMinus = 0x002D;
const UChar kFullStop = 0x002E;
const UChar kSolidus = 0x002F;
const UChar kDigitZero = 0x0030;
const UChar kColon = 0x003A;
const UChar kSemiColon = 0x003B;
const UChar kReverseSolidus = 0x005C;
const UChar kLowLine = 0x005F;
const UChar kVerticalLine = 0x7C;
const UChar kDelete = 0x007F;
const UChar kNoBreakSpace = 0x00A0;
const UChar kYenSign = 0x00A5;
const UChar kSoftHyphen = 0x00AD;
const UChar kMiddleDot = 0x00B7;
const UChar kLatinSmallLetterSharpS = 0x00DF;

// U+0***
const UChar kLatinCapitalLetterIWithDotAbove = 0x0130;
const UChar kLatinSmallLetterDotlessI = 0x0131;
const UChar kLatinSmallLetterDotlessJ = 0x0237;
const UChar kCombiningAcuteAccent = 0x0301;
const UChar kCombiningMinusSignBelow = 0x0320;
const UChar kCombiningLongSolidusOverlay = 0x0338;
const UChar kGreekUpperAlpha = 0x0391;
const UChar kHoleGreekUpperTheta = 0x03A2;
const UChar kGreekUpperOmega = 0x03A9;
const UChar kGreekLowerAlpha = 0x03B1;
const UChar kGreekLowerOmega = 0x03C9;
const UChar kGreekThetaSymbol = 0x03D1;
const UChar kGreekPhiSymbol = 0x03D5;
const UChar kGreekPiSymbol = 0x03D6;
const UChar kGreekLetterDigamma = 0x03DC;
const UChar kGreekSmallLetterDigamma = 0x03DD;
const UChar kGreekKappaSymbol = 0x03F0;
const UChar kGreekRhoSymbol = 0x03F1;
const UChar kGreekUpperTheta = 0x03F4;
const UChar kGreekLunateEpsilonSymbol = 0x03F5;
const UChar kGreekCapitalReversedDottedLunateSigmaSymbol = 0x03FF;
const UChar kHebrewPunctuationGeresh = 0x05F3;
const UChar kHebrewPunctuationGershayim = 0x05F4;
const UChar kArabicLetterMark = 0x061C;
const UChar kTibetanMarkIntersyllabicTsheg = 0x0F0B;
const UChar kTibetanMarkDelimiterTshegBstar = 0x0F0C;

// U+1***
const UChar kEthiopicWordspace = 0x1361;
const UChar kEthiopicPrefaceColon = 0x1366;
const UChar kEthiopicNumberHundred = 0x137B;
const UChar kEthiopicNumberTenThousand = 0x137C;
const UChar kMongolianFreeVariationSelectorTwo = 0x180C;
const UChar kMongolianLetterA = 0x1820;

// U+2***
const UChar kEnQuad = 0x2000;
const UChar kZeroWidthSpace = 0x200B;
const UChar kZeroWidthNonJoiner = 0x200C;
const UChar kZeroWidthJoiner = 0x200D;
const UChar kLeftToRightMark = 0x200E;
const UChar kRightToLeftMark = 0x200F;
const UChar kHyphen = 0x2010;
const UChar kNonBreakingHyphen = 0x2011;
const UChar kLeftSingleQuotationMark = 0x2018;
const UChar kRightSingleQuotationMark = 0x2019;
const UChar kLeftDoubleQuotationMark = 0x201C;
const UChar kRightDoubleQuotationMark = 0x201D;
const UChar kBullet = 0x2022;
const UChar kHorizontalEllipsis = 0x2026;
const UChar kHyphenationPoint = 0x2027;
const UChar kLineSeparator = 0x2028;
const UChar kParagraphSeparator = 0x2029;
const UChar kLeftToRightEmbedding = 0x202A;
const UChar kRightToLeftEmbedding = 0x202B;
const UChar kPopDirectionalFormatting = 0x202C;
const UChar kLeftToRightOverride = 0x202D;
const UChar kRightToLeftOverride = 0x202E;
const UChar kOverline = 0x203E;
const UChar kLeftToRightIsolate = 0x2066;
const UChar kRightToLeftIsolate = 0x2067;
const UChar kFirstStrongIsolate = 0x2068;
const UChar kPopDirectionalIsolate = 0x2069;
const UChar kInhibitSymmetricSwapping = 0x206A;
const UChar kActivateSymmetricSwapping = 0x206B;
const UChar kInhibitArabicFormShaping = 0x206C;
const UChar kActivateArabicFormShaping = 0x206D;
const UChar kNationalDigitShapes = 0x206E;
const UChar kNominalDigitShapes = 0x206F;
const UChar kCombiningLongVerticalLineOverlay = 0x20D2;
const UChar kCombiningEnclosingCircleBackslash = 0x20E0;
const UChar kCombiningEnclosingKeycap = 0x20E3;
const UChar kDoubleStruckItalicCapitalD = 0x2145;
const UChar kDoubleStruckItalicSmallD = 0x2146;
const UChar32 kPartialDifferential = 0x2202;
const UChar32 kNabla = 0x2207;
const UChar kMinusSign = 0x2212;
const UChar32 kSquareRoot = 0x221A;
const UChar kFourthRoot = 0x221C;
const UChar kTildeOperator = 0x223C;
const UChar kBlackSquare = 0x25A0;
const UChar kBlackUpPointingTriangle = 0x25B2;
const UChar kWhiteUpPointingTriangle = 0x25B3;
const UChar kBlackRightPointingSmallTriangle = 0x25B8;
const UChar kBlackDownPointingSmallTriangle = 0x25BE;
const UChar kFisheye = 0x25C9;
const UChar kWhiteCircle = 0x25CB;
const UChar kBullseye = 0x25CE;
const UChar kBlackCircle = 0x25CF;
const UChar kWhiteBullet = 0x25E6;
const UChar kFemaleSign = 0x2640;
const UChar kMaleSign = 0x2642;
const UChar kStaffOfAesculapius = 0x2695;
const UChar kHeavyBlackHeart = 0x2764;
const UChar kHellschreiberPauseSymbol = 0x2BFF;

// U+3***
const UChar kIdeographicSpace = 0x3000;
const UChar kIdeographicComma = 0x3001;
const UChar kIdeographicFullStop = 0x3002;
const UChar kLeftCornerBracket = 0x300C;
const UChar kHiraganaLetterSmallA = 0x3041;
const UChar kHiraganaLetterA = 0x3042;
const UChar kKatakanaMiddleDot = 0x30FB;
const UChar kKatakanaHiraganaProlongedSoundMark = 0x30FC;

// U+6***
const UChar kCjkWater = 0x6C34;

// U+E***
const UChar kPrivateUseFirst = 0xE000;

// U+F***
const UChar kPrivateUseLast = 0xF8FF;
const UChar kVariationSelector2 = 0xFE01;
const UChar kVariationSelector15 = 0xFE0E;
const UChar kVariationSelector16 = 0xFE0F;
const UChar kSesameDot = 0xFE45;
const UChar kWhiteSesameDot = 0xFE46;
const UChar kZeroWidthNoBreakSpace = 0xFEFF;
const UChar kFullwidthExclamationMark = 0xFF01;
const UChar kFullwidthComma = 0xFF0C;
const UChar kFullwidthHyphenMinus = 0xFF0D;
const UChar kFullwidthFullStop = 0xFF0E;
const UChar kFullwidthDigitZero = 0xFF10;
const UChar kFullwidthDigitNine = 0xFF19;
const UChar kFullwidthColon = 0xFF1A;
const UChar kFullwidthSemicolon = 0xFF1B;
const UChar kObjectReplacementCharacter = 0xFFFC;
const UChar kReplacementCharacter = 0xFFFD;
const UChar32 kNonCharacter = 0xFFFF;

// Non-BMP characters.
const UChar32 kAegeanWordSeparatorLine = 0x10100;
const UChar32 kAegeanWordSeparatorDot = 0x10101;
const UChar32 kUgariticWordDivider = 0x1039F;
const UChar32 kMathBoldUpperA = 0x1D400;
const UChar32 kMathBoldSmallA = 0x1D41A;
const UChar32 kMathItalicUpperA = 0x1D434;
const UChar32 kMathItalicSmallDotlessI = 0x1D6A4;
const UChar32 kMathItalicSmallDotlessJ = 0x1D6A5;
const UChar32 kMathBoldUpperAlpha = 0x1D6A8;
const UChar32 kMathBoldUpperTheta = 0x1D6B9;
const UChar32 kMathBoldNabla = 0x1D6C1;
const UChar32 kMathBoldSmallAlpha = 0x1D6C2;
const UChar32 kMathBoldPartialDifferential = 0x1D6DB;
const UChar32 kMathBoldEpsilonSymbol = 0x1D6DC;
const UChar32 kMathBoldThetaSymbol = 0x1D6DD;
const UChar32 kMathBoldKappaSymbol = 0x1D6DE;
const UChar32 kMathBoldPhiSymbol = 0x1D6DF;
const UChar32 kMathBoldRhoSymbol = 0x1D6E0;
const UChar32 kMathBoldPiSymbol = 0x1D6E1;
const UChar32 kMathItalicUpperAlpha = 0x1D6E2;
const UChar32 kMathBoldSmallDigamma = 0x1D7CB;
const UChar32 kArabicMathematicalOperatorMeemWithHahWithTatweel = 0x1EEF0;
const UChar32 kArabicMathematicalOperatorHahWithDal = 0x1EEF1;
const UChar32 kRainbow = 0x1F308;
const UChar32 kWavingWhiteFlag = 0x1F3F3;
const UChar32 kEye = 0x1F441;
const UChar32 kBoy = 0x1F466;
const UChar32 kGirl = 0x1F467;
const UChar32 kMan = 0x1F468;
const UChar32 kWoman = 0x1F469;
const UChar32 kFamily = 0x1F46A;
const UChar32 kKissMark = 0x1F48B;
const UChar32 kLeftSpeechBubble = 0x1F5E8;
const UChar32 kShakingFaceEmoji = 0x1FAE8;
const UChar32 kTagDigitZero = 0xE0030;
const UChar32 kTagDigitNine = 0xE0039;
const UChar32 kTagLatinSmallLetterA = 0xE0061;
const UChar32 kTagLatinSmallLetterZ = 0xE007A;
const UChar32 kCancelTag = 0xE007F;

const UChar32 kMaxCodepoint = 0x10ffff;

}  // namespace blink::uchar

#endif  // THIRD_PARTY_BLINK_RENDERER_PLATFORM_WTF_TEXT_CHARACTER_NAMES_H_