Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(392)

Side by Side Diff: source/common/uprops.h

Issue 1864463002: Add Emoji properties (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/common/unicode/uchar.h ('k') | source/common/uprops.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ******************************************************************************* 2 *******************************************************************************
3 * 3 *
4 * Copyright (C) 2002-2012, International Business Machines 4 * Copyright (C) 2002-2016, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ******************************************************************************* 7 *******************************************************************************
8 * file name: uprops.h 8 * file name: uprops.h
9 * encoding: US-ASCII 9 * encoding: US-ASCII
10 * tab size: 8 (not used) 10 * tab size: 8 (not used)
11 * indentation:4 11 * indentation:4
12 * 12 *
13 * created on: 2002feb24 13 * created on: 2002feb24
14 * created by: Markus W. Scherer 14 * created by: Markus W. Scherer
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 UPROPS_VARIATION_SELECTOR, 180 UPROPS_VARIATION_SELECTOR,
181 UPROPS_PATTERN_SYNTAX, /* new in ICU 3.4 and Unicode 4. 1 */ 181 UPROPS_PATTERN_SYNTAX, /* new in ICU 3.4 and Unicode 4. 1 */
182 UPROPS_PATTERN_WHITE_SPACE, 182 UPROPS_PATTERN_WHITE_SPACE,
183 UPROPS_RESERVED, /* reserved & unused */ 183 UPROPS_RESERVED, /* reserved & unused */
184 UPROPS_BINARY_1_TOP /* ==32 - full! */ 184 UPROPS_BINARY_1_TOP /* ==32 - full! */
185 }; 185 };
186 186
187 /* 187 /*
188 * Properties in vector word 2 188 * Properties in vector word 2
189 * Bits 189 * Bits
190 * 31..26 reserved 190 * 31..28 http://www.unicode.org/reports/tr51/#Emoji_Properties
191 * 27..26 reserved
191 * 25..20 Line Break 192 * 25..20 Line Break
192 * 19..15 Sentence Break 193 * 19..15 Sentence Break
193 * 14..10 Word Break 194 * 14..10 Word Break
194 * 9.. 5 Grapheme Cluster Break 195 * 9.. 5 Grapheme Cluster Break
195 * 4.. 0 Decomposition Type 196 * 4.. 0 Decomposition Type
196 */ 197 */
198 enum {
199 UPROPS_2_EMOJI=28,
200 UPROPS_2_EMOJI_PRESENTATION,
201 UPROPS_2_EMOJI_MODIFIER,
202 UPROPS_2_EMOJI_MODIFIER_BASE,
203 };
204
197 #define UPROPS_LB_MASK 0x03f00000 205 #define UPROPS_LB_MASK 0x03f00000
198 #define UPROPS_LB_SHIFT 20 206 #define UPROPS_LB_SHIFT 20
199 207
200 #define UPROPS_SB_MASK 0x000f8000 208 #define UPROPS_SB_MASK 0x000f8000
201 #define UPROPS_SB_SHIFT 15 209 #define UPROPS_SB_SHIFT 15
202 210
203 #define UPROPS_WB_MASK 0x00007c00 211 #define UPROPS_WB_MASK 0x00007c00
204 #define UPROPS_WB_SHIFT 10 212 #define UPROPS_WB_SHIFT 10
205 213
206 #define UPROPS_GCB_MASK 0x000003e0 214 #define UPROPS_GCB_MASK 0x000003e0
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 444
437 // implemented in uniset_props.cpp 445 // implemented in uniset_props.cpp
438 U_CFUNC UnicodeSet * 446 U_CFUNC UnicodeSet *
439 uniset_getUnicode32Instance(UErrorCode &errorCode); 447 uniset_getUnicode32Instance(UErrorCode &errorCode);
440 448
441 U_NAMESPACE_END 449 U_NAMESPACE_END
442 450
443 #endif 451 #endif
444 452
445 #endif 453 #endif
OLDNEW
« no previous file with comments | « source/common/unicode/uchar.h ('k') | source/common/uprops.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698