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

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

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 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/anytrans.cpp ('k') | source/i18n/bocsu.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 * Copyright (C) 2001-2011, International Business Machines 3 * Copyright (C) 2001-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************* 5 *******************************************************************************
6 * file name: bocsu.c 6 * file name: bocsu.h
7 * encoding: US-ASCII 7 * encoding: US-ASCII
8 * tab size: 8 (not used) 8 * tab size: 8 (not used)
9 * indentation:4 9 * indentation:4
10 * 10 *
11 * Author: Markus W. Scherer 11 * Author: Markus W. Scherer
12 * 12 *
13 * Modification history: 13 * Modification history:
14 * 05/18/2001 weiv Made into separate module 14 * 05/18/2001 weiv Made into separate module
15 */ 15 */
16 16
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 */ 144 */
145 #define NEGDIVMOD(n, d, m) { \ 145 #define NEGDIVMOD(n, d, m) { \
146 (m)=(n)%(d); \ 146 (m)=(n)%(d); \
147 (n)/=(d); \ 147 (n)/=(d); \
148 if((m)<0) { \ 148 if((m)<0) { \
149 --(n); \ 149 --(n); \
150 (m)+=(d); \ 150 (m)+=(d); \
151 } \ 151 } \
152 } 152 }
153 153
154 U_CFUNC void 154 U_CFUNC UChar32
155 u_writeIdenticalLevelRun(const UChar *s, int32_t length, icu::ByteSink &sink); 155 u_writeIdenticalLevelRun(UChar32 prev, const UChar *s, int32_t length, icu::Byte Sink &sink);
156
157 U_CFUNC int32_t
158 u_writeIdenticalLevelRunTwoChars(UChar32 first, UChar32 second, uint8_t *p);
159
160 U_CFUNC uint8_t *
161 u_writeDiff(int32_t diff, uint8_t *p);
162 156
163 #endif /* #if !UCONFIG_NO_COLLATION */ 157 #endif /* #if !UCONFIG_NO_COLLATION */
164 158
165 #endif 159 #endif
OLDNEW
« no previous file with comments | « source/i18n/anytrans.cpp ('k') | source/i18n/bocsu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698