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

Side by Side Diff: source/i18n/regeximp.h

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 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/i18n/regexcst.txt ('k') | source/i18n/regexst.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 // Copyright (C) 2002-2014 International Business Machines Corporation 2 // Copyright (C) 2002-2015 International Business Machines Corporation
3 // and others. All rights reserved. 3 // and others. All rights reserved.
4 // 4 //
5 // file: regeximp.h 5 // file: regeximp.h
6 // 6 //
7 // ICU Regular Expressions, 7 // ICU Regular Expressions,
8 // Definitions of constant values used in the compiled form of 8 // Definitions of constant values used in the compiled form of
9 // a regular expression pattern. 9 // a regular expression pattern.
10 // 10 //
11 11
12 #ifndef _REGEXIMP_H 12 #ifndef _REGEXIMP_H
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // Operand value: 166 // Operand value:
167 // bit 0: 167 // bit 0:
168 // 0: Normal (. doesn't match new-line) mode. 168 // 0: Normal (. doesn't match new-line) mode.
169 // 1: . matches new-line mode. 169 // 1: . matches new-line mode.
170 // bit 1: controls what new-lines are recog nized by this operation. 170 // bit 1: controls what new-lines are recog nized by this operation.
171 // 0: All Unicode New-lines 171 // 0: All Unicode New-lines
172 // 1: UNIX_LINES, \u000a only. 172 // 1: UNIX_LINES, \u000a only.
173 URX_BACKSLASH_BU = 53, // \b or \B in UREGEX_UWORD mode, using Unicode s tyle 173 URX_BACKSLASH_BU = 53, // \b or \B in UREGEX_UWORD mode, using Unicode s tyle
174 // word boundaries. 174 // word boundaries.
175 URX_DOLLAR_D = 54, // $ end of input test, in UNIX_LINES mode. 175 URX_DOLLAR_D = 54, // $ end of input test, in UNIX_LINES mode.
176 URX_DOLLAR_MD = 55 // $ end of input test, in MULTI_LINE and UNIX_LI NES mode. 176 URX_DOLLAR_MD = 55, // $ end of input test, in MULTI_LINE and UNIX_LI NES mode.
177 URX_BACKSLASH_H = 56, // Value field: 0: \h 1: \H
178 URX_BACKSLASH_R = 57, // Any line break sequence.
179 URX_BACKSLASH_V = 58 // Value field: 0: \v 1: \V
177 180
178 }; 181 };
179 182
180 // Keep this list of opcode names in sync with the above enum 183 // Keep this list of opcode names in sync with the above enum
181 // Used for debug printing only. 184 // Used for debug printing only.
182 #define URX_OPCODE_NAMES \ 185 #define URX_OPCODE_NAMES \
183 " ", \ 186 " ", \
184 "BACKTRACK", \ 187 "BACKTRACK", \
185 "END", \ 188 "END", \
186 "ONECHAR", \ 189 "ONECHAR", \
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 "LB_CONT", \ 231 "LB_CONT", \
229 "LB_END", \ 232 "LB_END", \
230 "LBN_CONT", \ 233 "LBN_CONT", \
231 "LBN_END", \ 234 "LBN_END", \
232 "STAT_SETREF_N", \ 235 "STAT_SETREF_N", \
233 "LOOP_SR_I", \ 236 "LOOP_SR_I", \
234 "LOOP_C", \ 237 "LOOP_C", \
235 "LOOP_DOT_I", \ 238 "LOOP_DOT_I", \
236 "BACKSLASH_BU", \ 239 "BACKSLASH_BU", \
237 "DOLLAR_D", \ 240 "DOLLAR_D", \
238 "DOLLAR_MD" 241 "DOLLAR_MD", \
242 "URX_BACKSLASH_H", \
243 "URX_BACKSLASH_R", \
244 "URX_BACKSLASH_V"
239 245
240 246
241 // 247 //
242 // Convenience macros for assembling and disassembling a compiled operation. 248 // Convenience macros for assembling and disassembling a compiled operation.
243 // 249 //
244 #define URX_TYPE(x) ((uint32_t)(x) >> 24) 250 #define URX_TYPE(x) ((uint32_t)(x) >> 24)
245 #define URX_VAL(x) ((x) & 0xffffff) 251 #define URX_VAL(x) ((x) & 0xffffff)
246 252
247 253
248 // 254 //
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 const UCaseProps *fcsp; 405 const UCaseProps *fcsp;
400 const UChar *fFoldChars; 406 const UChar *fFoldChars;
401 int32_t fFoldLength; 407 int32_t fFoldLength;
402 int32_t fFoldIndex; 408 int32_t fFoldIndex;
403 409
404 }; 410 };
405 411
406 U_NAMESPACE_END 412 U_NAMESPACE_END
407 #endif 413 #endif
408 414
OLDNEW
« no previous file with comments | « source/i18n/regexcst.txt ('k') | source/i18n/regexst.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698