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

Side by Side Diff: source/common/unicode/uniset.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/common/unicode/umachine.h ('k') | source/common/unicode/unistr.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 * Copyright (C) 1999-2014, International Business Machines Corporation 3 * Copyright (C) 1999-2015, International Business Machines Corporation
4 * and others. All Rights Reserved. 4 * and others. All Rights Reserved.
5 *************************************************************************** 5 ***************************************************************************
6 * Date Name Description 6 * Date Name Description
7 * 10/20/99 alan Creation. 7 * 10/20/99 alan Creation.
8 *************************************************************************** 8 ***************************************************************************
9 */ 9 */
10 10
11 #ifndef UNICODESET_H 11 #ifndef UNICODESET_H
12 #define UNICODESET_H 12 #define UNICODESET_H
13 13
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 /** 362 /**
363 * Constructs a set containing the given range. If <code>end > 363 * Constructs a set containing the given range. If <code>end >
364 * start</code> then an empty set is created. 364 * start</code> then an empty set is created.
365 * 365 *
366 * @param start first character, inclusive, of range 366 * @param start first character, inclusive, of range
367 * @param end last character, inclusive, of range 367 * @param end last character, inclusive, of range
368 * @stable ICU 2.4 368 * @stable ICU 2.4
369 */ 369 */
370 UnicodeSet(UChar32 start, UChar32 end); 370 UnicodeSet(UChar32 start, UChar32 end);
371 371
372 #ifndef U_HIDE_INTERNAL_API
373 /**
374 * @internal
375 */
376 enum ESerialization {
377 kSerialized /* result of serialize() */
378 };
379
380 /**
381 * Constructs a set from the output of serialize().
382 *
383 * @param buffer the 16 bit array
384 * @param bufferLen the original length returned from serialize()
385 * @param serialization the value 'kSerialized'
386 * @param status error code
387 *
388 * @internal
389 */
390 UnicodeSet(const uint16_t buffer[], int32_t bufferLen,
391 ESerialization serialization, UErrorCode &status);
392 #endif /* U_HIDE_INTERNAL_API */
393
372 /** 394 /**
373 * Constructs a set from the given pattern. See the class 395 * Constructs a set from the given pattern. See the class
374 * description for the syntax of the pattern language. 396 * description for the syntax of the pattern language.
375 * @param pattern a string specifying what characters are in the set 397 * @param pattern a string specifying what characters are in the set
376 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the patter n 398 * @param status returns <code>U_ILLEGAL_ARGUMENT_ERROR</code> if the patter n
377 * contains a syntax error. 399 * contains a syntax error.
378 * @stable ICU 2.0 400 * @stable ICU 2.0
379 */ 401 */
380 UnicodeSet(const UnicodeString& pattern, 402 UnicodeSet(const UnicodeString& pattern,
381 UErrorCode& status); 403 UErrorCode& status);
(...skipping 1300 matching lines...) Expand 10 before | Expand all | Expand 10 after
1682 limit=0; 1704 limit=0;
1683 } else if(limit>sLength) { 1705 } else if(limit>sLength) {
1684 limit=sLength; 1706 limit=sLength;
1685 } 1707 }
1686 return spanBack(s.getBuffer(), limit, spanCondition); 1708 return spanBack(s.getBuffer(), limit, spanCondition);
1687 } 1709 }
1688 1710
1689 U_NAMESPACE_END 1711 U_NAMESPACE_END
1690 1712
1691 #endif 1713 #endif
OLDNEW
« no previous file with comments | « source/common/unicode/umachine.h ('k') | source/common/unicode/unistr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698