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

Side by Side Diff: source/common/utrie2.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/common/utrace.c ('k') | source/common/utrie2.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) 2001-2013, International Business Machines 4 * Copyright (C) 2001-2014, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ****************************************************************************** 7 ******************************************************************************
8 * file name: utrie2.h 8 * file name: utrie2.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: 2008aug16 (starting from a copy of utrie.h) 13 * created on: 2008aug16 (starting from a copy of utrie.h)
14 * created by: Markus W. Scherer 14 * created by: Markus W. Scherer
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 * or 0 for preflighting 312 * or 0 for preflighting
313 * @param pErrorCode an in/out ICU UErrorCode; among other possible error codes: 313 * @param pErrorCode an in/out ICU UErrorCode; among other possible error codes:
314 * - U_BUFFER_OVERFLOW_ERROR if the data storage block is too small for serializ ation 314 * - U_BUFFER_OVERFLOW_ERROR if the data storage block is too small for serializ ation
315 * - U_ILLEGAL_ARGUMENT_ERROR if the trie is not frozen or the data and capacity 315 * - U_ILLEGAL_ARGUMENT_ERROR if the trie is not frozen or the data and capacity
316 * parameters are bad 316 * parameters are bad
317 * @return the number of bytes written or needed for the trie 317 * @return the number of bytes written or needed for the trie
318 * 318 *
319 * @see utrie2_openFromSerialized() 319 * @see utrie2_openFromSerialized()
320 */ 320 */
321 U_CAPI int32_t U_EXPORT2 321 U_CAPI int32_t U_EXPORT2
322 utrie2_serialize(UTrie2 *trie, 322 utrie2_serialize(const UTrie2 *trie,
323 void *data, int32_t capacity, 323 void *data, int32_t capacity,
324 UErrorCode *pErrorCode); 324 UErrorCode *pErrorCode);
325 325
326 /* Public UTrie2 API: miscellaneous functions ------------------------------- */ 326 /* Public UTrie2 API: miscellaneous functions ------------------------------- */
327 327
328 /** 328 /**
329 * Get the UTrie version from 32-bit-aligned memory containing the serialized fo rm 329 * Get the UTrie version from 32-bit-aligned memory containing the serialized fo rm
330 * of either a UTrie (version 1) or a UTrie2 (version 2). 330 * of either a UTrie (version 1) or a UTrie2 (version 2).
331 * 331 *
332 * @param data a pointer to 32-bit-aligned memory containing the serialized form 332 * @param data a pointer to 32-bit-aligned memory containing the serialized form
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 U_CDECL_END 979 U_CDECL_END
980 980
981 /** 981 /**
982 * Work around MSVC 2003 optimization bugs. 982 * Work around MSVC 2003 optimization bugs.
983 */ 983 */
984 #if defined (U_HAVE_MSVC_2003_OR_EARLIER) 984 #if defined (U_HAVE_MSVC_2003_OR_EARLIER)
985 #pragma optimize("", off) 985 #pragma optimize("", off)
986 #endif 986 #endif
987 987
988 #endif 988 #endif
OLDNEW
« no previous file with comments | « source/common/utrace.c ('k') | source/common/utrie2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698