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

Side by Side Diff: source/common/unicode/usprep.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/unicode/usetiter.h ('k') | source/common/unicode/ustring.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) 2003-2010, International Business Machines 4 * Copyright (C) 2003-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: usprep.h 8 * file name: usprep.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: 2003jul2 13 * created on: 2003jul2
14 * created by: Ram Viswanadha 14 * created by: Ram Viswanadha
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 * checks for prohited and BiDi characters in the order defined by RFC 3454 231 * checks for prohited and BiDi characters in the order defined by RFC 3454
232 * depending on the options specified in the profile. 232 * depending on the options specified in the profile.
233 * 233 *
234 * @param prep The profile to use 234 * @param prep The profile to use
235 * @param src Pointer to UChar buffer containing the string to prepare 235 * @param src Pointer to UChar buffer containing the string to prepare
236 * @param srcLength Number of characters in the source string 236 * @param srcLength Number of characters in the source string
237 * @param dest Pointer to the destination buffer to receive the output 237 * @param dest Pointer to the destination buffer to receive the output
238 * @param destCapacity The capacity of destination array 238 * @param destCapacity The capacity of destination array
239 * @param options A bit set of options: 239 * @param options A bit set of options:
240 * 240 *
241 * - USPREP_NONE Prohibit processing of unassigned code points in the input 241 * - USPREP_DEFAULT Prohibit processing of unassigned code points in the input
242 * 242 *
243 * - USPREP_ALLOW_UNASSIGNED Treat the unassigned code points are in the inpu t 243 * - USPREP_ALLOW_UNASSIGNED Treat the unassigned code points are in the inpu t
244 * as normal Unicode code points. 244 * as normal Unicode code points.
245 * 245 *
246 * @param parseError Pointer to UParseError struct to receive information on position 246 * @param parseError Pointer to UParseError struct to receive information on position
247 * of error if an error is encountered. Can be NULL. 247 * of error if an error is encountered. Can be NULL.
248 * @param status ICU in/out error code parameter. 248 * @param status ICU in/out error code parameter.
249 * U_INVALID_CHAR_FOUND if src contains 249 * U_INVALID_CHAR_FOUND if src contains
250 * unmatched single surrogates. 250 * unmatched single surrogates.
251 * U_INDEX_OUTOFBOUNDS_ERROR if src contains 251 * U_INDEX_OUTOFBOUNDS_ERROR if src contains
252 * too many code points. 252 * too many code points.
253 * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enoug h 253 * U_BUFFER_OVERFLOW_ERROR if destCapacity is not enoug h
254 * @return The number of UChars in the destination buffer 254 * @return The number of UChars in the destination buffer
255 * @stable ICU 2.8 255 * @stable ICU 2.8
256 */ 256 */
257 257
258 U_STABLE int32_t U_EXPORT2 258 U_STABLE int32_t U_EXPORT2
259 usprep_prepare( const UStringPrepProfile* prep, 259 usprep_prepare( const UStringPrepProfile* prep,
260 const UChar* src, int32_t srcLength, 260 const UChar* src, int32_t srcLength,
261 UChar* dest, int32_t destCapacity, 261 UChar* dest, int32_t destCapacity,
262 int32_t options, 262 int32_t options,
263 UParseError* parseError, 263 UParseError* parseError,
264 UErrorCode* status ); 264 UErrorCode* status );
265 265
266 266
267 #endif /* #if !UCONFIG_NO_IDNA */ 267 #endif /* #if !UCONFIG_NO_IDNA */
268 268
269 #endif 269 #endif
OLDNEW
« no previous file with comments | « source/common/unicode/usetiter.h ('k') | source/common/unicode/ustring.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698