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

Side by Side Diff: source/common/unicode/utf16.h

Issue 18836004: Move ICU headers from public/{common,i18n} to source/{common,i18n} (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu46.git@master
Patch Set: same as ps #3. retry uploading Created 7 years, 5 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/utf.h ('k') | source/common/unicode/utf32.h » ('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) 1999-2010, International Business Machines 4 * Copyright (C) 1999-2010, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ******************************************************************************* 7 *******************************************************************************
8 * file name: utf16.h 8 * file name: utf16.h
9 * encoding: US-ASCII 9 * encoding: US-ASCII
10 * tab size: 8 (not used) 10 * tab size: 8 (not used)
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 * @see U16_SET_CP_LIMIT_UNSAFE 605 * @see U16_SET_CP_LIMIT_UNSAFE
606 * @stable ICU 2.4 606 * @stable ICU 2.4
607 */ 607 */
608 #define U16_SET_CP_LIMIT(s, start, i, length) { \ 608 #define U16_SET_CP_LIMIT(s, start, i, length) { \
609 if((start)<(i) && (i)<(length) && U16_IS_LEAD((s)[(i)-1]) && U16_IS_TRAIL((s )[i])) { \ 609 if((start)<(i) && (i)<(length) && U16_IS_LEAD((s)[(i)-1]) && U16_IS_TRAIL((s )[i])) { \
610 ++(i); \ 610 ++(i); \
611 } \ 611 } \
612 } 612 }
613 613
614 #endif 614 #endif
OLDNEW
« no previous file with comments | « source/common/unicode/utf.h ('k') | source/common/unicode/utf32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698